Lines Matching refs:rtlhal

107 	struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw));  in rtl92ee_download_fw()  local
111 enum version_8192e version = rtlhal->version; in rtl92ee_download_fw()
113 if (!rtlhal->pfirmware) in rtl92ee_download_fw()
116 pfwheader = (struct rtlwifi_firmware_header *)rtlhal->pfirmware; in rtl92ee_download_fw()
117 rtlhal->fw_version = le16_to_cpu(pfwheader->version); in rtl92ee_download_fw()
118 rtlhal->fw_subversion = pfwheader->subversion; in rtl92ee_download_fw()
119 pfwdata = (u8 *)rtlhal->pfirmware; in rtl92ee_download_fw()
120 fwsize = rtlhal->fwsize; in rtl92ee_download_fw()
138 if (rtlhal->mac_func_enable) { in rtl92ee_download_fw()
167 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl92ee_fill_h2c_command() local
195 if (rtlhal->h2c_setinprogress) { in _rtl92ee_fill_h2c_command()
200 while (rtlhal->h2c_setinprogress) { in _rtl92ee_fill_h2c_command()
216 rtlhal->h2c_setinprogress = true; in _rtl92ee_fill_h2c_command()
224 boxnum = rtlhal->last_hmeboxnum; in _rtl92ee_fill_h2c_command()
339 rtlhal->last_hmeboxnum = boxnum + 1; in _rtl92ee_fill_h2c_command()
340 if (rtlhal->last_hmeboxnum == 4) in _rtl92ee_fill_h2c_command()
341 rtlhal->last_hmeboxnum = 0; in _rtl92ee_fill_h2c_command()
345 rtlhal->last_hmeboxnum); in _rtl92ee_fill_h2c_command()
349 rtlhal->h2c_setinprogress = false; in _rtl92ee_fill_h2c_command()
358 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92ee_fill_h2c_cmd() local
361 if (!rtlhal->fw_ready) { in rtl92ee_fill_h2c_cmd()
777 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92ee_set_p2p_ps_offload_cmd() local
779 struct p2p_ps_offload_t *p2p_ps_offload = &rtlhal->p2p_ps_offload; in rtl92ee_set_p2p_ps_offload_cmd()