Searched refs:prel (Results 1 – 3 of 3) sorted by relevance
672 int prel; in dvbt_calc_ssi() local687 prel = rf_lvl - ref_dbm_1000[tps.constellation][tps.rate_hp]; in dvbt_calc_ssi()689 if (prel < -15000) in dvbt_calc_ssi()691 else if (prel < 0) in dvbt_calc_ssi()692 temp_ssi = ((2 * (prel + 15000)) + 1500) / 3000; in dvbt_calc_ssi()693 else if (prel < 20000) in dvbt_calc_ssi()694 temp_ssi = (((4 * prel) + 500) / 1000) + 10; in dvbt_calc_ssi()695 else if (prel < 35000) in dvbt_calc_ssi()696 temp_ssi = (((2 * (prel - 20000)) + 1500) / 3000) + 90; in dvbt_calc_ssi()
1791 int prel; in dvbt2_calc_ssi() local1812 prel = rf_lvl - ref_dbm_1000[qam][code_rate]; in dvbt2_calc_ssi()1814 if (prel < -15000) in dvbt2_calc_ssi()1816 else if (prel < 0) in dvbt2_calc_ssi()1817 temp_ssi = ((2 * (prel + 15000)) + 1500) / 3000; in dvbt2_calc_ssi()1818 else if (prel < 20000) in dvbt2_calc_ssi()1819 temp_ssi = (((4 * prel) + 500) / 1000) + 10; in dvbt2_calc_ssi()1820 else if (prel < 35000) in dvbt2_calc_ssi()1821 temp_ssi = (((2 * (prel - 20000)) + 1500) / 3000) + 90; in dvbt2_calc_ssi()
1117 u8 prel; member