Searched refs:pm_count (Results 1 – 4 of 4) sorted by relevance
452 atomic_t pm_count; member
177 if (atomic_inc_return(&priv->pm_count) != 1) in icnss_pm_stay_awake()181 atomic_read(&priv->pm_count)); in icnss_pm_stay_awake()190 int r = atomic_dec_return(&priv->pm_count); in icnss_pm_relax()198 atomic_read(&priv->pm_count)); in icnss_pm_relax()
572 atomic_t pm_count; member
579 if (atomic_inc_return(&plat_priv->pm_count) != 1) in cnss_pm_stay_awake()584 atomic_read(&plat_priv->pm_count)); in cnss_pm_stay_awake()590 int r = atomic_dec_return(&plat_priv->pm_count); in cnss_pm_relax()599 atomic_read(&plat_priv->pm_count)); in cnss_pm_relax()