Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/media/dvb-frontends/
Dstb0899_algo.c792 u32 dec_ratio, dec_rate, decim, remain, intval, btr_nom_freq; in stb0899_dvbs2_calc_srate() local
798 decim = 1 << dec_rate; in stb0899_dvbs2_calc_srate()
802 if (decim <= 4) { in stb0899_dvbs2_calc_srate()
803 intval = (decim * (1 << (config->btr_nco_bits - 1))) / master_clk; in stb0899_dvbs2_calc_srate()
804 remain = (decim * (1 << (config->btr_nco_bits - 1))) % master_clk; in stb0899_dvbs2_calc_srate()
806 intval = (1 << (config->btr_nco_bits - 1)) / (master_clk / 100) * decim / 100; in stb0899_dvbs2_calc_srate()
807 remain = (decim * (1 << (config->btr_nco_bits - 1))) % master_clk; 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
854 decim = (1 << dec_rate); in stb0899_dvbs2_set_srate()
856 f_sym = internal->master_clk / ((decim * internal->srate) / 1000); in stb0899_dvbs2_set_srate()
[all …]
/linux-5.19.10/drivers/iio/adc/
Dqcom-spmi-iadc.c199 u8 decim, mode; in iadc_configure() local
214 decim = IADC_DEF_DECIMATION << IADC_DIG_DEC_RATIO_SEL_SHIFT; in iadc_configure()
215 ret = iadc_write(iadc, IADC_DIG_PARAM, decim); in iadc_configure()