Home
last modified time | relevance | path

Searched refs:ktime_to_ns (Results 1 – 25 of 186) sorted by relevance

12345678

/linux-6.6.21/include/linux/ !
Dtimekeeping.h126 return ktime_to_ns(ktime_get_coarse()); in ktime_get_coarse_ns()
131 return ktime_to_ns(ktime_get_coarse_real()); in ktime_get_coarse_real_ns()
136 return ktime_to_ns(ktime_get_coarse_boottime()); in ktime_get_coarse_boottime_ns()
141 return ktime_to_ns(ktime_get_coarse_clocktai()); in ktime_get_coarse_clocktai_ns()
154 return ktime_to_ns(ktime_get()); in ktime_get_ns()
159 return ktime_to_ns(ktime_get_real()); in ktime_get_real_ns()
164 return ktime_to_ns(ktime_get_boottime()); in ktime_get_boottime_ns()
169 return ktime_to_ns(ktime_get_clocktai()); in ktime_get_clocktai_ns()
174 return ktime_to_ns(ktime_get_raw()); in ktime_get_raw_ns()
Dhrtimer.h299 return ktime_to_ns(timer->node.expires); in hrtimer_get_expires_ns()
433 delta = ktime_to_ns(ktime_sub(hard, soft)); in hrtimer_start_expires()
/linux-6.6.21/kernel/time/ !
Dtimer_list.c53 (unsigned long long)ktime_to_ns(hrtimer_get_softexpires(timer)), in print_timer()
54 (unsigned long long)ktime_to_ns(hrtimer_get_expires(timer)), in print_timer()
55 (long long)(ktime_to_ns(hrtimer_get_softexpires(timer)) - now), in print_timer()
56 (long long)(ktime_to_ns(hrtimer_get_expires(timer)) - now)); in print_timer()
109 (unsigned long long) ktime_to_ns(base->offset)); in print_base()
112 print_active_timers(m, base, now + ktime_to_ns(base->offset)); in print_base()
130 (unsigned long long)(ktime_to_ns(cpu_base->x))) in print_cpu()
149 (unsigned long long)(ktime_to_ns(ts->x))) in print_cpu()
204 (unsigned long long) ktime_to_ns(dev->next_event)); in print_tickdevice()
267 u64 now = ktime_to_ns(ktime_get()); in sysrq_timer_list_show()
[all …]
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/ !
Dtime-sync.c88 ktime_to_ns(shwt->hwtstamp), in iwl_mvm_time_sync_msmt_event()
89 ktime_to_ns(rx_status->ack_tx_hwtstamp)); in iwl_mvm_time_sync_msmt_event()
123 ktime_to_ns(shwt->hwtstamp), in iwl_mvm_time_sync_msmt_confirm_event()
124 ktime_to_ns(status.ack_hwtstamp)); in iwl_mvm_time_sync_msmt_confirm_event()
/linux-6.6.21/drivers/media/rc/ !
Dserial_ir.c236 delta = ktime_to_ns(ktime_sub(edge, now)); in send_pulse_homebrew_softcarrier()
244 delta = ktime_to_ns(ktime_sub(edge, now)); in send_pulse_homebrew_softcarrier()
358 dcd, sense, ktime_to_ns(kt), in serial_ir_irq_handler()
359 ktime_to_ns(serial_ir.lastkt)); in serial_ir_irq_handler()
370 dcd, sense, ktime_to_ns(kt), in serial_ir_irq_handler()
371 ktime_to_ns(serial_ir.lastkt)); in serial_ir_irq_handler()
Dgpio-ir-tx.c129 delta = ktime_to_ns(ktime_sub(edge, in gpio_ir_tx_modulated()
135 delta = ktime_to_ns(ktime_sub(edge, in gpio_ir_tx_modulated()
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/engine/disp/ !
Duhead.c68 args->v0.time[0] = ktime_to_ns(ktime_get()); in nvkm_uhead_mthd_scanoutpos()
70 args->v0.time[1] = ktime_to_ns(ktime_get()); in nvkm_uhead_mthd_scanoutpos()
/linux-6.6.21/fs/ocfs2/cluster/ !
Dnetdebug.c264 # define sc_tv_acquiry_total_ns(_s) (ktime_to_ns((_s)->sc_tv_acquiry_total))
265 # define sc_tv_send_total_ns(_s) (ktime_to_ns((_s)->sc_tv_send_total))
266 # define sc_tv_status_total_ns(_s) (ktime_to_ns((_s)->sc_tv_status_total))
267 # define sc_tv_process_total_ns(_s) (ktime_to_ns((_s)->sc_tv_process_total))
/linux-6.6.21/drivers/gpu/drm/lima/ !
Dlima_devfreq.c67 status->total_time = ktime_to_ns(ktime_add(devfreq->busy_time, in lima_devfreq_get_dev_status()
69 status->busy_time = ktime_to_ns(devfreq->busy_time); in lima_devfreq_get_dev_status()
/linux-6.6.21/drivers/md/ !
Ddm-stats.h45 aux->duration_ns = ktime_to_ns(ktime_get()); in dm_stats_record_start()
/linux-6.6.21/drivers/gpu/drm/panfrost/ !
Dpanfrost_devfreq.c62 status->total_time = ktime_to_ns(ktime_add(pfdevfreq->busy_time, in panfrost_devfreq_get_dev_status()
65 status->busy_time = ktime_to_ns(pfdevfreq->busy_time); in panfrost_devfreq_get_dev_status()
/linux-6.6.21/drivers/gpu/drm/i915/gt/ !
Dselftest_rc6.c78 ktime_to_ns(dt)); in live_rc6_manual()
107 ktime_to_ns(dt)); in live_rc6_manual()
Dselftest_timeline.c317 __func__, count, (long long)div64_ul(ktime_to_ns(kt), count)); in bench_sync()
318 prng32_1M = div64_ul(ktime_to_ns(kt) << 20, count); in bench_sync()
334 __func__, count, (long long)div64_ul(ktime_to_ns(kt), count)); in bench_sync()
352 __func__, count, (long long)div64_ul(ktime_to_ns(kt), count)); in bench_sync()
368 __func__, count, (long long)div64_ul(ktime_to_ns(kt), count)); in bench_sync()
382 __func__, count, (long long)div64_ul(ktime_to_ns(kt), count)); in bench_sync()
406 __func__, count, (long long)div64_ul(ktime_to_ns(kt), count)); in bench_sync()
435 (long long)div64_ul(ktime_to_ns(kt), count)); in bench_sync()
/linux-6.6.21/drivers/ptp/ !
Dptp_idt82p33.c433 dynamic_overhead_ns = ktime_to_ns(ktime_get_raw()) in _idt82p33_settime()
434 - ktime_to_ns(idt82p33->start_time); in _idt82p33_settime()
663 total_ns += ktime_to_ns(stop) - ktime_to_ns(start); in idt82p33_measure_one_byte_write_overhead()
696 total_ns += ktime_to_ns(stop) - ktime_to_ns(start); in idt82p33_measure_one_byte_read_overhead()
732 total_ns += ktime_to_ns(stop) - ktime_to_ns(start); in idt82p33_measure_tod_write_9_byte_overhead()
Dptp_vclock.c139 ns = timecounter_cyc2time(&vclock->tc, ktime_to_ns(xtstamp->device)); in ptp_vclock_getcrosststamp()
275 ns = ktime_to_ns(*hwtstamp); in ptp_convert_timestamp()
/linux-6.6.21/net/sched/ !
Dsch_cake.c455 if (ktime_to_ns(ktime_sub(now, vars->blue_timer)) > p->target) { in cobalt_queue_full()
480 ktime_to_ns(ktime_sub(now, vars->blue_timer)) > p->target) { in cobalt_queue_empty()
490 if (vars->count && ktime_to_ns(ktime_sub(now, vars->drop_next)) >= 0) { in cobalt_queue_empty()
529 sojourn = ktime_to_ns(ktime_sub(now, cobalt_get_enqueue_time(skb))); in cobalt_should_drop()
534 next_due = vars->count && ktime_to_ns(schedule) >= 0; in cobalt_should_drop()
571 next_due = vars->count && ktime_to_ns(schedule) >= 0; in cobalt_should_drop()
582 else if (ktime_to_ns(schedule) > 0 && !drop) in cobalt_should_drop()
1730 min(ktime_to_ns(q->time_next_packet), in cake_enqueue()
1731 ktime_to_ns( in cake_enqueue()
1815 ktime_to_ns(ktime_sub(now, q->last_packet_time)); in cake_enqueue()
[all …]
/linux-6.6.21/drivers/infiniband/hw/hfi1/ !
Daspm.c146 close_interrupts = ktime_to_ns(ktime_sub(now, prev)) < ASPM_TRIGGER_NS; in __aspm_ctx_disable()
149 restart_timer = ktime_to_ns(ktime_sub(now, rcd->aspm_ts_timer_sched)) > in __aspm_ctx_disable()
/linux-6.6.21/samples/kprobes/ !
Dkretprobe_example.c65 delta = ktime_to_ns(ktime_sub(now, data->entry_stamp)); in ret_handler()
/linux-6.6.21/drivers/net/can/usb/peak_usb/ !
Dpcan_usb_core.c110 if (ktime_to_ns(time_ref->tv_host) > 0) { in peak_usb_update_ts_now()
125 if (ktime_to_ns(time_ref->tv_host_0) == 0) { in peak_usb_set_ts_now()
135 if (ktime_to_ns(time_ref->tv_host)) { in peak_usb_set_ts_now()
138 if (ktime_to_ns(delta) > (4200ull * NSEC_PER_SEC)) { in peak_usb_set_ts_now()
158 if (ktime_to_ns(time_ref->tv_host)) { in peak_usb_get_ts_time()
/linux-6.6.21/drivers/base/power/ !
Ddomain_governor.c169 idle_time_ns = ktime_to_ns(ktime_sub(domain_wakeup, now)); in next_wakeup_allows_state()
374 idle_duration_ns = ktime_to_ns(ktime_sub(domain_wakeup, now)); in cpu_power_down_ok()
Dwakeup.c689 if (ktime_to_ns(duration) > ktime_to_ns(ws->max_time)) in wakeup_source_deactivate()
855 ktime_to_ns(ws->last_time) > in pm_print_active_wakeup_sources()
856 ktime_to_ns(last_activity_ws->last_time))) { in pm_print_active_wakeup_sources()
/linux-6.6.21/drivers/media/cec/core/ !
Dcec-pin.c672 pin->rx_start_bit_low_too_short_ts = ktime_to_ns(pin->ts); in cec_pin_rx_states()
704 pin->rx_start_bit_too_short_ts = ktime_to_ns(pin->ts); in cec_pin_rx_states()
774 pin->rx_data_bit_too_short_ts = ktime_to_ns(pin->ts); in cec_pin_rx_states()
819 pin->work_rx_msg.rx_ts = ktime_to_ns(ts); in cec_pin_rx_states()
851 if (ktime_to_ns(pin->timer_ts)) { in cec_pin_timer()
952 if (ktime_to_ns(pin->ts) == 0) in cec_pin_timer()
/linux-6.6.21/sound/soc/sof/ !
Dsof-client-ipc-flood-test.c93 ipc_response_time = ktime_to_ns(ktime_sub(end, start)); in sof_debug_ipc_flood_test()
103 if (ktime_to_ns(end) >= test_end) in sof_debug_ipc_flood_test()
/linux-6.6.21/drivers/staging/vc04_services/bcm2835-audio/ !
Dbcm2835-pcm.c286 if ((ktime_to_ns(alsa_stream->interpolate_start)) && in snd_bcm2835_pcm_pointer()
289 (ktime_to_ns(ktime_sub(now, in snd_bcm2835_pcm_pointer()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ !
Damdgpu_fdinfo.c113 ktime_to_ns(usage[hw_ip])); in amdgpu_show_fdinfo()

12345678