Home
last modified time | relevance | path

Searched refs:CurrentTime (Results 1 – 1 of 1) sorted by relevance

/hal_nxp-3.5.0/s32/drivers/s32ze/EthSwt_NETC/src/
DNetc_EthSwt_Ip.c2845 volatile uint64 CurrentTime = 0; in Netc_EthSwt_Ip_AddOrUpdateTimeGateSchedulingTableEntry() local
2866CurrentTime = IP_NETC__TMR0_BASE->TMR_CUR_TIME_L; /* should read the Lower register first */ in Netc_EthSwt_Ip_AddOrUpdateTimeGateSchedulingTableEntry()
2867 CurrentTime |= ((uint64)(IP_NETC__TMR0_BASE->TMR_CUR_TIME_H)) << NETC_ETHSWT_IP_32BIT_SHIFT; in Netc_EthSwt_Ip_AddOrUpdateTimeGateSchedulingTableEntry()
2872 if (TimeGateSchedulingTableEntry->AdminBaseTime >= (CurrentTime + LookaheadTime)) in Netc_EthSwt_Ip_AddOrUpdateTimeGateSchedulingTableEntry()
2878 …CycleFactor = (uint32)(CurrentTime + LookaheadTime - TimeGateSchedulingTableEntry->AdminBaseTime) … in Netc_EthSwt_Ip_AddOrUpdateTimeGateSchedulingTableEntry()
4529 volatile uint64 CurrentTime = 0; in InitTimeGateSchedulingFeature() local
4539CurrentTime = IP_NETC__TMR0_BASE->TMR_CUR_TIME_L; /* should read the Lower register first */ in InitTimeGateSchedulingFeature()
4540 CurrentTime |= ((uint64)(IP_NETC__TMR0_BASE->TMR_CUR_TIME_H)) << NETC_ETHSWT_IP_32BIT_SHIFT; in InitTimeGateSchedulingFeature()
4541 …TimeGateSchedulingEntryData[0U].AdminBaseTime = CurrentTime; /* set base time to current ti… in InitTimeGateSchedulingFeature()