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(data->base, &data->enet_handle, &enet_time); in ptp_clock_nxp_enet_set()55 enet_ptp_time_t enet_time; in ptp_clock_nxp_enet_get() local57 ENET_Ptp1588GetTimer(data->base, &data->enet_handle, &enet_time); in ptp_clock_nxp_enet_get()59 tm->second = enet_time.second; in ptp_clock_nxp_enet_get()60 tm->nanosecond = enet_time.nanosecond; in ptp_clock_nxp_enet_get()
1611 enet_ptp_time_t enet_time; in ptp_clock_mcux_set() local1613 enet_time.second = tm->second; in ptp_clock_mcux_set()1614 enet_time.nanosecond = tm->nanosecond; in ptp_clock_mcux_set()1616 ENET_Ptp1588SetTimer(context->base, &context->enet_handle, &enet_time); in ptp_clock_mcux_set()1625 enet_ptp_time_t enet_time; in ptp_clock_mcux_get() local1627 ENET_Ptp1588GetTimer(context->base, &context->enet_handle, &enet_time); in ptp_clock_mcux_get()1629 tm->second = enet_time.second; in ptp_clock_mcux_get()1630 tm->nanosecond = enet_time.nanosecond; in ptp_clock_mcux_get()