Lines Matching refs:rtlhal

70 	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()
175 if (rtlhal->hw_type == HARDWARE_TYPE_RTL8812AE) { in rtl8821ae_init_sw_vars()
191 vfree(rtlpriv->rtlhal.wowlan_firmware); in rtl8821ae_init_sw_vars()
192 vfree(rtlpriv->rtlhal.pfirmware); in rtl8821ae_init_sw_vars()
203 vfree(rtlpriv->rtlhal.wowlan_firmware); in rtl8821ae_init_sw_vars()
204 vfree(rtlpriv->rtlhal.pfirmware); in rtl8821ae_init_sw_vars()
214 if (rtlpriv->rtlhal.pfirmware) { in rtl8821ae_deinit_sw_vars()
215 vfree(rtlpriv->rtlhal.pfirmware); in rtl8821ae_deinit_sw_vars()
216 rtlpriv->rtlhal.pfirmware = NULL; in rtl8821ae_deinit_sw_vars()
219 if (rtlpriv->rtlhal.wowlan_firmware) { in rtl8821ae_deinit_sw_vars()
220 vfree(rtlpriv->rtlhal.wowlan_firmware); in rtl8821ae_deinit_sw_vars()
221 rtlpriv->rtlhal.wowlan_firmware = NULL; in rtl8821ae_deinit_sw_vars()