Searched refs:src_time_0 (Results 1 – 1 of 1) sorted by relevance
1032 static struct net_ptp_extended_time src_time_0; in gptp_compute_gm_rate_ratio() local1052 if ((src_time_0.second == 0U && src_time_0.fract_nsecond == 0U) in gptp_compute_gm_rate_ratio()1054 memcpy(&src_time_0, &src_time_n, in gptp_compute_gm_rate_ratio()1068 if ((src_time_n.second < src_time_0.second) in gptp_compute_gm_rate_ratio()1069 || (src_time_n.second == src_time_0.second in gptp_compute_gm_rate_ratio()1070 && src_time_n.fract_nsecond < src_time_0.fract_nsecond)) { in gptp_compute_gm_rate_ratio()1074 memcpy(&src_time_n, &src_time_0, in gptp_compute_gm_rate_ratio()1076 memcpy(&src_time_0, &src_time_t, in gptp_compute_gm_rate_ratio()1097 src_time_n.second -= src_time_0.second; in gptp_compute_gm_rate_ratio()1099 if (src_time_n.fract_nsecond >= src_time_0.fract_nsecond) { in gptp_compute_gm_rate_ratio()[all …]