Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/thermal/
Ddevfreq_cooling.c62 struct devfreq_cooling_power *power_ops; member
179 if (!dfc->power_ops->get_static_power) in get_static_power()
187 return dfc->power_ops->get_static_power(df, voltage); in get_static_power()
208 struct devfreq_cooling_power *dfc_power = dfc->power_ops; in get_dynamic_power()
250 if (dfc->power_ops->get_real_power) { in devfreq_cooling_get_requested_power()
257 res = dfc->power_ops->get_real_power(df, power, freq, voltage); in devfreq_cooling_get_requested_power()
321 if (dfc->power_ops->get_real_power) { in devfreq_cooling_power2state()
386 if (dfc->power_ops) { in devfreq_cooling_gen_tables()
413 if (dfc->power_ops) { in devfreq_cooling_gen_tables()
414 if (dfc->power_ops->get_real_power) in devfreq_cooling_gen_tables()
[all …]
/kernel/linux/linux-5.10/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()
88 if (handle->power_ops->state_get(handle, i, &state)) { in scmi_pm_domain_probe()
95 scmi_pd->name = handle->power_ops->name_get(handle, i); in scmi_pm_domain_probe()
Dpower.c187 static const struct scmi_power_ops power_ops = { variable
298 handle->power_ops = &power_ops; in scmi_power_protocol_init()
/kernel/linux/linux-5.10/include/linux/
Dscmi_protocol.h284 const struct scmi_power_ops *power_ops; member
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0005_linux_include.patch13654 const struct scmi_power_ops *power_ops;