Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/firmware/arm_scmi/
Dscmi_pm_domain.c59 struct scmi_pm_domain *scmi_pd; in scmi_pm_domain_probe() local
73 scmi_pd = devm_kcalloc(dev, num_domains, sizeof(*scmi_pd), GFP_KERNEL); in scmi_pm_domain_probe()
74 if (!scmi_pd) in scmi_pm_domain_probe()
85 for (i = 0; i < num_domains; i++, scmi_pd++) { in scmi_pm_domain_probe()
93 scmi_pd->domain = i; in scmi_pm_domain_probe()
94 scmi_pd->handle = handle; in scmi_pm_domain_probe()
95 scmi_pd->name = handle->power_ops->name_get(handle, i); in scmi_pm_domain_probe()
96 scmi_pd->genpd.name = scmi_pd->name; in scmi_pm_domain_probe()
97 scmi_pd->genpd.power_off = scmi_pd_power_off; in scmi_pm_domain_probe()
98 scmi_pd->genpd.power_on = scmi_pd_power_on; in scmi_pm_domain_probe()
[all …]