Searched refs:get_bus_clock (Results 1 – 3 of 3) sorted by relevance
/Zephyr-Core-2.7.6/drivers/clock_control/ |
D | clock_stm32_ll_h7.c | 161 static uint32_t get_bus_clock(uint32_t clock, uint32_t prescaler) in get_bus_clock() function 257 return get_bus_clock(sysclk, hpre); in get_hclk_frequency() 471 uint32_t ahb_clock = get_bus_clock(SystemCoreClock, STM32_HPRE); in stm32_clock_control_get_subsys_rate() 473 uint32_t apb1_clock = get_bus_clock(ahb_clock, STM32_D2PPRE1); in stm32_clock_control_get_subsys_rate() 474 uint32_t apb2_clock = get_bus_clock(ahb_clock, STM32_D2PPRE2); in stm32_clock_control_get_subsys_rate() 475 uint32_t apb3_clock = get_bus_clock(ahb_clock, STM32_D1PPRE); in stm32_clock_control_get_subsys_rate() 476 uint32_t apb4_clock = get_bus_clock(ahb_clock, STM32_D3PPRE); in stm32_clock_control_get_subsys_rate() 547 new_hclk_freq = get_bus_clock(CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC, in stm32_clock_control_init()
|
D | clock_stm32_ll_u5.c | 102 static uint32_t get_bus_clock(uint32_t clock, uint32_t prescaler) in get_bus_clock() function 191 uint32_t apb1_clock = get_bus_clock(ahb_clock, STM32_APB1_PRESCALER); in stm32_clock_control_get_subsys_rate() 192 uint32_t apb2_clock = get_bus_clock(ahb_clock, STM32_APB2_PRESCALER); in stm32_clock_control_get_subsys_rate() 193 uint32_t apb3_clock = get_bus_clock(ahb_clock, STM32_APB3_PRESCALER); in stm32_clock_control_get_subsys_rate()
|
D | clock_stm32_ll_common.c | 104 static uint32_t get_bus_clock(uint32_t clock, uint32_t prescaler) in get_bus_clock() function 265 uint32_t apb1_clock = get_bus_clock(ahb_clock, STM32_APB1_PRESCALER); in stm32_clock_control_get_subsys_rate() 268 uint32_t apb2_clock = get_bus_clock(ahb_clock, STM32_APB2_PRESCALER); in stm32_clock_control_get_subsys_rate() 271 uint32_t ahb3_clock = get_bus_clock(ahb_clock * STM32_CPU1_PRESCALER, in stm32_clock_control_get_subsys_rate()
|