aiengine: XAieDma_Shim Struct Reference

| aiengine Xilinx SDK Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List

- Data Structures
- Data Fields

Data Fields
XAieDma_Shim Struct Reference

This typedef is the Shim DMA instance. More...

## Data Fields
u64 | BaseAddress
| Shim DMA base address pointing to the BD0 location. More...
u8 | BdStart [XAIEDMA_SHIM_MAX_NUM_CHANNELS]
| Start BD value for all the 4 channels. More...
XAieDma_ShimBd | Descrs [XAIEDMA_SHIM_MAX_NUM_DESCRS]
| Data structure to hold the 16 descriptors of the Shim DMA. More...

## Detailed Description

This typedef is the Shim DMA instance.

User is required to allocate memory for this Shim DMA instance and a pointer of the same is passed to the Shim DMA driver functions. Each Shim DMA in the array is required to have its own and unique instance structure.

## Field Documentation

u64 XAieDma_Shim::BaseAddress

Shim DMA base address pointing to the BD0 location.

Referenced by XAieDma_ShimBdWrite(), XAieDma_ShimInitialize(), XAieDma_ShimPendingBdCount(), XAieDma_ShimSoftInitialize(), and XAieDma_ShimWaitDone().

u8 XAieDma_Shim::BdStart[XAIEDMA_SHIM_MAX_NUM_CHANNELS]

Start BD value for all the 4 channels.

XAieDma_ShimBd XAieDma_Shim::Descrs[XAIEDMA_SHIM_MAX_NUM_DESCRS]

Data structure to hold the 16 descriptors of the Shim DMA.

Referenced by XAieDma_ShimBdClear(), XAieDma_ShimBdSetAddr(), XAieDma_ShimBdSetAxi(), XAieDma_ShimBdSetLock(), XAieDma_ShimBdSetNext(), XAieDma_ShimBdSetPkt(), and XAieDma_ShimBdWrite().