Searched refs:scmi_pd_data (Results 1 – 2 of 2) sorted by relevance
61 struct genpd_onecell_data *scmi_pd_data; in scmi_pm_domain_probe() local83 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()113 scmi_pd_data->domains = domains; in scmi_pm_domain_probe()114 scmi_pd_data->num_domains = num_domains; in scmi_pm_domain_probe()116 dev_set_drvdata(dev, scmi_pd_data); in scmi_pm_domain_probe()118 return of_genpd_add_provider_onecell(np, scmi_pd_data); in scmi_pm_domain_probe()124 struct genpd_onecell_data *scmi_pd_data; in scmi_pm_domain_remove() local130 scmi_pd_data = dev_get_drvdata(dev); in scmi_pm_domain_remove()131 for (i = 0; i < scmi_pd_data->num_domains; i++) { in scmi_pm_domain_remove()[all …]
84 struct genpd_onecell_data *scmi_pd_data; in scmi_perf_domain_probe() local112 scmi_pd_data = devm_kzalloc(dev, sizeof(*scmi_pd_data), GFP_KERNEL); in scmi_perf_domain_probe()113 if (!scmi_pd_data) in scmi_perf_domain_probe()140 scmi_pd_data->domains = domains; in scmi_perf_domain_probe()141 scmi_pd_data->num_domains = num_domains; in scmi_perf_domain_probe()143 ret = of_genpd_add_provider_onecell(dev->of_node, scmi_pd_data); in scmi_perf_domain_probe()147 dev_set_drvdata(dev, scmi_pd_data); in scmi_perf_domain_probe()159 struct genpd_onecell_data *scmi_pd_data = dev_get_drvdata(dev); in scmi_perf_domain_remove() local162 if (!scmi_pd_data) in scmi_perf_domain_remove()167 for (i = 0; i < scmi_pd_data->num_domains; i++) in scmi_perf_domain_remove()[all …]