Home
last modified time | relevance | path

Searched refs:ktime_sub_ns (Results 1 – 16 of 16) sorted by relevance

/OK3568_Linux_fs/kernel/include/linux/
H A Dktime.h68 #define ktime_sub_ns(kt, nsval) ((kt) - (nsval)) macro
191 return ktime_sub_ns(kt, usec * NSEC_PER_USEC); in ktime_sub_us()
196 return ktime_sub_ns(kt, msec * NSEC_PER_MSEC); in ktime_sub_ms()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igc/
H A Digc_tsn.c119 n = div64_s64(ktime_sub_ns(systim, base_time), cycle); in igc_tsn_enable_offload()
H A Digc_ptp.c205 ktime_sub_ns(skb_hwtstamps(skb)->hwtstamp, adjust); in igc_ptp_rx_pktstamp()
H A Digc_main.c913 div_s64_rem(ktime_sub_ns(txtime, base_time), cycle_time, &launchtime); in igc_tx_launchtime()
/OK3568_Linux_fs/kernel/net/sched/
H A Dsch_etf.c131 next = ktime_sub_ns(skb->tstamp, q->delta); in reset_watchdog()
281 next = ktime_sub_ns(skb->tstamp, q->delta); in etf_dequeue_timesortedlist()
H A Dact_gate.c51 n = div64_u64(ktime_sub_ns(now, base), cycle); in gate_get_start_time()
104 n = div64_u64(ktime_sub_ns(now, base), cycle); in gate_timer_func()
H A Dsch_taprio.c218 curr_intv_end = ktime_sub_ns(time, cycle_elapsed); in find_entry_to_transmit()
1016 n = div64_s64(ktime_sub_ns(now, base), cycle); in taprio_get_start_time()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gt/
H A Dselftest_timeline.c300 kt = ktime_sub_ns(kt, (count * prng32_1M * 2) >> 20); in bench_sync()
318 kt = ktime_sub_ns(kt, (count * prng32_1M * 2) >> 20); in bench_sync()
372 kt = ktime_sub_ns(kt, (count * prng32_1M * 2) >> 20); in bench_sync()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igb/
H A Digb_ptp.c911 ktime_sub_ns(skb_hwtstamps(skb)->hwtstamp, adjust); in igb_ptp_rx_pktstamp()
967 ktime_sub_ns(skb_hwtstamps(skb)->hwtstamp, adjust); in igb_ptp_rx_rgtstamp()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_tc.c742 n = div64_s64(ktime_sub_ns(current_time_ns, qopt->base_time), in tc_setup_taprio()
/OK3568_Linux_fs/kernel/kernel/time/
H A Dtimekeeping.c1162 ts->sys_monoraw = ktime_sub_ns(ts->sys_monoraw, corr_raw); in adjust_historical_crosststamp()
1163 ts->sys_realtime = ktime_sub_ns(ts->sys_realtime, corr_real); in adjust_historical_crosststamp()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/
H A Dptp.c456 kt = ktime_sub_ns(kt, (u64)-correction); in efx_ptp_s_ns_to_ktime_correction()
536 kt = ktime_sub_ns(kt, (u64)-correction); in efx_ptp_s_qns_to_ktime_correction()
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A Dbt1-pvt.c708 kt = ktime_sub_ns(kt, PVT_TOUT_MIN); in pvt_write_timeout()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/
H A Ddrm_vblank.c779 *vblank_time = ktime_sub_ns(etime, delta_ns); in drm_crtc_vblank_helper_get_vblank_timestamp_internal()
/OK3568_Linux_fs/kernel/arch/x86/kvm/
H A Dlapic.c1701 expire = ktime_sub_ns(expire, ktimer->timer_advance_ns); in start_sw_tscdeadline()
/OK3568_Linux_fs/kernel/arch/mips/kvm/
H A Demulate.c588 count_time = ktime_sub_ns(now, delta); in kvm_mips_restore_hrtimer()