axivdma
Vitis Drivers API Documentation
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
XAxiVdma_Config Struct Reference

Holds hardware configuration for a VDMA device. More...

#include <xaxivdma.h>

Data Fields

char * Name
 Unique name of the device. More...
 
UINTPTR BaseAddress
 Physical base address of the device registers. More...
 
u16 MaxFrameStoreNum
 The maximum number of Frame Stores. More...
 
int HasMm2S
 Whether hw build has read channel. More...
 
int HasMm2SDRE
 Read channel supports unaligned transfer. More...
 
int Mm2SWordLen
 Read channel word length. More...
 
int HasS2Mm
 Whether hw build has write channel. More...
 
int HasS2MmDRE
 Write channel supports unaligned transfer. More...
 
int S2MmWordLen
 Write channel word length. More...
 
int HasSG
 Whether hardware has SG engine. More...
 
int EnableVIDParamRead
 Read enable for video parameters in direct register mode. More...
 
int UseFsync
 DMA operations synchronized to Frame Sync. More...
 
int FlushonFsync
 VDMA transactions are flushed and channel states reset on frame sync. More...
 
int Mm2SBufDepth
 Depth of Read Channel Line Buffer FIFO. More...
 
int S2MmBufDepth
 Depth of Write Channel Line Buffer FIFO. More...
 
int Mm2SGenLock
 Mm2s Gen Lock Mode. More...
 
int S2MmGenLock
 S2Mm Gen Lock Mode. More...
 
int InternalGenLock
 Internal Gen Lock. More...
 
int S2MmSOF
 S2MM Start of Flag Enable. More...
 
int Mm2SStreamWidth
 MM2S TData Width. More...
 
int S2MmStreamWidth
 S2MM TData Width. More...
 
int Mm2SThresRegEn
 MM2S Threshold Register Enable Flag (C_ENABLE_DEBUG_INFO_1). More...
 
int Mm2SFrmStoreRegEn
 MM2S Frame Store Register Enable Flag (C_ENABLE_DEBUG_INFO_5). More...
 
int Mm2SDlyCntrEn
 MM2S Delay Counter (Control Reg) Enable Flag (C_ENABLE_DEBUG_INFO_6). More...
 
int Mm2SFrmCntrEn
 MM2S Frame Counter (Control Reg) Enable Flag (C_ENABLE_DEBUG_INFO_7). More...
 
int S2MmThresRegEn
 S2MM Threshold Register Enable Flag (C_ENABLE_DEBUG_INFO_9). More...
 
int S2MmFrmStoreRegEn
 S2MM Frame Store Register Enable Flag (C_ENABLE_DEBUG_INFO_13). More...
 
int S2MmDlyCntrEn
 S2MM Delay Counter (Control Reg) Enable Flag (C_ENABLE_DEBUG_INFO_14). More...
 
int S2MmFrmCntrEn
 S2MM Frame Counter (Control Reg) Enable Flag (C_ENABLE_DEBUG_INFO_15). More...
 
int EnableAllDbgFeatures
 Enable all debug features (C_ENABLE_DEBUG_ALL). More...
 
int AddrWidth
 Address Width. More...
 
u8 HasVFlip
 Whether hardware has Vertical Flip enabled(c_enable_vert_flip) More...
 
u16 IntrId [2]
 Bits[11:0] Interrupt-id Bits[15:12] trigger type and level flags. More...
 
UINTPTR IntrParent
 Bit[0] Interrupt parent type Bit[64/32:1] Parent base address. More...
 

Detailed Description

Holds hardware configuration for a VDMA device.

Each VDMA device should have a configuration structure associated with it.

Field Documentation

int XAxiVdma_Config::AddrWidth

Address Width.

Referenced by XAxiVdma_CfgInitialize().

UINTPTR XAxiVdma_Config::BaseAddress

Physical base address of the device registers.

Referenced by AxiVDMASelfTestExample(), and run_triple_frame_buffer().

int XAxiVdma_Config::EnableAllDbgFeatures

Enable all debug features (C_ENABLE_DEBUG_ALL).

Referenced by XAxiVdma_CfgInitialize().

int XAxiVdma_Config::EnableVIDParamRead

Read enable for video parameters in direct register mode.

int XAxiVdma_Config::FlushonFsync

VDMA transactions are flushed and channel states reset on frame sync.

Referenced by XAxiVdma_CfgInitialize().

int XAxiVdma_Config::HasMm2S

Whether hw build has read channel.

Referenced by XAxiVdma_CfgInitialize().

int XAxiVdma_Config::HasMm2SDRE

Read channel supports unaligned transfer.

Referenced by XAxiVdma_CfgInitialize().

int XAxiVdma_Config::HasS2Mm

Whether hw build has write channel.

Referenced by XAxiVdma_CfgInitialize().

int XAxiVdma_Config::HasS2MmDRE

Write channel supports unaligned transfer.

Referenced by XAxiVdma_CfgInitialize().

int XAxiVdma_Config::HasSG

Whether hardware has SG engine.

Referenced by XAxiVdma_CfgInitialize().

u8 XAxiVdma_Config::HasVFlip

Whether hardware has Vertical Flip enabled(c_enable_vert_flip)

Referenced by XAxiVdma_CfgInitialize().

int XAxiVdma_Config::InternalGenLock

Internal Gen Lock.

Referenced by XAxiVdma_CfgInitialize().

u16 XAxiVdma_Config::IntrId[2]

Bits[11:0] Interrupt-id Bits[15:12] trigger type and level flags.

UINTPTR XAxiVdma_Config::IntrParent

Bit[0] Interrupt parent type Bit[64/32:1] Parent base address.

u16 XAxiVdma_Config::MaxFrameStoreNum

The maximum number of Frame Stores.

Referenced by XAxiVdma_CfgInitialize().

int XAxiVdma_Config::Mm2SBufDepth

Depth of Read Channel Line Buffer FIFO.

Referenced by XAxiVdma_CfgInitialize().

int XAxiVdma_Config::Mm2SDlyCntrEn

MM2S Delay Counter (Control Reg) Enable Flag (C_ENABLE_DEBUG_INFO_6).

Referenced by XAxiVdma_CfgInitialize().

int XAxiVdma_Config::Mm2SFrmCntrEn

MM2S Frame Counter (Control Reg) Enable Flag (C_ENABLE_DEBUG_INFO_7).

Referenced by XAxiVdma_CfgInitialize().

int XAxiVdma_Config::Mm2SFrmStoreRegEn

MM2S Frame Store Register Enable Flag (C_ENABLE_DEBUG_INFO_5).

Referenced by XAxiVdma_CfgInitialize().

int XAxiVdma_Config::Mm2SGenLock

Mm2s Gen Lock Mode.

Referenced by XAxiVdma_CfgInitialize().

int XAxiVdma_Config::Mm2SStreamWidth

MM2S TData Width.

Referenced by run_triple_frame_buffer(), and XAxiVdma_CfgInitialize().

int XAxiVdma_Config::Mm2SThresRegEn

MM2S Threshold Register Enable Flag (C_ENABLE_DEBUG_INFO_1).

Referenced by XAxiVdma_CfgInitialize().

int XAxiVdma_Config::Mm2SWordLen

Read channel word length.

Referenced by XAxiVdma_CfgInitialize().

char* XAxiVdma_Config::Name

Unique name of the device.

Referenced by XAxiVdma_LookupConfig().

int XAxiVdma_Config::S2MmBufDepth

Depth of Write Channel Line Buffer FIFO.

Referenced by XAxiVdma_CfgInitialize().

int XAxiVdma_Config::S2MmDlyCntrEn

S2MM Delay Counter (Control Reg) Enable Flag (C_ENABLE_DEBUG_INFO_14).

Referenced by XAxiVdma_CfgInitialize().

int XAxiVdma_Config::S2MmFrmCntrEn

S2MM Frame Counter (Control Reg) Enable Flag (C_ENABLE_DEBUG_INFO_15).

Referenced by XAxiVdma_CfgInitialize().

int XAxiVdma_Config::S2MmFrmStoreRegEn

S2MM Frame Store Register Enable Flag (C_ENABLE_DEBUG_INFO_13).

Referenced by XAxiVdma_CfgInitialize().

int XAxiVdma_Config::S2MmGenLock

S2Mm Gen Lock Mode.

Referenced by XAxiVdma_CfgInitialize().

int XAxiVdma_Config::S2MmSOF

S2MM Start of Flag Enable.

Referenced by XAxiVdma_CfgInitialize().

int XAxiVdma_Config::S2MmStreamWidth

S2MM TData Width.

Referenced by XAxiVdma_CfgInitialize().

int XAxiVdma_Config::S2MmThresRegEn

S2MM Threshold Register Enable Flag (C_ENABLE_DEBUG_INFO_9).

Referenced by XAxiVdma_CfgInitialize().

int XAxiVdma_Config::S2MmWordLen

Write channel word length.

Referenced by XAxiVdma_CfgInitialize().

int XAxiVdma_Config::UseFsync

DMA operations synchronized to Frame Sync.

Referenced by XAxiVdma_CfgInitialize().