/linux-6.6.21/include/linux/ |
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()
|
D | hrtimer.h | 274 timer->node.expires = ktime_add_ns(timer->node.expires, ns); in hrtimer_add_expires_ns() 275 timer->_softexpires = ktime_add_ns(timer->_softexpires, ns); in hrtimer_add_expires_ns()
|
/linux-6.6.21/kernel/time/ |
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()
|
D | timekeeping.c | 852 return ktime_add_ns(base, nsecs); in ktime_get() 895 return ktime_add_ns(base, nsecs); in ktime_get_with_offset() 916 return ktime_add_ns(base, nsecs); in ktime_get_coarse_with_offset() 957 return ktime_add_ns(base, nsecs); in ktime_get_raw() 1081 systime_snapshot->real = ktime_add_ns(base_real, nsec_real); in ktime_get_snapshot() 1082 systime_snapshot->raw = ktime_add_ns(base_raw, nsec_raw); in ktime_get_snapshot() 1172 ts->sys_monoraw = ktime_add_ns(history->raw, corr_raw); in adjust_historical_crosststamp() 1173 ts->sys_realtime = ktime_add_ns(history->real, corr_real); in adjust_historical_crosststamp() 1268 xtstamp->sys_realtime = ktime_add_ns(base_real, nsec_real); in get_device_system_crosststamp() 1269 xtstamp->sys_monoraw = ktime_add_ns(base_raw, nsec_raw); in get_device_system_crosststamp() [all …]
|
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()
|
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()
|
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-6.6.21/net/sched/ |
D | sch_taprio.c | 236 cycle_end = ktime_add_ns(intv_start, sched->cycle_time - cycle_elapsed); in get_interval_end_time() 237 intv_end = ktime_add_ns(intv_start, entry->interval); in get_interval_end_time() 346 cycle_end = ktime_add_ns(curr_intv_end, cycle); in find_entry_to_transmit() 363 transmit_end_time = ktime_add_ns(time, packet_transmit_time); in find_entry_to_transmit() 377 *interval_start = ktime_add_ns(curr_intv_start, cycle); in find_entry_to_transmit() 378 *interval_end = ktime_add_ns(curr_intv_end, cycle); in find_entry_to_transmit() 485 minimum_time = ktime_add_ns(now, q->txtime_delay); in get_packet_txtime() 742 guard = ktime_add_ns(taprio_get_time(q), length_to_duration(q, len)); in taprio_dequeue_from_txq() 911 extension_time = ktime_add_ns(end_time, oper->cycle_time_extension); in should_change_schedules() 962 oper->cycle_end_time = ktime_add_ns(oper->cycle_end_time, in advance_sched() [all …]
|
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() 409 cycle = ktime_add_ns(cycle, entry->interval); in tcf_gate_init()
|
D | sch_cake.c | 442 return ktime_add_ns(t, reciprocal_scale(interval, in cobalt_control() 581 vars->drop_next = ktime_add_ns(now, p->interval); in cobalt_should_drop() 1485 b->time_next_packet = ktime_add_ns(b->time_next_packet, in cake_advance_shaper() 1489 ktime_add_ns(now, tin_dur))) in cake_advance_shaper() 1490 b->time_next_packet = ktime_add_ns(now, tin_dur); in cake_advance_shaper() 1492 q->time_next_packet = ktime_add_ns(q->time_next_packet, in cake_advance_shaper() 1496 ktime_add_ns(q->failsafe_next_packet, in cake_advance_shaper() 2210 ktime_add_ns(now, in cake_dequeue()
|
/linux-6.6.21/drivers/media/rc/ |
D | gpio-ir-tx.c | 128 edge = ktime_add_ns(edge, pulse); in gpio_ir_tx_modulated() 134 edge = ktime_add_ns(edge, space); in gpio_ir_tx_modulated()
|
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-6.6.21/drivers/clk/mstar/ |
D | clk-msc313-cpupll.c | 103 timeout = ktime_add_ns(ktime_get(), LPF_LOCK_TIMEOUT); in msc313_cpupll_setfreq()
|
/linux-6.6.21/arch/mips/kvm/ |
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-6.6.21/drivers/net/ethernet/intel/igc/ |
D | igc_tsn.c | 264 base_time = ktime_add_ns(base_time, (n + 1) * cycle); in igc_tsn_enable_offload()
|
/linux-6.6.21/sound/firewire/fireface/ |
D | ff-transaction.c | 90 ff->next_ktime[port] = ktime_add_ns(ktime_get(), in transmit_midi_msg()
|
/linux-6.6.21/kernel/trace/ |
D | ring_buffer_benchmark.c | 247 timeout = ktime_add_ns(start_time, RUN_TIME * NSEC_PER_SEC); in ring_buffer_producer()
|
/linux-6.6.21/sound/firewire/tascam/ |
D | tascam-transaction.c | 211 port->next_ktime = ktime_add_ns(ktime_get(), in midi_port_work()
|
/linux-6.6.21/drivers/gpu/drm/v3d/ |
D | v3d_drv.h | 312 const ktime_t end__ = ktime_add_ns(ktime_get_raw(), 1000ll * (US)); \
|
/linux-6.6.21/io_uring/ |
D | cancel.c | 306 timeout = ktime_add_ns(timespec64_to_ktime(ts), ktime_get_ns()); in io_sync_cancel()
|
/linux-6.6.21/drivers/pwm/ |
D | pwm-microchip-core.c | 99 mchp_core_pwm->update_timestamp = ktime_add_ns(ktime_get(), period); in mchp_core_pwm_enable()
|
/linux-6.6.21/drivers/gpu/drm/i915/ |
D | i915_utils.h | 262 const ktime_t end__ = ktime_add_ns(ktime_get_raw(), 1000ll * (US)); \
|
/linux-6.6.21/net/can/ |
D | isotp.c | 396 so->tx_gap = ktime_add_ns(so->tx_gap, so->frame_txtime); in isotp_rcv_fc() 399 so->tx_gap = ktime_add_ns(so->tx_gap, in isotp_rcv_fc() 402 so->tx_gap = ktime_add_ns(so->tx_gap, in isotp_rcv_fc() 405 so->tx_gap = ktime_add_ns(so->tx_gap, in isotp_rcv_fc()
|
/linux-6.6.21/drivers/hwmon/ |
D | bt1-pvt.c | 1013 pvt->timeout = ktime_add_ns(pvt->timeout, PVT_SENSORS_NUM * PVT_TOUT_MIN); in pvt_init_iface() 1017 pvt->timeout = ktime_add_ns(pvt->timeout, PVT_TOUT_MIN); in pvt_init_iface()
|
/linux-6.6.21/drivers/clk/bcm/ |
D | clk-bcm2835.c | 369 timeout = ktime_add_ns(ktime_get(), LOCK_TIMEOUT_NS); in bcm2835_measure_tcnt_mux() 380 timeout = ktime_add_ns(ktime_get(), LOCK_TIMEOUT_NS); in bcm2835_measure_tcnt_mux() 646 timeout = ktime_add_ns(ktime_get(), LOCK_TIMEOUT_NS); in bcm2835_pll_on() 1046 ktime_t timeout = ktime_add_ns(ktime_get(), LOCK_TIMEOUT_NS); in bcm2835_clock_wait_busy()
|