Home
last modified time | relevance | path

Searched refs:power_ops (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/thermal/
Ddevfreq_cooling.c65 struct devfreq_cooling_power *power_ops; member
221 if (!dfc->power_ops->get_static_power) in get_static_power()
229 return dfc->power_ops->get_static_power(df, voltage); in get_static_power()
250 struct devfreq_cooling_power *dfc_power = dfc->power_ops; in get_dynamic_power()
293 if (dfc->power_ops->get_real_power) { in devfreq_cooling_get_requested_power()
300 res = dfc->power_ops->get_real_power(df, power, freq, voltage); in devfreq_cooling_get_requested_power()
366 if (dfc->power_ops->get_real_power) { in devfreq_cooling_power2state()
431 if (dfc->power_ops) { in devfreq_cooling_gen_tables()
458 if (dfc->power_ops) { in devfreq_cooling_gen_tables()
459 if (dfc->power_ops->get_real_power) in devfreq_cooling_gen_tables()
[all …]
/Linux-v5.4/drivers/firmware/arm_scmi/
Dscmi_pm_domain.c28 const struct scmi_power_ops *ops = pd->handle->power_ops; in scmi_pd_power()
64 if (!handle || !handle->power_ops) in scmi_pm_domain_probe()
67 num_domains = handle->power_ops->num_domains_get(handle); in scmi_pm_domain_probe()
92 scmi_pd->name = handle->power_ops->name_get(handle, i); in scmi_pm_domain_probe()
97 if (handle->power_ops->state_get(handle, i, &state)) { in scmi_pm_domain_probe()
Dpower.c175 static struct scmi_power_ops power_ops = { variable
210 handle->power_ops = &power_ops; in scmi_power_protocol_init()
/Linux-v5.4/include/linux/
Dscmi_protocol.h236 struct scmi_power_ops *power_ops; member