mcdma
Vitis Drivers API Documentation
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
xmcdma.c File Reference
#include "xmcdma.h"

Functions

s32 XMcDma_CfgInitialize (XMcdma *InstancePtr, XMcdma_Config *CfgPtr)
 Initializes an MCDMA core before any other driver function is called. More...
 
s32 XMcDma_Initialize (XMcdma *InstancePtr, XMcdma_Config *CfgPtr)
 Initializes an MCDMA core before any other driver function is called. More...
 
void XMcDma_Reset (XMcdma *InstancePtr)
 Resets the MCDMA core. More...
 
void XMcdma_SetSGAWCache (XMcdma *InstancePtr, u8 Value)
 Sets the AWCACHE field of the SG interface With the user specified value. More...
 
void XMcdma_SetSGARCache (XMcdma *InstancePtr, u8 Value)
 Sets the ARCACHE field of the SG interface With the user specified value. More...
 
u32 XMcdma_ResetIsDone (XMcdma *InstancePtr)
 Check whether reset is done. More...
 
u32 XMcdma_Start (XMcdma_ChanCtrl *Chan)
 Start the DMA engine. More...
 
u32 XMcdma_ChanHwStop (XMcdma_ChanCtrl *Chan)
 Stops the DMA engine. More...
 
void XMcdma_EnableCh (XMcdma_ChanCtrl *Chan)
 Enables a particular channel. More...
 
u16 XMcdma_GetChanServiced (XMcdma *InstancePtr)
 Gets the last serviced s2mm channel number. More...
 
u16 XMcdma_GetTxChanServiced (XMcdma *InstancePtr)
 Gets the last serviced mm2s channel number. More...
 
u32 XMCdma_GetChan_Weight (XMcdma_ChanCtrl *Chan)
 Gets the weighted round-robin weight for a transmit channel. More...
 
u32 XMCdma_SetChan_Weight (XMcdma_ChanCtrl *Chan, u8 Weight)
 Sets the weighted round-robin weight for a transmit channel. More...
 
u32 XMCdma_GetChan_PktDoneCnt (XMcdma_ChanCtrl *Chan)
 Gets the packet-done count for an MCDMA channel. More...
 
void XMcdma_DumpChanRegs (XMcdma_ChanCtrl *Chan)
 Dump the registers for a channel. More...