axicdma
Vitis Drivers API Documentation
 All Data Structures Files Functions Variables Typedefs Groups Pages
xaxicdma.c File Reference
#include "xaxicdma.h"
#include "xaxicdma_i.h"

Functions

u32 XAxiCdma_GetError (XAxiCdma *InstancePtr)
 Reads error status bits from the hardware. More...
 
void XAxiCdma_Reset (XAxiCdma *InstancePtr)
 Resets the hardware. More...
 
int XAxiCdma_ResetIsDone (XAxiCdma *InstancePtr)
 Checks whether hardware reset completed. More...
 
u32 XAxiCdma_CfgInitialize (XAxiCdma *InstancePtr, XAxiCdma_Config *CfgPtr, UINTPTR EffectiveAddr)
 Initializes the driver. More...
 
int XAxiCdma_IsBusy (XAxiCdma *InstancePtr)
 Checks whether the hardware is doing transfer. More...
 
int XAxiCdma_IsSimpleMode (XAxiCdma *InstancePtr)
 Checks whether the hardware is in simple mode. More...
 
int XAxiCdma_SelectKeyHole (XAxiCdma *InstancePtr, u32 Direction, u32 Select)
 Configures the KeyHole read or write feature. More...
 
int XAxiCdma_SwitchMode (XAxiCdma *InstancePtr, int Mode)
 Switches the hardware between simple and scatter gather mode. More...
 
u32 XAxiCdma_SimpleTransfer (XAxiCdma *InstancePtr, UINTPTR SrcAddr, UINTPTR DstAddr, int Length, XAxiCdma_CallBackFn SimpleCallBack, void *CallBackRef)
 Performs one simple transfer submission. More...
 
int XAxiCdma_SetCoalesce (XAxiCdma *InstancePtr, u32 Counter, u32 Delay)
 Sets the interrupt coalescing threshold and delay counters. More...
 
void XAxiCdma_GetCoalesce (XAxiCdma *InstancePtr, u32 *CounterPtr, u32 *DelayPtr)
 Reads the interrupt coalescing threshold and delay counter settings. More...
 
void XAxiCdma_DumpRegisters (XAxiCdma *InstancePtr)
 Dumps the registers of this DMA instance. More...