Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/fw/
Ddebugfs.c194 struct iwl_host_cmd hcmd = { in iwl_fw_send_timestamp_marker_cmd() local
201 return iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_fw_send_timestamp_marker_cmd()
274 struct iwl_host_cmd hcmd = { in iwl_dbgfs_send_hcmd_write() local
294 hcmd.id = be32_to_cpu(data->cmd_id); in iwl_dbgfs_send_hcmd_write()
295 hcmd.flags = be32_to_cpu(data->flags); in iwl_dbgfs_send_hcmd_write()
296 hcmd.len[0] = be16_to_cpu(data->length); in iwl_dbgfs_send_hcmd_write()
297 hcmd.data[0] = data->data; in iwl_dbgfs_send_hcmd_write()
299 if (count != header_size + hcmd.len[0] * 2 + 1) { in iwl_dbgfs_send_hcmd_write()
307 ret = fwrt->ops->send_hcmd(fwrt->ops_ctx, &hcmd); in iwl_dbgfs_send_hcmd_write()
314 if (hcmd.flags & CMD_WANT_SKB) in iwl_dbgfs_send_hcmd_write()
[all …]
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()
Ddbg.c2272 ptr = (void *)&fwrt->fw->dbg.conf_tlv[conf_id]->hcmd; in iwl_fw_start_dbg_conf()
2275 struct iwl_host_cmd hcmd = { in iwl_fw_start_dbg_conf() local
2281 ret = iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_fw_start_dbg_conf()
2439 struct iwl_host_cmd hcmd = { in iwl_fw_dbg_suspend_resume_hcmd() local
2445 return iwl_trans_send_cmd(trans, &hcmd); in iwl_fw_dbg_suspend_resume_hcmd()
Dfile.h960 struct iwl_fw_dbg_conf_hcmd hcmd; member
/Linux-v5.4/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-nvm-parse.c1394 struct iwl_host_cmd hcmd = { in iwl_get_nvm() local
1420 ret = iwl_trans_send_cmd(trans, &hcmd); in iwl_get_nvm()
1424 if (WARN(iwl_rx_packet_payload_len(hcmd.resp_pkt) != rsp_size, in iwl_get_nvm()
1426 iwl_rx_packet_payload_len(hcmd.resp_pkt))) { in iwl_get_nvm()
1431 rsp = (void *)hcmd.resp_pkt->data; in iwl_get_nvm()
1496 iwl_free_resp(&hcmd); in iwl_get_nvm()
1502 iwl_free_resp(&hcmd); in iwl_get_nvm()
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/
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()
Dftm-responder.c119 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_responder_dyn_cfg_cmd() local
150 hcmd.len[1] = aligned_lci_len + aligned_civicloc_len; in iwl_mvm_ftm_responder_dyn_cfg_cmd()
152 return iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_responder_dyn_cfg_cmd()
Dftm-initiator.c329 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start() local
343 hcmd.data[0] = &cmd; in iwl_mvm_ftm_start()
344 hcmd.len[0] = sizeof(cmd); in iwl_mvm_ftm_start()
348 hcmd.data[0] = &cmd_v5; in iwl_mvm_ftm_start()
349 hcmd.len[0] = sizeof(cmd_v5); in iwl_mvm_ftm_start()
366 err = iwl_mvm_send_cmd_status(mvm, &hcmd, &status); in iwl_mvm_ftm_start()
Ddebugfs.c1849 struct iwl_host_cmd hcmd = { in iwl_dbgfs_mem_read() local
1860 hcmd.id = iwl_cmd_id(*ppos >> 24 ? UMAC_RD_WR : LMAC_RD_WR, in iwl_dbgfs_mem_read()
1871 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_dbgfs_mem_read()
1877 rsp = (void *)hcmd.resp_pkt->data; in iwl_dbgfs_mem_read()
1884 iwl_rx_packet_payload_len(hcmd.resp_pkt) - sizeof(*rsp)); in iwl_dbgfs_mem_read()
1895 iwl_free_resp(&hcmd); in iwl_dbgfs_mem_read()
1906 struct iwl_host_cmd hcmd = {}; in iwl_dbgfs_mem_write() local
1915 hcmd.id = iwl_cmd_id(*ppos >> 24 ? UMAC_RD_WR : LMAC_RD_WR, in iwl_dbgfs_mem_write()
1941 hcmd.flags = CMD_WANT_SKB | CMD_SEND_IN_RFKILL, in iwl_dbgfs_mem_write()
1942 hcmd.data[0] = (void *)cmd; in iwl_dbgfs_mem_write()
[all …]
Dscan.c1736 struct iwl_host_cmd hcmd = { in iwl_mvm_reg_scan_start() local
1790 hcmd.id = iwl_cmd_id(SCAN_REQ_UMAC, IWL_ALWAYS_LONG_GROUP, 0); in iwl_mvm_reg_scan_start()
1794 hcmd.id = SCAN_OFFLOAD_REQUEST_CMD; in iwl_mvm_reg_scan_start()
1803 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_reg_scan_start()
1830 struct iwl_host_cmd hcmd = { in iwl_mvm_sched_scan_start() local
1895 hcmd.id = iwl_cmd_id(SCAN_REQ_UMAC, IWL_ALWAYS_LONG_GROUP, 0); in iwl_mvm_sched_scan_start()
1898 hcmd.id = SCAN_OFFLOAD_REQUEST_CMD; in iwl_mvm_sched_scan_start()
1905 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_sched_scan_start()
Dfw.c132 struct iwl_host_cmd hcmd = { in iwl_configure_rxq() local
161 hcmd.data[0] = cmd; in iwl_configure_rxq()
162 hcmd.len[0] = size; in iwl_configure_rxq()
164 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_configure_rxq()
Dutils.c362 u32 hcmd; /* last host command header */ member
410 u32 hcmd; /* last host command header */ member
574 IWL_ERR(mvm, "0x%08X | hcmd\n", table.hcmd); in iwl_mvm_dump_lmac_error_log()
Dmac80211.c1643 struct iwl_host_cmd hcmd = { in iwl_mvm_mc_iface_iterator() local
1662 hcmd.len[0] = len; in iwl_mvm_mc_iface_iterator()
1663 hcmd.data[0] = cmd; in iwl_mvm_mc_iface_iterator()
1665 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_mc_iface_iterator()
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/dvm/
Ddevices.c403 struct iwl_host_cmd hcmd = { in iwl5000_hw_channel_switch() local
448 return iwl_dvm_send_cmd(priv, &hcmd); in iwl5000_hw_channel_switch()
564 struct iwl_host_cmd hcmd = { in iwl6000_hw_channel_switch() local
575 hcmd.data[0] = cmd; in iwl6000_hw_channel_switch()
616 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.c1673 IWL_ERR(priv, "0x%08X | hcmd\n", table.hcmd); in iwl_dump_nic_error_log()
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/pcie/
Dtx-gen2.c1159 struct iwl_host_cmd *hcmd) in iwl_trans_pcie_txq_alloc_response() argument
1166 if (WARN_ON(iwl_rx_packet_payload_len(hcmd->resp_pkt) != in iwl_trans_pcie_txq_alloc_response()
1172 rsp = (void *)hcmd->resp_pkt->data; in iwl_trans_pcie_txq_alloc_response()
1198 iwl_free_resp(hcmd); in iwl_trans_pcie_txq_alloc_response()
1202 iwl_free_resp(hcmd); in iwl_trans_pcie_txq_alloc_response()
1218 struct iwl_host_cmd hcmd = { in iwl_trans_pcie_dyn_txq_alloc() local
1234 ret = iwl_trans_send_cmd(trans, &hcmd); in iwl_trans_pcie_dyn_txq_alloc()
1238 return iwl_trans_pcie_txq_alloc_response(trans, txq, &hcmd); in iwl_trans_pcie_dyn_txq_alloc()
Dinternal.h1107 struct iwl_host_cmd *hcmd);
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/fw/api/
Ddbg-tlv.h140 struct iwl_fw_ini_hcmd hcmd; member
/Linux-v5.4/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,
4849 if (priv->hcmd in ipw_rx_notification()
4850 && priv->hcmd->cmd != HOST_CMD_DINO_CONFIG) in ipw_rx_notification()
5035 static int ipw_queue_tx_hcmd(struct ipw_priv *priv, int hcmd, void *buf, in ipw_queue_tx_hcmd() argument
5054 tfd->u.cmd.index = hcmd; in ipw_queue_tx_hcmd()
/Linux-v5.4/drivers/net/wireless/intel/iwlegacy/
D4965-mac.c5083 u32 pc, hcmd; in il4965_dump_nic_error_log() local
5114 hcmd = il_read_targ_mem(il, base + 22 * sizeof(u32)); in il4965_dump_nic_error_log()
5122 blink2, ilink1, ilink2, hcmd); in il4965_dump_nic_error_log()