Home
last modified time | relevance | path

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

/drivers/media/tuners/
Dqm1d1b0004.c64 .lpf_freq = QM1D1B0004_CFG_LPF_DFLT,
107 u32 frequency, pll, lpf_freq; in qm1d1b0004_set_params() local
141 lpf_freq = state->cfg.lpf_freq; in qm1d1b0004_set_params()
142 if (lpf_freq == QM1D1B0004_CFG_LPF_DFLT) in qm1d1b0004_set_params()
143 lpf_freq = fe->dtv_property_cache.symbol_rate / 1000; in qm1d1b0004_set_params()
144 if (lpf_freq == 0) in qm1d1b0004_set_params()
145 lpf_freq = QM1D1B0004_LPF_FALLBACK; in qm1d1b0004_set_params()
146 lpf = DIV_ROUND_UP(lpf_freq, 2000) - 2; in qm1d1b0004_set_params()
Dqm1d1b0004.h16 u32 lpf_freq; /* LPF frequency[kHz]. Default: symbol rate */ member
/drivers/iio/filter/
Dadmv8818.c296 static int __admv8818_read_lpf_freq(struct admv8818_state *st, u64 *lpf_freq) in __admv8818_read_lpf_freq() argument
307 *lpf_freq = 0; in __admv8818_read_lpf_freq()
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()
323 static int admv8818_read_lpf_freq(struct admv8818_state *st, u64 *lpf_freq) in admv8818_read_lpf_freq() argument
328 ret = __admv8818_read_lpf_freq(st, lpf_freq); in admv8818_read_lpf_freq()