Lines Matching full:domains
82 struct generic_pm_domain **domains; in scpi_pm_domain_probe() local
97 dev_err(dev, "power domains not supported in the firmware\n"); in scpi_pm_domain_probe()
101 ret = of_property_read_u32(np, "num-domains", &num_domains); in scpi_pm_domain_probe()
103 dev_err(dev, "number of domains not found\n"); in scpi_pm_domain_probe()
115 domains = devm_kcalloc(dev, num_domains, sizeof(*domains), GFP_KERNEL); in scpi_pm_domain_probe()
116 if (!domains) in scpi_pm_domain_probe()
120 domains[i] = &scpi_pd->genpd; in scpi_pm_domain_probe()
130 * Treat all power domains as off at boot. in scpi_pm_domain_probe()
132 * The SCP firmware itself may have switched on some domains, in scpi_pm_domain_probe()
138 scpi_pd_data->domains = domains; in scpi_pm_domain_probe()
147 { .compatible = "arm,scpi-power-domains", },