Software Drivers
Main Page | Data Structures | File List | Data Fields | Globals

XAxiDma_BdRing Struct Reference


Detailed Description

Container structure for descriptor storage control. If address translation is enabled, then all addresses and pointers excluding FirstBdPhysAddr are expressed in terms of the virtual address.


Data Fields

u32 ChanBase
int IsRxChannel
volatile int RunState
int HasStsCntrlStrm
u32 FirstBdPhysAddr
u32 FirstBdAddr
u32 LastBdAddr
u32 Length
u32 Separation
XAxiDma_BdFreeHead
XAxiDma_BdPreHead
XAxiDma_BdHwHead
XAxiDma_BdHwTail
XAxiDma_BdPostHead
XAxiDma_BdBdaRestart
int FreeCnt
int PreCnt
int HwCnt
int PostCnt
int AllCnt


Field Documentation

int XAxiDma_BdRing::AllCnt
 

Total Number of BDs for channel

XAxiDma_Bd* XAxiDma_BdRing::BdaRestart
 

BD to load when channel is started

u32 XAxiDma_BdRing::ChanBase
 

physical base address

u32 XAxiDma_BdRing::FirstBdAddr
 

Virtual address of 1st BD in list

u32 XAxiDma_BdRing::FirstBdPhysAddr
 

Physical address of 1st BD in list

int XAxiDma_BdRing::FreeCnt
 

Number of allocatable BDs in free group

XAxiDma_Bd* XAxiDma_BdRing::FreeHead
 

First BD in the free group

int XAxiDma_BdRing::HasStsCntrlStrm
 

Whether has stscntrl stream

int XAxiDma_BdRing::HwCnt
 

Number of BDs in work group

XAxiDma_Bd* XAxiDma_BdRing::HwHead
 

First BD in the work group

XAxiDma_Bd* XAxiDma_BdRing::HwTail
 

Last BD in the work group

int XAxiDma_BdRing::IsRxChannel
 

Is this a receive channel

u32 XAxiDma_BdRing::LastBdAddr
 

Virtual address of last BD in the list

u32 XAxiDma_BdRing::Length
 

Total size of ring in bytes

int XAxiDma_BdRing::PostCnt
 

Number of BDs in post-work group

XAxiDma_Bd* XAxiDma_BdRing::PostHead
 

First BD in the post-work group

int XAxiDma_BdRing::PreCnt
 

Number of BDs in pre-work group

XAxiDma_Bd* XAxiDma_BdRing::PreHead
 

First BD in the pre-work group

volatile int XAxiDma_BdRing::RunState
 

Whether channel is running

u32 XAxiDma_BdRing::Separation
 

Number of bytes between the starting address of adjacent BDs


The documentation for this struct was generated from the following file: