Lines Matching refs:gpd
2290 const struct generic_pm_domain *gpd; in genpd_present() local
2293 list_for_each_entry(gpd, &gpd_list, gpd_list_node) { in genpd_present()
2294 if (gpd == genpd) { in genpd_present()
2435 struct generic_pm_domain *gpd; in of_genpd_del_provider() local
2446 list_for_each_entry(gpd, &gpd_list, gpd_list_node) { in of_genpd_del_provider()
2447 if (gpd->provider == &np->fwnode) { in of_genpd_del_provider()
2448 gpd->has_provider = false; in of_genpd_del_provider()
2450 if (!gpd->set_performance_state) in of_genpd_del_provider()
2453 dev_pm_opp_put_opp_table(gpd->opp_table); in of_genpd_del_provider()
2454 dev_pm_opp_of_remove_table(&gpd->dev); in of_genpd_del_provider()
2626 struct generic_pm_domain *gpd, *tmp, *genpd = ERR_PTR(-ENOENT); in of_genpd_remove_last() local
2633 list_for_each_entry_safe(gpd, tmp, &gpd_list, gpd_list_node) { in of_genpd_remove_last()
2634 if (gpd->provider == &np->fwnode) { in of_genpd_remove_last()
2635 ret = genpd_remove(gpd); in of_genpd_remove_last()
2636 genpd = ret ? ERR_PTR(ret) : gpd; in of_genpd_remove_last()