Lines Matching refs:snr
1281 u32 reg_value, int *snr) in dvbt2_calc_snr() argument
1283 if (!tnr_dmd || !snr) in dvbt2_calc_snr()
1292 *snr = intlog10(reg_value) - intlog10(12600 - reg_value); in dvbt2_calc_snr()
1293 *snr = (*snr + 839) / 1678 + 32000; in dvbt2_calc_snr()
1299 int *snr) in cxd2880_tnrdmd_dvbt2_mon_snr() argument
1304 if (!tnr_dmd || !snr) in cxd2880_tnrdmd_dvbt2_mon_snr()
1307 *snr = -1000 * 1000; in cxd2880_tnrdmd_dvbt2_mon_snr()
1323 ret = dvbt2_calc_snr(tnr_dmd, reg_value, snr); in cxd2880_tnrdmd_dvbt2_mon_snr()
1329 cxd2880_tnrdmd_dvbt2_mon_snr_diver(tnr_dmd, snr, &snr_main, in cxd2880_tnrdmd_dvbt2_mon_snr()
1337 *tnr_dmd, int *snr, in cxd2880_tnrdmd_dvbt2_mon_snr_diver() argument
1344 if (!tnr_dmd || !snr || !snr_main || !snr_sub) in cxd2880_tnrdmd_dvbt2_mon_snr_diver()
1347 *snr = -1000 * 1000; in cxd2880_tnrdmd_dvbt2_mon_snr_diver()
1386 return dvbt2_calc_snr(tnr_dmd, reg_value_sum, snr); in cxd2880_tnrdmd_dvbt2_mon_snr_diver()