Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
ebus_dma.h File Reference

Go to the source code of this file.

Data Structures

struct  ebus_dma_info
 

Macros

#define EBUS_DMA_FLAG_USE_EBDMA_HANDLER   0x00000001
 
#define EBUS_DMA_FLAG_TCI_DISABLE   0x00000002
 
#define EBUS_DMA_EVENT_ERROR   1
 
#define EBUS_DMA_EVENT_DMA   2
 
#define EBUS_DMA_EVENT_DEVICE   4
 

Functions

int ebus_dma_register (struct ebus_dma_info *p)
 
int ebus_dma_irq_enable (struct ebus_dma_info *p, int on)
 
void ebus_dma_unregister (struct ebus_dma_info *p)
 
int ebus_dma_request (struct ebus_dma_info *p, dma_addr_t bus_addr, size_t len)
 
void ebus_dma_prepare (struct ebus_dma_info *p, int write)
 
unsigned int ebus_dma_residue (struct ebus_dma_info *p)
 
unsigned int ebus_dma_addr (struct ebus_dma_info *p)
 
void ebus_dma_enable (struct ebus_dma_info *p, int on)
 

Macro Definition Documentation

#define EBUS_DMA_EVENT_DEVICE   4

Definition at line 20 of file ebus_dma.h.

#define EBUS_DMA_EVENT_DMA   2

Definition at line 19 of file ebus_dma.h.

#define EBUS_DMA_EVENT_ERROR   1

Definition at line 18 of file ebus_dma.h.

#define EBUS_DMA_FLAG_TCI_DISABLE   0x00000002

Definition at line 10 of file ebus_dma.h.

#define EBUS_DMA_FLAG_USE_EBDMA_HANDLER   0x00000001

Definition at line 9 of file ebus_dma.h.

Function Documentation

unsigned int ebus_dma_addr ( struct ebus_dma_info p)

Definition at line 235 of file ebus.c.

void ebus_dma_enable ( struct ebus_dma_info p,
int  on 
)

Definition at line 241 of file ebus.c.

int ebus_dma_irq_enable ( struct ebus_dma_info p,
int  on 
)

Definition at line 124 of file ebus.c.

void ebus_dma_prepare ( struct ebus_dma_info p,
int  write 
)

Definition at line 205 of file ebus.c.

int ebus_dma_register ( struct ebus_dma_info p)

Definition at line 97 of file ebus.c.

int ebus_dma_request ( struct ebus_dma_info p,
dma_addr_t  bus_addr,
size_t  len 
)

Definition at line 176 of file ebus.c.

unsigned int ebus_dma_residue ( struct ebus_dma_info p)

Definition at line 229 of file ebus.c.

void ebus_dma_unregister ( struct ebus_dma_info p)

Definition at line 156 of file ebus.c.