/linux/include/linux/ |
A D | ktime.h | 62 #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 D | hrtimer.h | 272 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 D | sch_taprio.c | 164 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 D | act_gate.c | 52 *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 D | sch_cake.c | 441 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 D | tick-common.c | 92 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 D | timekeeping.c | 833 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 D | clockevents.c | 241 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 D | tick-sched.c | 110 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 D | ntp.c | 515 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 D | gpio-ir-tx.c | 109 edge = ktime_add_ns(edge, pulse); in gpio_ir_tx_modulated() 115 edge = ktime_add_ns(edge, space); in gpio_ir_tx_modulated()
|
A D | serial_ir.c | 235 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 D | emulate.c | 410 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 D | igc_tsn.c | 222 base_time = ktime_add_ns(base_time, (n + 1) * cycle); in igc_tsn_enable_offload()
|
/linux/sound/firewire/fireface/ |
A D | ff-transaction.c | 90 ff->next_ktime[port] = ktime_add_ns(ktime_get(), in transmit_midi_msg()
|
/linux/net/can/ |
A D | isotp.c | 361 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 D | tascam-transaction.c | 211 port->next_ktime = ktime_add_ns(ktime_get(), in midi_port_work()
|
/linux/kernel/trace/ |
A D | ring_buffer_benchmark.c | 247 timeout = ktime_add_ns(start_time, RUN_TIME * NSEC_PER_SEC); in ring_buffer_producer()
|
/linux/drivers/gpu/drm/v3d/ |
A D | v3d_drv.h | 312 const ktime_t end__ = ktime_add_ns(ktime_get_raw(), 1000ll * (US)); \
|
/linux/drivers/clk/bcm/ |
A D | clk-bcm2835.c | 368 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 D | bt1-pvt.c | 1044 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 D | i915_utils.h | 318 const ktime_t end__ = ktime_add_ns(ktime_get_raw(), 1000ll * (US)); \
|
/linux/drivers/gpu/drm/i915/gvt/ |
A D | sched_policy.c | 358 hrtimer_start(&sched_data->timer, ktime_add_ns(ktime_get(), in tbs_sched_start_schedule()
|
/linux/arch/x86/kvm/ |
A D | lapic.c | 1712 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 D | i8254.c | 363 hrtimer_start(&ps->timer, ktime_add_ns(ktime_get(), interval), in create_pit_timer()
|