Home
last modified time | relevance | path

Searched refs:ktime_add_ns (Results 1 – 25 of 52) sorted by relevance

123

/linux/include/linux/
A Dktime.h62 #define ktime_add_ns(kt, nsval) ((kt) + (nsval)) macro
181 return ktime_add_ns(kt, usec * NSEC_PER_USEC); in ktime_add_us()
186 return ktime_add_ns(kt, msec * NSEC_PER_MSEC); in ktime_add_ms()
A Dhrtimer.h272 timer->node.expires = ktime_add_ns(timer->node.expires, ns); in hrtimer_add_expires_ns()
273 timer->_softexpires = ktime_add_ns(timer->_softexpires, ns); in hrtimer_add_expires_ns()
/linux/net/sched/
A Dsch_taprio.c164 intv_end = ktime_add_ns(intv_start, entry->interval); in get_interval_end_time()
216 cycle_end = ktime_add_ns(curr_intv_end, cycle); in find_entry_to_transmit()
247 *interval_start = ktime_add_ns(curr_intv_start, cycle); in find_entry_to_transmit()
248 *interval_end = ktime_add_ns(curr_intv_end, cycle); in find_entry_to_transmit()
355 minimum_time = ktime_add_ns(now, q->txtime_delay); in get_packet_txtime()
608 guard = ktime_add_ns(taprio_get_time(q), in taprio_dequeue_soft()
917 cycle = ktime_add_ns(cycle, entry->interval); in parse_taprio_schedule()
1026 *start = ktime_add_ns(base, (n + 1) * cycle); in taprio_get_start_time()
1042 sched->cycle_close_time = ktime_add_ns(base, cycle); in setup_first_close_time()
1044 first->close_time = ktime_add_ns(base, first->interval); in setup_first_close_time()
[all …]
A Dact_gate.c52 *start = ktime_add_ns(base, (n + 1) * cycle); in gate_get_start_time()
85 gact->current_close_time = ktime_add_ns(gact->current_close_time, in gate_timer_func()
105 close_time = ktime_add_ns(base, (n + 1) * cycle); in gate_timer_func()
406 cycle = ktime_add_ns(cycle, entry->interval); in tcf_gate_init()
A Dsch_cake.c441 return ktime_add_ns(t, reciprocal_scale(interval, in cobalt_control()
580 vars->drop_next = ktime_add_ns(now, p->interval); in cobalt_should_drop()
1484 b->time_next_packet = ktime_add_ns(b->time_next_packet, in cake_advance_shaper()
1488 ktime_add_ns(now, tin_dur))) in cake_advance_shaper()
1489 b->time_next_packet = ktime_add_ns(now, tin_dur); in cake_advance_shaper()
1491 q->time_next_packet = ktime_add_ns(q->time_next_packet, in cake_advance_shaper()
1495 ktime_add_ns(q->failsafe_next_packet, in cake_advance_shaper()
2209 ktime_add_ns(now, in cake_dequeue()
/linux/kernel/time/
A Dtick-common.c92 tick_next_period = ktime_add_ns(tick_next_period, TICK_NSEC); in tick_periodic()
131 next = ktime_add_ns(next, TICK_NSEC); in tick_handle_periodic()
177 next = ktime_add_ns(next, TICK_NSEC); in tick_setup_periodic()
A Dtimekeeping.c833 return ktime_add_ns(base, nsecs); in ktime_get()
876 return ktime_add_ns(base, nsecs); in ktime_get_with_offset()
897 return ktime_add_ns(base, nsecs); in ktime_get_coarse_with_offset()
938 return ktime_add_ns(base, nsecs); in ktime_get_raw()
1062 systime_snapshot->real = ktime_add_ns(base_real, nsec_real); in ktime_get_snapshot()
1063 systime_snapshot->raw = ktime_add_ns(base_raw, nsec_raw); in ktime_get_snapshot()
1153 ts->sys_monoraw = ktime_add_ns(history->raw, corr_raw); in adjust_historical_crosststamp()
1154 ts->sys_realtime = ktime_add_ns(history->real, corr_real); in adjust_historical_crosststamp()
1249 xtstamp->sys_realtime = ktime_add_ns(base_real, nsec_real); in get_device_system_crosststamp()
1250 xtstamp->sys_monoraw = ktime_add_ns(base_raw, nsec_raw); in get_device_system_crosststamp()
[all …]
A Dclockevents.c241 dev->next_event = ktime_add_ns(ktime_get(), delta); in clockevents_program_min_delta()
280 dev->next_event = ktime_add_ns(ktime_get(), delta); in clockevents_program_min_delta()
A Dtick-sched.c110 last_jiffies_update = ktime_add_ns(last_jiffies_update, in tick_do_update_jiffies64()
113 last_jiffies_update = ktime_add_ns(last_jiffies_update, in tick_do_update_jiffies64()
123 nextp = ktime_add_ns(last_jiffies_update, TICK_NSEC); in tick_do_update_jiffies64()
A Dntp.c515 exp = ktime_add_ns(exp, 2ULL * NSEC_PER_SEC - offset_nsec); in sched_sync_hw_clock()
517 exp = ktime_add_ns(exp, SYNC_PERIOD_NS - offset_nsec); in sched_sync_hw_clock()
/linux/drivers/media/rc/
A Dgpio-ir-tx.c109 edge = ktime_add_ns(edge, pulse); in gpio_ir_tx_modulated()
115 edge = ktime_add_ns(edge, space); in gpio_ir_tx_modulated()
A Dserial_ir.c235 edge = ktime_add_ns(edge, pulse); in send_pulse_homebrew_softcarrier()
243 edge = ktime_add_ns(edge, space); in send_pulse_homebrew_softcarrier()
/linux/arch/mips/kvm/
A Demulate.c410 threshold = ktime_add_ns(now, vcpu->arch.count_period / 4); in kvm_mips_read_count_running()
426 expires = ktime_add_ns(expires, in kvm_mips_read_count_running()
514 expire = ktime_add_ns(now, delta); in kvm_mips_resume_hrtimer()
888 expire = ktime_add_ns(vcpu->arch.count_resume, delta); in kvm_mips_set_count_ctl()
/linux/drivers/net/ethernet/intel/igc/
A Digc_tsn.c222 base_time = ktime_add_ns(base_time, (n + 1) * cycle); in igc_tsn_enable_offload()
/linux/sound/firewire/fireface/
A Dff-transaction.c90 ff->next_ktime[port] = ktime_add_ns(ktime_get(), in transmit_midi_msg()
/linux/net/can/
A Disotp.c361 so->tx_gap = ktime_add_ns(so->tx_gap, so->opt.frame_txtime); in isotp_rcv_fc()
364 so->tx_gap = ktime_add_ns(so->tx_gap, in isotp_rcv_fc()
367 so->tx_gap = ktime_add_ns(so->tx_gap, in isotp_rcv_fc()
370 so->tx_gap = ktime_add_ns(so->tx_gap, in isotp_rcv_fc()
/linux/sound/firewire/tascam/
A Dtascam-transaction.c211 port->next_ktime = ktime_add_ns(ktime_get(), in midi_port_work()
/linux/kernel/trace/
A Dring_buffer_benchmark.c247 timeout = ktime_add_ns(start_time, RUN_TIME * NSEC_PER_SEC); in ring_buffer_producer()
/linux/drivers/gpu/drm/v3d/
A Dv3d_drv.h312 const ktime_t end__ = ktime_add_ns(ktime_get_raw(), 1000ll * (US)); \
/linux/drivers/clk/bcm/
A Dclk-bcm2835.c368 timeout = ktime_add_ns(ktime_get(), LOCK_TIMEOUT_NS); in bcm2835_measure_tcnt_mux()
379 timeout = ktime_add_ns(ktime_get(), LOCK_TIMEOUT_NS); in bcm2835_measure_tcnt_mux()
643 timeout = ktime_add_ns(ktime_get(), LOCK_TIMEOUT_NS); in bcm2835_pll_on()
1022 ktime_t timeout = ktime_add_ns(ktime_get(), LOCK_TIMEOUT_NS); in bcm2835_clock_wait_busy()
/linux/drivers/hwmon/
A Dbt1-pvt.c1044 pvt->timeout = ktime_add_ns(pvt->timeout, PVT_SENSORS_NUM * PVT_TOUT_MIN); in pvt_init_iface()
1048 pvt->timeout = ktime_add_ns(pvt->timeout, PVT_TOUT_MIN); in pvt_init_iface()
/linux/drivers/gpu/drm/i915/
A Di915_utils.h318 const ktime_t end__ = ktime_add_ns(ktime_get_raw(), 1000ll * (US)); \
/linux/drivers/gpu/drm/i915/gvt/
A Dsched_policy.c358 hrtimer_start(&sched_data->timer, ktime_add_ns(ktime_get(), in tbs_sched_start_schedule()
/linux/arch/x86/kvm/
A Dlapic.c1712 expire = ktime_add_ns(now, ns); in start_sw_tscdeadline()
1747 apic->lapic_timer.target_expiration = ktime_add_ns(now, ns_remaining_new); in update_target_expiration()
1791 apic->lapic_timer.target_expiration = ktime_add_ns(now, deadline); in set_target_expiration()
1810 ktime_add_ns(apic->lapic_timer.target_expiration, in advance_periodic_target_expiration()
A Di8254.c363 hrtimer_start(&ps->timer, ktime_add_ns(ktime_get(), interval), in create_pit_timer()

Completed in 105 milliseconds

123