/linux-6.6.21/kernel/time/ |
D | itimer.c | 72 value->it_value = ns_to_timespec64(val); in get_cpu_itimer() 73 value->it_interval = ns_to_timespec64(interval); in get_cpu_itimer() 195 ovalue->it_value = ns_to_timespec64(oval); in set_cpu_itimer() 196 ovalue->it_interval = ns_to_timespec64(ointerval); in set_cpu_itimer()
|
D | time.c | 472 struct timespec64 ts = ns_to_timespec64(nsec); in ns_to_kernel_old_timeval() 523 struct timespec64 ns_to_timespec64(s64 nsec) in ns_to_timespec64() function 543 EXPORT_SYMBOL(ns_to_timespec64);
|
D | posix-cpu-timers.c | 377 *tp = ns_to_timespec64(t); in posix_cpu_clock_get() 707 old->it_value = ns_to_timespec64(old_expires); in posix_cpu_timer_set() 783 old->it_interval = ns_to_timespec64(old_incr); in posix_cpu_timer_set() 817 itp->it_value = ns_to_timespec64(expires - now); in posix_cpu_timer_get() 1624 t = ns_to_timespec64(restart_block->nanosleep.expires); in posix_cpu_nsleep_restart()
|
/linux-6.6.21/drivers/net/ethernet/engleder/ |
D | tsnep_ptp.c | 151 *ts = ns_to_timespec64(system_time); in tsnep_ptp_gettimex64() 200 *ts = ns_to_timespec64(counter); in tsnep_ptp_getcyclesx64()
|
/linux-6.6.21/drivers/net/ethernet/intel/e1000e/ |
D | ptp.c | 178 *ts = ns_to_timespec64(ns); in e1000e_phc_gettimex() 236 ts = ns_to_timespec64(ns); in e1000e_systim_overflow_work()
|
/linux-6.6.21/drivers/ptp/ |
D | ptp_vclock.c | 82 *ts = ns_to_timespec64(ns); in ptp_vclock_gettime() 106 *ts = ns_to_timespec64(ns); in ptp_vclock_gettimex()
|
D | ptp_vmw.c | 61 *ts = ns_to_timespec64(ns); in ptp_vmw_gettime()
|
D | ptp_mock.c | 98 *ts = ns_to_timespec64(ns); in mock_phc_gettime64()
|
D | ptp_dte.c | 179 *ts = ns_to_timespec64(dte_read_nco_with_ovf(ptp_dte)); in ptp_dte_gettime()
|
/linux-6.6.21/drivers/net/ethernet/intel/igb/ |
D | igb_ptp.c | 246 struct timespec64 now, then = ns_to_timespec64(delta); in igb_ptp_adjtime_i210() 281 *ts = ns_to_timespec64(ns); in igb_ptp_gettimex_82576() 309 *ts = ns_to_timespec64(ns); in igb_ptp_gettimex_82580() 558 ts = ns_to_timespec64(ns); in igb_ptp_feature_enable_82580() 617 start = ns_to_timespec64(systim + (ns - rem)); in igb_ptp_feature_enable_82580() 718 ts = ns_to_timespec64(ns); in igb_ptp_feature_enable_i210() 856 ts = ns_to_timespec64(ns); in igb_ptp_overflow_check()
|
/linux-6.6.21/fs/vboxsf/ |
D | utils.c | 129 inode->i_atime = ns_to_timespec64( in vboxsf_init_inode() 132 ns_to_timespec64(info->change_time.ns_relative_to_unix_epoch)); in vboxsf_init_inode() 133 inode->i_mtime = ns_to_timespec64( in vboxsf_init_inode()
|
/linux-6.6.21/include/linux/ |
D | time64.h | 148 extern struct timespec64 ns_to_timespec64(s64 nsec);
|
D | ktime.h | 77 #define ktime_to_timespec64(kt) ns_to_timespec64((kt))
|
/linux-6.6.21/arch/ia64/kernel/ |
D | sys_ia64.c | 192 rtn_tp = ns_to_timespec64(tick_ns); in ia64_clock_getres()
|
/linux-6.6.21/drivers/net/dsa/hirschmann/ |
D | hellcreek_ptp.c | 94 *ts = ns_to_timespec64(ns); in hellcreek_ptp_gettime() 185 struct timespec64 now, then = ns_to_timespec64(delta); in hellcreek_ptp_adjtime()
|
/linux-6.6.21/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ptp.c | 184 *ts = ns_to_timespec64(nsec); in xgbe_gettime()
|
/linux-6.6.21/drivers/net/dsa/sja1105/ |
D | sja1105_tas.c | 775 base_time_ts = ns_to_timespec64(base_time); in sja1105_tas_state_machine() 776 now_ts = ns_to_timespec64(now); in sja1105_tas_state_machine() 800 diff = ns_to_timespec64(tas_data->oper_base_time - now); in sja1105_tas_state_machine()
|
/linux-6.6.21/drivers/net/ethernet/cadence/ |
D | macb_ptp.c | 160 struct timespec64 now, then = ns_to_timespec64(delta); in gem_ptp_adjtime() 225 ts = ns_to_timespec64(ktime_to_ns(ktime_get_real())); in gem_ptp_init_tsu()
|
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_ptp.c | 108 *ts = ns_to_timespec64(tstamp); in otx2_ptp_hw_gettime() 252 *ts = ns_to_timespec64(tstamp); in otx2_ptp_tc_gettime()
|
/linux-6.6.21/drivers/net/ethernet/renesas/ |
D | rcar_gen4_ptp.c | 109 ts = ns_to_timespec64(now + delta); in rcar_gen4_ptp_adjtime()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | clock.c | 312 ts = ns_to_timespec64(time); in mlx5_ptp_gettimex_real_time() 335 *ts = ns_to_timespec64(ns); in mlx5_ptp_gettimex() 354 ts = ns_to_timespec64(ns); in mlx5_ptp_adjtime_real_time() 909 ns_to_timespec64(ptp_event.timestamp); in mlx5_pps_event()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/ |
D | en_clock.c | 185 *ts = ns_to_timespec64(ns); in mlx4_en_phc_gettime()
|
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_ptp.c | 143 *ts = ns_to_timespec64(ns); in hclge_ptp_gettimex() 188 ts = ns_to_timespec64(ns); in hclge_ptp_adjtime()
|
/linux-6.6.21/drivers/net/ethernet/cavium/common/ |
D | cavium_ptp.c | 173 *ts = ns_to_timespec64(nsec); in cavium_ptp_gettime()
|
/linux-6.6.21/drivers/net/ethernet/xscale/ |
D | ptp_ixp46x.c | 167 *ts = ns_to_timespec64(ns); in ptp_ixp_gettime()
|