Home
last modified time | relevance | path

Searched refs:sleepstatus (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/staging/ks7010/
H A Dks7010_sdio.c166 atomic_set(&priv->sleepstatus.doze_request, 0); in ks_wlan_hw_sleep_doze_request()
168 if (atomic_read(&priv->sleepstatus.status) == 0) { in ks_wlan_hw_sleep_doze_request()
174 atomic_set(&priv->sleepstatus.status, 1); in ks_wlan_hw_sleep_doze_request()
179 priv->sleep_mode = atomic_read(&priv->sleepstatus.status); in ks_wlan_hw_sleep_doze_request()
187 atomic_set(&priv->sleepstatus.wakeup_request, 0); in ks_wlan_hw_sleep_wakeup_request()
189 if (atomic_read(&priv->sleepstatus.status) == 1) { in ks_wlan_hw_sleep_wakeup_request()
195 atomic_set(&priv->sleepstatus.status, 0); in ks_wlan_hw_sleep_wakeup_request()
511 if (atomic_read(&priv->sleepstatus.doze_request) == 1) { in ks7010_rw_function()
942 atomic_set(&priv->sleepstatus.status, 0); in ks7010_private_init()
943 atomic_set(&priv->sleepstatus.doze_request, 0); in ks7010_private_init()
[all …]
H A Dks_wlan.h461 struct sleep_status sleepstatus; member
H A Dks_hostif.c688 atomic_set(&priv->sleepstatus.doze_request, 1); in hostif_sleep_confirm()
1497 atomic_set(&priv->sleepstatus.wakeup_request, 1); in hostif_sleep_request()