Home
last modified time | relevance | path

Searched refs:ktime_to_ms (Results 1 – 25 of 47) sorted by relevance

12

/linux/drivers/base/power/
A Dwakeup_stats.c45 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()
A Dwakeup.c1090 ktime_to_ms(active_time), ktime_to_ms(total_time), in print_wakeup_source_stats()
1091 ktime_to_ms(max_time), ktime_to_ms(ws->last_time), in print_wakeup_source_stats()
1092 ktime_to_ms(prevent_sleep_time)); in print_wakeup_source_stats()
A Dsysfs.c461 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()
A Ddomain.c3173 msecs = ktime_to_ms( in idle_states_show()
3196 seq_printf(s, "%lld ms\n", ktime_to_ms( in active_time_show()
3224 seq_printf(s, "%lld ms\n", ktime_to_ms(total)); in total_idle_time_show()
/linux/drivers/base/test/
A Dtest_async_driver_probe.c137 duration = (unsigned long long) ktime_to_ms(delta); in test_async_probe_init()
165 duration = (unsigned long long) ktime_to_ms(delta); in test_async_probe_init()
201 duration = (unsigned long long) ktime_to_ms(delta); in test_async_probe_init()
227 duration = (unsigned long long) ktime_to_ms(delta); in test_async_probe_init()
/linux/include/linux/
A Dktime.h164 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()
/linux/net/sunrpc/
A Dstats.c236 ktime_to_ms(stats->om_queue), in _print_rpc_iostats()
237 ktime_to_ms(stats->om_rtt), in _print_rpc_iostats()
238 ktime_to_ms(stats->om_execute), in _print_rpc_iostats()
/linux/drivers/media/dvb-frontends/cxd2880/
A Dcxd2880_integ.c42 if (ktime_to_ms(ktime_sub(ktime_get(), start)) > in cxd2880_integ_init()
/linux/drivers/gpu/drm/amd/amdgpu/
A Dmxgpu_nv.c102 now = (uint64_t)ktime_to_ms(ktime_get()); in xgpu_nv_poll_msg()
111 now = (uint64_t)ktime_to_ms(ktime_get()); in xgpu_nv_poll_msg()
/linux/net/tipc/
A Dtrace.c142 ktime_to_ms(skb_get_ktime(skb))); in tipc_skb_dump()
144 ktime_to_ms(skb_hwtstamps(skb)->hwtstamp)); in tipc_skb_dump()
/linux/drivers/gpu/drm/sti/
A Dsti_plane.c63 ms_since_last = ktime_to_ms(ktime_sub(now, fps->last_timestamp)); in sti_plane_update_fps()
/linux/kernel/power/
A Dprocess.c86 elapsed_msecs = ktime_to_ms(elapsed); in try_to_freeze_tasks()
A Dmain.c61 elapsed_msecs = ktime_to_ms(ktime_sub(ktime_get(), start)); in ksys_sync_helper()
/linux/drivers/power/supply/
A Dcharger-manager.c389 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()
1724 cm_suspend_duration_ms -= ktime_to_ms(remain); in cm_suspend_complete()
/linux/drivers/gpu/drm/msm/
A Dmsm_gpu_devfreq.c179 idle_time = ktime_to_ms(ktime_sub(ktime_get(), df->idle_time)); in msm_devfreq_active()
/linux/drivers/hwmon/
A Daht10.c196 *val = ktime_to_ms(data->min_poll_interval); in aht10_interval_read()
/linux/drivers/gpu/drm/msm/disp/dpu1/
A Ddpu_encoder.c1507 s64 expected_time = ktime_to_ms(ktime_get()) + info->timeout_ms; in dpu_encoder_helper_wait_event_timeout()
1514 time = ktime_to_ms(ktime_get()); in dpu_encoder_helper_wait_event_timeout()
1727 ktime_to_ms(cur_time), in dpu_encoder_vsync_time()
1728 ktime_to_ms(*wakeup_time)); in dpu_encoder_vsync_time()
1841 ktime_to_ms(wakeup_time)); in dpu_encoder_kickoff()
A Ddpu_crtc.c1385 s64 diff_ms = ktime_to_ms(diff); in _dpu_debugfs_status_show()
1392 ktime_to_ms(diff), dpu_crtc->play_count); in _dpu_debugfs_status_show()
/linux/drivers/gpu/drm/panel/
A Dpanel-samsung-atna33xc20.c54 msleep(ktime_to_ms(ktime_sub(min_ktime, now_ktime)) + 1); in atana33xc20_wait()
/linux/drivers/platform/chrome/
A Dcros_usbpd_logger.c161 div_s64_rem(ktime_to_ms(tstamp), MSEC_PER_SEC, &rem); in cros_usbpd_print_log_entry()
/linux/drivers/media/spi/
A Dcxd2880-spi.c306 (ktime_to_ms(ktime_sub(ktime_get(), start)) >= 500)) { in cxd2880_ts_read()
/linux/drivers/gpu/drm/i915/
A Di915_debugfs.c513 ktime_to_ms(intel_gt_get_awake_time(&i915->gt))); in i915_engine_info()
/linux/drivers/gpu/drm/i915/gt/
A Dintel_gt_pm_debugfs.c610 ktime_to_ms(intel_gt_get_awake_time(gt))); in rps_boost_show()
/linux/fs/ocfs2/cluster/
A Dtcp.c1490 unsigned long msecs = ktime_to_ms(ktime_get()) - in o2net_idle_timer()
1491 ktime_to_ms(sc->sc_tv_timer); in o2net_idle_timer()
/linux/drivers/thermal/
A Dthermal_sysfs.c725 ktime_to_ms(stats->time_in_state[i])); in time_in_state_ms_show()

Completed in 69 milliseconds

12