Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/bt/controller/esp32c3/
Dbt.c385 static DRAM_ATTR btdm_lpstat_t s_lp_stat; variable
682 assert (s_lp_stat.wakeup_timer_started == 0); in btdm_sleep_enter_phase1_wrapper()
684 s_lp_stat.wakeup_timer_started = 1; in btdm_sleep_enter_phase1_wrapper()
694 if (s_lp_stat.phy_enabled) { in btdm_sleep_enter_phase2_wrapper()
696 s_lp_stat.phy_enabled = 0; in btdm_sleep_enter_phase2_wrapper()
701 if (s_lp_stat.pm_lock_released == 0) { in btdm_sleep_enter_phase2_wrapper()
705 s_lp_stat.pm_lock_released = 1; in btdm_sleep_enter_phase2_wrapper()
716 if (s_lp_stat.pm_lock_released) { in btdm_sleep_exit_phase3_wrapper()
718 s_lp_stat.pm_lock_released = 0; in btdm_sleep_exit_phase3_wrapper()
723 if (s_lp_stat.phy_enabled == 0) { in btdm_sleep_exit_phase3_wrapper()
[all …]
/hal_espressif-3.6.0/components/bt/controller/esp32s3/
Dbt.c383 static DRAM_ATTR btdm_lpstat_t s_lp_stat; variable
669 assert (s_lp_stat.wakeup_timer_started == 0); in btdm_sleep_enter_phase1_wrapper()
671 s_lp_stat.wakeup_timer_started = 1; in btdm_sleep_enter_phase1_wrapper()
681 if (s_lp_stat.phy_enabled) { in btdm_sleep_enter_phase2_wrapper()
683 s_lp_stat.phy_enabled = 0; in btdm_sleep_enter_phase2_wrapper()
688 if (s_lp_stat.pm_lock_released == 0) { in btdm_sleep_enter_phase2_wrapper()
692 s_lp_stat.pm_lock_released = 1; in btdm_sleep_enter_phase2_wrapper()
703 if (s_lp_stat.pm_lock_released) { in btdm_sleep_exit_phase3_wrapper()
705 s_lp_stat.pm_lock_released = 0; in btdm_sleep_exit_phase3_wrapper()
710 if (s_lp_stat.phy_enabled == 0) { in btdm_sleep_exit_phase3_wrapper()
[all …]
/hal_espressif-3.6.0/zephyr/esp32c3/src/bt/
Desp_bt_adapter.c334 static DRAM_ATTR btdm_lpstat_t s_lp_stat; variable
766 assert (s_lp_stat.wakeup_timer_started == 0); in btdm_sleep_enter_phase1_wrapper()
768 s_lp_stat.wakeup_timer_started = 1; in btdm_sleep_enter_phase1_wrapper()
778 if (s_lp_stat.phy_enabled) { in btdm_sleep_enter_phase2_wrapper()
780 s_lp_stat.phy_enabled = 0; in btdm_sleep_enter_phase2_wrapper()
785 if (s_lp_stat.pm_lock_released == 0) { in btdm_sleep_enter_phase2_wrapper()
786 s_lp_stat.pm_lock_released = 1; in btdm_sleep_enter_phase2_wrapper()
794 if (s_lp_stat.phy_enabled == 0) { in btdm_sleep_exit_phase3_wrapper()
796 s_lp_stat.phy_enabled = 1; in btdm_sleep_exit_phase3_wrapper()
803 if (s_lp_cntl.wakeup_timer_required && s_lp_stat.wakeup_timer_started) { in btdm_sleep_exit_phase3_wrapper()
[all …]
/hal_espressif-3.6.0/zephyr/esp32s3/src/bt/
Desp_bt_adapter.c333 static DRAM_ATTR btdm_lpstat_t s_lp_stat; variable
757 assert (s_lp_stat.wakeup_timer_started == 0); in btdm_sleep_enter_phase1_wrapper()
759 s_lp_stat.wakeup_timer_started = 1; in btdm_sleep_enter_phase1_wrapper()
769 if (s_lp_stat.phy_enabled) { in btdm_sleep_enter_phase2_wrapper()
771 s_lp_stat.phy_enabled = 0; in btdm_sleep_enter_phase2_wrapper()
776 if (s_lp_stat.pm_lock_released == 0) { in btdm_sleep_enter_phase2_wrapper()
777 s_lp_stat.pm_lock_released = 1; in btdm_sleep_enter_phase2_wrapper()
785 if (s_lp_stat.phy_enabled == 0) { in btdm_sleep_exit_phase3_wrapper()
787 s_lp_stat.phy_enabled = 1; in btdm_sleep_exit_phase3_wrapper()
794 if (s_lp_cntl.wakeup_timer_required && s_lp_stat.wakeup_timer_started) { in btdm_sleep_exit_phase3_wrapper()
[all …]