Home
last modified time | relevance | path

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

/openbmc/linux/drivers/firmware/arm_scmi/
H A Dscmi_pm_domain.c61 struct genpd_onecell_data *scmi_pd_data; in scmi_pm_domain_probe() local
83 scmi_pd_data = devm_kzalloc(dev, sizeof(*scmi_pd_data), GFP_KERNEL); in scmi_pm_domain_probe()
84 if (!scmi_pd_data) in scmi_pm_domain_probe()
112 scmi_pd_data->domains = domains; in scmi_pm_domain_probe()
113 scmi_pd_data->num_domains = num_domains; in scmi_pm_domain_probe()
115 dev_set_drvdata(dev, scmi_pd_data); in scmi_pm_domain_probe()
123 struct genpd_onecell_data *scmi_pd_data; in scmi_pm_domain_remove() local
129 scmi_pd_data = dev_get_drvdata(dev); in scmi_pm_domain_remove()
130 for (i = 0; i < scmi_pd_data->num_domains; i++) { in scmi_pm_domain_remove()
131 if (!scmi_pd_data->domains[i]) in scmi_pm_domain_remove()
[all …]