Lines Matching refs:rtlefuse

257 	struct rtl_efuse *rtlefuse = rtl_efuse(rtl_priv(hw));  in _rtl88e_check_condition()  local
258 u32 _board = rtlefuse->board_type; /*need efuse define*/ in _rtl88e_check_condition()
341 struct rtl_efuse *rtlefuse = rtl_efuse(rtl_priv(hw)); in _rtl88e_phy_bb8188e_config_parafile() local
350 if (!rtlefuse->autoload_failflag) { in _rtl88e_phy_bb8188e_config_parafile()
925 static void handle_path_a(struct rtl_efuse *rtlefuse, u8 index, in handle_path_a() argument
930 rtlefuse->txpwrlevel_cck[RF90_PATH_A][index]; in handle_path_a()
932 if (rtlefuse->txpwr_ht20diff[RF90_PATH_A][index] > 0x0f) in handle_path_a()
934 rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_A][index] - in handle_path_a()
935 (~(rtlefuse->txpwr_ht20diff[RF90_PATH_A][index]) + 1); in handle_path_a()
938 rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_A][index] + in handle_path_a()
939 rtlefuse->txpwr_ht20diff[RF90_PATH_A][index]; in handle_path_a()
940 if (rtlefuse->txpwr_legacyhtdiff[RF90_PATH_A][index] > 0xf) in handle_path_a()
942 rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_A][index] - in handle_path_a()
943 (~(rtlefuse->txpwr_legacyhtdiff[RF90_PATH_A][index])+1); in handle_path_a()
946 rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_A][index] + in handle_path_a()
947 rtlefuse->txpwr_legacyhtdiff[RF90_PATH_A][index]; in handle_path_a()
949 rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_A][index]; in handle_path_a()
956 struct rtl_efuse *rtlefuse = rtl_efuse(rtl_priv(hw)); in _rtl88e_get_txpower_index() local
962 handle_path_a(rtlefuse, index, cckpowerlevel, in _rtl88e_get_txpower_index()
967 rtlefuse->txpwrlevel_cck[RF90_PATH_B][index]; in _rtl88e_get_txpower_index()
969 rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_B][index] + in _rtl88e_get_txpower_index()
970 rtlefuse->txpwr_ht20diff[RF90_PATH_B][index]; in _rtl88e_get_txpower_index()
972 rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_B][index] + in _rtl88e_get_txpower_index()
973 rtlefuse->txpwr_legacyhtdiff[RF90_PATH_B][index]; in _rtl88e_get_txpower_index()
975 rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_B][index]; in _rtl88e_get_txpower_index()
998 struct rtl_efuse *rtlefuse = rtl_efuse(rtl_priv(hw)); in rtl88e_phy_set_txpower_level() local
1004 if (!rtlefuse->txpwr_fromeprom) in rtl88e_phy_set_txpower_level()
1879 struct rtl_efuse *rtlefuse = rtl_efuse(rtl_priv(hw)); in _rtl88e_phy_set_rfpath_switch() local
1908 if (rtlefuse->antenna_div_type == CGCS_RX_HW_ANTDIV) in _rtl88e_phy_set_rfpath_switch()
1915 if (rtlefuse->antenna_div_type == CGCS_RX_HW_ANTDIV) in _rtl88e_phy_set_rfpath_switch()