Searched refs:stm32f4_pclk_div (Results 1 – 1 of 1) sorted by relevance
129 static int stm32f4_pclk_div[] = {2, 4, 6, 8}; variable156 for (i = 0; i < ARRAY_SIZE(stm32f4_pclk_div); i++) { in stm32f4_adc_clk_sel()157 if ((rate / stm32f4_pclk_div[i]) <= priv->max_clk_rate) in stm32f4_adc_clk_sel()160 if (i >= ARRAY_SIZE(stm32f4_pclk_div)) { in stm32f4_adc_clk_sel()165 priv->common.rate = rate / stm32f4_pclk_div[i]; in stm32f4_adc_clk_sel()