/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/core/ |
D | subdev.c | 61 time = ktime_to_us(ktime_get()); in nvkm_subdev_fini() 74 time = ktime_to_us(ktime_get()) - time; in nvkm_subdev_fini() 85 time = ktime_to_us(ktime_get()); in nvkm_subdev_preinit() 95 time = ktime_to_us(ktime_get()) - time; in nvkm_subdev_preinit() 107 time = ktime_to_us(ktime_get()); in nvkm_subdev_init() 112 time = ktime_to_us(ktime_get()); in nvkm_subdev_init() 120 time = ktime_to_us(ktime_get()) - time; in nvkm_subdev_init() 132 time = ktime_to_us(ktime_get()) - time; in nvkm_subdev_init() 145 time = ktime_to_us(ktime_get()); in nvkm_subdev_del() 149 time = ktime_to_us(ktime_get()) - time; in nvkm_subdev_del()
|
D | object.c | 187 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()
|
D | engine.c | 129 time = ktime_to_us(ktime_get()); in nvkm_engine_init() 137 time = ktime_to_us(ktime_get()) - time; in nvkm_engine_init()
|
/linux-6.1.9/fs/ocfs2/cluster/ |
D | netdebug.c | 121 sock = ktime_to_us(ktime_sub(now, nst->st_sock_time)); in nst_seq_show() 122 send = ktime_to_us(ktime_sub(now, nst->st_send_time)); in nst_seq_show() 123 status = ktime_to_us(ktime_sub(now, nst->st_status_time)); in nst_seq_show() 337 (long long)ktime_to_us(sc->sc_tv_timer), in sc_show_sock_container() 338 (long long)ktime_to_us(sc->sc_tv_data_ready), in sc_show_sock_container() 339 (long long)ktime_to_us(sc->sc_tv_advance_start), in sc_show_sock_container() 340 (long long)ktime_to_us(sc->sc_tv_advance_stop), in sc_show_sock_container() 341 (long long)ktime_to_us(sc->sc_tv_func_start), in sc_show_sock_container() 342 (long long)ktime_to_us(sc->sc_tv_func_stop), in sc_show_sock_container()
|
/linux-6.1.9/include/linux/ |
D | ktime.h | 159 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()
|
/linux-6.1.9/drivers/ufs/core/ |
D | ufs-sysfs.c | 437 ktime_to_us(hba->monitor.total_busy[READ])); in read_total_busy_show() 455 return sysfs_emit(buf, "%llu\n", div_u64(ktime_to_us(m->lat_sum[READ]), in read_req_latency_avg_show() 466 ktime_to_us(hba->monitor.lat_max[READ])); in read_req_latency_max_show() 476 ktime_to_us(hba->monitor.lat_min[READ])); in read_req_latency_min_show() 486 ktime_to_us(hba->monitor.lat_sum[READ])); in read_req_latency_sum_show() 504 ktime_to_us(hba->monitor.total_busy[WRITE])); in write_total_busy_show() 522 return sysfs_emit(buf, "%llu\n", div_u64(ktime_to_us(m->lat_sum[WRITE]), in write_req_latency_avg_show() 533 ktime_to_us(hba->monitor.lat_max[WRITE])); in write_req_latency_max_show() 543 ktime_to_us(hba->monitor.lat_min[WRITE])); in write_req_latency_min_show() 553 ktime_to_us(hba->monitor.lat_sum[WRITE])); in write_req_latency_sum_show()
|
D | ufshcd.c | 1065 ktime_to_us(ktime_sub(ktime_get(), start)), ret); in ufshcd_scale_clks() 1155 if (ktime_to_us(ktime_sub(ktime_get(), start)) > in ufshcd_wait_for_doorbell_clr() 1394 ktime_to_us(ktime_sub(ktime_get(), start)), ret); in ufshcd_devfreq_target() 2061 scaling->tot_busy_t += ktime_to_us(ktime_sub(ktime_get(), in ufshcd_clk_scaling_update_busy() 3883 if (unlikely(!ktime_to_us(hba->last_dme_cmd_tstamp))) { in ufshcd_add_delay_before_dme_cmd() 3887 (unsigned long) ktime_to_us( in ufshcd_add_delay_before_dme_cmd() 4194 ktime_to_us(ktime_sub(ktime_get(), start)), ret); in ufshcd_uic_hibern8_enter() 4218 ktime_to_us(ktime_sub(ktime_get(), start)), ret); in ufshcd_uic_hibern8_exit() 8293 ktime_to_us(ktime_sub(ktime_get(), start)), in ufshcd_probe_hba() 8604 ktime_to_us(ktime_sub(ktime_get(), start)), ret); in ufshcd_setup_clocks() [all …]
|
/linux-6.1.9/fs/ceph/ |
D | debugfs.c | 132 _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); \
|
/linux-6.1.9/drivers/media/rc/ |
D | rc-ir-raw.c | 109 ev.duration = ktime_to_us(ktime_sub(now, dev->raw->last_event)); in ir_raw_event_store_edge() 562 if (ktime_to_us(interval) >= dev->timeout) { in ir_raw_edge_handle() 565 .duration = ktime_to_us(interval) in ir_raw_edge_handle() 572 ktime_to_us(interval))); in ir_raw_edge_handle()
|
/linux-6.1.9/drivers/platform/x86/ |
D | msi-wmi.c | 203 if (ktime_to_us(diff) < 1000 * 50) { in msi_wmi_notify() 206 key->code, ktime_to_us(diff)); in msi_wmi_notify()
|
/linux-6.1.9/drivers/comedi/drivers/ |
D | comedi_test.c | 205 now = ktime_to_us(ktime_get()); in waveform_ai_timer() 382 devpriv->ai_convert_time = ktime_to_us(ktime_get()) + in waveform_ai_cmd() 443 now = ktime_to_us(ktime_get()); in waveform_ao_timer() 517 devpriv->ao_last_scan_time = ktime_to_us(ktime_get()); in waveform_ao_inttrig_start()
|
/linux-6.1.9/sound/soc/codecs/ |
D | tlv320dac33.c | 658 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()
|
/linux-6.1.9/drivers/hid/intel-ish-hid/ipc/ |
D | ipc.c | 314 usec_system = ktime_to_us(ktime_get_boottime()); in write_ipc_from_queue() 315 usec_utc = ktime_to_us(ktime_get_real()); in write_ipc_from_queue() 585 usec = ktime_to_us(ktime_get_boottime()); in _ish_sync_fw_clock()
|
/linux-6.1.9/net/rxrpc/ |
D | rtt.c | 155 rtt_us = ktime_to_us(ktime_sub(resp_time, send_time)); in rxrpc_peer_add_rtt()
|
/linux-6.1.9/drivers/char/hw_random/ |
D | timeriomem-rng.c | 50 int period_us = ktime_to_us(priv->period); in timeriomem_rng_read()
|
/linux-6.1.9/drivers/media/pci/bt8xx/ |
D | bttv-input.c | 193 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()
|
/linux-6.1.9/net/can/ |
D | bcm.c | 228 (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()
|
/linux-6.1.9/kernel/time/ |
D | tick-sched.c | 658 *last_update_time = ktime_to_us(now); in update_ts_time_stats() 713 return ktime_to_us(idle); in get_cpu_idle_time_us() 754 return ktime_to_us(iowait); in get_cpu_iowait_time_us()
|
/linux-6.1.9/drivers/cpufreq/ |
D | speedstep-lib.c | 446 *transition_latency = ktime_to_us(ktime_sub(tv2, tv1)); in speedstep_get_freqs()
|
/linux-6.1.9/drivers/cpuidle/ |
D | sysfs.c | 252 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()
|
/linux-6.1.9/drivers/ntb/test/ |
D | ntb_perf.c | 987 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()
|
/linux-6.1.9/drivers/cpuidle/governors/ |
D | menu.c | 535 data->intervals[data->interval_ptr++] = ktime_to_us(measured_ns); in menu_update()
|
/linux-6.1.9/include/trace/events/ |
D | rdma_core.h | 108 __entry->latency = ktime_to_us(latency);
|
/linux-6.1.9/net/sched/ |
D | sch_cake.c | 2904 ktime_to_us(ns_to_ktime(b->cparams.target))); in cake_dump_stats() 2906 ktime_to_us(ns_to_ktime(b->cparams.interval))); in cake_dump_stats() 2914 ktime_to_us(ns_to_ktime(b->peak_delay))); in cake_dump_stats() 2916 ktime_to_us(ns_to_ktime(b->avge_delay))); in cake_dump_stats() 2918 ktime_to_us(ns_to_ktime(b->base_delay))); in cake_dump_stats() 3034 ktime_to_us( in cake_dump_class_stats() 3040 ktime_to_us( in cake_dump_class_stats()
|
/linux-6.1.9/net/dccp/ccids/lib/ |
D | packet_history.c | 424 sample = ktime_to_us(net_timedelta(tfrc_rx_hist_rtt_last_s(h)->tfrchrx_tstamp)); in tfrc_rx_hist_sample_rtt()
|