Data Structures | |
struct | XAxiDma |
struct | XAxiDma_Config |
Defines | |
#define | XAxiDma_GetTxRing(InstancePtr) |
#define | XAxiDma_GetRxRing(InstancePtr) |
Typedefs | |
typedef XAxiDma | XAxiDma |
Functions | |
XAxiDma_Config * | XAxiDma_LookupConfig (u32 DeviceId) |
int | XAxiDma_CfgInitialize (XAxiDma *InstancePtr, XAxiDma_Config *Config) |
void | XAxiDma_Reset (XAxiDma *InstancePtr) |
int | XAxiDma_ResetIsDone (XAxiDma *InstancePtr) |
int | XAxiDma_Pause (XAxiDma *InstancePtr) |
int | XAxiDma_Resume (XAxiDma *InstancePtr) |
|
Get Receive (Rx) Ring ptr Warning: This has a different API than the LLDMA driver. It now returns the pointer to the BD ring.
|
|
Get Transmit (Tx) Ring ptr Warning: This has a different API than the LLDMA driver. It now returns the pointer to the BD ring.
|
|
The XAxiDma driver instance data. An instance must be allocated for each DMA engine in use. |
|
This function initializes a DMA engine. This function must be called prior to using a DMA engine. Initializing a engine includes setting up the register base address, setting up the instance data, and ensuring the hardware is in a quiescent state.
|
|
Look up the hardware configuration for a device instance
|
|
Pause DMA transactions on both channels. If the engine is running and doing transfers, this function does not stop the DMA transactions immediately, because then hardware will throw away our previously queued transfers. All submitted transfers will finish. Transfers submitted after this function will not start until XAxiDma_BdRingStart() or XAxiDma_Resume() is called.
|
|
Reset both TX and RX channels of a DMA engine. Reset one channel resets the whole AXI DMA engine. Any DMA transaction in progress will finish gracefully before engine starts reset. Any other transactions that have been submitted to hardware will be discarded by the hardware.
|
|
Check whether reset is done
|
|
Resume DMA transactions on both channels.
|
Copyright © 1995-2010 Xilinx, Inc. All rights reserved.