Home
last modified time | relevance | path

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

12

/Linux-v4.19/kernel/time/
Dposix-cpu-timers.c285 *tp = ns_to_timespec64(rtn); in posix_cpu_clock_get_task()
649 old->it_value = ns_to_timespec64(old_expires); in posix_cpu_timer_set()
711 old->it_interval = ns_to_timespec64(old_incr); in posix_cpu_timer_set()
726 itp->it_interval = ns_to_timespec64(timer->it.cpu.incr); in posix_cpu_timer_get()
761 itp->it_value = ns_to_timespec64(timer->it.cpu.expires - now); in posix_cpu_timer_get()
1378 t = ns_to_timespec64(restart_block->nanosleep.expires); in posix_cpu_nsleep_restart()
Dtime.c491 struct timespec64 ts = ns_to_timespec64(nsec); in ns_to_kernel_old_timeval()
543 struct timespec64 ns_to_timespec64(const s64 nsec) in ns_to_timespec64() function
560 EXPORT_SYMBOL(ns_to_timespec64);
/Linux-v4.19/include/linux/
Dtime64.h129 extern struct timespec64 ns_to_timespec64(const s64 nsec);
Dktime.h91 #define ktime_to_timespec64(kt) ns_to_timespec64((kt))
/Linux-v4.19/drivers/net/ethernet/amd/xgbe/
Dxgbe-ptp.c196 *ts = ns_to_timespec64(nsec); in xgbe_gettime()
/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ptp.c114 *ts = ns_to_timespec64(ns); in stmmac_get_time()
/Linux-v4.19/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-v4.19/drivers/net/ethernet/cadence/
Dmacb_ptp.c163 struct timespec64 now, then = ns_to_timespec64(delta); in gem_ptp_adjtime()
228 ts = ns_to_timespec64(ktime_to_ns(ktime_get_real())); in gem_ptp_init_tsu()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Den_clock.c187 *ts = ns_to_timespec64(ns); in mlx4_en_phc_gettime()
/Linux-v4.19/drivers/net/ethernet/ti/
Dcpts.c260 *ts = ns_to_timespec64(ns); in cpts_ptp_gettime()
295 ts = ns_to_timespec64(timecounter_read(&cpts->tc)); in cpts_overflow_check()
/Linux-v4.19/drivers/net/ethernet/intel/e1000e/
Dptp.c182 *ts = ns_to_timespec64(ns); in e1000e_phc_gettime()
/Linux-v4.19/drivers/ptp/
Dptp_ixp46x.c191 *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-v4.19/drivers/net/ethernet/cavium/common/
Dcavium_ptp.c170 *ts = ns_to_timespec64(nsec); in cavium_ptp_gettime()
/Linux-v4.19/drivers/net/ethernet/intel/igb/
Digb_ptp.c259 struct timespec64 now, then = ns_to_timespec64(delta); in igb_ptp_adjtime_i210()
286 *ts = ns_to_timespec64(ns); in igb_ptp_gettime_82576()
520 ts = ns_to_timespec64(ns); in igb_ptp_feature_enable_i210()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dclock.c169 *ts = ns_to_timespec64(ns); in mlx5_ptp_gettime()
462 ns_to_timespec64(ptp_event.timestamp); in mlx5_pps_event()
/Linux-v4.19/fs/adfs/
Dinode.c198 *tv = ns_to_timespec64(nsec); in adfs_adfs2unix_time()
/Linux-v4.19/drivers/hv/
Dhv_util.c227 ts = ns_to_timespec64((newtime - WLTIMEDELTA) * 100); in hv_get_adj_host_time()
/Linux-v4.19/drivers/net/ethernet/renesas/
Dravb_ptp.c140 ts = ns_to_timespec64(now + delta); in ravb_ptp_adjtime()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ptp.c334 *ts = ns_to_timespec64(ns); in cxgb4_ptp_gettime()
/Linux-v4.19/drivers/net/dsa/mv88e6xxx/
Dptp.c230 *ts = ns_to_timespec64(ns); in mv88e6xxx_ptp_gettime()
/Linux-v4.19/drivers/net/ethernet/qlogic/qede/
Dqede_ptp.c114 *ts = ns_to_timespec64(ns); in qede_ptp_gettime()
/Linux-v4.19/fs/pstore/
Dplatform.c347 record->time = ns_to_timespec64(ktime_get_real_fast_ns()); in pstore_record_init()
/Linux-v4.19/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c48 *ts = ns_to_timespec64(ns); in i40e_ptp_read()
/Linux-v4.19/drivers/net/ethernet/sfc/
Dptp.c446 struct timespec64 ts = ns_to_timespec64(ns); in efx_ptp_ns_to_s_ns()
476 struct timespec64 ts = ns_to_timespec64(ns); in efx_ptp_ns_to_s27()
519 struct timespec64 ts = ns_to_timespec64(ns); in efx_ptp_ns_to_s_qns()

12