Home
last modified time | relevance | path

Searched refs:get_bus_clock (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/drivers/clock_control/
Dclock_stm32_ll_h7.c187 static uint32_t get_bus_clock(uint32_t clock, uint32_t prescaler) in get_bus_clock() function
245 return get_bus_clock(sysclk, STM32_HPRE); in get_hclk_frequency()
477 uint32_t ahb_clock = get_bus_clock(SystemCoreClock, STM32_HPRE);
480 uint32_t apb1_clock = get_bus_clock(ahb_clock, STM32_PPRE1);
481 uint32_t apb2_clock = get_bus_clock(ahb_clock, STM32_PPRE2);
482 uint32_t apb4_clock = get_bus_clock(ahb_clock, STM32_PPRE4);
483 uint32_t apb5_clock = get_bus_clock(ahb_clock, STM32_PPRE5);
485 uint32_t apb1_clock = get_bus_clock(ahb_clock, STM32_D2PPRE1);
486 uint32_t apb2_clock = get_bus_clock(ahb_clock, STM32_D2PPRE2);
487 uint32_t apb3_clock = get_bus_clock(ahb_clock, STM32_D1PPRE);
[all …]
Dclock_stm32_ll_wba.c38 static uint32_t get_bus_clock(uint32_t clock, uint32_t prescaler) in get_bus_clock() function
177 uint32_t apb1_clock = get_bus_clock(ahb_clock, STM32_APB1_PRESCALER); in stm32_clock_control_get_subsys_rate()
178 uint32_t apb2_clock = get_bus_clock(ahb_clock, STM32_APB2_PRESCALER); in stm32_clock_control_get_subsys_rate()
179 uint32_t apb7_clock = get_bus_clock(ahb_clock, STM32_APB7_PRESCALER); in stm32_clock_control_get_subsys_rate()
186 ahb5_clock = get_bus_clock(ahb_clock * STM32_AHB_PRESCALER, in stm32_clock_control_get_subsys_rate()
Dclock_stm32_ll_n6.c47 static uint32_t get_bus_clock(uint32_t clock, uint32_t prescaler) in get_bus_clock() function
273 uint32_t ahb_clock = get_bus_clock(sys_clock, STM32_AHB_PRESCALER); in stm32_clock_control_get_subsys_rate()
290 *rate = get_bus_clock(ahb_clock, STM32_APB1_PRESCALER); in stm32_clock_control_get_subsys_rate()
293 *rate = get_bus_clock(ahb_clock, STM32_APB2_PRESCALER); in stm32_clock_control_get_subsys_rate()
297 *rate = get_bus_clock(ahb_clock, STM32_APB4_PRESCALER); in stm32_clock_control_get_subsys_rate()
300 *rate = get_bus_clock(ahb_clock, STM32_APB5_PRESCALER); in stm32_clock_control_get_subsys_rate()
Dclock_stm32_ll_h5.c42 static uint32_t get_bus_clock(uint32_t clock, uint32_t prescaler) in get_bus_clock() function
223 uint32_t apb1_clock = get_bus_clock(ahb_clock, STM32_APB1_PRESCALER); in stm32_clock_control_get_subsys_rate()
224 uint32_t apb2_clock = get_bus_clock(ahb_clock, STM32_APB2_PRESCALER); in stm32_clock_control_get_subsys_rate()
225 uint32_t apb3_clock = get_bus_clock(ahb_clock, STM32_APB3_PRESCALER); in stm32_clock_control_get_subsys_rate()
Dclock_stm32_ll_common.c100 static uint32_t get_bus_clock(uint32_t clock, uint32_t prescaler) in get_bus_clock() function
336 uint32_t apb1_clock = get_bus_clock(ahb_clock, STM32_APB1_PRESCALER); in stm32_clock_control_get_subsys_rate()
338 uint32_t apb2_clock = get_bus_clock(ahb_clock, STM32_APB2_PRESCALER); in stm32_clock_control_get_subsys_rate()
344 uint32_t ahb3_clock = get_bus_clock(ahb_clock * STM32_CPU1_PRESCALER, in stm32_clock_control_get_subsys_rate()
Dclock_stm32_ll_u5.c39 static uint32_t get_bus_clock(uint32_t clock, uint32_t prescaler) in get_bus_clock() function
232 uint32_t apb1_clock = get_bus_clock(ahb_clock, STM32_APB1_PRESCALER); in stm32_clock_control_get_subsys_rate()
233 uint32_t apb2_clock = get_bus_clock(ahb_clock, STM32_APB2_PRESCALER); in stm32_clock_control_get_subsys_rate()
234 uint32_t apb3_clock = get_bus_clock(ahb_clock, STM32_APB3_PRESCALER); in stm32_clock_control_get_subsys_rate()