Searched refs:sample_send (Results 1 – 1 of 1) sorted by relevance
278 struct ptp_clock_sample *sample_send; in ptp_calc_offset_fastest() local287 sample_send = server->samples + (server->count / 2); in ptp_calc_offset_fastest()291 if (!good_probe(&server->samples[i], &sample_send[i], in ptp_calc_offset_fastest()294 ts = (sample_send[i].ts + server->samples[i].ts) / 2; in ptp_calc_offset_fastest()297 delta = server->samples[i].ts - sample_send[i].ts; in ptp_calc_offset_fastest()328 struct ptp_clock_sample *sample_send; in ptp_calc_offset_hist() local340 sample_send = server->samples + (server->count / 2); in ptp_calc_offset_hist()342 if (!good_probe(&server->samples[i], &sample_send[i], in ptp_calc_offset_hist()345 timestamps[k] = (sample_send[i].ts + server->samples[i].ts) / 2; in ptp_calc_offset_hist()