Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/fw/
Ddebugfs.c138 struct iwl_host_cmd hcmd = { in iwl_fw_send_timestamp_marker_cmd() local
145 return iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_fw_send_timestamp_marker_cmd()
152 struct iwl_host_cmd hcmd = { in iwl_dbgfs_enabled_severities_write() local
166 ret = iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_dbgfs_enabled_severities_write()
246 struct iwl_host_cmd hcmd = { in iwl_dbgfs_send_hcmd_write() local
266 hcmd.id = be32_to_cpu(data->cmd_id); in iwl_dbgfs_send_hcmd_write()
267 hcmd.flags = be32_to_cpu(data->flags); in iwl_dbgfs_send_hcmd_write()
268 hcmd.len[0] = be16_to_cpu(data->length); in iwl_dbgfs_send_hcmd_write()
269 hcmd.data[0] = data->data; in iwl_dbgfs_send_hcmd_write()
271 if (count != header_size + hcmd.len[0] * 2 + 1) { in iwl_dbgfs_send_hcmd_write()
[all …]
Dinit.c56 struct iwl_host_cmd hcmd = { in iwl_set_soc_latency() local
94 ret = iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_set_soc_latency()
105 struct iwl_host_cmd hcmd = { in iwl_configure_rxq() local
144 hcmd.data[0] = cmd; in iwl_configure_rxq()
145 hcmd.len[0] = size; in iwl_configure_rxq()
147 ret = iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_configure_rxq()
Dpaging.c243 struct iwl_host_cmd hcmd = { in iwl_send_paging_cmd() local
260 return iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_send_paging_cmd()
Ddump.c45 u32 hcmd; /* last host command header */ member
93 u32 hcmd; /* last host command header */ member
257 IWL_ERR(fwrt, "0x%08X | hcmd\n", table.hcmd); in iwl_fwrt_dump_lmac_error_log()
Ddbg.c2630 ptr = (void *)&fwrt->fw->dbg.conf_tlv[conf_id]->hcmd; in iwl_fw_start_dbg_conf()
2633 struct iwl_host_cmd hcmd = { in iwl_fw_start_dbg_conf() local
2639 ret = iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_fw_start_dbg_conf()
2813 struct iwl_host_cmd hcmd = { in iwl_fw_dbg_suspend_resume_hcmd() local
2819 return iwl_trans_send_cmd(trans, &hcmd); in iwl_fw_dbg_suspend_resume_hcmd()
Dfile.h936 struct iwl_fw_dbg_conf_hcmd hcmd; member
/Linux-v5.15/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.c150 const struct iwl_fw_ini_hcmd_tlv *hcmd = (const void *)tlv->data; in iwl_dbg_tlv_alloc_hcmd() local
151 u32 tp = le32_to_cpu(hcmd->time_point); in iwl_dbg_tlv_alloc_hcmd()
153 if (le32_to_cpu(tlv->length) <= sizeof(*hcmd)) in iwl_dbg_tlv_alloc_hcmd()
622 struct iwl_host_cmd hcmd = { in iwl_dbg_tlv_apply_buffer() local
638 ret = iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_dbg_tlv_apply_buffer()
667 struct iwl_fw_ini_hcmd_tlv *hcmd = (void *)node->tlv.data; in iwl_dbg_tlv_send_hcmds() local
668 struct iwl_fw_ini_hcmd *hcmd_data = &hcmd->hcmd; in iwl_dbg_tlv_send_hcmds()
669 u16 hcmd_len = le32_to_cpu(node->tlv.length) - sizeof(*hcmd); in iwl_dbg_tlv_send_hcmds()
Diwl-nvm-parse.c1621 struct iwl_host_cmd hcmd = { in iwl_get_nvm() local
1644 ret = iwl_trans_send_cmd(trans, &hcmd); in iwl_get_nvm()
1648 if (WARN(iwl_rx_packet_payload_len(hcmd.resp_pkt) != rsp_size, in iwl_get_nvm()
1650 iwl_rx_packet_payload_len(hcmd.resp_pkt))) { in iwl_get_nvm()
1655 rsp = (void *)hcmd.resp_pkt->data; in iwl_get_nvm()
1722 iwl_free_resp(&hcmd); in iwl_get_nvm()
1728 iwl_free_resp(&hcmd); in iwl_get_nvm()
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/mvm/
Doffloading.c41 struct iwl_host_cmd hcmd = { in iwl_mvm_send_proto_offload() local
186 hcmd.data[0] = common; in iwl_mvm_send_proto_offload()
205 hcmd.len[0] = size; in iwl_mvm_send_proto_offload()
206 return iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_send_proto_offload()
Dftm-initiator.c520 static int iwl_mvm_ftm_send_cmd(struct iwl_mvm *mvm, struct iwl_host_cmd *hcmd) in iwl_mvm_ftm_send_cmd() argument
523 int err = iwl_mvm_send_cmd_status(mvm, hcmd, &status); in iwl_mvm_ftm_send_cmd()
538 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v5() local
557 return iwl_mvm_ftm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_start_v5()
564 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v7() local
587 return iwl_mvm_ftm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_start_v7()
594 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v8() local
613 return iwl_mvm_ftm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_start_v8()
620 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v9() local
640 return iwl_mvm_ftm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_start_v9()
[all …]
Dftm-responder.c170 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_responder_dyn_cfg_v2() local
201 hcmd.len[1] = aligned_lci_len + aligned_civicloc_len; in iwl_mvm_ftm_responder_dyn_cfg_v2()
203 return iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_responder_dyn_cfg_v2()
213 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_responder_dyn_cfg_v3() local
263 return iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_responder_dyn_cfg_v3()
Drfi.c59 struct iwl_host_cmd hcmd = { in iwl_rfi_send_config_cmd() local
80 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_rfi_send_config_cmd()
Ddebugfs.c1905 struct iwl_host_cmd hcmd = { in iwl_dbgfs_mem_read() local
1916 hcmd.id = iwl_cmd_id(*ppos >> 24 ? UMAC_RD_WR : LMAC_RD_WR, in iwl_dbgfs_mem_read()
1927 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_dbgfs_mem_read()
1933 rsp = (void *)hcmd.resp_pkt->data; in iwl_dbgfs_mem_read()
1940 iwl_rx_packet_payload_len(hcmd.resp_pkt) - sizeof(*rsp)); in iwl_dbgfs_mem_read()
1951 iwl_free_resp(&hcmd); in iwl_dbgfs_mem_read()
1962 struct iwl_host_cmd hcmd = {}; in iwl_dbgfs_mem_write() local
1971 hcmd.id = iwl_cmd_id(*ppos >> 24 ? UMAC_RD_WR : LMAC_RD_WR, in iwl_dbgfs_mem_write()
1997 hcmd.flags = CMD_WANT_SKB | CMD_SEND_IN_RFKILL, in iwl_dbgfs_mem_write()
1998 hcmd.data[0] = (void *)cmd; in iwl_dbgfs_mem_write()
[all …]
Dscan.c2541 struct iwl_host_cmd *hcmd, in iwl_mvm_build_scan_cmd() argument
2552 hcmd->id = SCAN_OFFLOAD_REQUEST_CMD; in iwl_mvm_build_scan_cmd()
2561 hcmd->id = iwl_cmd_id(SCAN_REQ_UMAC, IWL_ALWAYS_LONG_GROUP, 0); in iwl_mvm_build_scan_cmd()
2588 struct iwl_host_cmd hcmd = { in iwl_mvm_reg_scan_start() local
2643 uid = iwl_mvm_build_scan_cmd(mvm, vif, &hcmd, &params, in iwl_mvm_reg_scan_start()
2651 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_reg_scan_start()
2682 struct iwl_host_cmd hcmd = { in iwl_mvm_sched_scan_start() local
2780 uid = iwl_mvm_build_scan_cmd(mvm, vif, &hcmd, &params, type); in iwl_mvm_sched_scan_start()
2787 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_sched_scan_start()
Dmac80211.c1636 struct iwl_host_cmd hcmd = { in iwl_mvm_mc_iface_iterator() local
1655 hcmd.len[0] = len; in iwl_mvm_mc_iface_iterator()
1656 hcmd.data[0] = cmd; in iwl_mvm_mc_iface_iterator()
1658 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_mc_iface_iterator()
5174 struct iwl_host_cmd hcmd = { in iwl_mvm_sync_rx_queues_internal() local
5196 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_sync_rx_queues_internal()
/Linux-v5.15/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.c37 struct iwl_host_cmd hcmd = { in iwl_send_calib_results() local
45 hcmd.len[0] = res->cmd_len; in iwl_send_calib_results()
46 hcmd.data[0] = &res->hdr; in iwl_send_calib_results()
47 hcmd.dataflags[0] = IWL_HCMD_DFL_NOCOPY; in iwl_send_calib_results()
48 ret = iwl_dvm_send_cmd(priv, &hcmd); in iwl_send_calib_results()
Dcommands.h385 u32 hcmd; /* last host command header */ member
Dmain.c1665 IWL_ERR(priv, "0x%08X | hcmd\n", table.hcmd); in iwl_dump_nic_error_log()
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/queue/
Dtx.c1135 struct iwl_host_cmd *hcmd) in iwl_txq_alloc_response() argument
1141 if (WARN_ON(iwl_rx_packet_payload_len(hcmd->resp_pkt) != in iwl_txq_alloc_response()
1147 rsp = (void *)hcmd->resp_pkt->data; in iwl_txq_alloc_response()
1179 iwl_free_resp(hcmd); in iwl_txq_alloc_response()
1183 iwl_free_resp(hcmd); in iwl_txq_alloc_response()
1197 struct iwl_host_cmd hcmd = { in iwl_txq_dyn_alloc() local
1213 ret = iwl_trans_send_cmd(trans, &hcmd); in iwl_txq_dyn_alloc()
1217 return iwl_txq_alloc_response(trans, txq, &hcmd); in iwl_txq_dyn_alloc()
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/fw/api/
Ddbg-tlv.h242 struct iwl_fw_ini_hcmd hcmd; member
/Linux-v5.15/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()
/Linux-v5.15/drivers/net/wireless/intel/iwlegacy/
D4965-mac.c5078 u32 pc, hcmd; in il4965_dump_nic_error_log() local
5109 hcmd = il_read_targ_mem(il, base + 22 * sizeof(u32)); in il4965_dump_nic_error_log()
5117 blink2, ilink1, ilink2, hcmd); in il4965_dump_nic_error_log()