Home
last modified time | relevance | path

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

/openbmc/linux/drivers/powercap/
H A Darm_scmi_powercap.c20 static const struct scmi_powercap_proto_ops *powercap_ops; variable
81 return powercap_ops->cap_enable_set(spz->ph, spz->info->id, mode); in scmi_powercap_zone_enable_set()
88 return powercap_ops->cap_enable_get(spz->ph, spz->info->id, mode); in scmi_powercap_zone_enable_get()
143 ret = powercap_ops->cap_get(spz->ph, spz->info->id, &power); in scmi_powercap_get_power_limit_uw()
182 return powercap_ops->pai_set(spz->ph, spz->info->id, norm_pai); in scmi_powercap_set_time_window_us()
192 ret = powercap_ops->pai_get(spz->ph, spz->info->id, &pai); in scmi_powercap_get_time_window_us()
429 powercap_ops = sdev->handle->devm_protocol_get(sdev, in scmi_powercap_probe()
432 if (IS_ERR(powercap_ops)) in scmi_powercap_probe()
433 return PTR_ERR(powercap_ops); in scmi_powercap_probe()
439 ret = powercap_ops->num_domains_get(ph); in scmi_powercap_probe()
[all …]