UDMA initialization parameters.
Requirement: DOX_REQ_TAG(PDK-2631)
Data Fields | |
uint32_t | instId |
Udma_RmInitPrms | rmInitPrms |
uint8_t | enableUtc |
uint32_t | skipGlobalEventReg |
Udma_VirtToPhyFxn | virtToPhyFxn |
Udma_PhyToVirtFxn | phyToVirtFxn |
uint32_t Udma_InitPrms::instId |
[IN] Udma_InstanceIdSoc
Udma_RmInitPrms Udma_InitPrms::rmInitPrms |
RM init parameters
uint8_t Udma_InitPrms::enableUtc |
Flag to indicate UTC being used
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
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.
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