Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.0/drivers/clock_control/
Dbeetle_clock_control.c181 uint32_t pre_mainclk = 0U; in beetle_get_prescaler() local
188 pre_mainclk = BEETLE_PLL_PRESCALER_12MHZ; in beetle_get_prescaler()
190 pre_mainclk = BEETLE_PLL_PRESCALER_24MHZ; in beetle_get_prescaler()
192 pre_mainclk = BEETLE_PLL_PRESCALER_36MHZ; in beetle_get_prescaler()
194 pre_mainclk = BEETLE_PLL_PRESCALER_48MHZ; in beetle_get_prescaler()
197 return pre_mainclk; in beetle_get_prescaler()
203 uint32_t pre_mainclk = beetle_get_prescaler(mainclk); in beetle_pll_enable() local
209 __BEETLE_SYSCON->mainclk = pre_mainclk; in beetle_pll_enable()