mcdma
Vitis Drivers API Documentation
|
Functions | |
int | XMcdma_UpdateChanCDesc (XMcdma_ChanCtrl *Chan) |
Update Current Descriptor for the MCDMA Channel. More... | |
int | XMcdma_UpdateChanTDesc (XMcdma_ChanCtrl *Chan) |
Update Tail Desc for the Channel. More... | |
u32 | XMcDma_ChanBdCreate (XMcdma_ChanCtrl *Chan, UINTPTR Addr, u32 Count) |
Using a memory segment allocated by the caller, This function creates and setup the BD Chain for the MCDMA Channel. More... | |
u32 | XMcDma_ChanSubmit (XMcdma_ChanCtrl *Chan, UINTPTR BufAddr, u32 len) |
This function Populates the BD Chain with the required buffer address and length fields. More... | |
u32 | XMcDma_Chan_Sideband_Submit (XMcdma_ChanCtrl *ChanPtr, UINTPTR BufAddr, u32 Len, u32 *AppPtr, u16 Tuser, u16 Tid) |
This function populates the BD Chain with the required buffer address, length APP(user application), TUSER and TID fields. More... | |
u32 | XMcDma_ChanToHw (XMcdma_ChanCtrl *Chan) |
This function triggers/Starts the h/w by programming the Current and Tail Descriptors and enabling the particular channel. More... | |
int | XMcdma_BdChainFromHW (XMcdma_ChanCtrl *Chan, u32 BdLimit, XMcdma_Bd **BdSetPtr) |
Returns a set of BD(s) that have been processed by hardware. More... | |
int | XMcdma_BdChainFree (XMcdma_ChanCtrl *Chan, int BdCount, XMcdma_Bd *BdSetPtr) |
Frees a set of BDs that had been previously retrieved with XMcdma_BdChainFromHW(). More... | |
u32 | XMcdma_BdSetBufAddr (XMcdma_Bd *BdPtr, UINTPTR Addr) |
Set the Buffer descriptor buffer address field. More... | |
void | XMcDma_BdSetCtrl (XMcdma_Bd *BdPtr, u32 Data) |
Set the control bits for a BD. More... | |
int | XMcDma_BdSetAppWord (XMcdma_Bd *BdPtr, int Offset, u32 Word) |
Set the APP word at the specified APP word offset for a BD. More... | |
u32 | XMcDma_BdGetAppWord (XMcdma_Bd *BdPtr, int Offset, int *Valid) |
Get the APP word at the specified APP word offset for a BD. More... | |
u32 | XMcdma_SetChanCoalesceDelay (XMcdma_ChanCtrl *Chan, u32 IrqCoalesce, u32 IrqDelay) |
Set interrupt coalescing parameters for a particular channel. More... | |
void | XMcDma_DumpBd (XMcdma_Bd *BdPtr) |
Dump the fields of a BD. More... | |