Home
last modified time | relevance | path

Searched refs:timespec64_to_ns (Results 1 – 25 of 45) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_osk_time.c51 return (u64)timespec64_to_ns(&tsval); in _mali_osk_time_get_ns()
58 return (u64)timespec64_to_ns(&tsval); in _mali_osk_boot_time_get_ns()
/OK3568_Linux_fs/kernel/drivers/pps/generators/
H A Dpps_gen_parport.c115 (dev->port_write_time + timespec64_to_ns(&dts)) >> 1; in hrtimer_event()
120 delta = timespec64_to_ns(&dts); in hrtimer_event()
160 acc += timespec64_to_ns(&b); in calibrate_port()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mscc/
H A Docelot_ptp.c254 wf_high = timespec64_to_ns(&ts_on); in ocelot_ptp_enable()
259 wf_high = timespec64_to_ns(&ts_period); in ocelot_ptp_enable()
264 wf_low = timespec64_to_ns(&ts_period); in ocelot_ptp_enable()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dclock.c169 u64 ns = timespec64_to_ns(ts); in mlx5_ptp_settime()
348 ns = timespec64_to_ns(&ts); in mlx5_perout_configure()
355 ns = timespec64_to_ns(&ts); in mlx5_perout_configure()
576 ns = timespec64_to_ns(&ts); in mlx5_pps_event()
/OK3568_Linux_fs/kernel/kernel/time/
H A Ditimer.c175 nval = timespec64_to_ns(&value->it_value); in set_cpu_itimer()
176 ninterval = timespec64_to_ns(&value->it_interval); in set_cpu_itimer()
/OK3568_Linux_fs/kernel/mm/damon/
H A Dcore.c496 if ((timespec64_to_ns(&now) - timespec64_to_ns(baseline)) < in damon_check_reset_time_interval()
624 quota->total_charged_ns += timespec64_to_ns(&end) - in damon_do_apply_schemes()
625 timespec64_to_ns(&begin); in damon_do_apply_schemes()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ptp.c352 return (u64)timespec64_to_ns(&ts); in ixgbe_ptp_read_X550()
423 timestamp = timespec64_to_ns(&systime); in ixgbe_ptp_convert_to_hwtstamp()
582 stamp = timespec64_to_ns(ts); in ixgbe_ptp_gettimex()
615 u64 ns = timespec64_to_ns(ts); in ixgbe_ptp_settime()
/OK3568_Linux_fs/kernel/include/linux/
H A Dtime64.h125 static inline s64 timespec64_to_ns(const struct timespec64 *ts) in timespec64_to_ns() function
/OK3568_Linux_fs/kernel/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-ptp.c210 nsec = timespec64_to_ns(ts); in xgbe_settime()
/OK3568_Linux_fs/kernel/drivers/ptp/
H A Dptp_idt82p33.c283 now_ns = timespec64_to_ns(&ts); in _idt82p33_adjtime()
436 *overhead_ns = timespec64_to_ns(&ts2) - timespec64_to_ns(&ts1); in idt82p33_measure_settime_gettime_gap_overhead()
H A Dptp_dte.c205 dte_write_nco(ptp_dte->regs, timespec64_to_ns(ts)); in ptp_dte_settime()
/OK3568_Linux_fs/kernel/drivers/net/dsa/sja1105/
H A Dsja1105_ptp.c549 u64 ns = timespec64_to_ns(ts); in sja1105_ptp_settime()
705 u64 pin_duration = timespec64_to_ns(&pin_duration_ts); in sja1105_per_out_enable()
706 u64 pin_start = timespec64_to_ns(&pin_start_ts); in sja1105_per_out_enable()
/OK3568_Linux_fs/kernel/fs/vboxsf/
H A Dutils.c288 timespec64_to_ns(&iattr->ia_atime); in vboxsf_setattr()
292 timespec64_to_ns(&iattr->ia_mtime); in vboxsf_setattr()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ptp.c100 nsec = timespec64_to_ns(ts); in otx2_ptp_settime()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/ti/
H A Dam65-cpts.c474 ns = timespec64_to_ns(ts); in am65_cpts_ptp_settime()
557 ns_period = timespec64_to_ns(&ts); in am65_cpts_perout_enable_hw()
563 ns_start = timespec64_to_ns(&ts); in am65_cpts_perout_enable_hw()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/
H A Den_clock.c205 u64 ns = timespec64_to_ns(ts); in mlx4_en_phc_settime()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/e1000e/
H A Dptp.c211 ns = timespec64_to_ns(ts); in e1000e_phc_settime()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/xscale/
H A Dptp_ixp46x.c191 ns = timespec64_to_ns(ts); in ptp_ixp_settime()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/cavium/common/
H A Dcavium_ptp.c191 nsec = timespec64_to_ns(ts); in cavium_ptp_settime()
/OK3568_Linux_fs/kernel/arch/arm/xen/
H A Denlighten.c119 op.u.settime64.system_time = timespec64_to_ns(&system_time); in xen_pvclock_gtod_notify()
/OK3568_Linux_fs/kernel/fs/adfs/
H A Dinode.c212 s64 cs, nsec = timespec64_to_ns(ts); in adfs_unix2adfs_time()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ptp.c353 ns = timespec64_to_ns(ts); in cxgb4_ptp_settime()
/OK3568_Linux_fs/kernel/drivers/net/dsa/mv88e6xxx/
H A Dptp.c259 ns = timespec64_to_ns(ts); in mv88e6xxx_ptp_settime()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igb/
H A Digb_ptp.c365 ns = timespec64_to_ns(ts); in igb_ptp_settime_82576()
579 ns = timespec64_to_ns(&ts); in igb_ptp_feature_enable_i210()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qede/
H A Dqede_ptp.c106 ns = timespec64_to_ns(ts); in qede_ptp_settime()

12