Lines Matching refs:rtlhal
72 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92c_init_sw_vars() local
84 rtlpriv->rtlhal.current_bandtype = BAND_ON_2_4G; in rtl92c_init_sw_vars()
85 rtlpriv->rtlhal.bandset = BAND_ON_2_4G; in rtl92c_init_sw_vars()
86 rtlpriv->rtlhal.macphymode = SINGLEMAC_SINGLEPHY; 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()
143 else if (IS_81XXC_VENDOR_UMC_B_CUT(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()
169 rtlpriv->rtlhal.pfirmware = NULL; in rtl92c_deinit_sw_vars()