PDK API Guide for J721E
CpswCpts_Obj Struct Reference

Detailed Description

CPSW CPTS object.

Data Fields

EnetMod_Obj enetMod
 
volatile bool tsPushInFifo
 
uint64_t tsVal
 
CpswCpts_EventNotifyCb eventNotifyCb
 
void * eventNotifyCbArg
 
uint32_t hwPushCnt
 
CpswCpts_HwPushNotifyCb hwPushNotifyCb [CPSW_CPTS_HWPUSH_COUNT_MAX]
 
void * hwPushNotifyCbArg [CPSW_CPTS_HWPUSH_COUNT_MAX]
 
CpswCpts_EventMemObj ethTxEventPool
 
CpswCpts_EventMemObj ethRxEventPool
 
CpswCpts_EventMemObj hwPushEventPool
 
CpswCpts_EventMemObj cmpEventPool
 
CpswCpts_EventMemObj hostTxEventPool
 
CpswCpts_EventStats eventStats
 

Field Documentation

◆ enetMod

EnetMod_Obj CpswCpts_Obj::enetMod

EnetMod must be the first member

◆ tsPushInFifo

volatile bool CpswCpts_Obj::tsPushInFifo

Flag to indicate that a SW push event is already active

◆ tsVal

uint64_t CpswCpts_Obj::tsVal

Current time stamp value maintained by driver, gets updated at every TS_PUSH_EVENT

◆ eventNotifyCb

CpswCpts_EventNotifyCb CpswCpts_Obj::eventNotifyCb

Notify callback function for registered stack

◆ eventNotifyCbArg

void* CpswCpts_Obj::eventNotifyCbArg

Notify callback function argument for registered stack

◆ hwPushCnt

uint32_t CpswCpts_Obj::hwPushCnt

Maximum hardware push instances supported in hardware

◆ hwPushNotifyCb

CpswCpts_HwPushNotifyCb CpswCpts_Obj::hwPushNotifyCb[CPSW_CPTS_HWPUSH_COUNT_MAX]

Hardware push event notify callback function pointers

◆ hwPushNotifyCbArg

void* CpswCpts_Obj::hwPushNotifyCbArg[CPSW_CPTS_HWPUSH_COUNT_MAX]

Hardware push event notify callback function arguments

◆ ethTxEventPool

CpswCpts_EventMemObj CpswCpts_Obj::ethTxEventPool

Event memory object for ethernet Tx event

◆ ethRxEventPool

CpswCpts_EventMemObj CpswCpts_Obj::ethRxEventPool

Event memory object for ethernet Rx event

◆ hwPushEventPool

CpswCpts_EventMemObj CpswCpts_Obj::hwPushEventPool

Event memory object for hardware Ts Push event

◆ cmpEventPool

CpswCpts_EventMemObj CpswCpts_Obj::cmpEventPool

Event memory object for compare event

◆ hostTxEventPool

CpswCpts_EventMemObj CpswCpts_Obj::hostTxEventPool

Event memory object for host Tx event

◆ eventStats

CpswCpts_EventStats CpswCpts_Obj::eventStats

Event statistics