PDK API Guide for J721E
CpswUtils_Prms Struct Reference

Detailed Description

CPSW utils parameters.

Data Fields

Cpsw_PrintFxnCb printFxn
 
Cpsw_TraceFxnCb traceFxn
 
Cpsw_VirtToPhyFxn virtToPhyFxn
 
Cpsw_PhyToVirtFxn phyToVirtFxn
 

Field Documentation

Cpsw_PrintFxnCb CpswUtils_Prms::printFxn

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

Cpsw_TraceFxnCb CpswUtils_Prms::traceFxn

If not NULL, this function will be called to log trace message with appropriate string

Cpsw_VirtToPhyFxn CpswUtils_Prms::virtToPhyFxn

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

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

Cpsw_PhyToVirtFxn CpswUtils_Prms::phyToVirtFxn

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

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