/openbmc/linux/include/linux/ |
H 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()
|
/openbmc/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_tsn.c | 311 s64 n = div64_s64(ktime_sub_ns(systim, base_time), cycle); in igc_tsn_enable_offload() 331 expires_time = ktime_sub_ns(adjust_time, systim); in igc_tsn_enable_offload()
|
H A D | igc_ptp.c | 511 return ktime_sub_ns(timestamp, adjust); in igc_ptp_rx_pktstamp()
|
H A 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()
|
/openbmc/linux/net/sched/ |
H 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()
|
H 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()
|
H A D | sch_taprio.c | 345 curr_intv_end = ktime_sub_ns(time, cycle_elapsed); in find_entry_to_transmit() 1239 n = div64_s64(ktime_sub_ns(now, base), cycle); in taprio_get_start_time()
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A 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()
|
/openbmc/linux/drivers/net/ethernet/intel/igb/ |
H A 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()
|
/openbmc/linux/drivers/hwmon/ |
H A D | bt1-pvt.c | 684 kt = ktime_sub_ns(kt, PVT_TOUT_MIN); in pvt_write_timeout()
|
/openbmc/linux/drivers/rtc/ |
H A D | interface.c | 480 alarm_time = ktime_sub_ns(alarm_time, (u64)alarm->time.tm_sec * NSEC_PER_SEC); in rtc_set_alarm()
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H 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()
|
/openbmc/linux/kernel/time/ |
H A 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()
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_tc.c | 909 n = div64_s64(ktime_sub_ns(current_time, old_base_time), in stmmac_calc_tas_basetime()
|
/openbmc/linux/arch/mips/kvm/ |
H A D | emulate.c | 589 count_time = ktime_sub_ns(now, delta); in kvm_mips_restore_hrtimer()
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_vblank.c | 785 *vblank_time = ktime_sub_ns(etime, delta_ns); in drm_crtc_vblank_helper_get_vblank_timestamp_internal()
|
/openbmc/linux/drivers/net/dsa/hirschmann/ |
H A D | hellcreek.c | 1699 n = div64_s64(ktime_sub_ns(current_time, base_time), in hellcreek_start_schedule()
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | ptp.c | 516 kt = ktime_sub_ns(kt, (u64)-correction); in efx_ptp_s_qns_to_ktime_correction()
|
/openbmc/linux/arch/x86/kvm/ |
H A D | lapic.c | 1956 expire = ktime_sub_ns(expire, ktimer->timer_advance_ns); in start_sw_tscdeadline()
|