Searched refs:enet_time (Results 1 – 2 of 2) sorted by relevance
41 enet_ptp_time_t enet_time; in ptp_clock_nxp_enet_set() local43 enet_time.second = tm->second; in ptp_clock_nxp_enet_set()44 enet_time.nanosecond = tm->nanosecond; in ptp_clock_nxp_enet_set()46 ENET_Ptp1588SetTimer(config->base, &data->enet_handle, &enet_time); in ptp_clock_nxp_enet_set()56 enet_ptp_time_t enet_time; in ptp_clock_nxp_enet_get() local58 ENET_Ptp1588GetTimer(config->base, &data->enet_handle, &enet_time); in ptp_clock_nxp_enet_get()60 tm->second = enet_time.second; in ptp_clock_nxp_enet_get()61 tm->nanosecond = enet_time.nanosecond; in ptp_clock_nxp_enet_get()
1693 enet_ptp_time_t enet_time; in ptp_clock_mcux_set() local1695 enet_time.second = tm->second; in ptp_clock_mcux_set()1696 enet_time.nanosecond = tm->nanosecond; in ptp_clock_mcux_set()1698 ENET_Ptp1588SetTimer(context->base, &context->enet_handle, &enet_time); in ptp_clock_mcux_set()1707 enet_ptp_time_t enet_time; in ptp_clock_mcux_get() local1709 ENET_Ptp1588GetTimer(context->base, &context->enet_handle, &enet_time); in ptp_clock_mcux_get()1711 tm->second = enet_time.second; in ptp_clock_mcux_get()1712 tm->nanosecond = enet_time.nanosecond; in ptp_clock_mcux_get()