Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/kernel/time/
H A Ditimer.c72 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()
H A Dposix-cpu-timers.c369 *tp = ns_to_timespec64(t); in posix_cpu_clock_get()
656 old->it_value = ns_to_timespec64(old_expires); in posix_cpu_timer_set()
719 old->it_interval = ns_to_timespec64(old_incr); in posix_cpu_timer_set()
753 itp->it_value = ns_to_timespec64(expires - now); in posix_cpu_timer_get()
1509 t = ns_to_timespec64(restart_block->nanosleep.expires); in posix_cpu_nsleep_restart()
H A Dtime.c454 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);
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/e1000e/
H A Dptp.c190 *ts = ns_to_timespec64(ns); in e1000e_phc_gettimex()
248 ts = ns_to_timespec64(ns); in e1000e_systim_overflow_work()
/OK3568_Linux_fs/kernel/fs/vboxsf/
H A Dutils.c113 inode->i_atime = ns_to_timespec64( in vboxsf_init_inode()
115 inode->i_ctime = ns_to_timespec64( in vboxsf_init_inode()
117 inode->i_mtime = ns_to_timespec64( in vboxsf_init_inode()
/OK3568_Linux_fs/kernel/drivers/ptp/
H A Dptp_vmw.c61 *ts = ns_to_timespec64(ns); in ptp_vmw_gettime()
H A Dptp_dte.c188 *ts = ns_to_timespec64(dte_read_nco_with_ovf(ptp_dte)); in ptp_dte_gettime()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igb/
H A 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()
/OK3568_Linux_fs/kernel/include/linux/
H A Dtime64.h140 extern struct timespec64 ns_to_timespec64(const s64 nsec);
H A Dktime.h77 #define ktime_to_timespec64(kt) ns_to_timespec64((kt))
/OK3568_Linux_fs/kernel/drivers/net/dsa/sja1105/
H A Dsja1105_tas.c770 base_time_ts = ns_to_timespec64(base_time); in sja1105_tas_state_machine()
771 now_ts = ns_to_timespec64(now); in sja1105_tas_state_machine()
795 diff = ns_to_timespec64(tas_data->oper_base_time - now); in sja1105_tas_state_machine()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-ptp.c196 *ts = ns_to_timespec64(nsec); in xgbe_gettime()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/cadence/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/
H A Dfec_ptp.c142 ts = ns_to_timespec64(ns); in fec_ptp_enable_pps()
385 *ts = ns_to_timespec64(ns); in fec_ptp_gettime()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/i40e/
H A Di40e_ptp.c53 *ts = ns_to_timespec64(ns); in i40e_ptp_read()
151 then = ns_to_timespec64(delta); in i40e_ptp_adjtime()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_ptp.c104 *ts = ns_to_timespec64(ns); in stmmac_get_time()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ptp.c87 *ts = ns_to_timespec64(nsec); in otx2_ptp_gettime()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/
H A Den_clock.c187 *ts = ns_to_timespec64(ns); in mlx4_en_phc_gettime()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/xscale/
H A Dptp_ixp46x.c179 *ts = ns_to_timespec64(ns); in ptp_ixp_gettime()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/cavium/common/
H A Dcavium_ptp.c173 *ts = ns_to_timespec64(nsec); in cavium_ptp_gettime()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dclock.c196 *ts = ns_to_timespec64(ns); in mlx5_ptp_gettimex()
564 ns_to_timespec64(ptp_event.timestamp); in mlx5_pps_event()
/OK3568_Linux_fs/kernel/include/media/
H A Dv4l2-common.h537 struct timespec64 ts = ns_to_timespec64(timestamp); in v4l2_buffer_set_timestamp()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_tai.c224 ts = ns_to_timespec64(delta); in mvpp22_tai_adjtime()
/OK3568_Linux_fs/kernel/fs/adfs/
H A Dinode.c196 *tv = ns_to_timespec64(nsec); in adfs_adfs2unix_time()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mscc/
H A Docelot_ptp.c114 ts = ns_to_timespec64(now + delta); in ocelot_ptp_adjtime()

123