Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/iio/adc/
Dingenic-adc.c165 unsigned int div_main, div_10us; in jz4725b_adc_init_clk_div() local
179 div_main = DIV_ROUND_UP(parent_rate, 8000000); in jz4725b_adc_init_clk_div()
180 div_main = clamp(div_main, 1u, 64u); in jz4725b_adc_init_clk_div()
181 rate = parent_rate / div_main; in jz4725b_adc_init_clk_div()
191 (div_main - 1) << JZ_ADC_REG_ADCLK_CLKDIV_LSB, in jz4725b_adc_init_clk_div()