Home
last modified time | relevance | path

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

/hal_nxp-latest/mcux/mcux-sdk/drivers/enet/
Dfsl_enet.c2933 … ENET_Ptp1588GetTimerNoIrqDisable(ENET_Type *base, enet_handle_t *handle, enet_ptp_time_t *ptpTime) in ENET_Ptp1588GetTimerNoIrqDisable() argument
2936 ptpTime->second = handle->msTimerSecond; in ENET_Ptp1588GetTimerNoIrqDisable()
2956 ptpTime->nanosecond = base->ATVR; in ENET_Ptp1588GetTimerNoIrqDisable()
2966 void ENET_Ptp1588GetTimer(ENET_Type *base, enet_handle_t *handle, enet_ptp_time_t *ptpTime) in ENET_Ptp1588GetTimer() argument
2969 assert(ptpTime != NULL); in ENET_Ptp1588GetTimer()
2975 ENET_Ptp1588GetTimerNoIrqDisable(base, handle, ptpTime); in ENET_Ptp1588GetTimer()
2980 ptpTime->second++; in ENET_Ptp1588GetTimer()
2994 void ENET_Ptp1588SetTimer(ENET_Type *base, enet_handle_t *handle, enet_ptp_time_t *ptpTime) in ENET_Ptp1588SetTimer() argument
2997 assert(ptpTime != NULL); in ENET_Ptp1588SetTimer()
3005 handle->msTimerSecond = ptpTime->second; in ENET_Ptp1588SetTimer()
[all …]
Dfsl_enet.h1937 …ENET_Ptp1588GetTimerNoIrqDisable(ENET_Type *base, enet_handle_t *handle, enet_ptp_time_t *ptpTime);
1946 void ENET_Ptp1588GetTimer(ENET_Type *base, enet_handle_t *handle, enet_ptp_time_t *ptpTime);
1955 void ENET_Ptp1588SetTimer(ENET_Type *base, enet_handle_t *handle, enet_ptp_time_t *ptpTime);
/hal_nxp-latest/s32/drivers/s32ze/EthSwt_NETC/src/
DNetc_EthSwt_Ip.c8507 static void Netc_EthSwt_Ip_ConvertToPtpTime(const uint64 clk, Netc_EthSwt_Ip_PtpTimeType *ptpTime) argument
8513 ptpTime->seconds = (uint32) seconds64;
8514 ptpTime->secondsHi = (uint16) (seconds64 >> 32U);
8517 ptpTime->nanoseconds = (uint32) (clk - (uint64) (seconds64 * 1000000000UL));