Home
last modified time | relevance | path

Searched refs:latency_us (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/powercap/
H A Didle_inject.c87 unsigned int latency_us; member
162 READ_ONCE(ii_dev->latency_us) * NSEC_PER_USEC); in idle_inject_fn()
205 unsigned int latency_us) in idle_inject_set_latency() argument
207 WRITE_ONCE(ii_dev->latency_us, latency_us); in idle_inject_set_latency()
344 ii_dev->latency_us = UINT_MAX; in idle_inject_register_full()
/openbmc/linux/drivers/thermal/
H A Dcpuidle_cooling.c178 unsigned int latency_us = UINT_MAX; in __cpuidle_cooling_register() local
195 of_property_read_u32(np, "exit-latency-us", &latency_us); in __cpuidle_cooling_register()
198 idle_inject_set_latency(ii_dev, latency_us); in __cpuidle_cooling_register()
218 name, idle_duration_us, latency_us); in __cpuidle_cooling_register()
/openbmc/linux/drivers/cpuidle/
H A Dcpuidle-pseries.c375 u64 latency_us = DIV_ROUND_UP_ULL(tb_to_ns(latency_tb), NSEC_PER_USEC); in fixup_cede0_latency() local
387 if (latency_us == 0) { in fixup_cede0_latency()
393 if (latency_us < min_xcede_latency_us) in fixup_cede0_latency()
394 min_xcede_latency_us = latency_us; in fixup_cede0_latency()
/openbmc/linux/drivers/firmware/arm_scmi/
H A Dreset.c60 u32 latency_us; member
116 dom_info->latency_us = le32_to_cpu(attr->latency); in scmi_reset_domain_attributes_get()
117 if (dom_info->latency_us == U32_MAX) in scmi_reset_domain_attributes_get()
118 dom_info->latency_us = 0; in scmi_reset_domain_attributes_get()
159 return dom->latency_us; in scmi_reset_latency_get()
/openbmc/linux/include/linux/
H A Didle_inject.h34 unsigned int latency_us);