Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/subsys/net/l2/ethernet/gptp/
Dgptp_mi.c1033 static struct gptp_uscaled_ns local_time_0; in gptp_compute_gm_rate_ratio() local
1053 || (local_time_0.high == 0U && local_time_0.low == 0U)) { in gptp_compute_gm_rate_ratio()
1057 memcpy(&local_time_0, &local_time_n, in gptp_compute_gm_rate_ratio()
1082 if ((local_time_n.high < local_time_0.high) in gptp_compute_gm_rate_ratio()
1083 || (local_time_n.high == local_time_0.high in gptp_compute_gm_rate_ratio()
1084 && local_time_n.low < local_time_0.low)) { in gptp_compute_gm_rate_ratio()
1088 memcpy(&local_time_n, &local_time_0, in gptp_compute_gm_rate_ratio()
1090 memcpy(&local_time_0, &local_time_t, in gptp_compute_gm_rate_ratio()
1108 local_time_n.high -= local_time_0.high; in gptp_compute_gm_rate_ratio()
1110 if (local_time_n.low >= local_time_0.low) { in gptp_compute_gm_rate_ratio()
[all …]