Home
last modified time | relevance | path

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

/linux/include/linux/
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()
/linux/net/sched/
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()
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()
A Dsch_taprio.c215 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 Digc_tsn.c221 n = div64_s64(ktime_sub_ns(systim, base_time), cycle); in igc_tsn_enable_offload()
A Digc_ptp.c488 return ktime_sub_ns(timestamp, adjust); in igc_ptp_rx_pktstamp()
A Digc_main.c1012 div_s64_rem(ktime_sub_ns(txtime, base_time), cycle_time, &launchtime); in igc_tx_launchtime()
/linux/drivers/gpu/drm/i915/gt/
A Dselftest_timeline.c330 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 Digb_ptp.c908 *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 Dtimekeeping.c1156 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 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/drivers/rtc/
A Dinterface.c479 alarm_time = ktime_sub_ns(alarm_time, (u64)alarm->time.tm_sec * NSEC_PER_SEC); in rtc_set_alarm()
/linux/drivers/hwmon/
A Dbt1-pvt.c708 kt = ktime_sub_ns(kt, PVT_TOUT_MIN); in pvt_write_timeout()
/linux/drivers/net/ethernet/stmicro/stmmac/
A Dstmmac_tc.c786 n = div64_s64(ktime_sub_ns(current_time, old_base_time), in stmmac_calc_tas_basetime()
/linux/arch/mips/kvm/
A Demulate.c589 count_time = ktime_sub_ns(now, delta); in kvm_mips_restore_hrtimer()
/linux/drivers/gpu/drm/
A Ddrm_vblank.c785 *vblank_time = ktime_sub_ns(etime, delta_ns); in drm_crtc_vblank_helper_get_vblank_timestamp_internal()
/linux/drivers/net/dsa/hirschmann/
A Dhellcreek.c1577 n = div64_s64(ktime_sub_ns(current_time, base_time), in hellcreek_start_schedule()
/linux/arch/x86/kvm/
A Dlapic.c1713 expire = ktime_sub_ns(expire, ktimer->timer_advance_ns); in start_sw_tscdeadline()

Completed in 63 milliseconds