Home
last modified time | relevance | path

Searched refs:hcmd (Results 1 – 25 of 25) sorted by relevance

/drivers/net/wireless/intel/iwlwifi/fw/
Ddebugfs.c193 struct iwl_host_cmd hcmd = { in iwl_fw_send_timestamp_marker_cmd() local
200 return iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_fw_send_timestamp_marker_cmd()
273 struct iwl_host_cmd hcmd = { in iwl_dbgfs_send_hcmd_write() local
293 hcmd.id = be32_to_cpu(data->cmd_id); in iwl_dbgfs_send_hcmd_write()
294 hcmd.flags = be32_to_cpu(data->flags); in iwl_dbgfs_send_hcmd_write()
295 hcmd.len[0] = be16_to_cpu(data->length); in iwl_dbgfs_send_hcmd_write()
296 hcmd.data[0] = data->data; in iwl_dbgfs_send_hcmd_write()
298 if (count != header_size + hcmd.len[0] * 2 + 1) { in iwl_dbgfs_send_hcmd_write()
306 ret = fwrt->ops->send_hcmd(fwrt->ops_ctx, &hcmd); in iwl_dbgfs_send_hcmd_write()
313 if (hcmd.flags & CMD_WANT_SKB) in iwl_dbgfs_send_hcmd_write()
[all …]
Dinit.c106 struct iwl_host_cmd hcmd = { in iwl_set_soc_latency() local
144 ret = iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_set_soc_latency()
Dpaging.c300 struct iwl_host_cmd hcmd = { in iwl_send_paging_cmd() local
317 return iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_send_paging_cmd()
Dfile.h970 struct iwl_fw_dbg_conf_hcmd hcmd; member
Ddbg.c2617 ptr = (void *)&fwrt->fw->dbg.conf_tlv[conf_id]->hcmd; in iwl_fw_start_dbg_conf()
2620 struct iwl_host_cmd hcmd = { in iwl_fw_start_dbg_conf() local
2626 ret = iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_fw_start_dbg_conf()
2787 struct iwl_host_cmd hcmd = { in iwl_fw_dbg_suspend_resume_hcmd() local
2793 return iwl_trans_send_cmd(trans, &hcmd); in iwl_fw_dbg_suspend_resume_hcmd()
/drivers/net/wireless/intel/iwlwifi/
Diwl-devtrace-iwlwifi.h30 __dynamic_array(u8, hcmd, total_size)
41 memcpy(__get_dynamic_array(hcmd), hdr, offset);
46 memcpy((u8 *)__get_dynamic_array(hcmd) + offset,
52 __get_str(dev), ((u8 *)__get_dynamic_array(hcmd))[1],
53 ((u8 *)__get_dynamic_array(hcmd))[0],
Diwl-dbg-tlv.c213 struct iwl_fw_ini_hcmd_tlv *hcmd = (void *)tlv->data; in iwl_dbg_tlv_alloc_hcmd() local
214 u32 tp = le32_to_cpu(hcmd->time_point); in iwl_dbg_tlv_alloc_hcmd()
216 if (le32_to_cpu(tlv->length) <= sizeof(*hcmd)) in iwl_dbg_tlv_alloc_hcmd()
669 struct iwl_host_cmd hcmd = { in iwl_dbg_tlv_apply_buffer() local
684 ret = iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_dbg_tlv_apply_buffer()
713 struct iwl_fw_ini_hcmd_tlv *hcmd = (void *)node->tlv.data; in iwl_dbg_tlv_send_hcmds() local
714 struct iwl_fw_ini_hcmd *hcmd_data = &hcmd->hcmd; in iwl_dbg_tlv_send_hcmds()
715 u16 hcmd_len = le32_to_cpu(node->tlv.length) - sizeof(*hcmd); in iwl_dbg_tlv_send_hcmds()
Diwl-nvm-parse.c1524 struct iwl_host_cmd hcmd = { in iwl_get_nvm() local
1547 ret = iwl_trans_send_cmd(trans, &hcmd); in iwl_get_nvm()
1551 if (WARN(iwl_rx_packet_payload_len(hcmd.resp_pkt) != rsp_size, in iwl_get_nvm()
1553 iwl_rx_packet_payload_len(hcmd.resp_pkt))) { in iwl_get_nvm()
1558 rsp = (void *)hcmd.resp_pkt->data; in iwl_get_nvm()
1625 iwl_free_resp(&hcmd); in iwl_get_nvm()
1631 iwl_free_resp(&hcmd); in iwl_get_nvm()
/drivers/net/wireless/intel/iwlwifi/mvm/
Dftm-responder.c186 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_responder_dyn_cfg_v2() local
217 hcmd.len[1] = aligned_lci_len + aligned_civicloc_len; in iwl_mvm_ftm_responder_dyn_cfg_v2()
219 return iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_responder_dyn_cfg_v2()
229 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_responder_dyn_cfg_v3() local
279 return iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_responder_dyn_cfg_v3()
Dftm-initiator.c565 static int iwl_mvm_ftm_send_cmd(struct iwl_mvm *mvm, struct iwl_host_cmd *hcmd) in iwl_mvm_ftm_send_cmd() argument
568 int err = iwl_mvm_send_cmd_status(mvm, hcmd, &status); in iwl_mvm_ftm_send_cmd()
583 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v5() local
602 return iwl_mvm_ftm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_start_v5()
609 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v7() local
632 return iwl_mvm_ftm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_start_v7()
639 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v8() local
658 return iwl_mvm_ftm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_start_v8()
665 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v9() local
685 return iwl_mvm_ftm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_start_v9()
[all …]
Doffloading.c96 struct iwl_host_cmd hcmd = { in iwl_mvm_send_proto_offload() local
248 hcmd.len[0] = size; in iwl_mvm_send_proto_offload()
249 return iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_send_proto_offload()
Ddebugfs.c1860 struct iwl_host_cmd hcmd = { in iwl_dbgfs_mem_read() local
1871 hcmd.id = iwl_cmd_id(*ppos >> 24 ? UMAC_RD_WR : LMAC_RD_WR, in iwl_dbgfs_mem_read()
1882 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_dbgfs_mem_read()
1888 if (iwl_rx_packet_payload_len(hcmd.resp_pkt) < sizeof(*rsp)) { in iwl_dbgfs_mem_read()
1893 rsp = (void *)hcmd.resp_pkt->data; in iwl_dbgfs_mem_read()
1900 iwl_rx_packet_payload_len(hcmd.resp_pkt) - sizeof(*rsp)); in iwl_dbgfs_mem_read()
1911 iwl_free_resp(&hcmd); in iwl_dbgfs_mem_read()
1922 struct iwl_host_cmd hcmd = {}; in iwl_dbgfs_mem_write() local
1931 hcmd.id = iwl_cmd_id(*ppos >> 24 ? UMAC_RD_WR : LMAC_RD_WR, in iwl_dbgfs_mem_write()
1957 hcmd.flags = CMD_WANT_SKB | CMD_SEND_IN_RFKILL, in iwl_dbgfs_mem_write()
[all …]
Dscan.c2211 struct iwl_host_cmd *hcmd, in iwl_mvm_build_scan_cmd() argument
2222 hcmd->id = SCAN_OFFLOAD_REQUEST_CMD; in iwl_mvm_build_scan_cmd()
2231 hcmd->id = iwl_cmd_id(SCAN_REQ_UMAC, IWL_ALWAYS_LONG_GROUP, 0); in iwl_mvm_build_scan_cmd()
2254 struct iwl_host_cmd hcmd = { in iwl_mvm_reg_scan_start() local
2304 ret = iwl_mvm_build_scan_cmd(mvm, vif, &hcmd, &params, in iwl_mvm_reg_scan_start()
2312 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_reg_scan_start()
2339 struct iwl_host_cmd hcmd = { in iwl_mvm_sched_scan_start() local
2403 ret = iwl_mvm_build_scan_cmd(mvm, vif, &hcmd, &params, type); in iwl_mvm_sched_scan_start()
2408 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_sched_scan_start()
Dfw.c131 struct iwl_host_cmd hcmd = { in iwl_configure_rxq() local
167 hcmd.data[0] = cmd; in iwl_configure_rxq()
168 hcmd.len[0] = size; in iwl_configure_rxq()
170 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_configure_rxq()
Dutils.c322 u32 hcmd; /* last host command header */ member
370 u32 hcmd; /* last host command header */ member
534 IWL_ERR(mvm, "0x%08X | hcmd\n", table.hcmd); in iwl_mvm_dump_lmac_error_log()
Dmac80211.c1709 struct iwl_host_cmd hcmd = { in iwl_mvm_mc_iface_iterator() local
1728 hcmd.len[0] = len; in iwl_mvm_mc_iface_iterator()
1729 hcmd.data[0] = cmd; in iwl_mvm_mc_iface_iterator()
1731 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_mc_iface_iterator()
/drivers/net/wireless/intel/iwlwifi/dvm/
Ddevices.c405 struct iwl_host_cmd hcmd = { in iwl5000_hw_channel_switch() local
450 return iwl_dvm_send_cmd(priv, &hcmd); in iwl5000_hw_channel_switch()
566 struct iwl_host_cmd hcmd = { in iwl6000_hw_channel_switch() local
577 hcmd.data[0] = cmd; in iwl6000_hw_channel_switch()
618 err = iwl_dvm_send_cmd(priv, &hcmd); in iwl6000_hw_channel_switch()
Dcalib.c90 struct iwl_host_cmd hcmd = { in iwl_send_calib_results() local
98 hcmd.len[0] = res->cmd_len; in iwl_send_calib_results()
99 hcmd.data[0] = &res->hdr; in iwl_send_calib_results()
100 hcmd.dataflags[0] = IWL_HCMD_DFL_NOCOPY; in iwl_send_calib_results()
101 ret = iwl_dvm_send_cmd(priv, &hcmd); in iwl_send_calib_results()
Dcommands.h438 u32 hcmd; /* last host command header */ member
Dmain.c1666 IWL_ERR(priv, "0x%08X | hcmd\n", table.hcmd); in iwl_dump_nic_error_log()
/drivers/net/wireless/intel/iwlwifi/queue/
Dtx.c1212 struct iwl_host_cmd *hcmd) in iwl_txq_alloc_response() argument
1218 if (WARN_ON(iwl_rx_packet_payload_len(hcmd->resp_pkt) != in iwl_txq_alloc_response()
1224 rsp = (void *)hcmd->resp_pkt->data; in iwl_txq_alloc_response()
1250 iwl_free_resp(hcmd); in iwl_txq_alloc_response()
1254 iwl_free_resp(hcmd); in iwl_txq_alloc_response()
1268 struct iwl_host_cmd hcmd = { in iwl_txq_dyn_alloc() local
1284 ret = iwl_trans_send_cmd(trans, &hcmd); in iwl_txq_dyn_alloc()
1288 return iwl_txq_alloc_response(trans, txq, &hcmd); in iwl_txq_dyn_alloc()
/drivers/net/wireless/intel/iwlwifi/fw/api/
Ddbg-tlv.h294 struct iwl_fw_ini_hcmd hcmd; member
/drivers/net/wireless/intel/ipw2x00/
Dipw2200.h1218 struct ipw_cmd *hcmd; /**< host command currently executed */ member
Dipw2200.c202 static int ipw_queue_tx_hcmd(struct ipw_priv *priv, int hcmd, void *buf,
4850 if (priv->hcmd in ipw_rx_notification()
4851 && priv->hcmd->cmd != HOST_CMD_DINO_CONFIG) in ipw_rx_notification()
5036 static int ipw_queue_tx_hcmd(struct ipw_priv *priv, int hcmd, void *buf, in ipw_queue_tx_hcmd() argument
5055 tfd->u.cmd.index = hcmd; in ipw_queue_tx_hcmd()
/drivers/net/wireless/intel/iwlegacy/
D4965-mac.c5079 u32 pc, hcmd; in il4965_dump_nic_error_log() local
5110 hcmd = il_read_targ_mem(il, base + 22 * sizeof(u32)); in il4965_dump_nic_error_log()
5118 blink2, ilink1, ilink2, hcmd); in il4965_dump_nic_error_log()