Searched refs:offset_ns (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/ptp/ |
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; in _idtfc3_settime() local [all …]
|
D | ptp_clockmatrix.h | 102 s32 offset_ns, u32 max_ffo_ppb);
|
D | ptp_clockmatrix.c | 907 s32 offset_ns) in idtcm_set_phase_pull_in_offset() argument 915 buf[i] = 0xff & (offset_ns); in idtcm_set_phase_pull_in_offset() 916 offset_ns >>= 8; in idtcm_set_phase_pull_in_offset() 970 s32 offset_ns, in do_phase_pull_in_fw() argument 975 err = idtcm_set_phase_pull_in_offset(channel, -offset_ns); in do_phase_pull_in_fw()
|
D | ptp_idt82p33.c | 986 static int idt82p33_adjwritephase(struct ptp_clock_info *ptp, s32 offset_ns) in idt82p33_adjwritephase() argument 996 offset_regval = div_s64((s64)(-offset_ns) * 1000000000ll, in idt82p33_adjwritephase()
|
D | ptp_ocp.c | 55 u32 offset_ns; member 1299 iowrite32(adj_val, &bp->reg->offset_ns); in __ptp_ocp_adjtime_locked()
|