Searched refs:power_ops (Results 1 – 4 of 4) sorted by relevance
65 struct devfreq_cooling_power *power_ops; member221 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 …]
28 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()
175 static struct scmi_power_ops power_ops = { variable210 handle->power_ops = &power_ops; in scmi_power_protocol_init()
236 struct scmi_power_ops *power_ops; member