Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
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()
/linux-6.6.21/drivers/net/ethernet/intel/igc/
Digc_tsn.c262 s64 n = div64_s64(ktime_sub_ns(systim, base_time), cycle); in igc_tsn_enable_offload()
290 expires_time = ktime_sub_ns(adjust_time, systim); in igc_tsn_enable_offload()
Digc_ptp.c511 return ktime_sub_ns(timestamp, adjust); in igc_ptp_rx_pktstamp()
Digc_main.c1049 n = div64_s64(ktime_sub_ns(now, base_time), cycle_time); in igc_tx_launchtime()
1069 if ((ktime_sub_ns(end_of_cycle, now) < 5 * NSEC_PER_USEC)) in igc_tx_launchtime()
1075 launchtime = ktime_sub_ns(txtime, baset_est); in igc_tx_launchtime()
/linux-6.6.21/net/sched/
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()
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()
Dsch_taprio.c345 curr_intv_end = ktime_sub_ns(time, cycle_elapsed); in find_entry_to_transmit()
1241 n = div64_s64(ktime_sub_ns(now, base), cycle); in taprio_get_start_time()
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dselftest_timeline.c332 kt = ktime_sub_ns(kt, (count * prng32_1M * 2) >> 20); in bench_sync()
350 kt = ktime_sub_ns(kt, (count * prng32_1M * 2) >> 20); in bench_sync()
404 kt = ktime_sub_ns(kt, (count * prng32_1M * 2) >> 20); in bench_sync()
/linux-6.6.21/drivers/net/ethernet/intel/igb/
Digb_ptp.c1040 *timestamp = ktime_sub_ns(ts.hwtstamp, adjust); in igb_ptp_rx_pktstamp()
1096 ktime_sub_ns(skb_hwtstamps(skb)->hwtstamp, adjust); in igb_ptp_rx_rgtstamp()
/linux-6.6.21/drivers/rtc/
Dinterface.c479 alarm_time = ktime_sub_ns(alarm_time, (u64)alarm->time.tm_sec * NSEC_PER_SEC); in rtc_set_alarm()
/linux-6.6.21/drivers/hwmon/
Dbt1-pvt.c684 kt = ktime_sub_ns(kt, PVT_TOUT_MIN); in pvt_write_timeout()
/linux-6.6.21/kernel/time/
Dtimekeeping.c1175 ts->sys_monoraw = ktime_sub_ns(ts->sys_monoraw, corr_raw); in adjust_historical_crosststamp()
1176 ts->sys_realtime = ktime_sub_ns(ts->sys_realtime, corr_real); in adjust_historical_crosststamp()
/linux-6.6.21/drivers/net/ethernet/sfc/siena/
Dptp.c455 kt = ktime_sub_ns(kt, (u64)-correction); in efx_ptp_s_ns_to_ktime_correction()
535 kt = ktime_sub_ns(kt, (u64)-correction); in efx_ptp_s_qns_to_ktime_correction()
/linux-6.6.21/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_tc.c907 n = div64_s64(ktime_sub_ns(current_time, old_base_time), in stmmac_calc_tas_basetime()
/linux-6.6.21/arch/mips/kvm/
Demulate.c589 count_time = ktime_sub_ns(now, delta); in kvm_mips_restore_hrtimer()
/linux-6.6.21/drivers/gpu/drm/
Ddrm_vblank.c785 *vblank_time = ktime_sub_ns(etime, delta_ns); in drm_crtc_vblank_helper_get_vblank_timestamp_internal()
/linux-6.6.21/drivers/net/dsa/hirschmann/
Dhellcreek.c1699 n = div64_s64(ktime_sub_ns(current_time, base_time), in hellcreek_start_schedule()
/linux-6.6.21/drivers/net/ethernet/sfc/
Dptp.c516 kt = ktime_sub_ns(kt, (u64)-correction); in efx_ptp_s_qns_to_ktime_correction()
/linux-6.6.21/arch/x86/kvm/
Dlapic.c1953 expire = ktime_sub_ns(expire, ktimer->timer_advance_ns); in start_sw_tscdeadline()