Home
last modified time | relevance | path

Searched refs:rf_lvl (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/media/dvb-frontends/cxd2880/
H A Dcxd2880_tnrdmd_dvbt_mon.c669 int rf_lvl, u8 *ssi) in dvbt_calc_ssi() argument
687 prel = rf_lvl - ref_dbm_1000[tps.constellation][tps.rate_hp]; in dvbt_calc_ssi()
708 int rf_lvl = 0; in cxd2880_tnrdmd_dvbt_mon_ssi() local
723 ret = cxd2880_tnrdmd_mon_rf_lvl(tnr_dmd, &rf_lvl); in cxd2880_tnrdmd_dvbt_mon_ssi()
727 return dvbt_calc_ssi(tnr_dmd, rf_lvl, ssi); in cxd2880_tnrdmd_dvbt_mon_ssi()
733 int rf_lvl = 0; in cxd2880_tnrdmd_dvbt_mon_ssi_sub() local
748 ret = cxd2880_tnrdmd_mon_rf_lvl(tnr_dmd->diver_sub, &rf_lvl); in cxd2880_tnrdmd_dvbt_mon_ssi_sub()
752 return dvbt_calc_ssi(tnr_dmd, rf_lvl, ssi); in cxd2880_tnrdmd_dvbt_mon_ssi_sub()
H A Dcxd2880_tnrdmd_dvbt2_mon.c1787 int rf_lvl, u8 *ssi) in dvbt2_calc_ssi() argument
1812 prel = rf_lvl - ref_dbm_1000[qam][code_rate]; in dvbt2_calc_ssi()
1833 int rf_lvl = 0; in cxd2880_tnrdmd_dvbt2_mon_ssi() local
1848 ret = cxd2880_tnrdmd_mon_rf_lvl(tnr_dmd, &rf_lvl); in cxd2880_tnrdmd_dvbt2_mon_ssi()
1852 return dvbt2_calc_ssi(tnr_dmd, rf_lvl, ssi); in cxd2880_tnrdmd_dvbt2_mon_ssi()
1858 int rf_lvl = 0; in cxd2880_tnrdmd_dvbt2_mon_ssi_sub() local
1873 ret = cxd2880_tnrdmd_mon_rf_lvl(tnr_dmd->diver_sub, &rf_lvl); in cxd2880_tnrdmd_dvbt2_mon_ssi_sub()
1877 return dvbt2_calc_ssi(tnr_dmd, rf_lvl, ssi); in cxd2880_tnrdmd_dvbt2_mon_ssi_sub()
/openbmc/linux/drivers/media/dvb-frontends/
H A Dstv0900_core.c598 rf_lvl = 0; in stv0900_get_rf_level() local
623 rf_lvl = (s32)agc_gain - lookup->table[imin].regval; in stv0900_get_rf_level()
624 rf_lvl *= (lookup->table[imax].realval - in stv0900_get_rf_level()
626 rf_lvl /= (lookup->table[imax].regval - in stv0900_get_rf_level()
628 rf_lvl += lookup->table[imin].realval; in stv0900_get_rf_level()
630 rf_lvl = 5; in stv0900_get_rf_level()
632 rf_lvl = -100; in stv0900_get_rf_level()
634 dprintk("%s: RFLevel = %d\n", __func__, rf_lvl); in stv0900_get_rf_level()
636 return rf_lvl; in stv0900_get_rf_level()