/linux/kernel/time/ |
A 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()
|
A D | time.c | 454 struct timespec64 ts = ns_to_timespec64(nsec); in ns_to_kernel_old_timeval() 506 struct timespec64 ns_to_timespec64(const s64 nsec) in ns_to_timespec64() function 526 EXPORT_SYMBOL(ns_to_timespec64);
|
A D | posix-cpu-timers.c | 371 *tp = ns_to_timespec64(t); in posix_cpu_clock_get() 701 old->it_value = ns_to_timespec64(old_expires); in posix_cpu_timer_set() 777 old->it_interval = ns_to_timespec64(old_incr); in posix_cpu_timer_set() 811 itp->it_value = ns_to_timespec64(expires - now); in posix_cpu_timer_get() 1566 t = ns_to_timespec64(restart_block->nanosleep.expires); in posix_cpu_nsleep_restart()
|
/linux/drivers/net/ethernet/intel/e1000e/ |
A D | ptp.c | 190 *ts = ns_to_timespec64(ns); in e1000e_phc_gettimex() 248 ts = ns_to_timespec64(ns); in e1000e_systim_overflow_work()
|
/linux/fs/vboxsf/ |
A D | utils.c | 128 inode->i_atime = ns_to_timespec64( in vboxsf_init_inode() 130 inode->i_ctime = ns_to_timespec64( in vboxsf_init_inode() 132 inode->i_mtime = ns_to_timespec64( in vboxsf_init_inode()
|
/linux/drivers/ptp/ |
A D | ptp_vmw.c | 61 *ts = ns_to_timespec64(ns); in ptp_vmw_gettime()
|
A D | ptp_vclock.c | 55 *ts = ns_to_timespec64(ns); in ptp_vclock_gettime()
|
A D | ptp_dte.c | 188 *ts = ns_to_timespec64(dte_read_nco_with_ovf(ptp_dte)); in ptp_dte_gettime()
|
/linux/drivers/net/ethernet/intel/igb/ |
A D | igb_ptp.c | 267 struct timespec64 now, then = ns_to_timespec64(delta); in igb_ptp_adjtime_i210() 302 *ts = ns_to_timespec64(ns); in igb_ptp_gettimex_82576() 330 *ts = ns_to_timespec64(ns); in igb_ptp_gettimex_82580() 587 ts = ns_to_timespec64(ns); in igb_ptp_feature_enable_i210() 725 ts = ns_to_timespec64(ns); in igb_ptp_overflow_check()
|
/linux/include/linux/ |
A D | time64.h | 145 extern struct timespec64 ns_to_timespec64(const s64 nsec);
|
A D | ktime.h | 77 #define ktime_to_timespec64(kt) ns_to_timespec64((kt))
|
/linux/drivers/net/dsa/hirschmann/ |
A D | hellcreek_ptp.c | 93 *ts = ns_to_timespec64(ns); in hellcreek_ptp_gettime() 184 struct timespec64 now, then = ns_to_timespec64(delta); in hellcreek_ptp_adjtime()
|
/linux/drivers/net/dsa/sja1105/ |
A D | sja1105_tas.c | 772 base_time_ts = ns_to_timespec64(base_time); in sja1105_tas_state_machine() 773 now_ts = ns_to_timespec64(now); in sja1105_tas_state_machine() 797 diff = ns_to_timespec64(tas_data->oper_base_time - now); in sja1105_tas_state_machine()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
A D | clock.c | 247 ts = ns_to_timespec64(time); in mlx5_ptp_gettimex_real_time() 270 *ts = ns_to_timespec64(ns); in mlx5_ptp_gettimex() 289 ts = ns_to_timespec64(ns); in mlx5_ptp_adjtime_real_time() 743 ns_to_timespec64(ptp_event.timestamp); in mlx5_pps_event()
|
/linux/drivers/net/ethernet/amd/xgbe/ |
A D | xgbe-ptp.c | 196 *ts = ns_to_timespec64(nsec); in xgbe_gettime()
|
/linux/drivers/net/ethernet/freescale/ |
A D | fec_ptp.c | 146 ts = ns_to_timespec64(ns); in fec_ptp_enable_pps() 389 *ts = ns_to_timespec64(ns); in fec_ptp_gettime()
|
/linux/drivers/net/ethernet/cadence/ |
A 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/drivers/net/ethernet/mellanox/mlx4/ |
A D | en_clock.c | 187 *ts = ns_to_timespec64(ns); in mlx4_en_phc_gettime()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
A D | hclge_ptp.c | 155 *ts = ns_to_timespec64(ns); in hclge_ptp_gettimex() 200 ts = ns_to_timespec64(ns); in hclge_ptp_adjtime()
|
/linux/drivers/net/ethernet/cavium/common/ |
A D | cavium_ptp.c | 173 *ts = ns_to_timespec64(nsec); in cavium_ptp_gettime()
|
/linux/drivers/net/ethernet/xscale/ |
A D | ptp_ixp46x.c | 179 *ts = ns_to_timespec64(ns); in ptp_ixp_gettime()
|
/linux/include/media/ |
A D | v4l2-common.h | 557 struct timespec64 ts = ns_to_timespec64(timestamp); in v4l2_buffer_set_timestamp()
|
/linux/fs/adfs/ |
A D | inode.c | 197 *tv = ns_to_timespec64(nsec); in adfs_adfs2unix_time()
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
A D | stmmac_ptp.c | 144 *ts = ns_to_timespec64(ns); in stmmac_get_time()
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | otx2_ptp.c | 129 *ts = ns_to_timespec64(nsec); in otx2_ptp_gettime()
|