axicdma
Xilinx Vitis Drivers API Documentation
xaxicdma_bd.h File Reference

Typedefs

typedef UINTPTR XAxiCdma_Bd [XAXICDMA_BD_NUM_WORDS]
 XAxiCdma_Bd. More...
 

Functions

void XAxiCdma_BdClear (XAxiCdma_Bd *BdPtr)
 This function clears the content of the BD. More...
 
void XAxiCdma_BdClone (XAxiCdma_Bd *BdPtr, XAxiCdma_Bd *TmpBd)
 This function clones the content from the template BD. More...
 
LONG XAxiCdma_BdGetNextPtr (XAxiCdma_Bd *BdPtr)
 This function gets the next BD pointer of the BD. More...
 
void XAxiCdma_BdSetNextPtr (XAxiCdma_Bd *BdPtr, UINTPTR NextBdPtr)
 This function set the Next BD ptr of a BD. More...
 
u32 XAxiCdma_BdGetSts (XAxiCdma_Bd *BdPtr)
 This function gets the completion status of the BD. More...
 
void XAxiCdma_BdClearSts (XAxiCdma_Bd *BdPtr)
 This function clears the status bits of the BD. More...
 
u32 XAxiCdma_BdSetSrcBufAddr (XAxiCdma_Bd *BdPtr, UINTPTR Addr)
 This function sets the source address of the BD. More...
 
LONG XAxiCdma_BdGetSrcBufAddr (XAxiCdma_Bd *BdPtr)
 This function gets the source address of the BD. More...
 
u32 XAxiCdma_BdSetDstBufAddr (XAxiCdma_Bd *BdPtr, UINTPTR Addr)
 This function sets the destination address of the BD. More...
 
LONG XAxiCdma_BdGetDstBufAddr (XAxiCdma_Bd *BdPtr)
 This function gets the destination address of the BD. More...
 
u32 XAxiCdma_BdSetLength (XAxiCdma_Bd *BdPtr, int LenBytes)
 This function sets the length of the BD. More...
 
u32 XAxiCdma_BdGetLength (XAxiCdma_Bd *BdPtr)
 This function gets the length of the BD. More...
 
void XAxiCdma_BdSetPhysAddr (XAxiCdma_Bd *BdPtr, UINTPTR PhysAddr)
 This function sets the Physical address of the BD. More...
 
void XAxiCdma_BdSetIsLite (XAxiCdma_Bd *BdPtr, int IsLite)
 This function sets the is lite mode field of the BD. More...
 
void XAxiCdma_BdSetHasDRE (XAxiCdma_Bd *BdPtr, int HasDRE)
 This function sets the has DRE field of the BD. More...
 
void XAxiCdma_BdSetWordLen (XAxiCdma_Bd *BdPtr, int WordLen)
 This function sets the word length field of the BD. More...
 
void XAxiCdma_BdSetMaxLen (XAxiCdma_Bd *BdPtr, int MaxLen)
 This function sets the maximum transfer length field of the BD. More...
 
LONG XAxiCdma_BdGetPhysAddr (XAxiCdma_Bd *BdPtr)
 This function gets the Physical address of the BD. More...
 
void XAxiCdma_DumpBd (XAxiCdma_Bd *BdPtr)
 This function dumps the BD, it is a debug utility. More...