axidma
Xilinx SDK Drivers API Documentation
Data Structures | Macros | Typedefs | Functions
xaxidma.h File Reference

Data Structures

struct  XAxiDma
 
struct  XAxiDma_Config
 

Macros

#define XAxiDma_GetTxRing(InstancePtr)   (&((InstancePtr)->TxBdRing))
 
#define XAxiDma_GetRxRing(InstancePtr)   (&((InstancePtr)->RxBdRing[0]))
 
#define XAxiDma_GetRxIndexRing(InstancePtr, RingIndex)   (&((InstancePtr)->RxBdRing[RingIndex]))
 
#define XAxiDma_HasSg(InstancePtr)   ((InstancePtr)->HasSg) ? TRUE : FALSE
 
#define XAxiDma_IntrEnable(InstancePtr, Mask, Direction)
 
#define XAxiDma_IntrGetEnabled(InstancePtr, Direction)
 
#define XAxiDma_IntrDisable(InstancePtr, Mask, Direction)
 
#define XAxiDma_IntrGetIrq(InstancePtr, Direction)
 
#define XAxiDma_IntrAckIrq(InstancePtr, Mask, Direction)
 

Typedefs

typedef struct XAxiDma XAxiDma
 

Functions

XAxiDma_ConfigXAxiDma_LookupConfig (u32 DeviceId)
 
int XAxiDma_CfgInitialize (XAxiDma *InstancePtr, XAxiDma_Config *Config)
 
void XAxiDma_Reset (XAxiDma *InstancePtr)
 
int XAxiDma_ResetIsDone (XAxiDma *InstancePtr)
 
int XAxiDma_Pause (XAxiDma *InstancePtr)
 
int XAxiDma_Resume (XAxiDma *InstancePtr)
 
u32 XAxiDma_Busy (XAxiDma *InstancePtr, int Direction)
 
u32 XAxiDma_SimpleTransfer (XAxiDma *InstancePtr, UINTPTR BuffAddr, u32 Length, int Direction)
 
int XAxiDma_SelectKeyHole (XAxiDma *InstancePtr, int Direction, int Select)
 
int XAxiDma_SelectCyclicMode (XAxiDma *InstancePtr, int Direction, int Select)
 
int XAxiDma_Selftest (XAxiDma *InstancePtr)