Lines Matching refs:rtlefuse

287 	struct rtl_efuse *rtlefuse = rtl_efuse(rtl_priv(hw));  in _rtl88e_check_condition()  local
288 u32 _board = rtlefuse->board_type; /*need efuse define*/ in _rtl88e_check_condition()
371 struct rtl_efuse *rtlefuse = rtl_efuse(rtl_priv(hw)); in _rtl88e_phy_bb8188e_config_parafile() local
380 if (!rtlefuse->autoload_failflag) { in _rtl88e_phy_bb8188e_config_parafile()
960 static void handle_path_a(struct rtl_efuse *rtlefuse, u8 index, in handle_path_a() argument
965 rtlefuse->txpwrlevel_cck[RF90_PATH_A][index]; in handle_path_a()
967 if (rtlefuse->txpwr_ht20diff[RF90_PATH_A][index] > 0x0f) in handle_path_a()
969 rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_A][index] - in handle_path_a()
970 (~(rtlefuse->txpwr_ht20diff[RF90_PATH_A][index]) + 1); in handle_path_a()
973 rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_A][index] + in handle_path_a()
974 rtlefuse->txpwr_ht20diff[RF90_PATH_A][index]; in handle_path_a()
975 if (rtlefuse->txpwr_legacyhtdiff[RF90_PATH_A][index] > 0xf) in handle_path_a()
977 rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_A][index] - in handle_path_a()
978 (~(rtlefuse->txpwr_legacyhtdiff[RF90_PATH_A][index])+1); in handle_path_a()
981 rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_A][index] + in handle_path_a()
982 rtlefuse->txpwr_legacyhtdiff[RF90_PATH_A][index]; in handle_path_a()
984 rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_A][index]; in handle_path_a()
991 struct rtl_efuse *rtlefuse = rtl_efuse(rtl_priv(hw)); in _rtl88e_get_txpower_index() local
997 handle_path_a(rtlefuse, index, cckpowerlevel, in _rtl88e_get_txpower_index()
1002 rtlefuse->txpwrlevel_cck[RF90_PATH_B][index]; in _rtl88e_get_txpower_index()
1004 rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_B][index] + in _rtl88e_get_txpower_index()
1005 rtlefuse->txpwr_ht20diff[RF90_PATH_B][index]; in _rtl88e_get_txpower_index()
1007 rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_B][index] + in _rtl88e_get_txpower_index()
1008 rtlefuse->txpwr_legacyhtdiff[RF90_PATH_B][index]; in _rtl88e_get_txpower_index()
1010 rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_B][index]; in _rtl88e_get_txpower_index()
1033 struct rtl_efuse *rtlefuse = rtl_efuse(rtl_priv(hw)); in rtl88e_phy_set_txpower_level() local
1039 if (!rtlefuse->txpwr_fromeprom) in rtl88e_phy_set_txpower_level()
1915 struct rtl_efuse *rtlefuse = rtl_efuse(rtl_priv(hw)); in _rtl88e_phy_set_rfpath_switch() local
1944 if (rtlefuse->antenna_div_type == CGCS_RX_HW_ANTDIV) in _rtl88e_phy_set_rfpath_switch()
1951 if (rtlefuse->antenna_div_type == CGCS_RX_HW_ANTDIV) in _rtl88e_phy_set_rfpath_switch()