Data Fields
CpswUtils_Prms Struct Reference

CPSW utils parameters. More...

#include <cpsw_utils.h>

Data Fields

Cpsw_PrintFxnCb printFxn
 
Cpsw_TraceFxnCb traceFxn
 
Cpsw_VirtToPhyFxn virtToPhyFxn
 
Cpsw_PhyToVirtFxn phyToVirtFxn
 

Detailed Description

CPSW utils parameters.

Field Documentation

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

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


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

Copyright 2020, Texas Instruments Incorporated