Home
last modified time | relevance | path

Searched refs:ktime_to_us (Results 1 – 25 of 55) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/core/
Dsubdev.c117 time = ktime_to_us(ktime_get()); in nvkm_subdev_fini()
130 time = ktime_to_us(ktime_get()) - time; in nvkm_subdev_fini()
141 time = ktime_to_us(ktime_get()); in nvkm_subdev_preinit()
151 time = ktime_to_us(ktime_get()) - time; in nvkm_subdev_preinit()
163 time = ktime_to_us(ktime_get()); in nvkm_subdev_init()
168 time = ktime_to_us(ktime_get()); in nvkm_subdev_init()
176 time = ktime_to_us(ktime_get()) - time; in nvkm_subdev_init()
188 time = ktime_to_us(ktime_get()) - time; in nvkm_subdev_init()
201 time = ktime_to_us(ktime_get()); in nvkm_subdev_del()
204 time = ktime_to_us(ktime_get()) - time; in nvkm_subdev_del()
Dobject.c187 time = ktime_to_us(ktime_get()); in nvkm_object_fini()
204 time = ktime_to_us(ktime_get()) - time; in nvkm_object_fini()
229 time = ktime_to_us(ktime_get()); in nvkm_object_init()
243 time = ktime_to_us(ktime_get()) - time; in nvkm_object_init()
265 time = ktime_to_us(ktime_get()); in nvkm_object_dtor()
275 time = ktime_to_us(ktime_get()) - time; in nvkm_object_dtor()
Dengine.c124 time = ktime_to_us(ktime_get()); in nvkm_engine_init()
132 time = ktime_to_us(ktime_get()) - time; in nvkm_engine_init()
/kernel/linux/linux-5.10/fs/ocfs2/cluster/
Dnetdebug.c123 sock = ktime_to_us(ktime_sub(now, nst->st_sock_time)); in nst_seq_show()
124 send = ktime_to_us(ktime_sub(now, nst->st_send_time)); in nst_seq_show()
125 status = ktime_to_us(ktime_sub(now, nst->st_status_time)); in nst_seq_show()
339 (long long)ktime_to_us(sc->sc_tv_timer), in sc_show_sock_container()
340 (long long)ktime_to_us(sc->sc_tv_data_ready), in sc_show_sock_container()
341 (long long)ktime_to_us(sc->sc_tv_advance_start), in sc_show_sock_container()
342 (long long)ktime_to_us(sc->sc_tv_advance_stop), in sc_show_sock_container()
343 (long long)ktime_to_us(sc->sc_tv_func_start), in sc_show_sock_container()
344 (long long)ktime_to_us(sc->sc_tv_func_stop), in sc_show_sock_container()
/kernel/linux/linux-5.10/include/linux/
Dktime.h159 static inline s64 ktime_to_us(const ktime_t kt) in ktime_to_us() function
171 return ktime_to_us(ktime_sub(later, earlier)); in ktime_us_delta()
/kernel/linux/linux-5.10/fs/ceph/
Ddebugfs.c132 _avg = ktime_to_us(avg); \
133 _min = ktime_to_us(min == KTIME_MAX ? 0 : min); \
134 _max = ktime_to_us(max); \
138 _st = ktime_to_us(_st); \
/kernel/linux/linux-5.10/drivers/media/rc/
Drc-ir-raw.c111 ev.duration = ktime_to_us(ktime_sub(now, dev->raw->last_event)); in ir_raw_event_store_edge()
564 if (ktime_to_us(interval) >= dev->timeout) { in ir_raw_edge_handle()
567 .duration = ktime_to_us(interval) in ir_raw_edge_handle()
574 ktime_to_us(interval))); in ir_raw_edge_handle()
/kernel/linux/linux-5.10/drivers/platform/x86/
Dmsi-wmi.c201 if (ktime_to_us(diff) < 1000 * 50) { in msi_wmi_notify()
204 key->code, ktime_to_us(diff)); in msi_wmi_notify()
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Dcomedi_test.c207 now = ktime_to_us(ktime_get()); in waveform_ai_timer()
384 devpriv->ai_convert_time = ktime_to_us(ktime_get()) + in waveform_ai_cmd()
445 now = ktime_to_us(ktime_get()); in waveform_ao_timer()
519 devpriv->ao_last_scan_time = ktime_to_us(ktime_get()); in waveform_ao_inttrig_start()
/kernel/linux/linux-5.10/sound/soc/codecs/
Dtlv320dac33.c658 dac33->t_stamp2 = ktime_to_us(ktime_get()); in dac33_prefill_handler()
673 dac33->t_stamp1 = ktime_to_us(ktime_get()); in dac33_prefill_handler()
700 dac33->t_stamp2 = ktime_to_us(ktime_get()); in dac33_playback_handler()
757 dac33->t_stamp1 = ktime_to_us(ktime_get()); in dac33_interrupt_handler()
1156 t_now = ktime_to_us(ktime_get()); in dac33_dai_delay()
1224 t_now = ktime_to_us(ktime_get()); in dac33_dai_delay()
/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/ipc/
Dipc.c287 usec_system = ktime_to_us(ktime_get_boottime()); in write_ipc_from_queue()
288 usec_utc = ktime_to_us(ktime_get_real()); in write_ipc_from_queue()
558 usec = ktime_to_us(ktime_get_boottime()); in _ish_sync_fw_clock()
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Ddevice.c529 last_start_us = ktime_to_us( in hl_device_utilization()
554 last_end_us = ktime_to_us( in hl_device_utilization()
561 last_busy_time_us = ktime_to_us( in hl_device_utilization()
571 last_busy_time_us = ktime_to_us( in hl_device_utilization()
575 last_busy_time_us = ktime_to_us( in hl_device_utilization()
/kernel/linux/linux-5.10/net/rxrpc/
Drtt.c155 rtt_us = ktime_to_us(ktime_sub(resp_time, send_time)); in rxrpc_peer_add_rtt()
/kernel/linux/linux-5.10/drivers/char/hw_random/
Dtimeriomem-rng.c50 int period_us = ktime_to_us(priv->period); in timeriomem_rng_read()
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/
Dbttv-input.c193 gap = ktime_to_us(ktime_sub(tv, ir->base_time)); in bttv_rc5_timer_end()
250 gap = ktime_to_us(ktime_sub(tv, ir->base_time)); in bttv_rc5_irq()
/kernel/linux/linux-5.10/net/can/
Dbcm.c228 (long long)ktime_to_us(op->kt_ival1)); in bcm_proc_show()
232 (long long)ktime_to_us(op->kt_ival2)); in bcm_proc_show()
255 (long long)ktime_to_us(op->kt_ival1)); in bcm_proc_show()
259 (long long)ktime_to_us(op->kt_ival2)); in bcm_proc_show()
492 ktime_to_us(op->kt_ival2)) { in bcm_rx_update_and_send()
/kernel/linux/linux-5.10/kernel/time/
Dtick-sched.c613 *last_update_time = ktime_to_us(now); in update_ts_time_stats()
668 return ktime_to_us(idle); in get_cpu_idle_time_us()
709 return ktime_to_us(iowait); in get_cpu_iowait_time_us()
/kernel/linux/linux-5.10/drivers/cpufreq/
Dspeedstep-lib.c446 *transition_latency = ktime_to_us(ktime_sub(tv2, tv1)); in speedstep_get_freqs()
/kernel/linux/linux-5.10/drivers/cpuidle/
Dsysfs.c252 return sprintf(buf, "%llu\n", ktime_to_us(state->_name##_ns)); \
269 return sprintf(buf, "%llu\n", ktime_to_us(state_usage->time_ns)); in define_show_state_time_function()
/kernel/linux/linux-5.10/drivers/ntb/test/
Dntb_perf.c987 pthr->tidx, ktime_to_us(pthr->duration)); in perf_sync_test()
990 div64_u64(pthr->copied, ktime_to_us(pthr->duration))); in perf_sync_test()
1143 tidx, pthr->copied, ktime_to_us(pthr->duration), in perf_read_stats()
1144 div64_u64(pthr->copied, ktime_to_us(pthr->duration))); in perf_read_stats()
/kernel/linux/linux-5.10/drivers/scsi/ufs/
Dufshcd.c418 err_hist->reg[p], ktime_to_us(err_hist->tstamp[p])); in ufshcd_print_err_hist()
461 tag, ktime_to_us(lrbp->issue_time_stamp)); in ufshcd_print_trs()
463 tag, ktime_to_us(lrbp->compl_time_stamp)); in ufshcd_print_trs()
525 ktime_to_us(hba->ufs_stats.last_hibern8_exit_tstamp), in ufshcd_print_host_state()
528 ktime_to_us(hba->ufs_stats.last_intr_ts), in ufshcd_print_host_state()
1001 ktime_to_us(ktime_sub(ktime_get(), start)), ret); in ufshcd_scale_clks()
1072 if (ktime_to_us(ktime_sub(ktime_get(), start)) > in ufshcd_wait_for_doorbell_clr()
1312 ktime_to_us(ktime_sub(ktime_get(), start)), ret); in ufshcd_devfreq_target()
1948 scaling->tot_busy_t += ktime_to_us(ktime_sub(ktime_get(), in ufshcd_clk_scaling_update_busy()
3644 if (unlikely(!ktime_to_us(hba->last_dme_cmd_tstamp))) { in ufshcd_add_delay_before_dme_cmd()
[all …]
/kernel/linux/linux-5.10/drivers/cpuidle/governors/
Dmenu.c530 data->intervals[data->interval_ptr++] = ktime_to_us(measured_ns); in menu_update()
/kernel/linux/linux-5.10/include/trace/events/
Drdma_core.h108 __entry->latency = ktime_to_us(latency);
/kernel/linux/linux-5.10/net/sched/
Dsch_cake.c2907 ktime_to_us(ns_to_ktime(b->cparams.target))); in cake_dump_stats()
2909 ktime_to_us(ns_to_ktime(b->cparams.interval))); in cake_dump_stats()
2917 ktime_to_us(ns_to_ktime(b->peak_delay))); in cake_dump_stats()
2919 ktime_to_us(ns_to_ktime(b->avge_delay))); in cake_dump_stats()
2921 ktime_to_us(ns_to_ktime(b->base_delay))); in cake_dump_stats()
3037 ktime_to_us( in cake_dump_class_stats()
3043 ktime_to_us( in cake_dump_class_stats()
/kernel/linux/linux-5.10/net/dccp/ccids/lib/
Dpacket_history.c421 sample = ktime_to_us(net_timedelta(tfrc_rx_hist_rtt_last_s(h)->tfrchrx_tstamp)); in tfrc_rx_hist_sample_rtt()

123