Lines Matching full:domains
71 struct generic_pm_domain **domains; in scpi_pm_domain_probe() local
86 dev_err(dev, "power domains not supported in the firmware\n"); in scpi_pm_domain_probe()
90 ret = of_property_read_u32(np, "num-domains", &num_domains); in scpi_pm_domain_probe()
92 dev_err(dev, "number of domains not found\n"); in scpi_pm_domain_probe()
104 domains = devm_kcalloc(dev, num_domains, sizeof(*domains), GFP_KERNEL); in scpi_pm_domain_probe()
105 if (!domains) in scpi_pm_domain_probe()
109 domains[i] = &scpi_pd->genpd; in scpi_pm_domain_probe()
124 * Treat all power domains as off at boot. in scpi_pm_domain_probe()
126 * The SCP firmware itself may have switched on some domains, in scpi_pm_domain_probe()
132 scpi_pd_data->domains = domains; in scpi_pm_domain_probe()
141 { .compatible = "arm,scpi-power-domains", },