Home
last modified time | relevance | path

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

/openbmc/linux/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()
/openbmc/linux/drivers/net/ethernet/intel/igc/
H A Digc_tsn.c311 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 Digc_ptp.c511 return ktime_sub_ns(timestamp, adjust); in igc_ptp_rx_pktstamp()
H A 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()
/openbmc/linux/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.c345 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 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()
/openbmc/linux/drivers/net/ethernet/intel/igb/
H A 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()
/openbmc/linux/drivers/hwmon/
H A Dbt1-pvt.c684 kt = ktime_sub_ns(kt, PVT_TOUT_MIN); in pvt_write_timeout()
/openbmc/linux/drivers/rtc/
H A Dinterface.c480 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 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()
/openbmc/linux/kernel/time/
H A 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()
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_tc.c909 n = div64_s64(ktime_sub_ns(current_time, old_base_time), in stmmac_calc_tas_basetime()
/openbmc/linux/arch/mips/kvm/
H A Demulate.c589 count_time = ktime_sub_ns(now, delta); in kvm_mips_restore_hrtimer()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_vblank.c785 *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 Dhellcreek.c1699 n = div64_s64(ktime_sub_ns(current_time, base_time), in hellcreek_start_schedule()
/openbmc/linux/drivers/net/ethernet/sfc/
H A Dptp.c516 kt = ktime_sub_ns(kt, (u64)-correction); in efx_ptp_s_qns_to_ktime_correction()
/openbmc/linux/arch/x86/kvm/
H A Dlapic.c1956 expire = ktime_sub_ns(expire, ktimer->timer_advance_ns); in start_sw_tscdeadline()