Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/drivers/base/power/
H 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()
H A Dwakeup.c1167 ktime_to_ms(active_time), ktime_to_ms(total_time), in print_wakeup_source_stats()
1168 ktime_to_ms(max_time), ktime_to_ms(ws->last_time), in print_wakeup_source_stats()
1169 ktime_to_ms(prevent_sleep_time)); in print_wakeup_source_stats()
H 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()
H A Ddomain.c3142 msecs = ktime_to_ms( in idle_states_show()
3165 seq_printf(s, "%lld ms\n", ktime_to_ms( in active_time_show()
3193 seq_printf(s, "%lld ms\n", ktime_to_ms(total)); in total_idle_time_show()
/OK3568_Linux_fs/kernel/drivers/base/test/
H 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()
/OK3568_Linux_fs/kernel/include/linux/
H 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()
/OK3568_Linux_fs/kernel/net/sunrpc/
H 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()
/OK3568_Linux_fs/kernel/drivers/media/dvb-frontends/cxd2880/
H A Dcxd2880_integ.c42 if (ktime_to_ms(ktime_sub(ktime_get(), start)) > in cxd2880_integ_init()
/OK3568_Linux_fs/kernel/net/tipc/
H 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/sti/
H A Dsti_plane.c63 ms_since_last = ktime_to_ms(ktime_sub(now, fps->last_timestamp)); in sti_plane_update_fps()
/OK3568_Linux_fs/kernel/kernel/power/
H A Dprocess.c88 elapsed_msecs = ktime_to_ms(elapsed); in try_to_freeze_tasks()
H A Dmain.c61 elapsed_msecs = ktime_to_ms(ktime_sub(ktime_get(), start)); in ksys_sync_helper()
/OK3568_Linux_fs/kernel/drivers/power/supply/
H 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()
H A Dcpcap-battery.c391 s64 delta_ms = ktime_to_ms(ktime_sub(now, latest->time)); in cpcap_battery_update_status()
/OK3568_Linux_fs/kernel/drivers/devfreq/event/
H A Drockchip-nocp.c93 time_ms = ktime_to_ms(ktime_sub(ktime_get(), nocp->time)); in rockchip_nocp_get_event()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_encoder.c1521 s64 expected_time = ktime_to_ms(ktime_get()) + info->timeout_ms; in dpu_encoder_helper_wait_event_timeout()
1528 time = ktime_to_ms(ktime_get()); in dpu_encoder_helper_wait_event_timeout()
1737 ktime_to_ms(cur_time), in dpu_encoder_vsync_time()
1738 ktime_to_ms(*wakeup_time)); in dpu_encoder_vsync_time()
1856 ktime_to_ms(wakeup_time)); in dpu_encoder_kickoff()
H A Ddpu_crtc.c1161 s64 diff_ms = ktime_to_ms(diff); in _dpu_debugfs_status_show()
1168 ktime_to_ms(diff), dpu_crtc->play_count); in _dpu_debugfs_status_show()
/OK3568_Linux_fs/kernel/drivers/platform/chrome/
H A Dcros_usbpd_logger.c161 div_s64_rem(ktime_to_ms(tstamp), MSEC_PER_SEC, &rem); in cros_usbpd_print_log_entry()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/tl/
H A Dmali_kbase_timeline.c272 elapsed_time_ms = ktime_to_ms(elapsed_time); in kbase_timeline_release()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/ipa/backend/
H A Dmali_kbase_ipa_counter_common_csf.c286 diff_ms = ktime_to_ms(diff); in kbase_ipa_counter_dynamic_coeff()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/mmu/
H A Dmali_kbase_mmu_hw_direct.c189 diff = ktime_to_ms(ktime_sub(ktime_get_raw(), wait_loop_start)); in wait_ready()
/OK3568_Linux_fs/kernel/drivers/clk/samsung/
H A Dclk-pll.c496 if (ktime_to_ms(delta) > PLL_TIMEOUT_MS) { in samsung_pll45xx_set_rate()
655 if (ktime_to_ms(delta) > PLL_TIMEOUT_MS) { in samsung_pll46xx_set_rate()
/OK3568_Linux_fs/kernel/drivers/media/spi/
H A Dcxd2880-spi.c306 (ktime_to_ms(ktime_sub(ktime_get(), start)) >= 500)) { in cxd2880_ts_read()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/ipa/
H A Dmali_kbase_ipa.c761 elapsed_time = ktime_to_ms(diff); in kbase_ipa_reset_data()
/OK3568_Linux_fs/kernel/fs/ocfs2/cluster/
H A Dtcp.c1493 unsigned long msecs = ktime_to_ms(ktime_get()) - in o2net_idle_timer()
1494 ktime_to_ms(sc->sc_tv_timer); in o2net_idle_timer()

123