Home
last modified time | relevance | path

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

/linux/drivers/base/power/
H A Dwakeup_stats.c46 return sysfs_emit(buf, "%lld\n", ktime_to_ms(active_time)); in active_time_ms_show()
62 return sysfs_emit(buf, "%lld\n", ktime_to_ms(total_time)); in total_time_ms_show()
79 return sysfs_emit(buf, "%lld\n", ktime_to_ms(max_time)); in max_time_ms_show()
88 return sysfs_emit(buf, "%lld\n", ktime_to_ms(ws->last_time)); in last_change_ms_show()
113 return sysfs_emit(buf, "%lld\n", ktime_to_ms(prevent_sleep_time)); in prevent_suspend_time_ms_show()
H A Dsysfs.c460 msec = ktime_to_ms(dev->power.wakeup->total_time); in wakeup_total_time_ms_show()
480 msec = ktime_to_ms(dev->power.wakeup->max_time); in wakeup_max_time_ms_show()
501 msec = ktime_to_ms(dev->power.wakeup->last_time); in wakeup_last_time_ms_show()
523 msec = ktime_to_ms(dev->power.wakeup->prevent_sleep_time); in wakeup_prevent_sleep_time_ms_show()
/linux/include/linux/
H A Dktime.h162 static inline s64 ktime_to_ms(const ktime_t kt) in ktime_to_ms() function
174 return ktime_to_ms(ktime_sub(later, earlier)); in ktime_ms_delta()
/linux/rust/helpers/
H A Dtime.c34 return ktime_to_ms(kt); in rust_helper_ktime_to_ms()
/linux/drivers/thermal/
H A Dthermal_debugfs.c361 s64 duration = ktime_to_ms(entry->residency); in cdev_dt_seq_show()
800 duration_ms = ktime_to_ms(ktime_sub(ktime_get(), tze->timestamp)); in tze_seq_show()
803 duration_ms = ktime_to_ms(tze->duration); in tze_seq_show()
808 ktime_to_ms(tze->timestamp), c, duration_ms, tze->max_temp); in tze_seq_show()
837 duration_ms = ktime_to_ms(delta); in tze_seq_show()
840 duration_ms = ktime_to_ms(trip_stats->duration); in tze_seq_show()
/linux/drivers/media/dvb-frontends/cxd2880/
H A Dcxd2880_integ.c42 if (ktime_to_ms(ktime_sub(ktime_get(), start)) > in cxd2880_integ_init()
/linux/net/sunrpc/
H A Dstats.c241 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()
/linux/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()
/linux/kernel/power/
H A Dprocess.c86 elapsed_msecs = ktime_to_ms(elapsed); in try_to_freeze_tasks()
H A Dmain.c91 elapsed_msecs = ktime_to_ms(ktime_sub(ktime_get(), start)); in ksys_sync_helper()
/linux/drivers/watchdog/
H A Dadvantech_ec_wdt.c60 time_delta = ktime_to_ms(ktime_sub(time_cur, ec_timestamp)); in adv_ec_wdt_timing_gate()
/linux/drivers/media/spi/
H A Dcxd2880-spi.c306 (ktime_to_ms(ktime_sub(ktime_get(), start)) >= 500)) { in cxd2880_ts_read()
/linux/fs/ocfs2/cluster/
H A Dtcp.c1495 unsigned long msecs = ktime_to_ms(ktime_get()) - in o2net_idle_timer()
1496 ktime_to_ms(sc->sc_tv_timer); in o2net_idle_timer()
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dwmm.c1063 u32 queue_delay = ktime_to_ms(net_timedelta(skb->tstamp)); in mwifiex_wmm_compute_drv_pkt_delay()
/linux/drivers/cdrom/
H A Dcdrom.c341 cdi->last_media_change_ms = ktime_to_ms(ktime_get()); in signal_media_change()
616 cdi->last_media_change_ms = ktime_to_ms(ktime_get()); in register_cdrom()
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_engine_cs.c2399 ktime_to_ms(intel_engine_get_busy_time(engine, in intel_engine_dump()
/linux/drivers/net/wireless/ath/wil6210/
H A Dtxrx.c2396 if (ktime_to_ms(*(ktime_t *)&skb->cb) == 0) in wil_tx_latency_calc()
/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_fw.c2744 iou_ctrl.param64[0] = cpu_to_le64(ktime_to_ms(current_time)); in mpi3mr_sync_timestamp()
3645 iocinit_req.time_stamp = cpu_to_le64(ktime_to_ms(current_time)); in mpi3mr_issue_iocinit()
/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_base.c657 TimeStamp = ktime_to_ms(current_time); in _base_sync_drv_fw_timestamp()
7596 mpi_request.TimeStamp = cpu_to_le64(ktime_to_ms(current_time)); in _base_send_ioc_init()
/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c4142 mod_tcpm_delayed_work(port, ktime_to_ms(ktime_sub(port->delayed_runtime, in tcpm_send_queued_message()
5614 ktime_to_ms(ktime_sub(port->delayed_runtime, ktime_get()))); in run_state_machine()
/linux/drivers/scsi/megaraid/
H A Dmegaraid_sas_fusion.c1166 IOCInitMessage->TimeStamp = cpu_to_le64(ktime_to_ms(time)); in megasas_ioc_init_fusion()
/linux/net/sctp/
H A Dsocket.c6705 assocparams.sasoc_cookie_life = ktime_to_ms(asoc->cookie_life); in sctp_getsockopt_associnfo()