Home
last modified time | relevance | path

Searched refs:rtlhal (Results 1 – 25 of 82) sorted by relevance

1234

/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Drf.c16 struct rtl_hal *rtlhal = &(rtlpriv->rtlhal); in rtl92d_phy_enable_anotherphy() local
23 rtlhal->during_mac0init_radiob = false; in rtl92d_phy_enable_anotherphy()
24 rtlhal->during_mac1init_radioa = false; in rtl92d_phy_enable_anotherphy()
47 struct rtl_hal *rtlhal = &(rtlpriv->rtlhal); in rtl92d_phy_powerdown_anotherphy() local
53 rtlhal->during_mac0init_radiob = false; in rtl92d_phy_powerdown_anotherphy()
54 rtlhal->during_mac1init_radioa = false; in rtl92d_phy_powerdown_anotherphy()
73 struct rtl_hal *rtlhal = &(rtlpriv->rtlhal); in rtl92d_phy_rf6052_config() local
91 if (rtlhal->macphymode == DUALMAC_DUALPHY) { in rtl92d_phy_rf6052_config()
92 if (rtlhal->current_bandtype == BAND_ON_2_4G && in rtl92d_phy_rf6052_config()
93 rtlhal->interfaceindex == 0) { in rtl92d_phy_rf6052_config()
[all …]
Dphy.c166 struct rtl_hal *rtlhal = rtl_hal(rtlpriv); in rtl92d_phy_query_bb_reg() local
171 if (rtlhal->during_mac1init_radioa || rtlhal->during_mac0init_radiob) { in rtl92d_phy_query_bb_reg()
176 if (rtlhal->during_mac1init_radioa) in rtl92d_phy_query_bb_reg()
178 else if (rtlhal->during_mac0init_radiob) in rtl92d_phy_query_bb_reg()
197 struct rtl_hal *rtlhal = rtl_hal(rtlpriv); in rtl92d_phy_set_bb_reg() local
204 if (rtlhal->during_mac1init_radioa) in rtl92d_phy_set_bb_reg()
206 else if (rtlhal->during_mac0init_radiob) in rtl92d_phy_set_bb_reg()
210 if (rtlhal->during_mac1init_radioa || in rtl92d_phy_set_bb_reg()
211 rtlhal->during_mac0init_radiob) in rtl92d_phy_set_bb_reg()
220 if (rtlhal->during_mac1init_radioa || rtlhal->during_mac0init_radiob) in rtl92d_phy_set_bb_reg()
[all …]
Dfw.c17 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92d_download_fw() local
22 enum version_8192d version = rtlhal->version; in rtl92d_download_fw()
28 if (rtlpriv->max_fw_size == 0 || !rtlhal->pfirmware) in rtl92d_download_fw()
30 fwsize = rtlhal->fwsize; in rtl92d_download_fw()
31 pfwheader = rtlhal->pfirmware; in rtl92d_download_fw()
32 pfwdata = rtlhal->pfirmware; in rtl92d_download_fw()
33 rtlhal->fw_version = (u16) GET_FIRMWARE_HDR_VERSION(pfwheader); in rtl92d_download_fw()
34 rtlhal->fw_subversion = (u16) GET_FIRMWARE_HDR_SUB_VER(pfwheader); in rtl92d_download_fw()
37 rtlhal->fw_version, rtlhal->fw_subversion, in rtl92d_download_fw()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192du/
Drf.c13 struct rtl_hal *rtlhal = &rtlpriv->rtlhal; in rtl92du_phy_enable_anotherphy() local
21 rtlhal->during_mac0init_radiob = false; in rtl92du_phy_enable_anotherphy()
22 rtlhal->during_mac1init_radioa = false; in rtl92du_phy_enable_anotherphy()
53 struct rtl_hal *rtlhal = &rtlpriv->rtlhal; in rtl92du_phy_powerdown_anotherphy() local
59 rtlhal->during_mac0init_radiob = false; in rtl92du_phy_powerdown_anotherphy()
60 rtlhal->during_mac1init_radioa = false; in rtl92du_phy_powerdown_anotherphy()
82 struct rtl_hal *rtlhal = &rtlpriv->rtlhal; in rtl92du_phy_rf6052_config() local
101 if (rtlhal->macphymode == DUALMAC_DUALPHY) { in rtl92du_phy_rf6052_config()
102 if (rtlhal->current_bandtype == BAND_ON_2_4G && in rtl92du_phy_rf6052_config()
103 rtlhal->interfaceindex == 0) { in rtl92du_phy_rf6052_config()
[all …]
Dfw.c13 struct rtl_hal *rtlhal = rtl_hal(rtlpriv); in rtl92du_download_fw() local
14 enum version_8192d version = rtlhal->version; in rtl92du_download_fw()
20 if (rtlpriv->max_fw_size == 0 || !rtlhal->pfirmware) in rtl92du_download_fw()
23 fwsize = rtlhal->fwsize; in rtl92du_download_fw()
24 pfwheader = rtlhal->pfirmware; in rtl92du_download_fw()
25 pfwdata = rtlhal->pfirmware; in rtl92du_download_fw()
26 rtlhal->fw_version = (u16)GET_FIRMWARE_HDR_VERSION(pfwheader); in rtl92du_download_fw()
27 rtlhal->fw_subversion = (u16)GET_FIRMWARE_HDR_SUB_VER(pfwheader); in rtl92du_download_fw()
31 rtlhal->fw_version, rtlhal->fw_subversion, in rtl92du_download_fw()
Dphy.c159 struct rtl_hal *rtlhal = rtl_hal(rtlpriv); in rtl92du_phy_query_bb_reg() local
165 if (rtlhal->during_mac1init_radioa) in rtl92du_phy_query_bb_reg()
167 else if (rtlhal->during_mac0init_radiob) in rtl92du_phy_query_bb_reg()
183 struct rtl_hal *rtlhal = rtl_hal(rtlpriv); in rtl92du_phy_set_bb_reg() local
190 if (rtlhal->during_mac1init_radioa) in rtl92du_phy_set_bb_reg()
192 else if (rtlhal->during_mac0init_radiob) in rtl92du_phy_set_bb_reg()
245 if (rtlpriv->rtlhal.macphymode == SINGLEMAC_SINGLEPHY) { in rtl92du_phy_mac_config()
262 struct rtl_hal *rtlhal = rtl_hal(rtlpriv); in _rtl92du_phy_config_bb() local
269 if (rtlhal->interfaceindex == 0) { in _rtl92du_phy_config_bb()
275 if (rtlhal->current_bandtype == BAND_ON_2_4G) { in _rtl92du_phy_config_bb()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dhw.c102 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl8821ae_set_fw_clock_on() local
110 if (!rtlhal->fw_ready) in _rtl8821ae_set_fw_clock_on()
117 if (rtlhal->fw_clk_change_in_progress) { in _rtl8821ae_set_fw_clock_on()
118 while (rtlhal->fw_clk_change_in_progress) { in _rtl8821ae_set_fw_clock_on()
128 rtlhal->fw_clk_change_in_progress = false; in _rtl8821ae_set_fw_clock_on()
134 if (IS_IN_LOW_POWER_STATE_8821AE(rtlhal->fw_ps_state)) { in _rtl8821ae_set_fw_clock_on()
148 rtlhal->fw_ps_state = FW_PS_STATE_RF_ON_8821AE; in _rtl8821ae_set_fw_clock_on()
151 rtlhal->fw_ps_state); in _rtl8821ae_set_fw_clock_on()
156 rtlhal->fw_clk_change_in_progress = false; in _rtl8821ae_set_fw_clock_on()
163 rtlhal->fw_clk_change_in_progress = false; in _rtl8821ae_set_fw_clock_on()
[all …]
Dfw.c121 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl8821ae_download_fw() local
127 enum version_8821ae version = rtlhal->version; in rtl8821ae_download_fw()
136 if (!rtlhal->wowlan_firmware) in rtl8821ae_download_fw()
140 (struct rtlwifi_firmware_header *)rtlhal->wowlan_firmware; in rtl8821ae_download_fw()
141 rtlhal->fw_version = le16_to_cpu(pfwheader->version); in rtl8821ae_download_fw()
142 rtlhal->fw_subversion = pfwheader->subversion; in rtl8821ae_download_fw()
143 pfwdata = (u8 *)rtlhal->wowlan_firmware; in rtl8821ae_download_fw()
144 fwsize = rtlhal->wowlan_fwsize; in rtl8821ae_download_fw()
146 if (!rtlhal->pfirmware) in rtl8821ae_download_fw()
150 (struct rtlwifi_firmware_header *)rtlhal->pfirmware; in rtl8821ae_download_fw()
[all …]
Dsw.c70 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl8821ae_init_sw_vars() local
90 rtlpriv->rtlhal.current_bandtype = BAND_ON_2_4G; in rtl8821ae_init_sw_vars()
92 rtlpriv->rtlhal.bandset = BAND_ON_BOTH; in rtl8821ae_init_sw_vars()
93 rtlpriv->rtlhal.macphymode = SINGLEMAC_SINGLEPHY; in rtl8821ae_init_sw_vars()
162 rtlpriv->rtlhal.pfirmware = vzalloc(0x8000); in rtl8821ae_init_sw_vars()
163 if (!rtlpriv->rtlhal.pfirmware) { in rtl8821ae_init_sw_vars()
167 rtlpriv->rtlhal.wowlan_firmware = vzalloc(0x8000); in rtl8821ae_init_sw_vars()
168 if (!rtlpriv->rtlhal.wowlan_firmware) { in rtl8821ae_init_sw_vars()
170 vfree(rtlpriv->rtlhal.pfirmware); in rtl8821ae_init_sw_vars()
171 rtlpriv->rtlhal.pfirmware = NULL; in rtl8821ae_init_sw_vars()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192d/
Dfw_common.c46 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92d_write_fw() local
53 if (rtlhal->hw_type == HARDWARE_TYPE_RTL8192DE) in rtl92d_write_fw()
106 struct rtl_hal *rtlhal = rtl_hal(rtlpriv); in rtl92d_firmware_selfreset() local
110 if (rtlhal->interface == INTF_USB) { in rtl92d_firmware_selfreset()
135 if (rtlhal->interface == INTF_USB) { in rtl92d_firmware_selfreset()
149 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92d_fw_init() local
156 if (rtlhal->interfaceindex == 0) { in rtl92d_fw_init()
179 if (rtlhal->interfaceindex == 0) { in rtl92d_fw_init()
211 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92d_fill_h2c_cmd() local
235 if (rtlhal->h2c_setinprogress) { in rtl92d_fill_h2c_cmd()
[all …]
Dphy_common.h35 if (rtlpriv->rtlhal.interface == INTF_USB) in rtl92d_acquire_cckandrw_pagea_ctl()
38 if (rtlpriv->rtlhal.interfaceindex == 1) in rtl92d_acquire_cckandrw_pagea_ctl()
47 if (rtlpriv->rtlhal.interface == INTF_USB) in rtl92d_release_cckandrw_pagea_ctl()
50 if (rtlpriv->rtlhal.interfaceindex == 1) in rtl92d_release_cckandrw_pagea_ctl()
98 if (rtlpriv->rtlhal.interface == INTF_PCI) in rtl92d_pci_lock()
104 if (rtlpriv->rtlhal.interface == INTF_PCI) in rtl92d_pci_unlock()
Dphy_common.c347 struct rtl_hal *rtlhal = &rtlpriv->rtlhal; in _rtl92d_get_txpower_index() local
352 if (rtlhal->current_bandtype == BAND_ON_2_4G) { in _rtl92d_get_txpower_index()
416 if (rtlpriv->rtlhal.current_bandtype == BAND_ON_2_4G) in rtl92d_phy_set_txpower_level()
419 if (rtlpriv->rtlhal.current_bandtype == BAND_ON_2_4G) in rtl92d_phy_set_txpower_level()
536 pathon = rtlpriv->rtlhal.interfaceindex == 0 ? in rtl92d_phy_path_adda_on()
653 if (rtlpriv->rtlhal.interface == INTF_USB) in rtl92d_phy_set_io()
713 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92d_phy_config_macphymode() local
717 if (rtlhal->interface == INTF_USB) { in rtl92d_phy_config_macphymode()
722 switch (rtlhal->macphymode) { in rtl92d_phy_config_macphymode()
745 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92d_phy_config_macphymode_info() local
[all …]
Ddm_common.c186 static void rtl92d_bandtype_5G(struct rtl_hal *rtlhal, u8 *ofdm_index, in rtl92d_bandtype_5G() argument
198 if (rtlhal->macphymode == DUALMAC_DUALPHY && in rtl92d_bandtype_5G()
199 rtlhal->interfaceindex == 1) /* MAC 1 5G */ in rtl92d_bandtype_5G()
205 if (rtlhal->interfaceindex == 1 || i == rf) in rtl92d_bandtype_5G()
213 if (rtlhal->interfaceindex == 1 || i == rf) in rtl92d_bandtype_5G()
285 struct rtl_hal *rtlhal = rtl_hal(rtlpriv); in rtl92d_dm_txpower_tracking_callback_thermalmeter() local
291 bool is2t = IS_92D_SINGLEPHY(rtlhal->version); in rtl92d_dm_txpower_tracking_callback_thermalmeter()
325 if (dm->thermalvalue && !rtlhal->reloadtxpowerindex) in rtl92d_dm_txpower_tracking_callback_thermalmeter()
360 if (rtlhal->current_bandtype == BAND_ON_2_4G) { in rtl92d_dm_txpower_tracking_callback_thermalmeter()
379 if (rtlhal->reloadtxpowerindex) { in rtl92d_dm_txpower_tracking_callback_thermalmeter()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Dfw_common.c17 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl92c_enable_fw_download() local
19 if (rtlhal->hw_type == HARDWARE_TYPE_RTL8192CU) { in _rtl92c_enable_fw_download()
27 } else if (rtlhal->hw_type == HARDWARE_TYPE_RTL8192CE) { in _rtl92c_enable_fw_download()
53 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl92c_write_fw() local
63 if (rtlhal->hw_type == HARDWARE_TYPE_RTL8192CE) in _rtl92c_write_fw()
132 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92c_download_fw() local
137 enum version_8192c version = rtlhal->version; in rtl92c_download_fw()
139 if (!rtlhal->pfirmware) in rtl92c_download_fw()
142 pfwheader = (struct rtlwifi_firmware_header *)rtlhal->pfirmware; in rtl92c_download_fw()
143 pfwdata = (u8 *)rtlhal->pfirmware; in rtl92c_download_fw()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dfw.c111 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl88e_download_fw() local
116 enum version_8188e version = rtlhal->version; in rtl88e_download_fw()
118 if (!rtlhal->pfirmware) in rtl88e_download_fw()
121 pfwheader = (struct rtlwifi_firmware_header *)rtlhal->pfirmware; in rtl88e_download_fw()
122 rtlhal->fw_version = le16_to_cpu(pfwheader->version); in rtl88e_download_fw()
123 rtlhal->fw_subversion = pfwheader->subversion; in rtl88e_download_fw()
124 pfwdata = rtlhal->pfirmware; in rtl88e_download_fw()
125 fwsize = rtlhal->fwsize; in rtl88e_download_fw()
170 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl88e_fill_h2c_command() local
188 if (rtlhal->h2c_setinprogress) { in _rtl88e_fill_h2c_command()
[all …]
Dhw.c101 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl88ee_set_fw_clock_on() local
108 if (!rtlhal->fw_ready) in _rtl88ee_set_fw_clock_on()
115 if (rtlhal->fw_clk_change_in_progress) { in _rtl88ee_set_fw_clock_on()
116 while (rtlhal->fw_clk_change_in_progress) { in _rtl88ee_set_fw_clock_on()
126 rtlhal->fw_clk_change_in_progress = false; in _rtl88ee_set_fw_clock_on()
132 if (IS_IN_LOW_POWER_STATE_88E(rtlhal->fw_ps_state)) { in _rtl88ee_set_fw_clock_on()
145 rtlhal->fw_ps_state = FW_PS_STATE_RF_ON_88E; in _rtl88ee_set_fw_clock_on()
148 rtlhal->fw_ps_state); in _rtl88ee_set_fw_clock_on()
153 rtlhal->fw_clk_change_in_progress = false; in _rtl88ee_set_fw_clock_on()
162 rtlhal->fw_clk_change_in_progress = false; in _rtl88ee_set_fw_clock_on()
[all …]
Dsw.c74 rtlpriv->rtlhal.current_bandtype = BAND_ON_2_4G; in rtl88e_init_sw_vars()
75 rtlpriv->rtlhal.bandset = BAND_ON_2_4G; in rtl88e_init_sw_vars()
76 rtlpriv->rtlhal.macphymode = SINGLEMAC_SINGLEPHY; in rtl88e_init_sw_vars()
135 rtlpriv->rtlhal.pfirmware = vzalloc(0x8000); in rtl88e_init_sw_vars()
136 if (!rtlpriv->rtlhal.pfirmware) { in rtl88e_init_sw_vars()
149 vfree(rtlpriv->rtlhal.pfirmware); in rtl88e_init_sw_vars()
150 rtlpriv->rtlhal.pfirmware = NULL; in rtl88e_init_sw_vars()
155 rtlpriv->rtlhal.earlymode_enable = false; in rtl88e_init_sw_vars()
156 rtlpriv->rtlhal.max_earlymode_num = 10; in rtl88e_init_sw_vars()
176 if (rtlpriv->rtlhal.pfirmware) { in rtl88e_deinit_sw_vars()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dfw.c107 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92ee_download_fw() local
111 enum version_8192e version = rtlhal->version; in rtl92ee_download_fw()
113 if (!rtlhal->pfirmware) in rtl92ee_download_fw()
116 pfwheader = (struct rtlwifi_firmware_header *)rtlhal->pfirmware; in rtl92ee_download_fw()
117 rtlhal->fw_version = le16_to_cpu(pfwheader->version); in rtl92ee_download_fw()
118 rtlhal->fw_subversion = pfwheader->subversion; in rtl92ee_download_fw()
119 pfwdata = (u8 *)rtlhal->pfirmware; in rtl92ee_download_fw()
120 fwsize = rtlhal->fwsize; in rtl92ee_download_fw()
138 if (rtlhal->mac_func_enable) { in rtl92ee_download_fw()
167 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl92ee_fill_h2c_command() local
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dsw.c69 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92c_init_sw_vars() local
81 rtlpriv->rtlhal.current_bandtype = BAND_ON_2_4G; in rtl92c_init_sw_vars()
82 rtlpriv->rtlhal.bandset = BAND_ON_2_4G; in rtl92c_init_sw_vars()
83 rtlpriv->rtlhal.macphymode = SINGLEMAC_SINGLEPHY; in rtl92c_init_sw_vars()
130 rtlpriv->rtlhal.pfirmware = vzalloc(0x4000); in rtl92c_init_sw_vars()
131 if (!rtlpriv->rtlhal.pfirmware) { in rtl92c_init_sw_vars()
137 if (IS_VENDOR_UMC_A_CUT(rtlhal->version) && in rtl92c_init_sw_vars()
138 !IS_92C_SERIAL(rtlhal->version)) in rtl92c_init_sw_vars()
140 else if (IS_81XXC_VENDOR_UMC_B_CUT(rtlhal->version)) in rtl92c_init_sw_vars()
152 vfree(rtlpriv->rtlhal.pfirmware); in rtl92c_init_sw_vars()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dhw.c106 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl8723be_set_fw_clock_on() local
113 if (!rtlhal->fw_ready) in _rtl8723be_set_fw_clock_on()
120 if (rtlhal->fw_clk_change_in_progress) { in _rtl8723be_set_fw_clock_on()
121 while (rtlhal->fw_clk_change_in_progress) { in _rtl8723be_set_fw_clock_on()
131 rtlhal->fw_clk_change_in_progress = false; in _rtl8723be_set_fw_clock_on()
137 if (IS_IN_LOW_POWER_STATE(rtlhal->fw_ps_state)) { in _rtl8723be_set_fw_clock_on()
151 rtlhal->fw_ps_state = FW_PS_STATE_RF_ON; in _rtl8723be_set_fw_clock_on()
154 rtlhal->fw_ps_state); in _rtl8723be_set_fw_clock_on()
159 rtlhal->fw_clk_change_in_progress = false; in _rtl8723be_set_fw_clock_on()
166 rtlhal->fw_clk_change_in_progress = false; in _rtl8723be_set_fw_clock_on()
[all …]
Dfw.c30 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl8723be_fill_h2c_command() local
48 if (rtlhal->h2c_setinprogress) { in _rtl8723be_fill_h2c_command()
53 while (rtlhal->h2c_setinprogress) { in _rtl8723be_fill_h2c_command()
69 rtlhal->h2c_setinprogress = true; in _rtl8723be_fill_h2c_command()
82 boxnum = rtlhal->last_hmeboxnum; in _rtl8723be_fill_h2c_command()
181 rtlhal->last_hmeboxnum = boxnum + 1; in _rtl8723be_fill_h2c_command()
182 if (rtlhal->last_hmeboxnum == 4) in _rtl8723be_fill_h2c_command()
183 rtlhal->last_hmeboxnum = 0; in _rtl8723be_fill_h2c_command()
187 rtlhal->last_hmeboxnum); in _rtl8723be_fill_h2c_command()
191 rtlhal->h2c_setinprogress = false; in _rtl8723be_fill_h2c_command()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dfw.c32 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl8723e_fill_h2c_command() local
50 if (rtlhal->h2c_setinprogress) { in _rtl8723e_fill_h2c_command()
55 while (rtlhal->h2c_setinprogress) { in _rtl8723e_fill_h2c_command()
71 rtlhal->h2c_setinprogress = true; in _rtl8723e_fill_h2c_command()
84 boxnum = rtlhal->last_hmeboxnum; in _rtl8723e_fill_h2c_command()
216 rtlhal->last_hmeboxnum = boxnum + 1; in _rtl8723e_fill_h2c_command()
217 if (rtlhal->last_hmeboxnum == 4) in _rtl8723e_fill_h2c_command()
218 rtlhal->last_hmeboxnum = 0; in _rtl8723e_fill_h2c_command()
222 rtlhal->last_hmeboxnum); in _rtl8723e_fill_h2c_command()
226 rtlhal->h2c_setinprogress = false; in _rtl8723e_fill_h2c_command()
[all …]
Dsw.c70 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl8723e_init_sw_vars() local
85 rtlpriv->rtlhal.current_bandtype = BAND_ON_2_4G; in rtl8723e_init_sw_vars()
86 rtlpriv->rtlhal.bandset = BAND_ON_2_4G; in rtl8723e_init_sw_vars()
87 rtlpriv->rtlhal.macphymode = SINGLEMAC_SINGLEPHY; in rtl8723e_init_sw_vars()
142 rtlpriv->rtlhal.pfirmware = vzalloc(0x6000); in rtl8723e_init_sw_vars()
143 if (!rtlpriv->rtlhal.pfirmware) { in rtl8723e_init_sw_vars()
148 if (IS_81XXC_VENDOR_UMC_B_CUT(rtlhal->version)) in rtl8723e_init_sw_vars()
158 vfree(rtlpriv->rtlhal.pfirmware); in rtl8723e_init_sw_vars()
159 rtlpriv->rtlhal.pfirmware = NULL; in rtl8723e_init_sw_vars()
169 if (rtlpriv->rtlhal.pfirmware) { in rtl8723e_deinit_sw_vars()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dhw.c303 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl92cu_read_board_type() local
306 if (IS_NORMAL_CHIP(rtlhal->version)) { in _rtl92cu_read_board_type()
323 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl92cu_read_adapter_info() local
342 if (rtlhal->oem_id == RT_CID_DEFAULT) { in _rtl92cu_read_adapter_info()
348 rtlhal->oem_id = RT_CID_819X_HP; in _rtl92cu_read_adapter_info()
350 rtlhal->oem_id = RT_CID_DEFAULT; in _rtl92cu_read_adapter_info()
352 rtlhal->oem_id = RT_CID_DEFAULT; in _rtl92cu_read_adapter_info()
356 rtlhal->oem_id = RT_CID_TOSHIBA; in _rtl92cu_read_adapter_info()
359 rtlhal->oem_id = RT_CID_819X_QMI; in _rtl92cu_read_adapter_info()
363 rtlhal->oem_id = RT_CID_DEFAULT; in _rtl92cu_read_adapter_info()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723com/
Dfw_common.c169 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl8723_download_fw() local
174 enum version_8723e version = rtlhal->version; in rtl8723_download_fw()
177 if (rtlpriv->max_fw_size == 0 || !rtlhal->pfirmware) in rtl8723_download_fw()
180 pfwheader = (struct rtlwifi_firmware_header *)rtlhal->pfirmware; in rtl8723_download_fw()
181 rtlhal->fw_version = le16_to_cpu(pfwheader->version); in rtl8723_download_fw()
182 rtlhal->fw_subversion = pfwheader->subversion; in rtl8723_download_fw()
183 pfwdata = rtlhal->pfirmware; in rtl8723_download_fw()
184 fwsize = rtlhal->fwsize; in rtl8723_download_fw()

1234