Lines Matching refs:pwdb_all
38 u8 evm, pwdb_all, rf_rx_num = 0; in _rtl92ce_query_rxphystatus() local
103 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl92ce_query_rxphystatus()
108 pwdb_all += 6; in _rtl92ce_query_rxphystatus()
109 if (pwdb_all > 100) in _rtl92ce_query_rxphystatus()
110 pwdb_all = 100; in _rtl92ce_query_rxphystatus()
114 if (pwdb_all > 34 && pwdb_all <= 42) in _rtl92ce_query_rxphystatus()
115 pwdb_all -= 2; in _rtl92ce_query_rxphystatus()
116 else if (pwdb_all > 26 && pwdb_all <= 34) in _rtl92ce_query_rxphystatus()
117 pwdb_all -= 6; in _rtl92ce_query_rxphystatus()
118 else if (pwdb_all > 14 && pwdb_all <= 26) in _rtl92ce_query_rxphystatus()
119 pwdb_all -= 8; in _rtl92ce_query_rxphystatus()
120 else if (pwdb_all > 4 && pwdb_all <= 14) in _rtl92ce_query_rxphystatus()
121 pwdb_all -= 4; in _rtl92ce_query_rxphystatus()
123 pstats->rx_pwdb_all = pwdb_all; in _rtl92ce_query_rxphystatus()
172 rx_pwr_all = ((p_drvinfo->pwdb_all >> 1) & 0x7f) - 110; in _rtl92ce_query_rxphystatus()
173 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl92ce_query_rxphystatus()
174 pstats->rx_pwdb_all = pwdb_all; in _rtl92ce_query_rxphystatus()
205 (u8)(rtl_signal_scale_mapping(hw, pwdb_all)); in _rtl92ce_query_rxphystatus()