Home
last modified time | relevance | path

Searched refs:ns_to_timespec64 (Results 1 – 25 of 37) sorted by relevance

12

/Linux-v5.4/drivers/net/ethernet/intel/e1000e/
Dptp.c190 *ts = ns_to_timespec64(ns); in e1000e_phc_gettimex()
248 ts = ns_to_timespec64(ns); in e1000e_systim_overflow_work()
/Linux-v5.4/kernel/time/
Dposix-cpu-timers.c378 *tp = ns_to_timespec64(t); in posix_cpu_clock_get()
635 old->it_value = ns_to_timespec64(old_expires); in posix_cpu_timer_set()
697 old->it_interval = ns_to_timespec64(old_incr); in posix_cpu_timer_set()
750 itp->it_value = ns_to_timespec64(expires - now); in posix_cpu_timer_get()
1349 t = ns_to_timespec64(restart_block->nanosleep.expires); in posix_cpu_nsleep_restart()
Dtime.c499 struct timespec64 ts = ns_to_timespec64(nsec); in ns_to_kernel_old_timeval()
551 struct timespec64 ns_to_timespec64(const s64 nsec) in ns_to_timespec64() function
568 EXPORT_SYMBOL(ns_to_timespec64);
/Linux-v5.4/include/linux/
Dtime64.h144 extern struct timespec64 ns_to_timespec64(const s64 nsec);
Dktime.h91 #define ktime_to_timespec64(kt) ns_to_timespec64((kt))
/Linux-v5.4/drivers/net/ethernet/intel/igb/
Digb_ptp.c267 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-v5.4/drivers/net/ethernet/amd/xgbe/
Dxgbe-ptp.c196 *ts = ns_to_timespec64(nsec); in xgbe_gettime()
/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ptp.c104 *ts = ns_to_timespec64(ns); in stmmac_get_time()
/Linux-v5.4/drivers/net/ethernet/cadence/
Dmacb_ptp.c155 struct timespec64 now, then = ns_to_timespec64(delta); in gem_ptp_adjtime()
220 ts = ns_to_timespec64(ktime_to_ns(ktime_get_real())); in gem_ptp_init_tsu()
/Linux-v5.4/drivers/net/ethernet/freescale/
Dfec_ptp.c151 ts = ns_to_timespec64(ns); in fec_ptp_enable_pps()
389 *ts = ns_to_timespec64(ns); in fec_ptp_gettime()
/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c52 *ts = ns_to_timespec64(ns); in i40e_ptp_read()
150 then = ns_to_timespec64(delta); in i40e_ptp_adjtime()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Den_clock.c187 *ts = ns_to_timespec64(ns); in mlx4_en_phc_gettime()
/Linux-v5.4/drivers/ptp/
Dptp_ixp46x.c178 *ts = ns_to_timespec64(ns); in ptp_ixp_gettime()
Dptp_dte.c188 *ts = ns_to_timespec64(dte_read_nco_with_ovf(ptp_dte)); in ptp_dte_gettime()
/Linux-v5.4/drivers/net/ethernet/cavium/common/
Dcavium_ptp.c170 *ts = ns_to_timespec64(nsec); in cavium_ptp_gettime()
/Linux-v5.4/drivers/net/dsa/sja1105/
Dsja1105_ptp.c249 *ts = ns_to_timespec64(ns); in sja1105_ptp_gettime()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dclock.c174 *ts = ns_to_timespec64(ns); in mlx5_ptp_gettimex()
485 ns_to_timespec64(ptp_event.timestamp); in mlx5_pps_event()
/Linux-v5.4/drivers/net/ethernet/ti/
Dcpts.c266 *ts = ns_to_timespec64(ns); in cpts_ptp_gettime()
301 ts = ns_to_timespec64(timecounter_read(&cpts->tc)); in cpts_overflow_check()
/Linux-v5.4/fs/adfs/
Dinode.c195 *tv = ns_to_timespec64(nsec); in adfs_adfs2unix_time()
/Linux-v5.4/drivers/hv/
Dhv_util.c216 ts = ns_to_timespec64((newtime - WLTIMEDELTA) * 100); in hv_get_adj_host_time()
/Linux-v5.4/drivers/net/ethernet/renesas/
Dravb_ptp.c140 ts = ns_to_timespec64(now + delta); in ravb_ptp_adjtime()
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ptp.c301 ts = ns_to_timespec64(clock_edge); in ixgbe_ptp_setup_sdp_X550()
596 *ts = ns_to_timespec64(ns); in ixgbe_ptp_gettimex()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ptp.c334 *ts = ns_to_timespec64(ns); in cxgb4_ptp_gettime()
/Linux-v5.4/drivers/net/dsa/mv88e6xxx/
Dptp.c248 *ts = ns_to_timespec64(ns); in mv88e6xxx_ptp_gettime()
/Linux-v5.4/drivers/net/ethernet/qlogic/qede/
Dqede_ptp.c116 *ts = ns_to_timespec64(ns); in qede_ptp_gettime()

12