| /Linux-v5.15/drivers/pps/generators/ |
| 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-v5.15/drivers/net/ethernet/mscc/ |
| 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-v5.15/drivers/ptp/ |
| 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()
|
| 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()
|
| D | ptp_dte.c | 205 dte_write_nco(ptp_dte->regs, timespec64_to_ns(ts)); in ptp_dte_settime()
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| 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-v5.15/include/linux/ |
| D | time64.h | 127 static inline s64 timespec64_to_ns(const struct timespec64 *ts) in timespec64_to_ns() function
|
| D | time_namespace.h | 83 return nsec + timespec64_to_ns(&ns_offsets->boottime); in timens_add_boottime_ns()
|
| /Linux-v5.15/kernel/time/ |
| 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-v5.15/drivers/net/ethernet/intel/ixgbe/ |
| 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-v5.15/drivers/net/ethernet/amd/xgbe/ |
| D | xgbe-ptp.c | 210 nsec = timespec64_to_ns(ts); in xgbe_settime()
|
| /Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/nic/ |
| D | otx2_ptp.c | 96 nsec = timespec64_to_ns(ts); in otx2_ptp_settime()
|
| /Linux-v5.15/mm/damon/ |
| D | core.c | 419 if ((timespec64_to_ns(&now) - timespec64_to_ns(baseline)) < in damon_check_reset_time_interval()
|
| /Linux-v5.15/fs/vboxsf/ |
| D | utils.c | 307 timespec64_to_ns(&iattr->ia_atime); in vboxsf_setattr() 311 timespec64_to_ns(&iattr->ia_mtime); in vboxsf_setattr()
|
| /Linux-v5.15/drivers/net/dsa/sja1105/ |
| 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-v5.15/drivers/net/ethernet/mellanox/mlx4/ |
| D | en_clock.c | 205 u64 ns = timespec64_to_ns(ts); in mlx4_en_phc_settime()
|
| /Linux-v5.15/drivers/net/ethernet/intel/e1000e/ |
| D | ptp.c | 211 ns = timespec64_to_ns(ts); in e1000e_phc_settime()
|
| /Linux-v5.15/drivers/net/ethernet/ti/ |
| 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-v5.15/drivers/net/ethernet/cavium/common/ |
| D | cavium_ptp.c | 191 nsec = timespec64_to_ns(ts); in cavium_ptp_settime()
|
| /Linux-v5.15/drivers/net/ethernet/xscale/ |
| D | ptp_ixp46x.c | 191 ns = timespec64_to_ns(ts); in ptp_ixp_settime()
|
| /Linux-v5.15/arch/arm/xen/ |
| D | enlighten.c | 119 op.u.settime64.system_time = timespec64_to_ns(&system_time); in xen_pvclock_gtod_notify()
|
| /Linux-v5.15/fs/adfs/ |
| D | inode.c | 213 s64 cs, nsec = timespec64_to_ns(ts); in adfs_unix2adfs_time()
|
| /Linux-v5.15/drivers/net/ethernet/broadcom/bnxt/ |
| D | bnxt_ptp.c | 51 u64 ns = timespec64_to_ns(ts); in bnxt_ptp_settime() 304 target_ns = timespec64_to_ns(&ts); in bnxt_ptp_perout_cfg()
|
| /Linux-v5.15/drivers/net/ethernet/chelsio/cxgb4/ |
| D | cxgb4_ptp.c | 353 ns = timespec64_to_ns(ts); in cxgb4_ptp_settime()
|
| /Linux-v5.15/drivers/net/phy/ |
| 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()
|