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 rtl92c_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()
282 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl92c_fill_h2c_command() local
300 if (rtlhal->h2c_setinprogress) { in _rtl92c_fill_h2c_command()
304 while (rtlhal->h2c_setinprogress) { in _rtl92c_fill_h2c_command()
320 rtlhal->h2c_setinprogress = true; in _rtl92c_fill_h2c_command()
334 boxnum = rtlhal->last_hmeboxnum; in _rtl92c_fill_h2c_command()
464 rtlhal->last_hmeboxnum = boxnum + 1; in _rtl92c_fill_h2c_command()
465 if (rtlhal->last_hmeboxnum == 4) in _rtl92c_fill_h2c_command()
466 rtlhal->last_hmeboxnum = 0; in _rtl92c_fill_h2c_command()
470 rtlhal->last_hmeboxnum); in _rtl92c_fill_h2c_command()
474 rtlhal->h2c_setinprogress = false; in _rtl92c_fill_h2c_command()
483 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92c_fill_h2c_cmd() local
486 if (!rtlhal->fw_ready) { in rtl92c_fill_h2c_cmd()
809 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92c_set_p2p_ps_offload_cmd() local
811 struct p2p_ps_offload_t *p2p_ps_offload = &rtlhal->p2p_ps_offload; in rtl92c_set_p2p_ps_offload_cmd()