Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iio/adc/
Dad7768-1.c121 static const struct ad7768_clk_configuration ad7768_clk_config[] = { variable
309 for (i = 0; i < ARRAY_SIZE(ad7768_clk_config); i++) { in ad7768_set_freq()
310 diff_new = abs(res - ad7768_clk_config[i].clk_div); in ad7768_set_freq()
321 pwr_mode = AD7768_PWR_MCLK_DIV(ad7768_clk_config[idx].mclk_div) | in ad7768_set_freq()
322 AD7768_PWR_PWRMODE(ad7768_clk_config[idx].pwrmode); in ad7768_set_freq()
327 ret = ad7768_set_dig_fil(st, ad7768_clk_config[idx].dec_rate); in ad7768_set_freq()
332 ad7768_clk_config[idx].clk_div); in ad7768_set_freq()
346 for (i = 0; i < ARRAY_SIZE(ad7768_clk_config); i++) { in ad7768_sampling_freq_avail()
348 ad7768_clk_config[i].clk_div); in ad7768_sampling_freq_avail()