Home
last modified time | relevance | path

Searched refs:timespec64_to_ns (Results 1 – 25 of 53) sorted by relevance

123

/linux/drivers/pps/generators/
A Dpps_gen_parport.c115 (dev->port_write_time + timespec64_to_ns(&dts)) >> 1; in hrtimer_event()
120 delta = timespec64_to_ns(&dts); in hrtimer_event()
160 acc += timespec64_to_ns(&b); in calibrate_port()
/linux/drivers/net/ethernet/mscc/
A Docelot_ptp.c256 wf_high = timespec64_to_ns(&ts_on); in ocelot_ptp_enable()
261 wf_high = timespec64_to_ns(&ts_period); in ocelot_ptp_enable()
266 wf_low = timespec64_to_ns(&ts_period); in ocelot_ptp_enable()
/linux/drivers/ptp/
A Dptp_vclock.c64 u64 ns = timespec64_to_ns(ts); in ptp_vclock_settime()
107 return timespec64_to_ns(&ts); in ptp_vclock_read()
A Dptp_idt82p33.c309 now_ns = timespec64_to_ns(&ts); in _idt82p33_adjtime()
454 *overhead_ns = timespec64_to_ns(&ts2) - timespec64_to_ns(&ts1); in idt82p33_measure_settime_gettime_gap_overhead()
A Dptp_dte.c205 dte_write_nco(ptp_dte->regs, timespec64_to_ns(ts)); in ptp_dte_settime()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Dclock.c232 timecounter_init(&timer->tc, &timer->cycles, timespec64_to_ns(ts)); in mlx5_ptp_settime()
288 ns = timespec64_to_ns(&ts) + delta; in mlx5_ptp_adjtime_real_time()
457 target_ns = timespec64_to_ns(&ts); in perout_conf_internal_timer()
512 ns = timespec64_to_ns(&ts); in mlx5_perout_configure()
714 target_ns = timespec64_to_ns(&ts); in perout_conf_next_event_timer()
/linux/kernel/time/
A Ditimer.c175 nval = timespec64_to_ns(&value->it_value); in set_cpu_itimer()
176 ninterval = timespec64_to_ns(&value->it_interval); in set_cpu_itimer()
/linux/include/linux/
A Dtime64.h127 static inline s64 timespec64_to_ns(const struct timespec64 *ts) in timespec64_to_ns() function
A Dtime_namespace.h83 return nsec + timespec64_to_ns(&ns_offsets->boottime); in timens_add_boottime_ns()
/linux/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_ptp.c352 return (u64)timespec64_to_ns(&ts); in ixgbe_ptp_read_X550()
423 timestamp = timespec64_to_ns(&systime); in ixgbe_ptp_convert_to_hwtstamp()
582 stamp = timespec64_to_ns(ts); in ixgbe_ptp_gettimex()
615 u64 ns = timespec64_to_ns(ts); in ixgbe_ptp_settime()
/linux/mm/damon/
A Dcore.c511 if ((timespec64_to_ns(&now) - timespec64_to_ns(baseline)) < in damon_check_reset_time_interval()
636 quota->total_charged_ns += timespec64_to_ns(&end) - in damon_do_apply_schemes()
637 timespec64_to_ns(&begin); in damon_do_apply_schemes()
/linux/drivers/net/ethernet/amd/xgbe/
A Dxgbe-ptp.c210 nsec = timespec64_to_ns(ts); in xgbe_settime()
/linux/fs/vboxsf/
A Dutils.c307 timespec64_to_ns(&iattr->ia_atime); in vboxsf_setattr()
311 timespec64_to_ns(&iattr->ia_mtime); in vboxsf_setattr()
/linux/drivers/net/dsa/sja1105/
A Dsja1105_ptp.c604 u64 ns = timespec64_to_ns(ts); in sja1105_ptp_settime()
760 u64 pin_duration = timespec64_to_ns(&pin_duration_ts); in sja1105_per_out_enable()
761 u64 pin_start = timespec64_to_ns(&pin_start_ts); in sja1105_per_out_enable()
/linux/drivers/net/ethernet/ti/
A Dam65-cpts.c474 ns = timespec64_to_ns(ts); in am65_cpts_ptp_settime()
557 ns_period = timespec64_to_ns(&ts); in am65_cpts_perout_enable_hw()
563 ns_start = timespec64_to_ns(&ts); in am65_cpts_perout_enable_hw()
/linux/drivers/net/ethernet/mellanox/mlx4/
A Den_clock.c205 u64 ns = timespec64_to_ns(ts); in mlx4_en_phc_settime()
/linux/drivers/net/ethernet/intel/e1000e/
A Dptp.c211 ns = timespec64_to_ns(ts); in e1000e_phc_settime()
/linux/drivers/net/ethernet/cavium/common/
A Dcavium_ptp.c191 nsec = timespec64_to_ns(ts); in cavium_ptp_settime()
/linux/drivers/net/ethernet/xscale/
A Dptp_ixp46x.c191 ns = timespec64_to_ns(ts); in ptp_ixp_settime()
/linux/arch/arm/xen/
A Denlighten.c119 op.u.settime64.system_time = timespec64_to_ns(&system_time); in xen_pvclock_gtod_notify()
/linux/fs/adfs/
A Dinode.c213 s64 cs, nsec = timespec64_to_ns(ts); in adfs_unix2adfs_time()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_ptp.c142 nsec = timespec64_to_ns(ts); in otx2_ptp_settime()
/linux/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_ptp.c49 u64 ns = timespec64_to_ns(ts); in bnxt_ptp_settime()
302 target_ns = timespec64_to_ns(&ts); in bnxt_ptp_perout_cfg()
/linux/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_ptp.c353 ns = timespec64_to_ns(ts); in cxgb4_ptp_settime()
/linux/drivers/net/phy/
A Dnxp-c45-tja11xx.c398 ts_ns = timespec64_to_ns(&ts); in nxp_c45_process_txts()
437 shhwtstamps_rx->hwtstamp = ns_to_ktime(timespec64_to_ns(&ts)); in nxp_c45_do_aux_work()

Completed in 39 milliseconds

123