Lines Matching full:domains
70 struct generic_pm_domain **domains; in scpi_pm_domain_probe() local
85 dev_err(dev, "power domains not supported in the firmware\n"); in scpi_pm_domain_probe()
89 ret = of_property_read_u32(np, "num-domains", &num_domains); in scpi_pm_domain_probe()
91 dev_err(dev, "number of domains not found\n"); in scpi_pm_domain_probe()
103 domains = devm_kcalloc(dev, num_domains, sizeof(*domains), GFP_KERNEL); in scpi_pm_domain_probe()
104 if (!domains) in scpi_pm_domain_probe()
108 domains[i] = &scpi_pd->genpd; in scpi_pm_domain_probe()
123 * Treat all power domains as off at boot. in scpi_pm_domain_probe()
125 * The SCP firmware itself may have switched on some domains, in scpi_pm_domain_probe()
131 scpi_pd_data->domains = domains; in scpi_pm_domain_probe()
140 { .compatible = "arm,scpi-power-domains", },