PDK API Guide for J721E
Udma_InitPrms Struct Reference

Detailed Description

UDMA initialization parameters.

Requirement: DOX_REQ_TAG(PDK-2631)

Data Fields

uint32_t instId
 
Udma_RmInitPrms rmInitPrms
 
uint32_t skipRmOverlapCheck
 
uint32_t skipGlobalEventReg
 
Udma_VirtToPhyFxn virtToPhyFxn
 
Udma_PhyToVirtFxn phyToVirtFxn
 
Udma_PrintFxn printFxn
 
Udma_OsalPrms osalPrms
 

Field Documentation

◆ instId

uint32_t Udma_InitPrms::instId

◆ rmInitPrms

Udma_RmInitPrms Udma_InitPrms::rmInitPrms

RM init parameters

◆ skipRmOverlapCheck

uint32_t Udma_InitPrms::skipRmOverlapCheck

Skips the resource overlap check - useful when running from pre-silicon environment as well as in production code when the resource overlap is already checked

◆ skipGlobalEventReg

uint32_t Udma_InitPrms::skipGlobalEventReg

Skips the global event registeration for the handle. By default this is set to FALSE and application can use this common handle to set the master event to limit the number of IA/IR registration per core This can be set to TRUE to skip this registration as in the case of having multiple handles per core in usecases

◆ virtToPhyFxn

Udma_VirtToPhyFxn Udma_InitPrms::virtToPhyFxn

If not NULL, this function will be called to convert virtual address to physical address to be provided to UDMA. If NULL, the driver will assume a one-one mapping.

Note: The init fxn will initialize this to the default one-one map function Udma_defaultVirtToPhyFxn

◆ phyToVirtFxn

Udma_PhyToVirtFxn Udma_InitPrms::phyToVirtFxn

If not NULL, this function will be called to convert physical address to virtual address to access the pointer returned by the UDMA. If NULL, the driver will assume a one-one mapping.

Note: The init fxn will initialize this to the default one-one map function Udma_defaultPhyToVirtFxn

◆ printFxn

Udma_PrintFxn Udma_InitPrms::printFxn

If not NULL, this function will be called to print debug/info message with appropriate string.

◆ osalPrms

Udma_OsalPrms Udma_InitPrms::osalPrms

OSAL callback parameters