axivdma: xaxivdma.c File Reference

| axivdma Xilinx SDK Drivers API Documentation

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

Functions
xaxivdma.c File Reference

## Functions
XAxiVdma_Channel * | XAxiVdma_GetChannel (XAxiVdma *InstancePtr, u16 Direction)
| Get a channel. More...
int | XAxiVdma_CfgInitialize (XAxiVdma *InstancePtr, XAxiVdma_Config *CfgPtr, UINTPTR EffectiveAddr)
| Initialize the driver with hardware configuration. More...
void | XAxiVdma_Reset (XAxiVdma *InstancePtr, u16 Direction)
| This function resets one DMA channel. More...
int | XAxiVdma_ResetNotDone (XAxiVdma *InstancePtr, u16 Direction)
| This function checks one DMA channel for reset completion. More...
int | XAxiVdma_IsBusy (XAxiVdma *InstancePtr, u16 Direction)
| Check whether a DMA channel is busy. More...
u32 | XAxiVdma_CurrFrameStore (XAxiVdma *InstancePtr, u16 Direction)
| Get the current frame that hardware is working on. More...
u32 | XAxiVdma_GetVersion (XAxiVdma *InstancePtr)
| Get the version of the hardware. More...
u32 | XAxiVdma_GetStatus (XAxiVdma *InstancePtr, u16 Direction)
| Get the status of a channel. More...
int | XAxiVdma_SetLineBufThreshold (XAxiVdma *InstancePtr, int LineBufThreshold, u16 Direction)
| Configure Line Buffer Threshold. More...
int | XAxiVdma_FsyncSrcSelect (XAxiVdma *InstancePtr, u32 Source, u16 Direction)
| Configure Frame Sync Source and valid only when C_USE_FSYNC is enabled. More...
int | XAxiVdma_GenLockSourceSelect (XAxiVdma *InstancePtr, u32 Source, u16 Direction)
| Configure Gen Lock Source. More...
int | XAxiVdma_StartParking (XAxiVdma *InstancePtr, int FrameIndex, u16 Direction)
| Start parking mode on a certain frame. More...
void | XAxiVdma_StopParking (XAxiVdma *InstancePtr, u16 Direction)
| Exit parking mode, the channel will return to circular buffer mode. More...
void | XAxiVdma_StartFrmCntEnable (XAxiVdma *InstancePtr, u16 Direction)
| Start frame count enable on one channel. More...
int | XAxiVdma_SetBdAddrs (XAxiVdma *InstancePtr, u32 BdAddrPhys, u32 BdAddrVirt, int NumBds, u16 Direction)
| Set BD addresses to be different. More...
int | XAxiVdma_StartWriteFrame (XAxiVdma *InstancePtr, XAxiVdma_DmaSetup *DmaConfigPtr)
| Start a write operation. More...
int | XAxiVdma_StartReadFrame (XAxiVdma *InstancePtr, XAxiVdma_DmaSetup *DmaConfigPtr)
| Start a read operation. More...
int | XAxiVdma_DmaConfig (XAxiVdma *InstancePtr, u16 Direction, XAxiVdma_DmaSetup *DmaConfigPtr)
| Configure one DMA channel using the configuration structure. More...
int | XAxiVdma_DmaSetBufferAddr (XAxiVdma *InstancePtr, u16 Direction, UINTPTR *BufferAddrSet)
| Configure buffer addresses for one DMA channel. More...
int | XAxiVdma_DmaStart (XAxiVdma *InstancePtr, u16 Direction)
| Start one DMA channel. More...
void | XAxiVdma_DmaStop (XAxiVdma *InstancePtr, u16 Direction)
| Stop one DMA channel. More...
void | XAxiVdma_DmaRegisterDump (XAxiVdma *InstancePtr, u16 Direction)
| Dump registers of one DMA channel. More...
int | XAxiVdma_SetFrameCounter (XAxiVdma *InstancePtr, XAxiVdma_FrameCounter *CfgPtr)
| Set the frame counter and delay counter for both channels. More...
void | XAxiVdma_GetFrameCounter (XAxiVdma *InstancePtr, XAxiVdma_FrameCounter *CfgPtr)
| Get the frame counter and delay counter for both channels. More...
int | XAxiVdma_SetFrmStore (XAxiVdma *InstancePtr, u8 FrmStoreNum, u16 Direction)
| Set the number of frame store buffers to use. More...
void | XAxiVdma_GetFrmStore (XAxiVdma *InstancePtr, u8 *FrmStoreNum, u16 Direction)
| Get the number of frame store buffers to use. More...
int | XAxiVdma_GetDmaChannelErrors (XAxiVdma *InstancePtr, u16 Direction)
| Check for DMA Channel Errors. More...
int | XAxiVdma_ClearDmaChannelErrors (XAxiVdma *InstancePtr, u16 Direction, u32 ErrorMask)
| Clear DMA Channel Errors. More...