Lines Matching +full:lse +full:- +full:bypass

7  * SPDX-License-Identifier: Apache-2.0
144 return -ENOTSUP; in enabled_clock()
155 if (IN_RANGE(pclken->bus, STM32_PERIPH_BUS_MIN, STM32_PERIPH_BUS_MAX) == 0) { in stm32_clock_control_on()
157 return -ENOTSUP; in stm32_clock_control_on()
160 sys_set_bits(DT_REG_ADDR(DT_NODELABEL(rcc)) + pclken->bus, in stm32_clock_control_on()
161 pclken->enr); in stm32_clock_control_on()
163 temp = sys_read32(DT_REG_ADDR(DT_NODELABEL(rcc)) + pclken->bus); in stm32_clock_control_on()
176 if (IN_RANGE(pclken->bus, STM32_PERIPH_BUS_MIN, STM32_PERIPH_BUS_MAX) == 0) { in stm32_clock_control_off()
178 return -ENOTSUP; in stm32_clock_control_off()
181 sys_clear_bits(DT_REG_ADDR(DT_NODELABEL(rcc)) + pclken->bus, in stm32_clock_control_off()
182 pclken->enr); in stm32_clock_control_off()
197 err = enabled_clock(pclken->bus); in stm32_clock_control_configure()
203 sys_set_bits(DT_REG_ADDR(DT_NODELABEL(rcc)) + STM32_CLOCK_REG_GET(pclken->enr), in stm32_clock_control_configure()
204 STM32_CLOCK_VAL_GET(pclken->enr) << STM32_CLOCK_SHIFT_GET(pclken->enr)); in stm32_clock_control_configure()
228 switch (pclken->bus) { in stm32_clock_control_get_subsys_rate()
342 return -ENOTSUP; in stm32_clock_control_get_subsys_rate()
345 if (pclken->div) { in stm32_clock_control_get_subsys_rate()
346 *rate /= (pclken->div + 1); in stm32_clock_control_get_subsys_rate()
375 return -ERANGE; in get_vco_input_range()
461 return -ENOTSUP; in set_up_plls()
514 return -ENOTSUP; in set_up_plls()
568 return -ENOTSUP; in set_up_plls()
620 /* Check if need to enable HSE bypass feature or not */ in set_up_fixed_clock_sources()
661 /* Configure driving capability before enabling the LSE oscillator */ in set_up_fixed_clock_sources()
665 /* Configure LSE bypass */ in set_up_fixed_clock_sources()
669 /* Enable LSE Oscillator */ in set_up_fixed_clock_sources()
671 /* Wait for LSE ready */ in set_up_fixed_clock_sources()
763 return -ENOTSUP; in stm32_clock_control_init()