Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/iio/adc/
Dad7768-1.c121 static const struct ad7768_clk_configuration ad7768_clk_config[] = { variable
304 for (i = 0; i < ARRAY_SIZE(ad7768_clk_config); i++) { in ad7768_set_freq()
305 diff_new = abs(res - ad7768_clk_config[i].clk_div); in ad7768_set_freq()
316 pwr_mode = AD7768_PWR_MCLK_DIV(ad7768_clk_config[idx].mclk_div) | in ad7768_set_freq()
317 AD7768_PWR_PWRMODE(ad7768_clk_config[idx].pwrmode); in ad7768_set_freq()
322 ret = ad7768_set_dig_fil(st, ad7768_clk_config[idx].dec_rate); in ad7768_set_freq()
327 ad7768_clk_config[idx].clk_div); in ad7768_set_freq()
341 for (i = 0; i < ARRAY_SIZE(ad7768_clk_config); i++) { in ad7768_sampling_freq_avail()
343 ad7768_clk_config[i].clk_div); in ad7768_sampling_freq_avail()