|
| u32 | XAxiCdma_BdRingCntCalc (u32 Alignment, u32 Bytes, UINTPTR BdBuffAddr) |
| | Calculates how many BDs fit in the given memory size and alignment. More...
|
| |
| u32 | XAxiCdma_BdRingMemCalc (u32 Alignment, int NumBd) |
| | Calculates memory required for the requested number of BDs. More...
|
| |
| void | XAxiCdma_BdSetCurBdPtr (XAxiCdma *InstancePtr, UINTPTR CurBdPtr) |
| | Sets the current BD pointer in the hardware. More...
|
| |
| XAxiCdma_Bd * | XAxiCdma_BdRingGetCurrBd (XAxiCdma *InstancePtr) |
| | Reads the current BD pointer from the hardware. More...
|
| |
| u32 | XAxiCdma_BdRingGetCnt (XAxiCdma *InstancePtr) |
| | Reads the total number of BDs in the BD ring. More...
|
| |
| u32 | XAxiCdma_BdRingGetFreeCnt (XAxiCdma *InstancePtr) |
| | Reads the number of free BDs. More...
|
| |
| void | XAxiCdma_BdRingSnapShotCurrBd (XAxiCdma *InstancePtr) |
| | Reads and saves the current BD pointer from the hardware. More...
|
| |
| void | XAxiCdma_BdSetTailBdPtr (XAxiCdma *InstancePtr, UINTPTR TailBdPtr) |
| | Sets the tail BD pointer in the hardware. More...
|
| |
| XAxiCdma_Bd * | XAxiCdma_BdRingNext (XAxiCdma *InstancePtr, XAxiCdma_Bd *BdPtr) |
| | Reads the next BD on the BD ring. More...
|
| |
| XAxiCdma_Bd * | XAxiCdma_BdRingPrev (XAxiCdma *InstancePtr, XAxiCdma_Bd *BdPtr) |
| | Reads the previous BD on the BD ring. More...
|
| |
| LONG | XAxiCdma_BdRingCreate (XAxiCdma *InstancePtr, UINTPTR PhysAddr, UINTPTR VirtAddr, u32 Alignment, int BdCount) |
| | Creates the BD ring for the driver instance. More...
|
| |
| LONG | XAxiCdma_BdRingClone (XAxiCdma *InstancePtr, XAxiCdma_Bd *TemplateBdPtr) |
| | Clones all BDs in the ring from a template BD. More...
|
| |
| LONG | XAxiCdma_BdRingAlloc (XAxiCdma *InstancePtr, int NumBd, XAxiCdma_Bd **BdSetPtr) |
| | Allocates BDs from the BD ring. More...
|
| |
| LONG | XAxiCdma_BdRingUnAlloc (XAxiCdma *InstancePtr, int NumBd, XAxiCdma_Bd *BdSetPtr) |
| | Returns BDs to the free pool in the ring. More...
|
| |
| LONG | XAxiCdma_BdRingToHw (XAxiCdma *InstancePtr, int NumBd, XAxiCdma_Bd *BdSetPtr, XAxiCdma_CallBackFn CallBackFn, void *CallBackRef) |
| | Enqueues prepared BDs to the hardware. More...
|
| |
| u32 | XAxiCdma_BdRingFromHw (XAxiCdma *InstancePtr, int BdLimit, XAxiCdma_Bd **BdSetPtr) |
| | Retrieves completed BDs from the hardware. More...
|
| |
| u32 | XAxiCdma_BdRingFree (XAxiCdma *InstancePtr, int NumBd, XAxiCdma_Bd *BdSetPtr) |
| | Returns the BDs back to the free pool of the BD ring. More...
|
| |
| int | XAxiCdma_BdRingStartTransfer (XAxiCdma *InstancePtr) |
| | Starts a queued SG transfer after a simple transfer completes. More...
|
| |