Searched refs:ktime_sub_ns (Results 1 – 10 of 10) sorted by relevance
| /linux/include/linux/ |
| H A D | ktime.h | 66 #define ktime_sub_ns(kt, nsval) ((kt) - (nsval)) macro 189 return ktime_sub_ns(kt, usec * NSEC_PER_USEC); in ktime_sub_us() 194 return ktime_sub_ns(kt, msec * NSEC_PER_MSEC); in ktime_sub_ms()
|
| /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 | 54 n = div64_u64(ktime_sub_ns(now, base), cycle); in gate_get_start_time() 109 n = div64_u64(ktime_sub_ns(now, base), cycle); in gate_timer_func()
|
| H A D | sch_taprio.c | 352 curr_intv_end = ktime_sub_ns(time, cycle_elapsed); in find_entry_to_transmit() 1236 n = div64_s64(ktime_sub_ns(now, base), cycle); in taprio_get_start_time()
|
| /linux/drivers/net/ethernet/intel/igc/ |
| H A D | igc_tsn.c | 634 s64 n = div64_s64(ktime_sub_ns(systim, base_time), cycle); in igc_tsn_enable_offload() 654 expires_time = ktime_sub_ns(adjust_time, systim); in igc_tsn_enable_offload()
|
| /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()
|
| /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()
|
| /linux/arch/mips/kvm/ |
| H A D | emulate.c | 589 count_time = ktime_sub_ns(now, delta); in kvm_mips_restore_hrtimer()
|
| /linux/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | stmmac_tc.c | 899 n = div64_s64(ktime_sub_ns(current_time, old_base_time), in stmmac_calc_tas_basetime()
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | ptp.c | 522 kt = ktime_sub_ns(kt, (u64)-correction); in efx_ptp_s_qns_to_ktime_correction()
|