Home
last modified time | relevance | path

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

/system/bt/hci/src/
Dlow_power_manager.c71 static wake_state_t wake_state; variable
114 wake_state = LPM_WAKE_ASSERTED; in wake_assert()
125 if (wake_state == LPM_WAKE_W4_TX_DONE || wake_state == LPM_WAKE_ASSERTED) { in transmit_done()
126 wake_state = LPM_WAKE_W4_TIMEOUT; in transmit_done()
158 if (state == LPM_ENABLED && wake_state == LPM_WAKE_ASSERTED) { in allow_device_sleep()
160 wake_state = LPM_WAKE_W4_TIMEOUT; in allow_device_sleep()
163 wake_state = LPM_WAKE_W4_TX_DONE; in allow_device_sleep()
172 wake_state = LPM_WAKE_DEASSERTED; in wake_deassert()
178 wake_state = LPM_WAKE_DEASSERTED; in reset_state()
184 if (state == LPM_ENABLED && wake_state == LPM_WAKE_W4_TIMEOUT) in idle_timer_expired()