Home
last modified time | relevance | path

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

/hal_nxp-3.6.0/s32/drivers/s32ze/Eth_NETC/src/
DNetc_Eth_Ip.c1895 volatile uint64 CurrentTime = 0; in Netc_Eth_Ip_AddOrUpdateTimeGateSchedulingTableEntry() local
1917CurrentTime = IP_NETC__TMR0_BASE->TMR_CUR_TIME_L; /* should read the Lower register first */ in Netc_Eth_Ip_AddOrUpdateTimeGateSchedulingTableEntry()
1918 CurrentTime |= ((uint64)(IP_NETC__TMR0_BASE->TMR_CUR_TIME_H)) << NETC_ETH_IP_32BIT_SHIFT; in Netc_Eth_Ip_AddOrUpdateTimeGateSchedulingTableEntry()
1923 if (TimeGateSchedulingTableEntry->AdminBaseTime >= (CurrentTime + LookaheadTime)) in Netc_Eth_Ip_AddOrUpdateTimeGateSchedulingTableEntry()
1929 …CycleFactor = (uint32)(CurrentTime + LookaheadTime - TimeGateSchedulingTableEntry->AdminBaseTime) … in Netc_Eth_Ip_AddOrUpdateTimeGateSchedulingTableEntry()
2007 volatile uint64 CurrentTime = 0; in Netc_Eth_Ip_InitTimeGateSchedulingFeature() local
2017CurrentTime = IP_NETC__TMR0_BASE->TMR_CUR_TIME_L; /* should read the Lower register first */ in Netc_Eth_Ip_InitTimeGateSchedulingFeature()
2018 CurrentTime |= ((uint64)(IP_NETC__TMR0_BASE->TMR_CUR_TIME_H)) << NETC_ETH_IP_32BIT_SHIFT; in Netc_Eth_Ip_InitTimeGateSchedulingFeature()
2019 …Netc_Eth_Ip_EthTimeGateSchedulingEntryData.AdminBaseTime = CurrentTime; /* set base time to… in Netc_Eth_Ip_InitTimeGateSchedulingFeature()
/hal_nxp-3.6.0/s32/drivers/s32ze/EthSwt_NETC/src/
DNetc_EthSwt_Ip.c3741 volatile uint64 CurrentTime = 0; local
3764CurrentTime = IP_NETC__TMR0_BASE->TMR_CUR_TIME_L; /* should read the Lower register first */
3765 CurrentTime |= ((uint64)(IP_NETC__TMR0_BASE->TMR_CUR_TIME_H)) << NETC_ETHSWT_IP_32BIT_SHIFT;
3770 if (TimeGateSchedulingTableEntry->AdminBaseTime >= (CurrentTime + LookaheadTime))
3776 …CycleFactor = (uint32)(CurrentTime + LookaheadTime - TimeGateSchedulingTableEntry->AdminBaseTime) …
5687 volatile uint64 CurrentTime = 0; local
5701CurrentTime = IP_NETC__TMR0_BASE->TMR_CUR_TIME_L; /* should read the Lower register first */
5702 CurrentTime |= ((uint64)(IP_NETC__TMR0_BASE->TMR_CUR_TIME_H)) << NETC_ETHSWT_IP_32BIT_SHIFT;
5703 …TimeGateSchedulingEntryData[0U].AdminBaseTime = CurrentTime; /* set base time to current ti…