Home
last modified time | relevance | path

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

/openbmc/linux/drivers/powercap/
H A Darm_scmi_powercap.c29 struct scmi_powercap_zone *spzones; member
36 struct scmi_powercap_zone *spzones; member
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()
446 pr->spzones = devm_kcalloc(dev, pr->num_zones, in scmi_powercap_probe()
447 sizeof(*pr->spzones), GFP_KERNEL); in scmi_powercap_probe()
448 if (!pr->spzones) in scmi_powercap_probe()
460 for (i = 0, spz = pr->spzones; i < pr->num_zones; i++, spz++) { in scmi_powercap_probe()
470 spz->spzones = pr->spzones; in scmi_powercap_probe()