Lines Matching refs:rtlhal
17 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl92c_enable_fw_download() local
19 if (rtlhal->hw_type == HARDWARE_TYPE_RTL8192CU) { in _rtl92c_enable_fw_download()
27 } else if (rtlhal->hw_type == HARDWARE_TYPE_RTL8192CE) { in _rtl92c_enable_fw_download()
53 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl92c_write_fw() local
63 if (rtlhal->hw_type == HARDWARE_TYPE_RTL8192CE) in _rtl92c_write_fw()
132 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92c_download_fw() local
137 enum version_8192c version = rtlhal->version; in rtl92c_download_fw()
139 if (!rtlhal->pfirmware) in rtl92c_download_fw()
142 pfwheader = (struct rtlwifi_firmware_header *)rtlhal->pfirmware; in rtl92c_download_fw()
143 pfwdata = (u8 *)rtlhal->pfirmware; in rtl92c_download_fw()
144 fwsize = rtlhal->fwsize; in rtl92c_download_fw()
151 rtlhal->fw_version = le16_to_cpu(pfwheader->version); in rtl92c_download_fw()
152 rtlhal->fw_subversion = pfwheader->subversion; in rtl92c_download_fw()
187 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl92c_fill_h2c_command() local
205 if (rtlhal->h2c_setinprogress) { in _rtl92c_fill_h2c_command()
209 while (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()
368 rtlhal->last_hmeboxnum = boxnum + 1; 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()
387 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92c_fill_h2c_cmd() local
390 if (!rtlhal->fw_ready) { in rtl92c_fill_h2c_cmd()
713 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92c_set_p2p_ps_offload_cmd() local
715 struct p2p_ps_offload_t *p2p_ps_offload = &rtlhal->p2p_ps_offload; in rtl92c_set_p2p_ps_offload_cmd()