![]() |
![]() |
Data Structures | |
| struct | CSL_CPSW_PORTSTAT |
| Holds Port Statistics Enable register contents. More... | |
| struct | CSL_CPSW_TSCNTL |
| Holds Port Time Sync Control register contents. More... | |
| struct | CSL_CPSW_STATS |
| Holds the EMAC statistics. More... | |
Defines | |
| #define | hCpsw5gfRegs ((CSL_Cpsw_5gfRegs *) (CSL_NETCP_CFG_REGS + 0x00090800)) |
| Pointer to the Ethernet Switch overlay registers. | |
| #define | CSL_CPSW_NUM_PORTS 5 |
| Number of statistic blocks. | |
| #define | CSL_CPSW_NUMSTATS 36 |
| Number of hardware statistics registers. | |
| #define | CSL_CPSW_NUMALE_ENTRIES 1024 |
| Maximum number of ALE entries that can be programmed. | |
| #define | hCpswAleRegs ((CSL_AleRegs *) (CSL_NETCP_CFG_REGS + 0x0023e000)) |
| Pointer to the Ethernet Switch overlay registers. | |
| #define | CSL_CPSW_NUMSTATBLOCKS 5 |
| Number of statistic blocks. | |
| #define | CSL_CPSW_NUMSTATS 42 |
| Number of hardware statistics registers. | |
| #define | CSL_CPSW_NUMALE_ENTRIES 1024 |
| Maximum number of ALE entries that can be programmed. | |
Variables | |
| void * | cpswPortBaseAddr [4] |
| Holds the base address of ports. | |
| #define CSL_CPSW_NUM_PORTS 5 |
Number of statistic blocks.
EMAC has two sub-blocks: STATSA and STATSB.
STATSA holds statistics for Host/CPU port (Switch port 0). STATSB holds statistics for MAC ports (Switch ports 1, 2, 3, 4).
| #define CSL_CPSW_NUMSTATBLOCKS 5 |
Number of statistic blocks.
EMAC has two sub-blocks: STATSA and STATSB.
STATS0 holds statistics for Host/CPU port (Switch port 0). STATSn holds statistics for MAC ports (Switch ports 1-8).
| #define hCpsw5gfRegs ((CSL_Cpsw_5gfRegs *) (CSL_NETCP_CFG_REGS + 0x00090800)) |
Pointer to the Ethernet Switch overlay registers.
Constants for passing parameters to the functions.
| #define hCpswAleRegs ((CSL_AleRegs *) (CSL_NETCP_CFG_REGS + 0x0023e000)) |
Pointer to the Ethernet Switch overlay registers.
Constants for passing parameters to the functions.