Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
A Dhw.c1966 (rtlhal->rfe_type == 1 || rtlhal->rfe_type == 5)) in rtl8821ae_hw_init()
2916 if (rtlhal->pa_type_2g == 0xFF && rtlhal->lna_type_2g == 0xFF) { in _rtl8812ae_read_pa_type()
2920 rtlhal->external_pa_2g = ((rtlhal->pa_type_2g & BIT(5)) && in _rtl8812ae_read_pa_type()
2923 rtlhal->external_lna_2g = ((rtlhal->lna_type_2g & BIT(7)) && in _rtl8812ae_read_pa_type()
2929 if (rtlhal->pa_type_5g == 0xFF && rtlhal->lna_type_5g == 0xFF) { in _rtl8812ae_read_pa_type()
2933 rtlhal->external_pa_5g = ((rtlhal->pa_type_5g & BIT(1)) && in _rtl8812ae_read_pa_type()
2936 rtlhal->external_lna_5g = ((rtlhal->lna_type_5g & BIT(7)) && in _rtl8812ae_read_pa_type()
2994 if (rtlhal->pa_type_2g == 0xFF && rtlhal->lna_type_2g == 0xFF) { in _rtl8821ae_read_pa_type()
2998 rtlhal->external_pa_2g = (rtlhal->pa_type_2g & BIT(5)) ? 1 : 0; in _rtl8821ae_read_pa_type()
3003 if (rtlhal->pa_type_5g == 0xFF && rtlhal->lna_type_5g == 0xFF) { in _rtl8821ae_read_pa_type()
[all …]
A Dfw.c136 if (!rtlhal->wowlan_firmware) in rtl8821ae_download_fw()
144 fwsize = rtlhal->wowlan_fwsize; in rtl8821ae_download_fw()
146 if (!rtlhal->pfirmware) in rtl8821ae_download_fw()
154 fwsize = rtlhal->fwsize; in rtl8821ae_download_fw()
171 if (rtlhal->mac_func_enable) { in rtl8821ae_download_fw()
204 rtlhal->fw_ready = false; in rtl8821ae_set_fw_related_for_wowlan()
209 rtlhal->fw_ready = true; in rtl8821ae_set_fw_related_for_wowlan()
216 rtlhal->last_hmeboxnum = 0; in rtl8821ae_set_fw_related_for_wowlan()
401 rtlhal->last_hmeboxnum = 0; in _rtl8821ae_fill_h2c_command()
405 rtlhal->last_hmeboxnum); in _rtl8821ae_fill_h2c_command()
[all …]
A Dsw.c95 rtlpriv->rtlhal.bandset = BAND_ON_BOTH; in rtl8821ae_init_sw_vars()
166 if (!rtlpriv->rtlhal.pfirmware) { in rtl8821ae_init_sw_vars()
171 if (!rtlpriv->rtlhal.wowlan_firmware) { in rtl8821ae_init_sw_vars()
173 vfree(rtlpriv->rtlhal.pfirmware); in rtl8821ae_init_sw_vars()
174 rtlpriv->rtlhal.pfirmware = NULL; in rtl8821ae_init_sw_vars()
195 vfree(rtlpriv->rtlhal.pfirmware); in rtl8821ae_init_sw_vars()
207 vfree(rtlpriv->rtlhal.pfirmware); in rtl8821ae_init_sw_vars()
217 if (rtlpriv->rtlhal.pfirmware) { in rtl8821ae_deinit_sw_vars()
218 vfree(rtlpriv->rtlhal.pfirmware); in rtl8821ae_deinit_sw_vars()
219 rtlpriv->rtlhal.pfirmware = NULL; in rtl8821ae_deinit_sw_vars()
[all …]
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
A Dphy.c236 if (rtlhal->during_mac1init_radioa || rtlhal->during_mac0init_radiob) in rtl92d_phy_set_bb_reg()
855 struct rtl_hal *rtlhal = &(rtlpriv->rtlhal); in _rtl92d_get_txpower_index() local
1195 struct rtl_hal *rtlhal = &(rtlpriv->rtlhal); in _rtl92d_phy_switch_rf_setting() local
1916 struct rtl_hal *rtlhal = &(rtlpriv->rtlhal); in _rtl92d_phy_iq_calibrate_5g_normal() local
2069 struct rtl_hal *rtlhal = &(rtlpriv->rtlhal); in _rtl92d_phy_simularity_compare() local
2129 struct rtl_hal *rtlhal = &(rtlpriv->rtlhal); in _rtl92d_phy_patha_fill_iqk_matrix() local
2190 struct rtl_hal *rtlhal = &(rtlpriv->rtlhal); in _rtl92d_phy_pathb_fill_iqk_matrix() local
2239 struct rtl_hal *rtlhal = &(rtlpriv->rtlhal); in rtl92d_phy_iq_calibrate() local
2366 struct rtl_hal *rtlhal = &(rtlpriv->rtlhal); in rtl92d_phy_reload_iqk_setting() local
2523 struct rtl_hal *rtlhal = &(rtlpriv->rtlhal); in _rtl92d_phy_lc_calibrate_sw() local
[all …]
A Dfw.c121 if (rtlhal->interfaceindex == 0) { in _rtl92d_fw_init()
144 if (rtlhal->interfaceindex == 0) { in _rtl92d_fw_init()
175 fwsize = rtlhal->fwsize; in rtl92d_download_fw()
176 pfwheader = rtlhal->pfirmware; in rtl92d_download_fw()
177 pfwdata = rtlhal->pfirmware; in rtl92d_download_fw()
182 rtlhal->fw_version, rtlhal->fw_subversion, in rtl92d_download_fw()
296 if (rtlhal->h2c_setinprogress) { in _rtl92d_fill_h2c_command()
329 boxnum = rtlhal->last_hmeboxnum; in _rtl92d_fill_h2c_command()
431 if (rtlhal->last_hmeboxnum == 4) in _rtl92d_fill_h2c_command()
432 rtlhal->last_hmeboxnum = 0; in _rtl92d_fill_h2c_command()
[all …]
A Drf.c385 struct rtl_hal *rtlhal = &(rtlpriv->rtlhal); in rtl92d_phy_enable_anotherphy() local
392 rtlhal->during_mac0init_radiob = false; in rtl92d_phy_enable_anotherphy()
393 rtlhal->during_mac1init_radioa = false; in rtl92d_phy_enable_anotherphy()
416 struct rtl_hal *rtlhal = &(rtlpriv->rtlhal); in rtl92d_phy_powerdown_anotherphy() local
422 rtlhal->during_mac0init_radiob = false; in rtl92d_phy_powerdown_anotherphy()
423 rtlhal->during_mac1init_radioa = false; in rtl92d_phy_powerdown_anotherphy()
442 struct rtl_hal *rtlhal = &(rtlpriv->rtlhal); in rtl92d_phy_rf6052_config() local
462 rtlhal->interfaceindex == 0) { in rtl92d_phy_rf6052_config()
474 rtlhal->interfaceindex == 1) { in rtl92d_phy_rf6052_config()
495 rtlhal->during_mac1init_radioa = true; in rtl92d_phy_rf6052_config()
[all …]
A Dsw.c79 if (rtlpriv->rtlhal.current_bandtype == BAND_ON_5G) in rtl92d_init_sw_vars()
84 if (rtlpriv->rtlhal.macphymode != SINGLEMAC_SINGLEPHY) { in rtl92d_init_sw_vars()
85 rtlpriv->rtlhal.disable_amsdu_8k = true; in rtl92d_init_sw_vars()
144 rtlpriv->rtlhal.earlymode_enable = false; in rtl92d_init_sw_vars()
149 rtlpriv->rtlhal.pfirmware = vzalloc(0x8000); in rtl92d_init_sw_vars()
150 if (!rtlpriv->rtlhal.pfirmware) { in rtl92d_init_sw_vars()
165 vfree(rtlpriv->rtlhal.pfirmware); in rtl92d_init_sw_vars()
166 rtlpriv->rtlhal.pfirmware = NULL; in rtl92d_init_sw_vars()
178 if (rtlpriv->rtlhal.pfirmware) { in rtl92d_deinit_sw_vars()
179 vfree(rtlpriv->rtlhal.pfirmware); in rtl92d_deinit_sw_vars()
[all …]
A Ddm.c297 IS_92D_SINGLEPHY(rtlpriv->rtlhal.version)); in rtl92d_dm_cck_packet_detection_thresh()
356 if (rtlpriv->rtlhal.earlymode_enable) { in rtl92d_dm_dig()
469 struct rtl_hal *rtlhal = rtl_hal(rtlpriv); in rtl92d_dm_dynamic_txpower() local
508 if (rtlhal->current_bandtype == BAND_ON_5G) { in rtl92d_dm_dynamic_txpower()
721 if (rtlhal->macphymode == DUALMAC_DUALPHY && in rtl92d_bandtype_5G()
727 if (rtlhal->interfaceindex == 1 || i == rf) in rtl92d_bandtype_5G()
888 if (rtlhal->reloadtxpowerindex) { in rtl92d_dm_txpower_tracking_callback_thermalmeter()
912 if (rtlhal->reloadtxpowerindex) { in rtl92d_dm_txpower_tracking_callback_thermalmeter()
916 rtlhal->reloadtxpowerindex = false; in rtl92d_dm_txpower_tracking_callback_thermalmeter()
970 rtl92d_bandtype_5G(rtlhal, ofdm_index, in rtl92d_dm_txpower_tracking_callback_thermalmeter()
[all …]
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
A Dfw_common.c139 if (!rtlhal->pfirmware) in rtl92c_download_fw()
143 pfwdata = (u8 *)rtlhal->pfirmware; in rtl92c_download_fw()
144 fwsize = rtlhal->fwsize; in rtl92c_download_fw()
205 if (rtlhal->h2c_setinprogress) { in _rtl92c_fill_h2c_command()
225 rtlhal->h2c_setinprogress = true; in _rtl92c_fill_h2c_command()
238 boxnum = rtlhal->last_hmeboxnum; in _rtl92c_fill_h2c_command()
369 if (rtlhal->last_hmeboxnum == 4) in _rtl92c_fill_h2c_command()
370 rtlhal->last_hmeboxnum = 0; in _rtl92c_fill_h2c_command()
374 rtlhal->last_hmeboxnum); in _rtl92c_fill_h2c_command()
378 rtlhal->h2c_setinprogress = false; in _rtl92c_fill_h2c_command()
[all …]
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
A Dfw.c118 if (!rtlhal->pfirmware) in rtl88e_download_fw()
124 pfwdata = rtlhal->pfirmware; in rtl88e_download_fw()
125 fwsize = rtlhal->fwsize; in rtl88e_download_fw()
188 if (rtlhal->h2c_setinprogress) { in _rtl88e_fill_h2c_command()
209 rtlhal->h2c_setinprogress = true; in _rtl88e_fill_h2c_command()
222 boxnum = rtlhal->last_hmeboxnum; in _rtl88e_fill_h2c_command()
320 if (rtlhal->last_hmeboxnum == 4) in _rtl88e_fill_h2c_command()
321 rtlhal->last_hmeboxnum = 0; in _rtl88e_fill_h2c_command()
325 rtlhal->last_hmeboxnum); in _rtl88e_fill_h2c_command()
329 rtlhal->h2c_setinprogress = false; in _rtl88e_fill_h2c_command()
[all …]
A Dhw.c108 if (!rtlhal->fw_ready) in _rtl88ee_set_fw_clock_on()
148 rtlhal->fw_ps_state); in _rtl88ee_set_fw_clock_on()
178 if (!rtlhal->fw_ready) in _rtl88ee_set_fw_clock_off()
874 if (!rtlhal->mac_func_enable) { in _rtl88ee_init_mac()
1060 rtlhal->fw_ready = false; in rtl88ee_hw_init()
1067 rtlhal->mac_func_enable = true; in rtl88ee_hw_init()
1087 rtlhal->fw_ready = true; in rtl88ee_hw_init()
1089 rtlhal->last_hmeboxnum = 0; in rtl88ee_hw_init()
1119 rtlhal->mac_func_enable = true; in rtl88ee_hw_init()
1917 switch (rtlhal->oem_id) { in _rtl88ee_hal_customized_behavior()
[all …]
A Dsw.c77 rtlpriv->rtlhal.current_bandtype = BAND_ON_2_4G; in rtl88e_init_sw_vars()
78 rtlpriv->rtlhal.bandset = BAND_ON_2_4G; in rtl88e_init_sw_vars()
138 rtlpriv->rtlhal.pfirmware = vzalloc(0x8000); in rtl88e_init_sw_vars()
139 if (!rtlpriv->rtlhal.pfirmware) { in rtl88e_init_sw_vars()
152 vfree(rtlpriv->rtlhal.pfirmware); in rtl88e_init_sw_vars()
153 rtlpriv->rtlhal.pfirmware = NULL; in rtl88e_init_sw_vars()
158 rtlpriv->rtlhal.earlymode_enable = false; in rtl88e_init_sw_vars()
159 rtlpriv->rtlhal.max_earlymode_num = 10; in rtl88e_init_sw_vars()
179 if (rtlpriv->rtlhal.pfirmware) { in rtl88e_deinit_sw_vars()
180 vfree(rtlpriv->rtlhal.pfirmware); in rtl88e_deinit_sw_vars()
[all …]
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
A Dfw.c113 if (!rtlhal->pfirmware) 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()
195 if (rtlhal->h2c_setinprogress) { in _rtl92ee_fill_h2c_command()
224 boxnum = rtlhal->last_hmeboxnum; in _rtl92ee_fill_h2c_command()
340 if (rtlhal->last_hmeboxnum == 4) in _rtl92ee_fill_h2c_command()
341 rtlhal->last_hmeboxnum = 0; in _rtl92ee_fill_h2c_command()
345 rtlhal->last_hmeboxnum); in _rtl92ee_fill_h2c_command()
349 rtlhal->h2c_setinprogress = false; in _rtl92ee_fill_h2c_command()
[all …]
A Dsw.c84 rtlpriv->rtlhal.current_bandtype = BAND_ON_2_4G; in rtl92ee_init_sw_vars()
85 rtlpriv->rtlhal.bandset = BAND_ON_2_4G; in rtl92ee_init_sw_vars()
86 rtlpriv->rtlhal.macphymode = SINGLEMAC_SINGLEPHY; in rtl92ee_init_sw_vars()
136 rtlpriv->rtlhal.earlymode_enable = false; in rtl92ee_init_sw_vars()
142 rtlpriv->rtlhal.pfirmware = vzalloc(0x8000); in rtl92ee_init_sw_vars()
143 if (!rtlpriv->rtlhal.pfirmware) { in rtl92ee_init_sw_vars()
158 vfree(rtlpriv->rtlhal.pfirmware); in rtl92ee_init_sw_vars()
159 rtlpriv->rtlhal.pfirmware = NULL; in rtl92ee_init_sw_vars()
170 if (rtlpriv->rtlhal.pfirmware) { in rtl92ee_deinit_sw_vars()
171 vfree(rtlpriv->rtlhal.pfirmware); in rtl92ee_deinit_sw_vars()
[all …]
A Dhw.c83 if (!rtlhal->fw_ready) in _rtl92ee_set_fw_clock_on()
124 rtlhal->fw_ps_state); in _rtl92ee_set_fw_clock_on()
152 if (!rtlhal->fw_ready) in _rtl92ee_set_fw_clock_off()
796 if (!rtlhal->mac_func_enable) { in _rtl92ee_init_mac()
1291 rtlhal->mac_func_enable = true; in rtl92ee_hw_init()
1323 rtlhal->rx_tag = 0; in rtl92ee_hw_init()
1330 rtlhal->fw_ready = false; in rtl92ee_hw_init()
1333 rtlhal->fw_ready = true; in rtl92ee_hw_init()
1339 rtlhal->last_hmeboxnum = 0; in rtl92ee_hw_init()
1373 rtlhal->mac_func_enable = true; in rtl92ee_hw_init()
[all …]
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
A Dsw.c72 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92c_init_sw_vars() local
85 rtlpriv->rtlhal.bandset = BAND_ON_2_4G; in rtl92c_init_sw_vars()
133 rtlpriv->rtlhal.pfirmware = vzalloc(0x4000); in rtl92c_init_sw_vars()
134 if (!rtlpriv->rtlhal.pfirmware) { in rtl92c_init_sw_vars()
140 if (IS_VENDOR_UMC_A_CUT(rtlhal->version) && in rtl92c_init_sw_vars()
141 !IS_92C_SERIAL(rtlhal->version)) in rtl92c_init_sw_vars()
155 vfree(rtlpriv->rtlhal.pfirmware); in rtl92c_init_sw_vars()
156 rtlpriv->rtlhal.pfirmware = NULL; in rtl92c_init_sw_vars()
167 if (rtlpriv->rtlhal.pfirmware) { in rtl92c_deinit_sw_vars()
168 vfree(rtlpriv->rtlhal.pfirmware); in rtl92c_deinit_sw_vars()
[all …]
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
A Dhw.c113 if (!rtlhal->fw_ready) in _rtl8723be_set_fw_clock_on()
154 rtlhal->fw_ps_state); in _rtl8723be_set_fw_clock_on()
181 if (!rtlhal->fw_ready) in _rtl8723be_set_fw_clock_off()
1171 rtlhal->fw_ready) { in _rtl8723be_poweroff_adapter()
1348 rtlhal->fw_ready = false; in rtl8723be_hw_init()
1365 if (rtlhal->mac_func_enable) { in rtl8723be_hw_init()
1386 rtlhal->fw_ready = true; in rtl8723be_hw_init()
1388 rtlhal->last_hmeboxnum = 0; in rtl8723be_hw_init()
2196 rtlhal->oem_id = in _rtl8723be_read_adapter_info()
2230 switch (rtlhal->oem_id) { in _rtl8723be_hal_customized_behavior()
[all …]
A 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 …]
A Dsw.c88 rtlpriv->rtlhal.current_bandtype = BAND_ON_2_4G; in rtl8723be_init_sw_vars()
89 rtlpriv->rtlhal.bandset = BAND_ON_2_4G; in rtl8723be_init_sw_vars()
90 rtlpriv->rtlhal.macphymode = SINGLEMAC_SINGLEPHY; in rtl8723be_init_sw_vars()
149 rtlpriv->rtlhal.earlymode_enable = false; in rtl8723be_init_sw_vars()
152 rtlpriv->rtlhal.pfirmware = vzalloc(0x8000); in rtl8723be_init_sw_vars()
153 if (!rtlpriv->rtlhal.pfirmware) { in rtl8723be_init_sw_vars()
165 vfree(rtlpriv->rtlhal.pfirmware); in rtl8723be_init_sw_vars()
166 rtlpriv->rtlhal.pfirmware = NULL; in rtl8723be_init_sw_vars()
176 if (rtlpriv->rtlhal.pfirmware) { in rtl8723be_deinit_sw_vars()
177 vfree(rtlpriv->rtlhal.pfirmware); in rtl8723be_deinit_sw_vars()
[all …]
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
A 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 …]
A Dsw.c73 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl8723e_init_sw_vars() local
88 rtlpriv->rtlhal.current_bandtype = BAND_ON_2_4G; in rtl8723e_init_sw_vars()
89 rtlpriv->rtlhal.bandset = BAND_ON_2_4G; in rtl8723e_init_sw_vars()
145 rtlpriv->rtlhal.pfirmware = vzalloc(0x6000); in rtl8723e_init_sw_vars()
146 if (!rtlpriv->rtlhal.pfirmware) { in rtl8723e_init_sw_vars()
151 if (IS_81XXC_VENDOR_UMC_B_CUT(rtlhal->version)) in rtl8723e_init_sw_vars()
161 vfree(rtlpriv->rtlhal.pfirmware); in rtl8723e_init_sw_vars()
162 rtlpriv->rtlhal.pfirmware = NULL; in rtl8723e_init_sw_vars()
172 if (rtlpriv->rtlhal.pfirmware) { in rtl8723e_deinit_sw_vars()
173 vfree(rtlpriv->rtlhal.pfirmware); in rtl8723e_deinit_sw_vars()
[all …]
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
A Dhw.c348 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()
376 switch (rtlhal->oem_id) { in _rtl92cu_hal_customized_behavior()
390 rtlhal->oem_id); in _rtl92cu_hal_customized_behavior()
952 rtlhal->fw_ready = false; in rtl92cu_hw_init()
967 rtlhal->fw_ready = true; in rtl92cu_hw_init()
[all …]
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/
A Dpci.c482 if (!rtlpriv->rtlhal.earlymode_enable) in _rtl_pci_tx_chk_waitq()
504 rtlhal->max_earlymode_num)) { in _rtl_pci_tx_chk_waitq()
555 if (rtlpriv->rtlhal.earlymode_enable) in _rtl_pci_tx_isr()
1173 rtlhal->hw = hw; in _rtl_pci_init_struct()
1803 set_hal_start(rtlhal); in rtl_pci_start()
1831 set_hal_stop(rtlhal); in rtl_pci_stop()
1962 rtlhal->bandset = BAND_ON_BOTH; in _rtl_pci_find_adapter()
1978 rtlhal->interfaceindex = 0; in _rtl_pci_find_adapter()
1982 rtlhal->interfaceindex = 1; in _rtl_pci_find_adapter()
1988 rtlhal->interfaceindex = 0; in _rtl_pci_find_adapter()
[all …]
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8723com/
A 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()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
A Dsw.c82 pfirmware = (struct rt_firmware *)rtlpriv->rtlhal.pfirmware; in rtl92se_fw_cb()
103 rtlpriv->rtlhal.current_bandtype = BAND_ON_2_4G; in rtl92s_init_sw_vars()
104 rtlpriv->rtlhal.bandset = BAND_ON_2_4G; in rtl92s_init_sw_vars()
105 rtlpriv->rtlhal.macphymode = SINGLEMAC_SINGLEPHY; in rtl92s_init_sw_vars()
181 rtlpriv->rtlhal.pfirmware = vzalloc(sizeof(struct rt_firmware)); in rtl92s_init_sw_vars()
182 if (!rtlpriv->rtlhal.pfirmware) in rtl92s_init_sw_vars()
195 vfree(rtlpriv->rtlhal.pfirmware); in rtl92s_init_sw_vars()
196 rtlpriv->rtlhal.pfirmware = NULL; in rtl92s_init_sw_vars()
207 if (rtlpriv->rtlhal.pfirmware) { in rtl92s_deinit_sw_vars()
208 vfree(rtlpriv->rtlhal.pfirmware); in rtl92s_deinit_sw_vars()
[all …]

Completed in 300 milliseconds

123