Home
last modified time | relevance | path

Searched refs:pm_count (Results 1 – 4 of 4) sorted by relevance

/wlan-driver/platform/icnss2/
H A Dmain.h452 atomic_t pm_count; member
H A Dmain.c177 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()
/wlan-driver/platform/cnss2/
H A Dmain.h572 atomic_t pm_count; member
H A Dmain.c579 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()