Searched refs:src_time_0 (Results 1 – 1 of 1) sorted by relevance
1046 static struct net_ptp_extended_time src_time_0; in gptp_compute_gm_rate_ratio() local1066 if ((src_time_0.second == 0U && src_time_0.fract_nsecond == 0U) in gptp_compute_gm_rate_ratio()1068 memcpy(&src_time_0, &src_time_n, in gptp_compute_gm_rate_ratio()1082 if ((src_time_n.second < src_time_0.second) in gptp_compute_gm_rate_ratio()1083 || (src_time_n.second == src_time_0.second in gptp_compute_gm_rate_ratio()1084 && src_time_n.fract_nsecond < src_time_0.fract_nsecond)) { in gptp_compute_gm_rate_ratio()1088 memcpy(&src_time_n, &src_time_0, in gptp_compute_gm_rate_ratio()1090 memcpy(&src_time_0, &src_time_t, in gptp_compute_gm_rate_ratio()1111 src_time_n.second -= src_time_0.second; in gptp_compute_gm_rate_ratio()1113 if (src_time_n.fract_nsecond >= src_time_0.fract_nsecond) { in gptp_compute_gm_rate_ratio()[all …]