Searched refs:ktime_sub_ns (Results 1 – 18 of 18) sorted by relevance
/linux/include/linux/ |
A 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/net/sched/ |
A 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()
|
A 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()
|
A D | sch_taprio.c | 215 curr_intv_end = ktime_sub_ns(time, cycle_elapsed); in find_entry_to_transmit() 1025 n = div64_s64(ktime_sub_ns(now, base), cycle); in taprio_get_start_time()
|
/linux/drivers/net/ethernet/intel/igc/ |
A D | igc_tsn.c | 221 n = div64_s64(ktime_sub_ns(systim, base_time), cycle); in igc_tsn_enable_offload()
|
A D | igc_ptp.c | 488 return ktime_sub_ns(timestamp, adjust); in igc_ptp_rx_pktstamp()
|
A D | igc_main.c | 1012 div_s64_rem(ktime_sub_ns(txtime, base_time), cycle_time, &launchtime); in igc_tx_launchtime()
|
/linux/drivers/gpu/drm/i915/gt/ |
A D | selftest_timeline.c | 330 kt = ktime_sub_ns(kt, (count * prng32_1M * 2) >> 20); in bench_sync() 348 kt = ktime_sub_ns(kt, (count * prng32_1M * 2) >> 20); in bench_sync() 402 kt = ktime_sub_ns(kt, (count * prng32_1M * 2) >> 20); in bench_sync()
|
/linux/drivers/net/ethernet/intel/igb/ |
A D | igb_ptp.c | 908 *timestamp = ktime_sub_ns(ts.hwtstamp, adjust); in igb_ptp_rx_pktstamp() 964 ktime_sub_ns(skb_hwtstamps(skb)->hwtstamp, adjust); in igb_ptp_rx_rgtstamp()
|
/linux/kernel/time/ |
A D | timekeeping.c | 1156 ts->sys_monoraw = ktime_sub_ns(ts->sys_monoraw, corr_raw); in adjust_historical_crosststamp() 1157 ts->sys_realtime = ktime_sub_ns(ts->sys_realtime, corr_real); in adjust_historical_crosststamp()
|
/linux/drivers/net/ethernet/sfc/ |
A 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/drivers/rtc/ |
A D | interface.c | 479 alarm_time = ktime_sub_ns(alarm_time, (u64)alarm->time.tm_sec * NSEC_PER_SEC); in rtc_set_alarm()
|
/linux/drivers/hwmon/ |
A D | bt1-pvt.c | 708 kt = ktime_sub_ns(kt, PVT_TOUT_MIN); in pvt_write_timeout()
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
A D | stmmac_tc.c | 786 n = div64_s64(ktime_sub_ns(current_time, old_base_time), in stmmac_calc_tas_basetime()
|
/linux/arch/mips/kvm/ |
A D | emulate.c | 589 count_time = ktime_sub_ns(now, delta); in kvm_mips_restore_hrtimer()
|
/linux/drivers/gpu/drm/ |
A D | drm_vblank.c | 785 *vblank_time = ktime_sub_ns(etime, delta_ns); in drm_crtc_vblank_helper_get_vblank_timestamp_internal()
|
/linux/drivers/net/dsa/hirschmann/ |
A D | hellcreek.c | 1577 n = div64_s64(ktime_sub_ns(current_time, base_time), in hellcreek_start_schedule()
|
/linux/arch/x86/kvm/ |
A D | lapic.c | 1713 expire = ktime_sub_ns(expire, ktimer->timer_advance_ns); in start_sw_tscdeadline()
|
Completed in 63 milliseconds