Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/filter/
H A Dadmv8818.c95 static const unsigned long long freq_range_hpf[4][2] = { variable
128 if (freq < freq_range_hpf[0][0]) in __admv8818_hpf_select()
131 if (freq > freq_range_hpf[3][1]) { in __admv8818_hpf_select()
139 freq_step = div_u64((freq_range_hpf[i][1] - in __admv8818_hpf_select()
140 freq_range_hpf[i][0]), 15); in __admv8818_hpf_select()
142 if (freq > freq_range_hpf[i][0] && in __admv8818_hpf_select()
143 (freq < freq_range_hpf[i][1] + freq_step)) { in __admv8818_hpf_select()
147 if (freq < (freq_range_hpf[i][0] + (freq_step * j))) { in __admv8818_hpf_select()
281 *hpf_freq = div_u64(freq_range_hpf[hpf_band - 1][1] - freq_range_hpf[hpf_band - 1][0], 15); in __admv8818_read_hpf_freq()
282 *hpf_freq = freq_range_hpf[hpf_band - 1][0] + (*hpf_freq * hpf_state); in __admv8818_read_hpf_freq()