Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
dma_queue.h File Reference
#include <gxio/common.h>

Go to the source code of this file.

Data Structures

struct  __gxio_dma_queue_t
 

Macros

#define DMA_QUEUE_CREDIT_SHIFT   32
 

Functions

void __gxio_dma_queue_init (__gxio_dma_queue_t *dma_queue, void *post_region_addr, unsigned int num_entries)
 
void __gxio_dma_queue_update_credits (__gxio_dma_queue_t *dma_queue)
 
int64_t __gxio_dma_queue_wait_for_credits (__gxio_dma_queue_t *dma_queue, int64_t modifier)
 
int64_t __gxio_dma_queue_reserve_aux (__gxio_dma_queue_t *dma_queue, unsigned int num, int wait)
 
int __gxio_dma_queue_is_complete (__gxio_dma_queue_t *dma_queue, int64_t completion_slot, int update)
 

Macro Definition Documentation

#define DMA_QUEUE_CREDIT_SHIFT   32

Definition at line 25 of file dma_queue.h.

Function Documentation

void __gxio_dma_queue_init ( __gxio_dma_queue_t dma_queue,
void post_region_addr,
unsigned int  num_entries 
)

Definition at line 50 of file dma_queue.c.

int __gxio_dma_queue_is_complete ( __gxio_dma_queue_t dma_queue,
int64_t  completion_slot,
int  update 
)

Definition at line 162 of file dma_queue.c.

int64_t __gxio_dma_queue_reserve_aux ( __gxio_dma_queue_t dma_queue,
unsigned int  num,
int  wait 
)

Definition at line 154 of file dma_queue.c.

void __gxio_dma_queue_update_credits ( __gxio_dma_queue_t dma_queue)

Definition at line 68 of file dma_queue.c.

int64_t __gxio_dma_queue_wait_for_credits ( __gxio_dma_queue_t dma_queue,
int64_t  modifier 
)

Definition at line 127 of file dma_queue.c.