/openbmc/linux/drivers/base/power/ |
H A D | wakeup_stats.c | 45 return sysfs_emit(buf, "%lld\n", ktime_to_ms(active_time)); in active_time_ms_show() 61 return sysfs_emit(buf, "%lld\n", ktime_to_ms(total_time)); in total_time_ms_show() 78 return sysfs_emit(buf, "%lld\n", ktime_to_ms(max_time)); in max_time_ms_show() 87 return sysfs_emit(buf, "%lld\n", ktime_to_ms(ws->last_time)); in last_change_ms_show() 112 return sysfs_emit(buf, "%lld\n", ktime_to_ms(prevent_sleep_time)); in prevent_suspend_time_ms_show()
|
H A D | wakeup.c | 1085 ktime_to_ms(active_time), ktime_to_ms(total_time), in print_wakeup_source_stats() 1086 ktime_to_ms(max_time), ktime_to_ms(ws->last_time), in print_wakeup_source_stats() 1087 ktime_to_ms(prevent_sleep_time)); in print_wakeup_source_stats()
|
H A D | sysfs.c | 461 msec = ktime_to_ms(dev->power.wakeup->total_time); in wakeup_total_time_ms_show() 481 msec = ktime_to_ms(dev->power.wakeup->max_time); in wakeup_max_time_ms_show() 502 msec = ktime_to_ms(dev->power.wakeup->last_time); in wakeup_last_time_ms_show() 532 msec = ktime_to_ms(dev->power.wakeup->prevent_sleep_time); in wakeup_prevent_sleep_time_ms_show()
|
/openbmc/linux/include/linux/ |
H A D | ktime.h | 164 static inline s64 ktime_to_ms(const ktime_t kt) in ktime_to_ms() function 176 return ktime_to_ms(ktime_sub(later, earlier)); in ktime_ms_delta()
|
/openbmc/linux/net/sunrpc/ |
H A D | stats.c | 241 ktime_to_ms(stats->om_queue), in _print_rpc_iostats() 242 ktime_to_ms(stats->om_rtt), in _print_rpc_iostats() 243 ktime_to_ms(stats->om_execute), in _print_rpc_iostats()
|
/openbmc/linux/drivers/media/dvb-frontends/cxd2880/ |
H A D | cxd2880_integ.c | 42 if (ktime_to_ms(ktime_sub(ktime_get(), start)) > in cxd2880_integ_init()
|
/openbmc/linux/drivers/gpu/drm/sti/ |
H A D | sti_plane.c | 64 ms_since_last = ktime_to_ms(ktime_sub(now, fps->last_timestamp)); in sti_plane_update_fps()
|
/openbmc/linux/net/tipc/ |
H A D | trace.c | 142 ktime_to_ms(skb_get_ktime(skb))); in tipc_skb_dump() 144 ktime_to_ms(skb_hwtstamps(skb)->hwtstamp)); in tipc_skb_dump()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | mxgpu_nv.c | 104 now = (uint64_t)ktime_to_ms(ktime_get()); in xgpu_nv_poll_msg() 113 now = (uint64_t)ktime_to_ms(ktime_get()); in xgpu_nv_poll_msg()
|
/openbmc/linux/kernel/power/ |
H A D | process.c | 86 elapsed_msecs = ktime_to_ms(elapsed); in try_to_freeze_tasks()
|
H A D | main.c | 92 elapsed_msecs = ktime_to_ms(ktime_sub(ktime_get(), start)); in ksys_sync_helper()
|
/openbmc/linux/drivers/watchdog/ |
H A D | advantech_ec_wdt.c | 60 time_delta = ktime_to_ms(ktime_sub(time_cur, ec_timestamp)); in adv_ec_wdt_timing_gate()
|
/openbmc/linux/drivers/platform/x86/amd/pmf/ |
H A D | core.c | 140 time_elapsed_ms = ktime_to_ms(ktime_get()) - dev->start_time; in amd_pmf_get_metrics() 154 dev->start_time = ktime_to_ms(ktime_get()); in amd_pmf_get_metrics()
|
/openbmc/linux/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_fw.c | 201 delta_ms = ktime_to_ms(delta); in guc_wait_ucode()
|
/openbmc/linux/drivers/power/supply/ |
H A D | charger-manager.c | 389 cm->charging_start_time = ktime_to_ms(ktime_get()); in try_charger_enable() 408 cm->charging_end_time = ktime_to_ms(ktime_get()); in try_charger_enable() 455 u64 curr = ktime_to_ms(ktime_get()); in check_charging_duration() 1721 cm_suspend_duration_ms -= ktime_to_ms(remain); in cm_suspend_complete()
|
/openbmc/linux/lib/ |
H A D | dhry_1.c | 280 User_Time = ktime_to_ms(ktime_sub(End_Time, Begin_Time)); in dhry()
|
/openbmc/linux/drivers/hwmon/ |
H A D | aht10.c | 236 *val = ktime_to_ms(data->min_poll_interval); in aht10_interval_read()
|
/openbmc/linux/drivers/platform/chrome/ |
H A D | cros_usbpd_logger.c | 161 div_s64_rem(ktime_to_ms(tstamp), MSEC_PER_SEC, &rem); in cros_usbpd_print_log_entry()
|
/openbmc/linux/drivers/gpu/drm/panel/ |
H A D | panel-samsung-atna33xc20.c | 59 msleep(ktime_to_ms(ktime_sub(min_ktime, now_ktime)) + 1); in atana33xc20_wait()
|
/openbmc/linux/drivers/gpu/drm/msm/ |
H A D | msm_gpu_devfreq.c | 310 idle_time = ktime_to_ms(ktime_sub(ktime_get(), df->idle_time)); in msm_devfreq_active()
|
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_encoder.c | 1559 s64 expected_time = ktime_to_ms(ktime_get()) + info->timeout_ms; in dpu_encoder_helper_wait_event_timeout() 1566 time = ktime_to_ms(ktime_get()); in dpu_encoder_helper_wait_event_timeout() 1778 ktime_to_ms(cur_time), in dpu_encoder_vsync_time() 1779 ktime_to_ms(*wakeup_time)); in dpu_encoder_vsync_time()
|
H A D | dpu_crtc.c | 1381 s64 diff_ms = ktime_to_ms(diff); in _dpu_debugfs_status_show() 1388 ktime_to_ms(diff), dpu_crtc->play_count); in _dpu_debugfs_status_show()
|
/openbmc/linux/drivers/media/spi/ |
H A D | cxd2880-spi.c | 306 (ktime_to_ms(ktime_sub(ktime_get(), start)) >= 500)) { in cxd2880_ts_read()
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_gt_pm_debugfs.c | 492 ktime_to_ms(intel_gt_get_awake_time(gt))); in rps_boost_show()
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_debugfs.c | 565 ktime_to_ms(intel_gt_get_awake_time(to_gt(i915)))); in i915_engine_info()
|