axidma: xaxidma_bdring.c File Reference

| axidma Xilinx SDK Drivers API Documentation

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

Functions
xaxidma_bdring.c File Reference

## Functions
int | XAxiDma_UpdateBdRingCDesc (XAxiDma_BdRing *RingPtr)
| Update Current Descriptor. More...
u32 | XAxiDma_BdRingCreate (XAxiDma_BdRing *RingPtr, UINTPTR PhysAddr, UINTPTR VirtAddr, u32 Alignment, int BdCount)
| Using a memory segment allocated by the caller, This fundtion creates and setup the BD ring. More...
int | XAxiDma_BdRingClone (XAxiDma_BdRing *RingPtr, XAxiDma_Bd *SrcBdPtr)
| Clone the given BD into every BD in the ring. More...
int | XAxiDma_StartBdRingHw (XAxiDma_BdRing *RingPtr)
| Start a DMA channel and Allow DMA transactions to commence on a given channel if descriptors are ready to be processed. More...
int | XAxiDma_BdRingStart (XAxiDma_BdRing *RingPtr)
| Start a DMA channel, updates current descriptors and Allow DMA transactions to commence on a given channel if descriptors are ready to be processed. More...
int | XAxiDma_BdRingSetCoalesce (XAxiDma_BdRing *RingPtr, u32 Counter, u32 Timer)
| Set interrupt coalescing parameters for the given descriptor ring channel. More...
void | XAxiDma_BdRingGetCoalesce (XAxiDma_BdRing *RingPtr, u32 *CounterPtr, u32 *TimerPtr)
| Retrieve current interrupt coalescing parameters from the given descriptor ring channel. More...
int | XAxiDma_BdRingAlloc (XAxiDma_BdRing *RingPtr, int NumBd, XAxiDma_Bd **BdSetPtr)
| Reserve locations in the BD ring. More...
int | XAxiDma_BdRingUnAlloc (XAxiDma_BdRing *RingPtr, int NumBd, XAxiDma_Bd *BdSetPtr)
| Fully or partially undo an XAxiDma_BdRingAlloc() operation. More...
int | XAxiDma_BdRingToHw (XAxiDma_BdRing *RingPtr, int NumBd, XAxiDma_Bd *BdSetPtr)
| Enqueue a set of BDs to hardware that were previously allocated by XAxiDma_BdRingAlloc(). More...
int | XAxiDma_BdRingFromHw (XAxiDma_BdRing *RingPtr, int BdLimit, XAxiDma_Bd **BdSetPtr)
| Returns a set of BD(s) that have been processed by hardware. More...
int | XAxiDma_BdRingFree (XAxiDma_BdRing *RingPtr, int NumBd, XAxiDma_Bd *BdSetPtr)
| Frees a set of BDs that had been previously retrieved with XAxiDma_BdRingFromHw(). More...
int | XAxiDma_BdRingCheck (XAxiDma_BdRing *RingPtr)
| Check the internal data structures of the BD ring for the provided channel. More...
void | XAxiDma_BdRingDumpRegs (XAxiDma_BdRing *RingPtr)
| Dump the registers for a channel. More...