Lines Matching refs:rtlhal

39 	struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw));  in _rtl92c_enable_fw_download()  local
41 if (rtlhal->hw_type == HARDWARE_TYPE_RTL8192CU) { in _rtl92c_enable_fw_download()
48 } else if (rtlhal->hw_type == HARDWARE_TYPE_RTL8192CE) { in _rtl92c_enable_fw_download()
132 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl92c_write_fw() local
142 if (rtlhal->hw_type == HARDWARE_TYPE_RTL8192CE) in _rtl92c_write_fw()
223 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92c_download_fw() local
228 enum version_8192c version = rtlhal->version; in rtl92c_download_fw()
230 if (!rtlhal->pfirmware) in rtl92c_download_fw()
233 pfwheader = (struct rtlwifi_firmware_header *)rtlhal->pfirmware; in rtl92c_download_fw()
234 pfwdata = (u8 *)rtlhal->pfirmware; in rtl92c_download_fw()
235 fwsize = rtlhal->fwsize; in rtl92c_download_fw()
242 rtlhal->fw_version = le16_to_cpu(pfwheader->version); in rtl92c_download_fw()
243 rtlhal->fw_subversion = pfwheader->subversion; in rtl92c_download_fw()
283 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl92c_fill_h2c_command() local
301 if (rtlhal->h2c_setinprogress) { in _rtl92c_fill_h2c_command()
305 while (rtlhal->h2c_setinprogress) { in _rtl92c_fill_h2c_command()
321 rtlhal->h2c_setinprogress = true; in _rtl92c_fill_h2c_command()
335 boxnum = rtlhal->last_hmeboxnum; in _rtl92c_fill_h2c_command()
465 rtlhal->last_hmeboxnum = boxnum + 1; in _rtl92c_fill_h2c_command()
466 if (rtlhal->last_hmeboxnum == 4) in _rtl92c_fill_h2c_command()
467 rtlhal->last_hmeboxnum = 0; in _rtl92c_fill_h2c_command()
471 rtlhal->last_hmeboxnum); in _rtl92c_fill_h2c_command()
475 rtlhal->h2c_setinprogress = false; in _rtl92c_fill_h2c_command()
484 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92c_fill_h2c_cmd() local
487 if (!rtlhal->fw_ready) { in rtl92c_fill_h2c_cmd()
810 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92c_set_p2p_ps_offload_cmd() local
812 struct p2p_ps_offload_t *p2p_ps_offload = &rtlhal->p2p_ps_offload; in rtl92c_set_p2p_ps_offload_cmd()