Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/core/
H A Dsubdev.c61 time = ktime_to_us(ktime_get()); in nvkm_subdev_fini()
75 time = ktime_to_us(ktime_get()) - time; in nvkm_subdev_fini()
86 time = ktime_to_us(ktime_get()); in nvkm_subdev_preinit()
96 time = ktime_to_us(ktime_get()) - time; in nvkm_subdev_preinit()
111 time = ktime_to_us(ktime_get()); in nvkm_subdev_oneinit_()
119 time = ktime_to_us(ktime_get()) - time; in nvkm_subdev_oneinit_()
136 time = ktime_to_us(ktime_get()); in nvkm_subdev_init_()
152 time = ktime_to_us(ktime_get()) - time; in nvkm_subdev_init_()
223 time = ktime_to_us(ktime_get()); in nvkm_subdev_del()
228 time = ktime_to_us(ktime_get()) - time; in nvkm_subdev_del()
H A Dobject.c201 time = ktime_to_us(ktime_get()); in nvkm_object_fini()
218 time = ktime_to_us(ktime_get()) - time; in nvkm_object_fini()
243 time = ktime_to_us(ktime_get()); in nvkm_object_init()
257 time = ktime_to_us(ktime_get()) - time; in nvkm_object_init()
279 time = ktime_to_us(ktime_get()); in nvkm_object_dtor()
289 time = ktime_to_us(ktime_get()) - time; in nvkm_object_dtor()
/openbmc/linux/fs/ocfs2/cluster/
H 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()
/openbmc/linux/include/linux/
H 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()
/openbmc/linux/drivers/ufs/core/
H A Dufs-sysfs.c470 ktime_to_us(hba->monitor.total_busy[READ])); in read_total_busy_show()
491 return sysfs_emit(buf, "%llu\n", div_u64(ktime_to_us(m->lat_sum[READ]), in read_req_latency_avg_show()
502 ktime_to_us(hba->monitor.lat_max[READ])); in read_req_latency_max_show()
512 ktime_to_us(hba->monitor.lat_min[READ])); in read_req_latency_min_show()
522 ktime_to_us(hba->monitor.lat_sum[READ])); in read_req_latency_sum_show()
540 ktime_to_us(hba->monitor.total_busy[WRITE])); in write_total_busy_show()
561 return sysfs_emit(buf, "%llu\n", div_u64(ktime_to_us(m->lat_sum[WRITE]), in write_req_latency_avg_show()
572 ktime_to_us(hba->monitor.lat_max[WRITE])); in write_req_latency_max_show()
582 ktime_to_us(hba->monitor.lat_min[WRITE])); in write_req_latency_min_show()
592 ktime_to_us(hba->monitor.lat_sum[WRITE])); in write_req_latency_sum_show()
H A Dufshcd.c1092 ktime_to_us(ktime_sub(ktime_get(), start)), ret); in ufshcd_scale_clks()
1188 if (ktime_to_us(ktime_sub(ktime_get(), start)) > in ufshcd_wait_for_doorbell_clr()
1430 ktime_to_us(ktime_sub(ktime_get(), start)), ret); in ufshcd_devfreq_target()
2078 scaling->tot_busy_t += ktime_to_us(ktime_sub(ktime_get(), in ufshcd_clk_scaling_update_busy()
3966 if (unlikely(!ktime_to_us(hba->last_dme_cmd_tstamp))) { in ufshcd_add_delay_before_dme_cmd()
3970 (unsigned long) ktime_to_us( in ufshcd_add_delay_before_dme_cmd()
4318 ktime_to_us(ktime_sub(ktime_get(), start)), ret); in ufshcd_uic_hibern8_enter()
4342 ktime_to_us(ktime_sub(ktime_get(), start)), ret); in ufshcd_uic_hibern8_exit()
8839 ktime_to_us(ktime_sub(ktime_get(), start)), in ufshcd_probe_hba()
9166 ktime_to_us(ktime_su in ufshcd_setup_clocks()
[all...]
/openbmc/linux/fs/ceph/
H 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); \
/openbmc/linux/drivers/media/rc/
H A Drc-ir-raw.c109 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()
/openbmc/linux/drivers/platform/x86/
H 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()
/openbmc/linux/sound/soc/codecs/
H 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()
/openbmc/linux/drivers/comedi/drivers/
H A Dcomedi_test.c209 now = ktime_to_us(ktime_get()); in waveform_ai_timer()
390 devpriv->ai_convert_time = ktime_to_us(ktime_get()) + in waveform_ai_cmd()
457 now = ktime_to_us(ktime_get()); in waveform_ao_timer()
535 devpriv->ao_last_scan_time = ktime_to_us(ktime_get()); in waveform_ao_inttrig_start()
/openbmc/linux/drivers/hid/intel-ish-hid/ipc/
H A Dipc.c315 usec_system = ktime_to_us(ktime_get_boottime()); in write_ipc_from_queue()
316 usec_utc = ktime_to_us(ktime_get_real()); in write_ipc_from_queue()
586 usec = ktime_to_us(ktime_get_boottime()); in _ish_sync_fw_clock()
/openbmc/linux/net/rxrpc/
H A Drtt.c155 rtt_us = ktime_to_us(ktime_sub(resp_time, send_time)); in rxrpc_peer_add_rtt()
/openbmc/linux/drivers/char/hw_random/
H A Dtimeriomem-rng.c50 int period_us = ktime_to_us(priv->period); in timeriomem_rng_read()
/openbmc/linux/drivers/media/pci/bt8xx/
H 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()
/openbmc/linux/net/can/
H A 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()
/openbmc/linux/drivers/cpufreq/
H A Dspeedstep-lib.c446 *transition_latency = ktime_to_us(ktime_sub(tv2, tv1)); in speedstep_get_freqs()
/openbmc/linux/drivers/ntb/test/
H 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()
/openbmc/linux/drivers/cpuidle/
H A Dsysfs.c259 return sprintf(buf, "%llu\n", ktime_to_us(state->_name##_ns)); \
276 return sprintf(buf, "%llu\n", ktime_to_us(state_usage->time_ns)); in define_show_state_time_function()
/openbmc/linux/drivers/cpuidle/governors/
H A Dmenu.c546 data->intervals[data->interval_ptr++] = ktime_to_us(measured_ns); in menu_update()
/openbmc/linux/net/sched/
H A Dsch_cake.c2918 ktime_to_us(ns_to_ktime(b->cparams.target))); in cake_dump_stats()
2920 ktime_to_us(ns_to_ktime(b->cparams.interval))); in cake_dump_stats()
2928 ktime_to_us(ns_to_ktime(b->peak_delay))); in cake_dump_stats()
2930 ktime_to_us(ns_to_ktime(b->avge_delay))); in cake_dump_stats()
2932 ktime_to_us(ns_to_ktime(b->base_delay))); in cake_dump_stats()
3048 ktime_to_us( in cake_dump_class_stats()
3054 ktime_to_us( in cake_dump_class_stats()
/openbmc/linux/include/trace/events/
H A Drdma_core.h108 __entry->latency = ktime_to_us(latency);
/openbmc/linux/kernel/time/
H A Dtick-sched.c704 *last_update_time = ktime_to_us(now); in get_cpu_sleep_time_us()
718 return ktime_to_us(idle); in get_cpu_sleep_time_us()
/openbmc/linux/drivers/media/i2c/
H A Dvideo-i2c.c453 s64 end_us = ktime_to_us(ktime_get()); in video_i2c_thread_vid_cap()
487 current_us = ktime_to_us(ktime_get()); in video_i2c_thread_vid_cap()
/openbmc/linux/net/dccp/ccids/lib/
H A Dpacket_history.c424 sample = ktime_to_us(net_timedelta(tfrc_rx_hist_rtt_last_s(h)->tfrchrx_tstamp)); in tfrc_rx_hist_sample_rtt()

123