Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/iio/filter/
Dadmv8818.c101 static const unsigned long long freq_range_lpf[4][2] = { variable
191 if (freq > freq_range_lpf[3][1]) in __admv8818_lpf_select()
194 if (freq < freq_range_lpf[0][0]) { in __admv8818_lpf_select()
201 if (freq > freq_range_lpf[i][0] && freq < freq_range_lpf[i][1]) { in __admv8818_lpf_select()
203 freq_step = div_u64((freq_range_lpf[i][1] - freq_range_lpf[i][0]), 15); in __admv8818_lpf_select()
206 if (freq < (freq_range_lpf[i][0] + (freq_step * j))) { in __admv8818_lpf_select()
317 *lpf_freq = div_u64(freq_range_lpf[lpf_band - 1][1] - freq_range_lpf[lpf_band - 1][0], 15); in __admv8818_read_lpf_freq()
318 *lpf_freq = freq_range_lpf[lpf_band - 1][0] + (*lpf_freq * lpf_state); in __admv8818_read_lpf_freq()