dmaps
Vitis Drivers API Documentation
|
Functions | |
int | XDmaPs_CfgInitialize (XDmaPs *InstPtr, XDmaPs_Config *Config, u32 EffectiveAddr) |
Initializes a specific XDmaPs instance such that it is ready to be used. More... | |
int | XDmaPs_ResetManager (XDmaPs *InstPtr) |
Reset the DMA Manager. More... | |
int | XDmaPs_ResetChannel (XDmaPs *InstPtr, unsigned int Channel) |
Reset the specified DMA Channel. More... | |
void | XDmaPs_FaultISR (XDmaPs *InstPtr) |
Driver fault interrupt service routine This is the one that connects the GIC. More... | |
int | XDmaPs_SetDoneHandler (XDmaPs *InstPtr, unsigned Channel, XDmaPsDoneHandler DoneHandler, void *CallbackRef) |
Set the done handler for a channel. More... | |
int | XDmaPs_SetFaultHandler (XDmaPs *InstPtr, XDmaPsFaultHandler FaultHandler, void *CallbackRef) |
Set the fault handler for a channel. More... | |
int | XDmaPs_Instr_DMARMB (char *DmaProg) |
Construction function for DMARMB instruction. More... | |
int | XDmaPs_Instr_DMAWMB (char *DmaProg) |
Construction function for DMAWMB instruction. More... | |
u32 | XDmaPs_ToCCRValue (XDmaPs_ChanCtrl *ChanCtrl) |
Conversion function from PL330 bus transfer descriptors to CCR value. More... | |
int | XDmaPs_ConstructSingleLoop (char *DmaProgStart, int CacheLength, char *DmaProgLoopStart, int LoopCount) |
Construct a loop with only DMALD and DMAST as the body using loop counter 0. More... | |
int | XDmaPs_ConstructNestedLoop (char *DmaProgStart, int CacheLength, char *DmaProgLoopStart, unsigned int LoopCountOuter, unsigned int LoopCountInner) |
Construct a nested loop with only DMALD and DMAST in the inner loop body. More... | |
int | XDmaPs_GenDmaProg (XDmaPs *InstPtr, unsigned int Channel, XDmaPs_Cmd *Cmd) |
Generate a DMA program based for the DMA command, the buffer will be pointed by the GeneratedDmaProg field of the command. More... | |
int | XDmaPs_FreeDmaProg (XDmaPs *InstPtr, unsigned int Channel, XDmaPs_Cmd *Cmd) |
Free the DMA program buffer that is pointed by the GeneratedDmaProg field of the command. More... | |
int | XDmaPs_Start (XDmaPs *InstPtr, unsigned int Channel, XDmaPs_Cmd *Cmd, int HoldDmaProg) |
Start a DMA command. More... | |
int | XDmaPs_IsActive (XDmaPs *InstPtr, unsigned int Channel) |
Checks whether the DMA channel is active or idle. More... | |
void | XDmaPs_DoneISR_0 (XDmaPs *InstPtr) |
Driver done interrupt service routine for channel 0. More... | |
void | XDmaPs_DoneISR_1 (XDmaPs *InstPtr) |
Driver done interrupt service routine for channel 1. More... | |
void | XDmaPs_DoneISR_2 (XDmaPs *InstPtr) |
Driver done interrupt service routine for channel 2. More... | |
void | XDmaPs_DoneISR_3 (XDmaPs *InstPtr) |
Driver done interrupt service routine for channel 3. More... | |
void | XDmaPs_DoneISR_4 (XDmaPs *InstPtr) |
Driver done interrupt service routine for channel 4. More... | |
void | XDmaPs_DoneISR_5 (XDmaPs *InstPtr) |
Driver done interrupt service routine for channel 5. More... | |
void | XDmaPs_DoneISR_6 (XDmaPs *InstPtr) |
Driver done interrupt service routine for channel 6. More... | |
void | XDmaPs_DoneISR_7 (XDmaPs *InstPtr) |
Driver done interrupt service routine for channel 7. More... | |
void | XDmaPs_Print_DmaProg (XDmaPs_Cmd *Cmd) |
Print the Dma Prog Contents. More... | |