zdma: xzdma.c File Reference

| zdma Xilinx SDK Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List
- Examples

Functions
xzdma.c File Reference

## Functions
s32 | XZDma_CfgInitialize (XZDma *InstancePtr, XZDma_Config *CfgPtr, u32 EffectiveAddr)
| This function initializes an ZDMA core. More...
s32 | XZDma_SetMode (XZDma *InstancePtr, u8 IsSgDma, XZDma_Mode Mode)
| This function sets the pointer type and mode in which ZDMA needs to transfer the data. More...
u32 | XZDma_CreateBDList (XZDma *InstancePtr, XZDma_DscrType TypeOfDscr, UINTPTR Dscr_MemPtr, u32 NoOfBytes)
| This function sets the descriptor type and descriptor pointer's start address of both source and destination based on the memory allocated by user and also calculates no of descriptors(BDs) can be created in the allocated memory. More...
s32 | XZDma_SetChDataConfig (XZDma *InstancePtr, XZDma_DataConfig *Configure)
| This function sets the data attributes and control configurations of a ZDMA core based on the inputs provided. More...
void | XZDma_GetChDataConfig (XZDma *InstancePtr, XZDma_DataConfig *Configure)
| This function gets the data attributes and control configurations of a ZDMA core. More...
s32 | XZDma_SetChDscrConfig (XZDma *InstancePtr, XZDma_DscrConfig *Configure)
| This function sets the descriptor attributes based on the inputs provided in the structure. More...
void | XZDma_GetChDscrConfig (XZDma *InstancePtr, XZDma_DscrConfig *Configure)
| This function gets the descriptor attributes of the channel. More...
void | XZDma_WOData (XZDma *InstancePtr, u32 *Buffer)
| This function preloads the buffers which will be used in write only mode. More...
void | XZDma_Resume (XZDma *InstancePtr)
| This function resume the paused state of ZDMA core and starts the transfer from where it has paused. More...
void | XZDma_Reset (XZDma *InstancePtr)
| This function resets the ZDMA core. More...
XZDmaState | XZDma_ChannelState (XZDma *InstancePtr)
| This function returns the state of ZDMA core. More...
s32 | XZDma_Start (XZDma *InstancePtr, XZDma_Transfer *Data, u32 Num)
| This function sets all the required fields for initiating data transfer. More...