Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/media/dvb-frontends/
Dstb0899_algo.c804 u32 dec_ratio, dec_rate, decim, remain, intval, btr_nom_freq; in stb0899_dvbs2_calc_srate() local
810 decim = 1 << dec_rate; in stb0899_dvbs2_calc_srate()
814 if (decim <= 4) { in stb0899_dvbs2_calc_srate()
815 intval = (decim * (1 << (config->btr_nco_bits - 1))) / master_clk; in stb0899_dvbs2_calc_srate()
816 remain = (decim * (1 << (config->btr_nco_bits - 1))) % master_clk; in stb0899_dvbs2_calc_srate()
818 intval = (1 << (config->btr_nco_bits - 1)) / (master_clk / 100) * decim / 100; in stb0899_dvbs2_calc_srate()
819 remain = (decim * (1 << (config->btr_nco_bits - 1))) % master_clk; in stb0899_dvbs2_calc_srate()
853 u32 dec_ratio, dec_rate, win_sel, decim, f_sym, btr_nom_freq; in stb0899_dvbs2_set_srate() local
866 decim = (1 << dec_rate); in stb0899_dvbs2_set_srate()
868 f_sym = internal->master_clk / ((decim * internal->srate) / 1000); in stb0899_dvbs2_set_srate()
[all …]
/linux-4.19.296/drivers/iio/adc/
Dqcom-spmi-iadc.c207 u8 decim, mode; in iadc_configure() local
222 decim = IADC_DEF_DECIMATION << IADC_DIG_DEC_RATIO_SEL_SHIFT; in iadc_configure()
223 ret = iadc_write(iadc, IADC_DIG_PARAM, decim); in iadc_configure()