Home
last modified time | relevance | path

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

/openbmc/linux/drivers/powercap/
H A Darm_scmi_powercap.c81 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()
192 ret = powercap_ops->pai_get(spz->ph, spz->info->id, &pai); in scmi_powercap_get_time_window_us()
284 return spz->spzones[spz->info->parent_id].height + 1; in scmi_powercap_get_zone_height()
293 return &spz->spzones[spz->info->parent_id]; in scmi_powercap_get_parent_zone()
312 spz->height = scmi_powercap_get_zone_height(spz); in scmi_powercap_register_zone()
314 list_move(&spz->node, &pr->registered_zones[spz->height]); in scmi_powercap_register_zone()
317 spz->height); in scmi_powercap_register_zone()
379 while (spz) { in scmi_zones_register()
[all …]