Lines Matching refs:gpd
157 struct generic_pm_domain *genpd = NULL, *gpd; in genpd_lookup_dev() local
163 list_for_each_entry(gpd, &gpd_list, gpd_list_node) { in genpd_lookup_dev()
164 if (&gpd->domain == dev->pm_domain) { in genpd_lookup_dev()
165 genpd = gpd; in genpd_lookup_dev()
856 const struct generic_pm_domain *gpd; in genpd_present() local
861 list_for_each_entry(gpd, &gpd_list, gpd_list_node) in genpd_present()
862 if (gpd == genpd) in genpd_present()
2008 struct generic_pm_domain *gpd; in of_genpd_del_provider() local
2019 list_for_each_entry(gpd, &gpd_list, gpd_list_node) { in of_genpd_del_provider()
2020 if (gpd->provider == &np->fwnode) { in of_genpd_del_provider()
2021 gpd->has_provider = false; in of_genpd_del_provider()
2023 if (!gpd->set_performance_state) in of_genpd_del_provider()
2026 dev_pm_opp_of_remove_table(&gpd->dev); in of_genpd_del_provider()
2159 struct generic_pm_domain *gpd, *tmp, *genpd = ERR_PTR(-ENOENT); in of_genpd_remove_last() local
2166 list_for_each_entry_safe(gpd, tmp, &gpd_list, gpd_list_node) { in of_genpd_remove_last()
2167 if (gpd->provider == &np->fwnode) { in of_genpd_remove_last()
2168 ret = genpd_remove(gpd); in of_genpd_remove_last()
2169 genpd = ret ? ERR_PTR(ret) : gpd; in of_genpd_remove_last()