Lines Matching refs:systime_struct
3392 void enet_ptp_system_time_get(enet_ptp_systime_struct *systime_struct) in enet_ptp_system_time_get() argument
3401 systime_struct->second = temp_sec; in enet_ptp_system_time_get()
3402 systime_struct->nanosecond = GET_PTP_TSL_STMSS(temp_subs); in enet_ptp_system_time_get()
3403 systime_struct->nanosecond = enet_ptp_subsecond_2_nanosecond(systime_struct->nanosecond); in enet_ptp_system_time_get()
3404 systime_struct->sign = GET_PTP_TSL_STS(temp_subs); in enet_ptp_system_time_get()
3503 void enet_ptp_coarsecorrection_systime_update(enet_ptp_systime_struct *systime_struct) in enet_ptp_coarsecorrection_systime_update() argument
3508 subsecond_val = enet_ptp_nanosecond_2_subsecond(systime_struct->nanosecond); in enet_ptp_coarsecorrection_systime_update()
3514 enet_ptp_timestamp_update_config(systime_struct->sign, systime_struct->second, subsecond_val); in enet_ptp_coarsecorrection_systime_update()
3537 void enet_ptp_finecorrection_settime(enet_ptp_systime_struct * systime_struct) in enet_ptp_finecorrection_settime() argument
3541 subsecond_val = enet_ptp_nanosecond_2_subsecond(systime_struct->nanosecond); in enet_ptp_finecorrection_settime()
3544 enet_ptp_timestamp_update_config(systime_struct->sign, systime_struct->second, subsecond_val); in enet_ptp_finecorrection_settime()