/linux/drivers/pps/generators/ |
A D | pps_gen_parport.c | 115 (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 D | ocelot_ptp.c | 256 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 D | ptp_vclock.c | 64 u64 ns = timespec64_to_ns(ts); in ptp_vclock_settime() 107 return timespec64_to_ns(&ts); in ptp_vclock_read()
|
A D | ptp_idt82p33.c | 309 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 D | ptp_dte.c | 205 dte_write_nco(ptp_dte->regs, timespec64_to_ns(ts)); in ptp_dte_settime()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
A D | clock.c | 232 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 D | itimer.c | 175 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 D | time64.h | 127 static inline s64 timespec64_to_ns(const struct timespec64 *ts) in timespec64_to_ns() function
|
A D | time_namespace.h | 83 return nsec + timespec64_to_ns(&ns_offsets->boottime); in timens_add_boottime_ns()
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_ptp.c | 352 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 D | core.c | 511 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 D | xgbe-ptp.c | 210 nsec = timespec64_to_ns(ts); in xgbe_settime()
|
/linux/fs/vboxsf/ |
A D | utils.c | 307 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 D | sja1105_ptp.c | 604 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 D | am65-cpts.c | 474 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 D | en_clock.c | 205 u64 ns = timespec64_to_ns(ts); in mlx4_en_phc_settime()
|
/linux/drivers/net/ethernet/intel/e1000e/ |
A D | ptp.c | 211 ns = timespec64_to_ns(ts); in e1000e_phc_settime()
|
/linux/drivers/net/ethernet/cavium/common/ |
A D | cavium_ptp.c | 191 nsec = timespec64_to_ns(ts); in cavium_ptp_settime()
|
/linux/drivers/net/ethernet/xscale/ |
A D | ptp_ixp46x.c | 191 ns = timespec64_to_ns(ts); in ptp_ixp_settime()
|
/linux/arch/arm/xen/ |
A D | enlighten.c | 119 op.u.settime64.system_time = timespec64_to_ns(&system_time); in xen_pvclock_gtod_notify()
|
/linux/fs/adfs/ |
A D | inode.c | 213 s64 cs, nsec = timespec64_to_ns(ts); in adfs_unix2adfs_time()
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | otx2_ptp.c | 142 nsec = timespec64_to_ns(ts); in otx2_ptp_settime()
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt_ptp.c | 49 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 D | cxgb4_ptp.c | 353 ns = timespec64_to_ns(ts); in cxgb4_ptp_settime()
|
/linux/drivers/net/phy/ |
A D | nxp-c45-tja11xx.c | 398 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()
|