Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/clock_control/
Dclock_stm32_ll_h5.c50 static uint32_t get_pllsrc_frequency(size_t pll_id) in get_pllsrc_frequency() argument
53 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 …]
Dclock_stm32_ll_u5.c54 static uint32_t get_pllsrc_frequency(size_t pll_id) in get_pllsrc_frequency() argument
57 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 …]
/Zephyr-Core-3.7.0/soc/atmel/sam/sam4l/
Dsoc.c57 static inline bool pll_is_locked(uint32_t pll_id) in pll_is_locked() argument
59 return !!(SCIF->PCLKSR & (1U << (6 + pll_id))); in pll_is_locked()