/kernel/linux/linux-5.10/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 | 275 timer->node.expires = ktime_add_ns(timer->node.expires, ns); in hrtimer_add_expires_ns() 276 timer->_softexpires = ktime_add_ns(timer->_softexpires, ns); in hrtimer_add_expires_ns()
|
/kernel/linux/linux-5.10/net/sched/ |
D | sch_taprio.c | 165 cycle_end = ktime_add_ns(intv_start, sched->cycle_time - cycle_elapsed); in get_interval_end_time() 166 intv_end = ktime_add_ns(intv_start, entry->interval); in get_interval_end_time() 218 cycle_end = ktime_add_ns(curr_intv_end, cycle); in find_entry_to_transmit() 235 transmit_end_time = ktime_add_ns(time, packet_transmit_time); in find_entry_to_transmit() 249 *interval_start = ktime_add_ns(curr_intv_start, cycle); in find_entry_to_transmit() 250 *interval_end = ktime_add_ns(curr_intv_end, cycle); in find_entry_to_transmit() 357 minimum_time = ktime_add_ns(now, q->txtime_delay); in get_packet_txtime() 577 guard = ktime_add_ns(taprio_get_time(q), in taprio_dequeue_soft() 682 extension_time = ktime_add_ns(close_time, oper->cycle_time_extension); in should_change_schedules() 730 oper->cycle_close_time = ktime_add_ns(oper->cycle_close_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() 406 cycle = ktime_add_ns(cycle, entry->interval); in tcf_gate_init()
|
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()
|
/kernel/linux/linux-5.10/drivers/media/rc/ |
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()
|
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()
|
/kernel/linux/linux-5.10/kernel/time/ |
D | timekeeping.c | 837 return ktime_add_ns(base, nsecs); in ktime_get() 880 return ktime_add_ns(base, nsecs); in ktime_get_with_offset() 901 return ktime_add_ns(base, nsecs); in ktime_get_coarse_with_offset() 942 return ktime_add_ns(base, nsecs); in ktime_get_raw() 1066 systime_snapshot->real = ktime_add_ns(base_real, nsec_real); in ktime_get_snapshot() 1067 systime_snapshot->raw = ktime_add_ns(base_raw, nsec_raw); in ktime_get_snapshot() 1157 ts->sys_monoraw = ktime_add_ns(history->raw, corr_raw); in adjust_historical_crosststamp() 1158 ts->sys_realtime = ktime_add_ns(history->real, corr_real); in adjust_historical_crosststamp() 1253 xtstamp->sys_realtime = ktime_add_ns(base_real, nsec_real); in get_device_system_crosststamp() 1254 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/ |
D | igc_tsn.c | 120 base_time = ktime_add_ns(base_time, (n + 1) * cycle); in igc_tsn_enable_offload()
|
D | igc_ptp.c | 393 ktime_add_ns(shhwtstamps.hwtstamp, adjust); in igc_ptp_tx_hwtstamp()
|
/kernel/linux/linux-5.10/sound/firewire/fireface/ |
D | ff-transaction.c | 90 ff->next_ktime[port] = ktime_add_ns(ktime_get(), in transmit_midi_msg()
|
/kernel/linux/linux-5.10/net/can/ |
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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/v3d/ |
D | v3d_drv.h | 264 const ktime_t end__ = ktime_add_ns(ktime_get_raw(), 1000ll * (US)); \
|
/kernel/linux/linux-5.10/kernel/trace/ |
D | ring_buffer_benchmark.c | 247 timeout = ktime_add_ns(start_time, RUN_TIME * NSEC_PER_SEC); in ring_buffer_producer()
|
/kernel/linux/linux-5.10/sound/firewire/tascam/ |
D | tascam-transaction.c | 211 port->next_ktime = ktime_add_ns(ktime_get(), in midi_port_work()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
D | i915_utils.h | 312 const ktime_t end__ = ktime_add_ns(ktime_get_raw(), 1000ll * (US)); \
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
D | bt1-pvt.c | 1046 pvt->timeout = ktime_add_ns(pvt->timeout, PVT_SENSORS_NUM * PVT_TOUT_MIN); in pvt_init_iface() 1050 pvt->timeout = ktime_add_ns(pvt->timeout, PVT_TOUT_MIN); in pvt_init_iface()
|
/kernel/linux/linux-5.10/drivers/clk/bcm/ |
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() 1018 ktime_t timeout = ktime_add_ns(ktime_get(), LOCK_TIMEOUT_NS); in bcm2835_clock_wait_busy()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/ |
D | sched_policy.c | 358 hrtimer_start(&sched_data->timer, ktime_add_ns(ktime_get(), in tbs_sched_start_schedule()
|
/kernel/linux/linux-5.10/arch/x86/kvm/ |
D | lapic.c | 1691 expire = ktime_add_ns(now, ns); in start_sw_tscdeadline() 1726 apic->lapic_timer.target_expiration = ktime_add_ns(now, ns_remaining_new); in update_target_expiration() 1770 apic->lapic_timer.target_expiration = ktime_add_ns(now, deadline); in set_target_expiration() 1789 ktime_add_ns(apic->lapic_timer.target_expiration, in advance_periodic_target_expiration()
|
D | i8254.c | 362 hrtimer_start(&ps->timer, ktime_add_ns(ktime_get(), interval), in create_pit_timer()
|
/kernel/linux/linux-5.10/arch/mips/kvm/ |
D | emulate.c | 409 threshold = ktime_add_ns(now, vcpu->arch.count_period / 4); in kvm_mips_read_count_running() 425 expires = ktime_add_ns(expires, in kvm_mips_read_count_running() 513 expire = ktime_add_ns(now, delta); in kvm_mips_resume_hrtimer() 889 expire = ktime_add_ns(vcpu->arch.count_resume, delta); in kvm_mips_set_count_ctl()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/ |
D | vc4_drv.h | 758 const ktime_t end__ = ktime_add_ns(ktime_get_raw(), 1000ll * (US)); \
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/ |
D | metadata.c | 176 reuse_timeout = ktime_add_ns(priv->mask_ids.last_used[*mask_id], in nfp_mask_alloc()
|