Lines Matching refs:snr
434 u32 reg_value, int *snr) in dvbt_calc_snr() argument
436 if (!tnr_dmd || !snr) in dvbt_calc_snr()
445 *snr = intlog10(reg_value) - intlog10(5350 - reg_value); in dvbt_calc_snr()
446 *snr = (*snr + 839) / 1678 + 28500; in dvbt_calc_snr()
452 int *snr) in cxd2880_tnrdmd_dvbt_mon_snr() argument
457 if (!tnr_dmd || !snr) in cxd2880_tnrdmd_dvbt_mon_snr()
460 *snr = -1000 * 1000; in cxd2880_tnrdmd_dvbt_mon_snr()
476 ret = dvbt_calc_snr(tnr_dmd, reg_value, snr); in cxd2880_tnrdmd_dvbt_mon_snr()
482 cxd2880_tnrdmd_dvbt_mon_snr_diver(tnr_dmd, snr, &snr_main, in cxd2880_tnrdmd_dvbt_mon_snr()
490 *tnr_dmd, int *snr, in cxd2880_tnrdmd_dvbt_mon_snr_diver() argument
497 if (!tnr_dmd || !snr || !snr_main || !snr_sub) in cxd2880_tnrdmd_dvbt_mon_snr_diver()
500 *snr = -1000 * 1000; in cxd2880_tnrdmd_dvbt_mon_snr_diver()
539 return dvbt_calc_snr(tnr_dmd, reg_value_sum, snr); in cxd2880_tnrdmd_dvbt_mon_snr_diver()