Lines Matching refs:rtlhal
202 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl88e_download_fw() local
207 enum version_8188e version = rtlhal->version; in rtl88e_download_fw()
209 if (!rtlhal->pfirmware) in rtl88e_download_fw()
212 pfwheader = (struct rtl92c_firmware_header *)rtlhal->pfirmware; in rtl88e_download_fw()
213 pfwdata = rtlhal->pfirmware; in rtl88e_download_fw()
214 fwsize = rtlhal->fwsize; in rtl88e_download_fw()
264 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl88e_fill_h2c_command() local
282 if (rtlhal->h2c_setinprogress) { in _rtl88e_fill_h2c_command()
287 while (rtlhal->h2c_setinprogress) { in _rtl88e_fill_h2c_command()
303 rtlhal->h2c_setinprogress = true; in _rtl88e_fill_h2c_command()
317 boxnum = rtlhal->last_hmeboxnum; in _rtl88e_fill_h2c_command()
414 rtlhal->last_hmeboxnum = boxnum + 1; in _rtl88e_fill_h2c_command()
415 if (rtlhal->last_hmeboxnum == 4) in _rtl88e_fill_h2c_command()
416 rtlhal->last_hmeboxnum = 0; in _rtl88e_fill_h2c_command()
420 rtlhal->last_hmeboxnum); in _rtl88e_fill_h2c_command()
424 rtlhal->h2c_setinprogress = false; in _rtl88e_fill_h2c_command()
433 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl88e_fill_h2c_cmd() local
436 if (!rtlhal->fw_ready) { in rtl88e_fill_h2c_cmd()
731 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl88e_set_p2p_ps_offload_cmd() local
733 struct p2p_ps_offload_t *p2p_ps_offload = &rtlhal->p2p_ps_offload; in rtl88e_set_p2p_ps_offload_cmd()