Lines Matching +full:wakeup +full:- +full:and +full:- +full:sleep
4 * SPDX-License-Identifier: Apache-2.0
68 /* Enable AHB and APB clocks */ in clock_active_init()
70 __BEETLE_SYSCON->ahbclkcfg0set = AHB_CLK_BITS; in clock_active_init()
73 __BEETLE_SYSCON->apbclkcfg0set = APB_CLK_BITS; in clock_active_init()
77 * @brief Configures the clock that remain active during sleep state.
79 * Configures the clock that remain active during sleep state.
83 /* Configure APB Peripheral Clock in sleep state */ in clock_sleep_init()
84 __BEETLE_SYSCON->apbclkcfg1set = APB_CLK_BITS; in clock_sleep_init()
94 /* Configure APB Peripheral Clock in deep sleep state */ in clock_deepsleep_init()
95 __BEETLE_SYSCON->apbclkcfg2set = APB_CLK_BITS; in clock_deepsleep_init()
99 * @brief Setup initial wakeup sources on SoC.
101 * Setup the SoC wakeup sources.
106 /* Configure Wakeup Sources */ in wakeup_src_init()
107 __BEETLE_SYSCON->pwrdncfg1set = APB_CLK_BITS; in wakeup_src_init()
111 * @brief Setup various clocks and wakeup sources in the SoC.
113 * Configures the clocks and wakeup sources in the SoC.
120 /* Setup sleep active clocks */ in soc_power_init()
126 /* Setup initial wakeup sources */ in soc_power_init()