Home
last modified time | relevance | path

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

123

/linux/drivers/gpu/drm/nouveau/nvkm/core/
A Dsubdev.c61 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()
A 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()
A Dengine.c129 time = ktime_to_us(ktime_get()); in nvkm_engine_init()
137 time = ktime_to_us(ktime_get()) - time; in nvkm_engine_init()
/linux/fs/ocfs2/cluster/
A Dnetdebug.c121 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/include/linux/
A 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()
/linux/drivers/scsi/ufs/
A Dufs-sysfs.c356 ktime_to_us(hba->monitor.total_busy[READ])); in read_total_busy_show()
374 return sysfs_emit(buf, "%llu\n", div_u64(ktime_to_us(m->lat_sum[READ]), in read_req_latency_avg_show()
385 ktime_to_us(hba->monitor.lat_max[READ])); in read_req_latency_max_show()
395 ktime_to_us(hba->monitor.lat_min[READ])); in read_req_latency_min_show()
405 ktime_to_us(hba->monitor.lat_sum[READ])); in read_req_latency_sum_show()
423 ktime_to_us(hba->monitor.total_busy[WRITE])); in write_total_busy_show()
441 return sysfs_emit(buf, "%llu\n", div_u64(ktime_to_us(m->lat_sum[WRITE]), in write_req_latency_avg_show()
452 ktime_to_us(hba->monitor.lat_max[WRITE])); in write_req_latency_max_show()
462 ktime_to_us(hba->monitor.lat_min[WRITE])); in write_req_latency_min_show()
472 ktime_to_us(hba->monitor.lat_sum[WRITE])); in write_req_latency_sum_show()
A Dufshcd.c443 e->val[p], ktime_to_us(e->tstamp[p])); in ufshcd_print_evt()
488 tag, ktime_to_us(lrbp->issue_time_stamp)); in ufshcd_print_trs()
490 tag, ktime_to_us(lrbp->compl_time_stamp)); in ufshcd_print_trs()
555 ktime_to_us(hba->ufs_stats.last_intr_ts), in ufshcd_print_host_state()
3816 (unsigned long) ktime_to_us( in ufshcd_add_delay_before_dme_cmd()
8100 ktime_to_us(ktime_sub(ktime_get(), start)), in ufshcd_probe_hba()
9060 ktime_to_us(ktime_sub(ktime_get(), start)), in ufshcd_wl_runtime_suspend()
9080 ktime_to_us(ktime_sub(ktime_get(), start)), in ufshcd_wl_runtime_resume()
9111 ktime_to_us(ktime_sub(ktime_get(), start)), in ufshcd_wl_suspend()
9134 ktime_to_us(ktime_sub(ktime_get(), start)), in ufshcd_wl_resume()
[all …]
/linux/fs/ceph/
A 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); \
/linux/drivers/media/rc/
A 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()
/linux/drivers/platform/x86/
A Dmsi-wmi.c203 if (ktime_to_us(diff) < 1000 * 50) { in msi_wmi_notify()
206 key->code, ktime_to_us(diff)); in msi_wmi_notify()
/linux/drivers/comedi/drivers/
A 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()
/linux/sound/soc/codecs/
A 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()
/linux/drivers/hid/intel-ish-hid/ipc/
A Dipc.c314 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/net/rxrpc/
A Drtt.c155 rtt_us = ktime_to_us(ktime_sub(resp_time, send_time)); in rxrpc_peer_add_rtt()
/linux/net/can/
A Dbcm.c227 (long long)ktime_to_us(op->kt_ival1)); in bcm_proc_show()
231 (long long)ktime_to_us(op->kt_ival2)); in bcm_proc_show()
254 (long long)ktime_to_us(op->kt_ival1)); in bcm_proc_show()
258 (long long)ktime_to_us(op->kt_ival2)); in bcm_proc_show()
490 ktime_to_us(op->kt_ival2)) { in bcm_rx_update_and_send()
/linux/drivers/char/hw_random/
A Dtimeriomem-rng.c50 int period_us = ktime_to_us(priv->period); in timeriomem_rng_read()
/linux/drivers/media/pci/bt8xx/
A 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()
/linux/kernel/time/
A Dtick-sched.c642 *last_update_time = ktime_to_us(now); in update_ts_time_stats()
697 return ktime_to_us(idle); in get_cpu_idle_time_us()
738 return ktime_to_us(iowait); in get_cpu_iowait_time_us()
/linux/drivers/cpufreq/
A Dspeedstep-lib.c446 *transition_latency = ktime_to_us(ktime_sub(tv2, tv1)); in speedstep_get_freqs()
/linux/drivers/ntb/test/
A 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()
/linux/drivers/cpuidle/
A 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()
/linux/net/sched/
A Dsch_cake.c2903 ktime_to_us(ns_to_ktime(b->cparams.target))); in cake_dump_stats()
2905 ktime_to_us(ns_to_ktime(b->cparams.interval))); in cake_dump_stats()
2913 ktime_to_us(ns_to_ktime(b->peak_delay))); in cake_dump_stats()
2915 ktime_to_us(ns_to_ktime(b->avge_delay))); in cake_dump_stats()
2917 ktime_to_us(ns_to_ktime(b->base_delay))); in cake_dump_stats()
3033 ktime_to_us( in cake_dump_class_stats()
3039 ktime_to_us( in cake_dump_class_stats()
/linux/drivers/cpuidle/governors/
A Dmenu.c535 data->intervals[data->interval_ptr++] = ktime_to_us(measured_ns); in menu_update()
/linux/include/trace/events/
A Drdma_core.h108 __entry->latency = ktime_to_us(latency);
/linux/drivers/media/i2c/
A Dvideo-i2c.c446 s64 end_us = ktime_to_us(ktime_get()); in video_i2c_thread_vid_cap()
480 current_us = ktime_to_us(ktime_get()); in video_i2c_thread_vid_cap()

Completed in 82 milliseconds

123