Home
last modified time | relevance | path

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

/linux/drivers/powercap/
H A Darm_scmi_powercap.c20 static const struct scmi_powercap_proto_ops *powercap_ops; variable
65 ret = powercap_ops->measurements_get(spz->ph, spz->info->id, &avg_power, in scmi_powercap_get_power_uw()
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()
133 return powercap_ops->cap_set(spz->ph, spz->info->id, norm_power, false); in scmi_powercap_set_power_limit_uw()
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()
[all …]