Searched refs:offset_ns (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/ptp/ |
H A D | ptp_fc3.c | 67 static s64 tdc_offset2phase(struct idtfc3 *idtfc3, s64 offset_ns) in tdc_offset2phase() argument 69 if (offset_ns > idtfc3->ns_per_sync / 2) in tdc_offset2phase() 70 offset_ns -= idtfc3->ns_per_sync; in tdc_offset2phase() 72 return offset_ns * idtfc3->tdc_offset_sign; in tdc_offset2phase() 205 static bool get_tdc_meas(struct idtfc3 *idtfc3, s64 *offset_ns) in get_tdc_meas() argument 230 *offset_ns = tdc_meas2offset(idtfc3, get_unaligned_le64(&buf[1])); in get_tdc_meas() 260 s64 offset_ns; in get_tdc_meas_continuous() local 267 if (get_tdc_meas(idtfc3, &offset_ns) && offset_ns >= 0) { in get_tdc_meas_continuous() 269 event.offset = tdc_offset2phase(idtfc3, offset_ns); in get_tdc_meas_continuous() 387 s64 offset_ns, now_ns; _idtfc3_settime() local [all...] |
H A D | ptp_clockmatrix.h | 102 s32 offset_ns, u32 max_ffo_ppb);
|
H A D | ptp_clockmatrix.c | 895 s32 offset_ns) in idtcm_set_phase_pull_in_offset() argument 903 buf[i] = 0xff & (offset_ns); in idtcm_set_phase_pull_in_offset() 904 offset_ns >>= 8; in idtcm_set_phase_pull_in_offset() 958 s32 offset_ns, in do_phase_pull_in_fw() argument 963 err = idtcm_set_phase_pull_in_offset(channel, -offset_ns); in do_phase_pull_in_fw()
|
H A D | ptp_idt82p33.c | 974 static int idt82p33_adjwritephase(struct ptp_clock_info *ptp, s32 offset_ns) in idt82p33_adjwritephase() argument 984 offset_regval = div_s64((s64)(-offset_ns) * 1000000000ll, in idt82p33_adjwritephase()
|