Lines Matching refs:rtlhal
69 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()
153 rtlpriv->rtlhal.pfirmware = NULL; in rtl92c_init_sw_vars()
164 if (rtlpriv->rtlhal.pfirmware) { in rtl92c_deinit_sw_vars()
165 vfree(rtlpriv->rtlhal.pfirmware); in rtl92c_deinit_sw_vars()
166 rtlpriv->rtlhal.pfirmware = NULL; in rtl92c_deinit_sw_vars()