Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/iio/filter/
A Dadmv8818.c94 static const unsigned long long freq_range_hpf[4][2] = { variable
126 if (freq < freq_range_hpf[0][0]) in __admv8818_hpf_select()
129 if (freq > freq_range_hpf[3][1]) { in __admv8818_hpf_select()
137 freq_step = div_u64((freq_range_hpf[i][1] - in __admv8818_hpf_select()
138 freq_range_hpf[i][0]), 15); in __admv8818_hpf_select()
140 if (freq > freq_range_hpf[i][0] && in __admv8818_hpf_select()
141 (freq < freq_range_hpf[i][1] + freq_step)) { in __admv8818_hpf_select()
145 if (freq < (freq_range_hpf[i][0] + (freq_step * j))) { in __admv8818_hpf_select()
279 *hpf_freq = div_u64(freq_range_hpf[hpf_band - 1][1] - freq_range_hpf[hpf_band - 1][0], 15); in __admv8818_read_hpf_freq()
280 *hpf_freq = freq_range_hpf[hpf_band - 1][0] + (*hpf_freq * hpf_state); in __admv8818_read_hpf_freq()

Completed in 4 milliseconds