Searched refs:dec_rate (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/drivers/iio/adc/ |
D | ad7768-1.c | 116 enum ad7768_dec_rate dec_rate; member 276 enum ad7768_dec_rate dec_rate) in ad7768_set_dig_fil() argument 281 if (dec_rate == AD7768_DEC_RATE_8 || dec_rate == AD7768_DEC_RATE_16) in ad7768_set_dig_fil() 282 mode = AD7768_DIG_FIL_FIL(dec_rate); in ad7768_set_dig_fil() 284 mode = AD7768_DIG_FIL_DEC_RATE(dec_rate); in ad7768_set_dig_fil() 327 ret = ad7768_set_dig_fil(st, ad7768_clk_config[idx].dec_rate); in ad7768_set_freq()
|
/linux-5.19.10/drivers/media/dvb-frontends/ |
D | stb0899_algo.c | 792 u32 dec_ratio, dec_rate, decim, remain, intval, btr_nom_freq; in stb0899_dvbs2_calc_srate() local 797 dec_rate = Log2Int(dec_ratio); in stb0899_dvbs2_calc_srate() 798 decim = 1 << dec_rate; in stb0899_dvbs2_calc_srate() 841 u32 dec_ratio, dec_rate, win_sel, decim, f_sym, btr_nom_freq; in stb0899_dvbs2_set_srate() local 848 dec_rate = Log2Int(dec_ratio); in stb0899_dvbs2_set_srate() 851 if (dec_rate >= 5) in stb0899_dvbs2_set_srate() 852 win_sel = dec_rate - 4; in stb0899_dvbs2_set_srate() 854 decim = (1 << dec_rate); in stb0899_dvbs2_set_srate() 863 decim_cntrl = ((win_sel << 3) & 0x18) + ((band_lim << 5) & 0x20) + (dec_rate & 0x7); in stb0899_dvbs2_set_srate() 897 s32 dec_ratio, dec_rate, k_btr1_rshft, k_btr1, k_btr0_rshft; in stb0899_dvbs2_set_btr_loopbw() local [all …]
|