Lines Matching refs:src_clk
44 int enabled_clock(uint32_t src_clk) in enabled_clock() argument
46 if ((src_clk == STM32_SRC_SYSCLK) || in enabled_clock()
47 (src_clk == STM32_SRC_HCLK1) || in enabled_clock()
48 (src_clk == STM32_SRC_HCLK5) || in enabled_clock()
49 (src_clk == STM32_SRC_PCLK1) || in enabled_clock()
50 (src_clk == STM32_SRC_PCLK2) || in enabled_clock()
51 (src_clk == STM32_SRC_PCLK7) || in enabled_clock()
52 ((src_clk == STM32_SRC_HSE) && IS_ENABLED(STM32_HSE_ENABLED)) || in enabled_clock()
53 ((src_clk == STM32_SRC_HSI16) && IS_ENABLED(STM32_HSI_ENABLED)) || in enabled_clock()
54 ((src_clk == STM32_SRC_LSE) && IS_ENABLED(STM32_LSE_ENABLED)) || in enabled_clock()
55 ((src_clk == STM32_SRC_LSI) && IS_ENABLED(STM32_LSI_ENABLED)) || in enabled_clock()
56 ((src_clk == STM32_SRC_PLL1_P) && IS_ENABLED(STM32_PLL_P_ENABLED)) || in enabled_clock()
57 ((src_clk == STM32_SRC_PLL1_Q) && IS_ENABLED(STM32_PLL_Q_ENABLED)) || in enabled_clock()
58 ((src_clk == STM32_SRC_PLL1_R) && IS_ENABLED(STM32_PLL_R_ENABLED))) { in enabled_clock()