Searched refs:offset_ns (Results 1 - 5 of 5) sorted by relevance

/linux-master/drivers/ptp/
H A Dptp_fc3.c67 static s64 tdc_offset2phase(struct idtfc3 *idtfc3, s64 offset_ns) argument
69 if (offset_ns > idtfc3->ns_per_sync / 2)
70 offset_ns -= idtfc3->ns_per_sync;
72 return offset_ns * idtfc3->tdc_offset_sign;
205 static bool get_tdc_meas(struct idtfc3 *idtfc3, s64 *offset_ns) argument
230 *offset_ns = tdc_meas2offset(idtfc3, get_unaligned_le64(&buf[1]));
260 s64 offset_ns; local
267 if (get_tdc_meas(idtfc3, &offset_ns) && offset_ns >= 0) {
269 event.offset = tdc_offset2phase(idtfc3, offset_ns);
387 s64 offset_ns, now_ns; local
[all...]
H A Dptp_clockmatrix.h102 s32 offset_ns, u32 max_ffo_ppb);
H A Dptp_clockmatrix.c907 s32 offset_ns)
915 buf[i] = 0xff & (offset_ns);
916 offset_ns >>= 8;
970 s32 offset_ns,
975 err = idtcm_set_phase_pull_in_offset(channel, -offset_ns);
906 idtcm_set_phase_pull_in_offset(struct idtcm_channel *channel, s32 offset_ns) argument
969 do_phase_pull_in_fw(struct idtcm_channel *channel, s32 offset_ns, u32 max_ffo_ppb) argument
H A Dptp_idt82p33.c986 static int idt82p33_adjwritephase(struct ptp_clock_info *ptp, s32 offset_ns) argument
996 offset_regval = div_s64((s64)(-offset_ns) * 1000000000ll,
H A Dptp_ocp.c55 u32 offset_ns; member in struct:ocp_reg
1293 iowrite32(adj_val, &bp->reg->offset_ns);

Completed in 302 milliseconds