Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/iio/filter/
Dadmv8818.c124 unsigned int hpf_step = 0, hpf_band = 0, i, j; in __admv8818_hpf_select() local
133 hpf_band = 4; in __admv8818_hpf_select()
144 hpf_band = i + 1; in __admv8818_hpf_select()
158 hpf_band = 3; in __admv8818_hpf_select()
167 FIELD_PREP(ADMV8818_SW_IN_WR0_MSK, hpf_band)); in __admv8818_hpf_select()
262 unsigned int data, hpf_band, hpf_state; in __admv8818_read_hpf_freq() local
269 hpf_band = FIELD_GET(ADMV8818_SW_IN_WR0_MSK, data); in __admv8818_read_hpf_freq()
270 if (!hpf_band || hpf_band > 4) { in __admv8818_read_hpf_freq()
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()