Lines Matching refs:rtlhal

45 	struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw));  in _rtl92d_write_fw()  local
51 if (rtlhal->hw_type == HARDWARE_TYPE_RTL8192DE) in _rtl92d_write_fw()
114 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl92d_fw_init() local
121 if (rtlhal->interfaceindex == 0) { in _rtl92d_fw_init()
144 if (rtlhal->interfaceindex == 0) { in _rtl92d_fw_init()
162 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92d_download_fw() local
167 enum version_8192d version = rtlhal->version; in rtl92d_download_fw()
173 if (rtlpriv->max_fw_size == 0 || !rtlhal->pfirmware) in rtl92d_download_fw()
175 fwsize = rtlhal->fwsize; in rtl92d_download_fw()
176 pfwheader = rtlhal->pfirmware; in rtl92d_download_fw()
177 pfwdata = rtlhal->pfirmware; in rtl92d_download_fw()
178 rtlhal->fw_version = (u16) GET_FIRMWARE_HDR_VERSION(pfwheader); in rtl92d_download_fw()
179 rtlhal->fw_subversion = (u16) GET_FIRMWARE_HDR_SUB_VER(pfwheader); in rtl92d_download_fw()
182 rtlhal->fw_version, rtlhal->fw_subversion, in rtl92d_download_fw()
273 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl92d_fill_h2c_command() local
296 if (rtlhal->h2c_setinprogress) { in _rtl92d_fill_h2c_command()
301 while (rtlhal->h2c_setinprogress) { in _rtl92d_fill_h2c_command()
318 rtlhal->h2c_setinprogress = true; in _rtl92d_fill_h2c_command()
329 boxnum = rtlhal->last_hmeboxnum; in _rtl92d_fill_h2c_command()
430 rtlhal->last_hmeboxnum = boxnum + 1; 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()
435 rtlhal->last_hmeboxnum); in _rtl92d_fill_h2c_command()
438 rtlhal->h2c_setinprogress = false; in _rtl92d_fill_h2c_command()