axivdma
Vitis Drivers API Documentation
xaxivdma_i.h File Reference

Functions

void XAxiVdma_ChannelInit (XAxiVdma_Channel *Channel)
 Initialize a channel of a DMA engine. More...
 
void XAxiVdma_ChannelReset (XAxiVdma_Channel *Channel)
 This function resets one DMA channel. More...
 
int XAxiVdma_ChannelResetNotDone (XAxiVdma_Channel *Channel)
 This function checks whether reset operation is done. More...
 
int XAxiVdma_ChannelIsBusy (XAxiVdma_Channel *Channel)
 Check whether a DMA channel is busy. More...
 
u32 XAxiVdma_ChannelGetStatus (XAxiVdma_Channel *Channel)
 Get the current status of a channel. More...
 
void XAxiVdma_ChannelRegisterDump (XAxiVdma_Channel *Channel)
 Dump registers from one DMA channel. More...
 
int XAxiVdma_ChannelStartParking (XAxiVdma_Channel *Channel)
 Set the channel to run in parking mode. More...
 
void XAxiVdma_ChannelStopParking (XAxiVdma_Channel *Channel)
 Set the channel to run in circular mode, exiting parking mode. More...
 
void XAxiVdma_ChannelStartFrmCntEnable (XAxiVdma_Channel *Channel)
 Set the channel to run in frame count enable mode. More...
 
void XAxiVdma_ChannelEnableIntr (XAxiVdma_Channel *Channel, u32 IntrType)
 Enable interrupts for a channel. More...
 
void XAxiVdma_ChannelDisableIntr (XAxiVdma_Channel *Channel, u32 IntrType)
 Disable interrupts for a channel. More...
 
u32 XAxiVdma_ChannelGetPendingIntr (XAxiVdma_Channel *Channel)
 Get pending interrupts of a channel. More...
 
u32 XAxiVdma_ChannelGetEnabledIntr (XAxiVdma_Channel *Channel)
 Get the enabled interrupts of a channel. More...
 
void XAxiVdma_ChannelIntrClear (XAxiVdma_Channel *Channel, u32 IntrType)
 Clear interrupts of a channel. More...
 
int XAxiVdma_ChannelStartTransfer (XAxiVdma_Channel *Channel, XAxiVdma_ChannelSetup *ChannelCfgPtr)
 Start a transfer. More...
 
int XAxiVdma_ChannelSetBdAddrs (XAxiVdma_Channel *Channel, UINTPTR BdAddrPhys, UINTPTR BdAddrVirt)
 Setup BD addresses to a different memory region. More...
 
int XAxiVdma_ChannelConfig (XAxiVdma_Channel *Channel, XAxiVdma_ChannelSetup *ChannelCfgPtr)
 Configure one DMA channel using the configuration structure. More...
 
int XAxiVdma_ChannelSetBufferAddr (XAxiVdma_Channel *Channel, UINTPTR *BufferAddrSet, int NumFrames)
 Configure buffer addresses for one DMA channel. More...
 
int XAxiVdma_ChannelStart (XAxiVdma_Channel *Channel)
 Start one DMA channel. More...
 
void XAxiVdma_ChannelStop (XAxiVdma_Channel *Channel)
 Stop one DMA channel. More...
 
int XAxiVdma_ChannelSetFrmCnt (XAxiVdma_Channel *Channel, u8 FrmCnt, u8 DlyCnt)
 Set the frame counter and delay counter for one channel. More...
 
void XAxiVdma_ChannelGetFrmCnt (XAxiVdma_Channel *Channel, u8 *FrmCnt, u8 *DlyCnt)
 Get the frame counter and delay counter for both channels. More...