Home
last modified time | relevance | path

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

/openbmc/linux/drivers/powercap/
H A Darm_scmi_powercap.c37 struct list_head *registered_zones; member
268 if (!list_empty(&pr->registered_zones[i])) { in scmi_powercap_unregister_all_zones()
271 list_for_each_entry(spz, &pr->registered_zones[i], node) in scmi_powercap_unregister_all_zones()
314 list_move(&spz->node, &pr->registered_zones[spz->height]); in scmi_powercap_register_zone()
452 pr->registered_zones = devm_kcalloc(dev, pr->num_zones, in scmi_powercap_probe()
453 sizeof(*pr->registered_zones), in scmi_powercap_probe()
455 if (!pr->registered_zones) in scmi_powercap_probe()
472 INIT_LIST_HEAD(&pr->registered_zones[i]); in scmi_powercap_probe()