Searched refs:pre_mainclk (Results 1 – 1 of 1) sorted by relevance
181 uint32_t pre_mainclk = 0U; in beetle_get_prescaler() local188 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() local209 __BEETLE_SYSCON->mainclk = pre_mainclk; in beetle_pll_enable()