Searched refs:ktime_sub_ns (Results 1 – 19 of 19) sorted by relevance
/linux-6.6.21/include/linux/ |
D | ktime.h | 68 #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/ |
D | igc_tsn.c | 262 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()
|
D | igc_ptp.c | 511 return ktime_sub_ns(timestamp, adjust); in igc_ptp_rx_pktstamp()
|
D | igc_main.c | 1049 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/ |
D | sch_etf.c | 131 next = ktime_sub_ns(skb->tstamp, q->delta); in reset_watchdog() 281 next = ktime_sub_ns(skb->tstamp, q->delta); in etf_dequeue_timesortedlist()
|
D | act_gate.c | 51 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()
|
D | sch_taprio.c | 345 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/ |
D | selftest_timeline.c | 332 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/ |
D | igb_ptp.c | 1040 *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/ |
D | interface.c | 479 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/ |
D | bt1-pvt.c | 684 kt = ktime_sub_ns(kt, PVT_TOUT_MIN); in pvt_write_timeout()
|
/linux-6.6.21/kernel/time/ |
D | timekeeping.c | 1175 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/ |
D | ptp.c | 455 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/ |
D | stmmac_tc.c | 907 n = div64_s64(ktime_sub_ns(current_time, old_base_time), in stmmac_calc_tas_basetime()
|
/linux-6.6.21/arch/mips/kvm/ |
D | emulate.c | 589 count_time = ktime_sub_ns(now, delta); in kvm_mips_restore_hrtimer()
|
/linux-6.6.21/drivers/gpu/drm/ |
D | drm_vblank.c | 785 *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/ |
D | hellcreek.c | 1699 n = div64_s64(ktime_sub_ns(current_time, base_time), in hellcreek_start_schedule()
|
/linux-6.6.21/drivers/net/ethernet/sfc/ |
D | ptp.c | 516 kt = ktime_sub_ns(kt, (u64)-correction); in efx_ptp_s_qns_to_ktime_correction()
|
/linux-6.6.21/arch/x86/kvm/ |
D | lapic.c | 1953 expire = ktime_sub_ns(expire, ktimer->timer_advance_ns); in start_sw_tscdeadline()
|