Searched refs:sd_count (Results 1 – 2 of 2) sorted by relevance
92 if (!WARN_ON(atomic_read(&genpd->sd_count) == 0)) in genpd_sd_counter_dec()93 ret = !!atomic_dec_and_test(&genpd->sd_count); in genpd_sd_counter_dec()100 atomic_inc(&genpd->sd_count); in genpd_sd_counter_inc()363 if (atomic_read(&genpd->sd_count) > 0) in pm_genpd_poweroff()393 ret = atomic_read(&genpd->sd_count) == 0 ? in pm_genpd_poweroff()414 if (atomic_read(&genpd->sd_count) > 0) { in pm_genpd_poweroff()690 || atomic_read(&genpd->sd_count) > 0) in pm_genpd_sync_poweroff()1686 atomic_set(&genpd->sd_count, 0); in pm_genpd_init()
58 atomic_t sd_count; /* Number of subdomains with power "on" */ member