Searched refs:pll_id (Results 1 – 3 of 3) sorted by relevance
50 static uint32_t get_pllsrc_frequency(size_t pll_id) in get_pllsrc_frequency() argument53 if ((IS_ENABLED(STM32_PLL_SRC_HSI) && pll_id == PLL1_ID) || in get_pllsrc_frequency()54 (IS_ENABLED(STM32_PLL2_SRC_HSI) && pll_id == PLL2_ID) || in get_pllsrc_frequency()55 (IS_ENABLED(STM32_PLL3_SRC_HSI) && pll_id == PLL3_ID)) { in get_pllsrc_frequency()57 } else if ((IS_ENABLED(STM32_PLL_SRC_HSE) && pll_id == PLL1_ID) || in get_pllsrc_frequency()58 (IS_ENABLED(STM32_PLL2_SRC_HSE) && pll_id == PLL2_ID) || in get_pllsrc_frequency()59 (IS_ENABLED(STM32_PLL3_SRC_HSE) && pll_id == PLL3_ID)) { in get_pllsrc_frequency()61 } else if ((IS_ENABLED(STM32_PLL_SRC_CSI) && pll_id == PLL1_ID) || in get_pllsrc_frequency()62 (IS_ENABLED(STM32_PLL2_SRC_CSI) && pll_id == PLL2_ID) || in get_pllsrc_frequency()63 (IS_ENABLED(STM32_PLL3_SRC_CSI) && pll_id == PLL3_ID)) { in get_pllsrc_frequency()[all …]
54 static uint32_t get_pllsrc_frequency(size_t pll_id) in get_pllsrc_frequency() argument57 if ((IS_ENABLED(STM32_PLL_SRC_HSI) && pll_id == PLL1_ID) || in get_pllsrc_frequency()58 (IS_ENABLED(STM32_PLL2_SRC_HSI) && pll_id == PLL2_ID) || in get_pllsrc_frequency()59 (IS_ENABLED(STM32_PLL3_SRC_HSI) && pll_id == PLL3_ID)) { in get_pllsrc_frequency()61 } else if ((IS_ENABLED(STM32_PLL_SRC_HSE) && pll_id == PLL1_ID) || in get_pllsrc_frequency()62 (IS_ENABLED(STM32_PLL2_SRC_HSE) && pll_id == PLL2_ID) || in get_pllsrc_frequency()63 (IS_ENABLED(STM32_PLL3_SRC_HSE) && pll_id == PLL3_ID)) { in get_pllsrc_frequency()65 } else if ((IS_ENABLED(STM32_PLL_SRC_MSIS) && pll_id == PLL1_ID) || in get_pllsrc_frequency()66 (IS_ENABLED(STM32_PLL2_SRC_MSIS) && pll_id == PLL2_ID) || in get_pllsrc_frequency()67 (IS_ENABLED(STM32_PLL3_SRC_MSIS) && pll_id == PLL3_ID)) { in get_pllsrc_frequency()[all …]
57 static inline bool pll_is_locked(uint32_t pll_id) in pll_is_locked() argument59 return !!(SCIF->PCLKSR & (1U << (6 + pll_id))); in pll_is_locked()