Searched refs:prescaler_table (Results 1 – 2 of 2) sorted by relevance
/u-boot/drivers/pwm/ |
A D | sunxi_pwm.c | 29 static const u32 prescaler_table[] = { variable 83 if (!prescaler_table[prescaler]) in sunxi_pwm_set_config() 85 scaled_freq = lldiv(OSC_24MHZ, prescaler_table[prescaler]); in sunxi_pwm_set_config()
|
/u-boot/drivers/clk/ |
A D | clk_stm32h7.c | 574 u16 prescaler_table[8] = {2, 4, 8, 16, 64, 128, 256, 512}; in stm32_get_apb_psc() local 580 return prescaler_table[ in stm32_get_apb_psc() 586 return prescaler_table[ in stm32_get_apb_psc() 641 u16 prescaler_table[8] = {2, 4, 8, 16, 64, 128, 256, 512}; in stm32_clk_get_rate() local 679 sysclk = sysclk / prescaler_table[idx]; in stm32_clk_get_rate() 685 sysclk = sysclk / prescaler_table[idx]; in stm32_clk_get_rate() 706 sysclk = sysclk / prescaler_table[idx]; in stm32_clk_get_rate() 721 sysclk = sysclk / prescaler_table[idx]; in stm32_clk_get_rate()
|
Completed in 6 milliseconds