Lines Matching refs:dec_ratio
804 u32 dec_ratio, dec_rate, decim, remain, intval, btr_nom_freq; in stb0899_dvbs2_calc_srate() local
807 dec_ratio = (internal->master_clk * 2) / (5 * internal->srate); in stb0899_dvbs2_calc_srate()
808 dec_ratio = (dec_ratio == 0) ? 1 : dec_ratio; in stb0899_dvbs2_calc_srate()
809 dec_rate = Log2Int(dec_ratio); in stb0899_dvbs2_calc_srate()
833 u32 dec_ratio, correction, master_clk, srate; in stb0899_dvbs2_calc_dev() local
835 dec_ratio = (internal->master_clk * 2) / (5 * internal->srate); in stb0899_dvbs2_calc_dev()
836 dec_ratio = (dec_ratio == 0) ? 1 : dec_ratio; in stb0899_dvbs2_calc_dev()
840 correction = (512 * master_clk) / (2 * dec_ratio * srate); in stb0899_dvbs2_calc_dev()
853 u32 dec_ratio, dec_rate, win_sel, decim, f_sym, btr_nom_freq; in stb0899_dvbs2_set_srate() local
858 dec_ratio = (internal->master_clk * 2) / (5 * internal->srate); in stb0899_dvbs2_set_srate()
859 dec_ratio = (dec_ratio == 0) ? 1 : dec_ratio; in stb0899_dvbs2_set_srate()
860 dec_rate = Log2Int(dec_ratio); in stb0899_dvbs2_set_srate()
909 s32 dec_ratio, dec_rate, k_btr1_rshft, k_btr1, k_btr0_rshft; in stb0899_dvbs2_set_btr_loopbw() local
914 dec_ratio = (internal->master_clk * 2) / (5 * internal->srate); in stb0899_dvbs2_set_btr_loopbw()
915 dec_ratio = (dec_ratio == 0) ? 1 : dec_ratio; in stb0899_dvbs2_set_btr_loopbw()
916 dec_rate = Log2Int(dec_ratio); in stb0899_dvbs2_set_btr_loopbw()