Searched refs:subdomain (Results 1 – 1 of 1) sorted by relevance
1325 struct generic_pm_domain *subdomain) in pm_genpd_add_subdomain() argument1330 if (IS_ERR_OR_NULL(genpd) || IS_ERR_OR_NULL(subdomain) in pm_genpd_add_subdomain()1331 || genpd == subdomain) in pm_genpd_add_subdomain()1339 mutex_lock_nested(&subdomain->lock, SINGLE_DEPTH_NESTING); in pm_genpd_add_subdomain()1342 && subdomain->status != GPD_STATE_POWER_OFF) { in pm_genpd_add_subdomain()1348 if (itr->slave == subdomain && itr->master == genpd) { in pm_genpd_add_subdomain()1356 link->slave = subdomain; in pm_genpd_add_subdomain()1357 list_add_tail(&link->slave_node, &subdomain->slave_links); in pm_genpd_add_subdomain()1358 if (subdomain->status != GPD_STATE_POWER_OFF) in pm_genpd_add_subdomain()1362 mutex_unlock(&subdomain->lock); in pm_genpd_add_subdomain()[all …]