/linux-6.1.9/drivers/pps/generators/ |
D | pps_gen_parport.c | 113 (dev->port_write_time + timespec64_to_ns(&dts)) >> 1; in hrtimer_event() 118 delta = timespec64_to_ns(&dts); in hrtimer_event() 158 acc += timespec64_to_ns(&b); in calibrate_port()
|
/linux-6.1.9/drivers/ptp/ |
D | ptp_vclock.c | 103 ns = timecounter_cyc2time(&vclock->tc, timespec64_to_ns(&pts)); in ptp_vclock_gettimex() 115 u64 ns = timespec64_to_ns(ts); in ptp_vclock_settime() 175 return timespec64_to_ns(&ts); in ptp_vclock_read()
|
D | ptp_idt82p33.c | 219 now_ns = timespec64_to_ns(&ts); in _idt82p33_adjtime() 364 *overhead_ns = timespec64_to_ns(&ts2) - timespec64_to_ns(&ts1); in idt82p33_measure_settime_gettime_gap_overhead()
|
D | ptp_dte.c | 195 dte_write_nco(ptp_dte->regs, timespec64_to_ns(ts)); in ptp_dte_settime()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | clock.c | 241 timecounter_init(&timer->tc, &timer->cycles, timespec64_to_ns(ts)); in mlx5_ptp_settime() 297 ns = timespec64_to_ns(&ts) + delta; in mlx5_ptp_adjtime_real_time() 466 target_ns = timespec64_to_ns(&ts); in perout_conf_internal_timer() 484 ns = timespec64_to_ns(&ts); in perout_conf_1pps() 507 out_pulse_duration = (u32)timespec64_to_ns(&ts); in mlx5_perout_conf_out_pulse_duration() 514 out_pulse_duration = (u32)timespec64_to_ns(&ts) >> 1; in mlx5_perout_conf_out_pulse_duration() 539 if (timespec64_to_ns(&ts) < pps_info->min_npps_period) { in perout_conf_npps_real_time() 813 target_ns = timespec64_to_ns(&ts); in perout_conf_next_event_timer()
|
/linux-6.1.9/include/linux/ |
D | time64.h | 130 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-6.1.9/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-6.1.9/drivers/net/phy/ |
D | bcm-phy-ptp.c | 279 ns = timespec64_to_ns(ts); in bcm_ptp_settime_locked() 317 ns = timespec64_to_ns(&ts) + delta_ns; in bcm_ptp_adjtime_locked() 560 ns = timespec64_to_ns(&ts); in bcm_ptp_perout_work() 657 event.timestamp = timespec64_to_ns(&ts); in bcm_ptp_extts_work()
|
D | nxp-c45-tja11xx.c | 439 ts_ns = timespec64_to_ns(&ts); in nxp_c45_process_txts() 479 shhwtstamps_rx->hwtstamp = ns_to_ktime(timespec64_to_ns(&ts)); in nxp_c45_do_aux_work() 490 event.timestamp = ns_to_ktime(timespec64_to_ns(&ts)); in nxp_c45_do_aux_work()
|
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ptp.c | 355 return (u64)timespec64_to_ns(&ts); in ixgbe_ptp_read_X550() 426 timestamp = timespec64_to_ns(&systime); in ixgbe_ptp_convert_to_hwtstamp() 588 stamp = timespec64_to_ns(ts); in ixgbe_ptp_gettimex() 621 u64 ns = timespec64_to_ns(ts); in ixgbe_ptp_settime()
|
/linux-6.1.9/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ptp.c | 210 nsec = timespec64_to_ns(ts); in xgbe_settime()
|
/linux-6.1.9/mm/damon/ |
D | core.c | 634 if ((timespec64_to_ns(&now) - timespec64_to_ns(baseline)) < in damon_check_reset_time_interval() 763 quota->total_charged_ns += timespec64_to_ns(&end) - in damon_do_apply_schemes() 764 timespec64_to_ns(&begin); in damon_do_apply_schemes()
|
/linux-6.1.9/drivers/net/ethernet/mscc/ |
D | ocelot_ptp.c | 268 wf_high = timespec64_to_ns(&ts_on); in ocelot_ptp_enable() 273 wf_high = timespec64_to_ns(&ts_period); in ocelot_ptp_enable() 278 wf_low = timespec64_to_ns(&ts_period); in ocelot_ptp_enable()
|
/linux-6.1.9/fs/vboxsf/ |
D | utils.c | 308 timespec64_to_ns(&iattr->ia_atime); in vboxsf_setattr() 312 timespec64_to_ns(&iattr->ia_mtime); in vboxsf_setattr()
|
/linux-6.1.9/drivers/net/dsa/sja1105/ |
D | sja1105_ptp.c | 633 u64 ns = timespec64_to_ns(ts); in sja1105_ptp_settime() 789 u64 pin_duration = timespec64_to_ns(&pin_duration_ts); in sja1105_per_out_enable() 790 u64 pin_start = timespec64_to_ns(&pin_start_ts); in sja1105_per_out_enable()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/ |
D | en_clock.c | 205 u64 ns = timespec64_to_ns(ts); in mlx4_en_phc_settime()
|
/linux-6.1.9/drivers/net/ethernet/engleder/ |
D | tsnep_ptp.c | 161 u64 system_time = timespec64_to_ns(ts); in tsnep_ptp_settime64()
|
/linux-6.1.9/drivers/net/ethernet/intel/e1000e/ |
D | ptp.c | 209 ns = timespec64_to_ns(ts); in e1000e_phc_settime()
|
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/cavium/common/ |
D | cavium_ptp.c | 191 nsec = timespec64_to_ns(ts); in cavium_ptp_settime()
|
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ptp.c | 63 u64 ns = timespec64_to_ns(ts); in bnxt_ptp_settime() 398 target_ns = timespec64_to_ns(&ts); in bnxt_ptp_perout_cfg() 876 ns = timespec64_to_ns(&tsp); in bnxt_ptp_init_rtc()
|
/linux-6.1.9/drivers/net/ethernet/xscale/ |
D | ptp_ixp46x.c | 190 ns = timespec64_to_ns(ts); in ptp_ixp_settime()
|
/linux-6.1.9/fs/adfs/ |
D | inode.c | 214 s64 cs, nsec = timespec64_to_ns(ts); in adfs_unix2adfs_time()
|
/linux-6.1.9/drivers/net/ethernet/microchip/ |
D | lan743x_ptp.c | 571 wf_high = timespec64_to_ns(&ts_on); in lan743x_ptp_perout() 574 period64 = timespec64_to_ns(&ts_period); in lan743x_ptp_perout() 1172 ns = timespec64_to_ns(&ts); in lan743x_ptpci_do_aux_work() 1205 ns = timespec64_to_ns(&ts); in lan743x_ptpci_do_aux_work()
|