Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/filter/
H A Dadmv8818.c102 static const unsigned long long freq_range_lpf[4][2] = { variable
193 if (freq > freq_range_lpf[3][1]) in __admv8818_lpf_select()
196 if (freq < freq_range_lpf[0][0]) { in __admv8818_lpf_select()
203 if (freq > freq_range_lpf[i][0] && freq < freq_range_lpf[i][1]) { in __admv8818_lpf_select()
205 freq_step = div_u64((freq_range_lpf[i][1] - freq_range_lpf[i][0]), 15); in __admv8818_lpf_select()
208 if (freq < (freq_range_lpf[i][0] + (freq_step * j))) { in __admv8818_lpf_select()
319 *lpf_freq = div_u64(freq_range_lpf[lpf_band - 1][1] - freq_range_lpf[lpf_band - 1][0], 15); in __admv8818_read_lpf_freq()
320 *lpf_freq = freq_range_lpf[lpf_band - 1][0] + (*lpf_freq * lpf_state); in __admv8818_read_lpf_freq()