Home
last modified time | relevance | path

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

12

/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A Dinit.c62 struct iwl_host_cmd hcmd = { in iwl_set_soc_latency() local
99 ret = iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_set_soc_latency()
110 struct iwl_host_cmd hcmd = { in iwl_configure_rxq() local
151 hcmd.data[0] = cmd; in iwl_configure_rxq()
152 hcmd.len[0] = size; in iwl_configure_rxq()
154 ret = iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_configure_rxq()
H A Ddebugfs.c149 struct iwl_host_cmd hcmd = { in iwl_dbgfs_enabled_severities_write() local
164 ret = fwrt->ops->send_hcmd(fwrt->ops_ctx, &hcmd); in iwl_dbgfs_enabled_severities_write()
247 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()
279 ret = fwrt->ops->send_hcmd(fwrt->ops_ctx, &hcmd); in iwl_dbgfs_send_hcmd_write()
286 if (hcmd.flags & CMD_WANT_SKB) in iwl_dbgfs_send_hcmd_write()
[all …]
H A Dpaging.c245 struct iwl_host_cmd hcmd = { in iwl_send_paging_cmd() local
262 return iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_send_paging_cmd()
H A Ddbg.c3085 ptr = (void *)&fwrt->fw->dbg.conf_tlv[conf_id]->hcmd; in iwl_fw_start_dbg_conf()
3088 struct iwl_host_cmd hcmd = { in iwl_fw_start_dbg_conf() local
3094 ret = iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_fw_start_dbg_conf()
3112 struct iwl_host_cmd hcmd = { in iwl_send_dbg_dump_complete_cmd() local
3125 iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_send_dbg_dump_complete_cmd()
3314 struct iwl_host_cmd hcmd = { in iwl_fw_dbg_suspend_resume_hcmd() local
3320 return iwl_trans_send_cmd(trans, &hcmd); in iwl_fw_dbg_suspend_resume_hcmd()
3368 struct iwl_host_cmd hcmd = { in iwl_fw_send_timestamp_marker_cmd() local
3393 hcmd.data[0] = ▮ in iwl_fw_send_timestamp_marker_cmd()
3394 hcmd.len[0] = sizeof(marker); in iwl_fw_send_timestamp_marker_cmd()
[all …]
H A Ddump.c47 u32 hcmd; /* last host command header */ member
221 IWL_ERR(fwrt, "0x%08X | hcmd\n", table.hcmd); in iwl_fwrt_dump_lmac_error_log()
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dnan.c25 struct iwl_host_cmd hcmd = { in iwl_mld_nan_send_config_cmd() local
29 hcmd.len[0] = sizeof(*cmd); in iwl_mld_nan_send_config_cmd()
30 hcmd.data[0] = cmd; in iwl_mld_nan_send_config_cmd()
33 hcmd.len[1] = beacon_data_len; in iwl_mld_nan_send_config_cmd()
34 hcmd.data[1] = beacon_data; in iwl_mld_nan_send_config_cmd()
35 hcmd.dataflags[1] = IWL_HCMD_DFL_DUP; in iwl_mld_nan_send_config_cmd()
38 return iwl_mld_send_cmd(mld, &hcmd); in iwl_mld_nan_send_config_cmd()
H A Dap.c78 struct iwl_host_cmd hcmd = { in iwl_mld_send_beacon_template_cmd() local
82 hcmd.len[0] = sizeof(*cmd); in iwl_mld_send_beacon_template_cmd()
83 hcmd.data[0] = cmd; in iwl_mld_send_beacon_template_cmd()
85 hcmd.len[1] = beacon->len; in iwl_mld_send_beacon_template_cmd()
86 hcmd.data[1] = beacon->data; in iwl_mld_send_beacon_template_cmd()
87 hcmd.dataflags[1] = IWL_HCMD_DFL_DUP; in iwl_mld_send_beacon_template_cmd()
89 return iwl_mld_send_cmd(mld, &hcmd); in iwl_mld_send_beacon_template_cmd()
H A Ddebugfs.c393 struct iwl_host_cmd hcmd = { in iwl_dbgfs_tas_get_status_read() local
408 ret = iwl_mld_send_cmd(mld, &hcmd); in iwl_dbgfs_tas_get_status_read()
418 status = iwl_dhc_resp_status(mld->fwrt.fw, hcmd.resp_pkt); in iwl_dbgfs_tas_get_status_read()
426 resp = iwl_dhc_resp_data(mld->fwrt.fw, hcmd.resp_pkt, &resp_len); in iwl_dbgfs_tas_get_status_read()
437 iwl_free_resp(&hcmd); in iwl_dbgfs_tas_get_status_read()
795 struct iwl_host_cmd hcmd = { in iwl_dbgfs_vif_twt_setup_write() local
856 hcmd.len[0] = sizeof(*cmd) + sizeof(*dhc_twt_cmd); in iwl_dbgfs_vif_twt_setup_write()
857 hcmd.data[0] = cmd; in iwl_dbgfs_vif_twt_setup_write()
859 ret = iwl_mld_send_cmd(mld, &hcmd); in iwl_dbgfs_vif_twt_setup_write()
H A Dagg.c406 struct iwl_host_cmd hcmd = { in iwl_mld_start_ba_in_fw() local
419 ret = iwl_mld_send_cmd(mld, &hcmd); in iwl_mld_start_ba_in_fw()
423 pkt = hcmd.resp_pkt; in iwl_mld_start_ba_in_fw()
446 iwl_free_resp(&hcmd); in iwl_mld_start_ba_in_fw()
H A Dftm-initiator.c225 struct iwl_host_cmd hcmd = { in iwl_mld_ftm_start() local
256 ret = iwl_mld_send_cmd(mld, &hcmd); in iwl_mld_ftm_start()
/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-devtrace-iwlwifi.h25 __dynamic_array(u8, hcmd, total_size)
36 memcpy(__get_dynamic_array(hcmd), hdr, offset);
41 memcpy((u8 *)__get_dynamic_array(hcmd) + offset,
47 __get_str(dev), ((u8 *)__get_dynamic_array(hcmd))[1],
48 ((u8 *)__get_dynamic_array(hcmd))[0],
H A Diwl-dbg-tlv.c169 const struct iwl_fw_ini_hcmd_tlv *hcmd = (const void *)tlv->data; in iwl_dbg_tlv_alloc_hcmd() local
170 u32 tp = le32_to_cpu(hcmd->time_point); in iwl_dbg_tlv_alloc_hcmd()
172 if (le32_to_cpu(tlv->length) <= sizeof(*hcmd)) in iwl_dbg_tlv_alloc_hcmd()
698 struct iwl_host_cmd hcmd = { in iwl_dbg_tlv_apply_buffer() local
714 ret = iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_dbg_tlv_apply_buffer()
838 struct iwl_fw_ini_hcmd_tlv *hcmd = (void *)node->tlv.data; in iwl_dbg_tlv_send_hcmds() local
839 struct iwl_fw_ini_hcmd *hcmd_data = &hcmd->hcmd; in iwl_dbg_tlv_send_hcmds()
840 u16 hcmd_len = le32_to_cpu(node->tlv.length) - sizeof(*hcmd); in iwl_dbg_tlv_send_hcmds()
H A Diwl-nvm-parse.c1991 struct iwl_host_cmd hcmd = { in iwl_get_nvm() local
2017 ret = iwl_trans_send_cmd(trans, &hcmd); in iwl_get_nvm()
2021 if (WARN(iwl_rx_packet_payload_len(hcmd.resp_pkt) != rsp_size, in iwl_get_nvm()
2023 iwl_rx_packet_payload_len(hcmd.resp_pkt))) { in iwl_get_nvm()
2028 rsp = (void *)hcmd.resp_pkt->data; in iwl_get_nvm()
2102 iwl_free_resp(&hcmd); in iwl_get_nvm()
2108 iwl_free_resp(&hcmd); in iwl_get_nvm()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Doffloading.c42 struct iwl_host_cmd hcmd = { in iwl_mvm_send_proto_offload() local
51 int ver = iwl_fw_lookup_cmd_ver(mvm->fw, hcmd.id, 0); in iwl_mvm_send_proto_offload()
186 hcmd.data[0] = common; in iwl_mvm_send_proto_offload()
212 hcmd.len[0] = size; in iwl_mvm_send_proto_offload()
213 return iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_send_proto_offload()
H A Dftm-initiator.c498 static int iwl_mvm_ftm_send_cmd(struct iwl_mvm *mvm, struct iwl_host_cmd *hcmd) in iwl_mvm_ftm_send_cmd() argument
501 int err = iwl_mvm_send_cmd_status(mvm, hcmd, &status); in iwl_mvm_ftm_send_cmd()
516 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v5() local
535 return iwl_mvm_ftm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_start_v5()
542 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v7() local
565 return iwl_mvm_ftm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_start_v7()
572 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v8() local
591 return iwl_mvm_ftm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_start_v8()
598 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v9() local
618 return iwl_mvm_ftm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_start_v9()
[all …]
H A Dftm-responder.c186 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_responder_dyn_cfg_v2() local
216 hcmd.len[1] = aligned_lci_len + aligned_civicloc_len; in iwl_mvm_ftm_responder_dyn_cfg_v2()
218 return iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_responder_dyn_cfg_v2()
228 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_responder_dyn_cfg_v3() local
277 return iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_responder_dyn_cfg_v3()
H A Ddebugfs.c571 struct iwl_host_cmd hcmd = { in iwl_dbgfs_tas_get_status_read() local
589 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_dbgfs_tas_get_status_read()
600 rsp = (void *)hcmd.resp_pkt->data; in iwl_dbgfs_tas_get_status_read()
724 iwl_free_resp(&hcmd); in iwl_dbgfs_tas_get_status_read()
1962 struct iwl_host_cmd hcmd = { in iwl_dbgfs_mem_read() local
1973 hcmd.id = WIDE_ID(DEBUG_GROUP, *ppos >> 24 ? UMAC_RD_WR : LMAC_RD_WR); in iwl_dbgfs_mem_read()
1983 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_dbgfs_mem_read()
1989 if (iwl_rx_packet_payload_len(hcmd.resp_pkt) < sizeof(*rsp)) { in iwl_dbgfs_mem_read()
1994 rsp = (void *)hcmd.resp_pkt->data; in iwl_dbgfs_mem_read()
2001 iwl_rx_packet_payload_len(hcmd.resp_pkt) - sizeof(*rsp)); in iwl_dbgfs_mem_read()
[all …]
H A Drfi.c87 struct iwl_host_cmd hcmd = { in iwl_rfi_send_config_cmd() local
108 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_rfi_send_config_cmd()
H A Dscan.c2830 struct iwl_host_cmd *hcmd, in iwl_mvm_build_scan_cmd() argument
2843 hcmd->id = SCAN_OFFLOAD_REQUEST_CMD; in iwl_mvm_build_scan_cmd()
2852 hcmd->id = WIDE_ID(IWL_ALWAYS_LONG_GROUP, SCAN_REQ_UMAC); in iwl_mvm_build_scan_cmd()
2972 struct iwl_host_cmd hcmd = { in _iwl_mvm_single_scan_start() local
3033 uid = iwl_mvm_build_scan_cmd(mvm, vif, &hcmd, &params, type); in _iwl_mvm_single_scan_start()
3040 ret = iwl_mvm_send_cmd(mvm, &hcmd); in _iwl_mvm_single_scan_start()
3083 struct iwl_host_cmd hcmd = { in iwl_mvm_sched_scan_start() local
3182 uid = iwl_mvm_build_scan_cmd(mvm, vif, &hcmd, &params, type); in iwl_mvm_sched_scan_start()
3188 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_sched_scan_start()
/linux/drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/
H A Dtx-gen2.c965 struct iwl_host_cmd *hcmd) in iwl_pcie_txq_alloc_response() argument
972 if (WARN_ON(iwl_rx_packet_payload_len(hcmd->resp_pkt) != in iwl_pcie_txq_alloc_response()
978 rsp = (void *)hcmd->resp_pkt->data; in iwl_pcie_txq_alloc_response()
1010 iwl_free_resp(hcmd); in iwl_pcie_txq_alloc_response()
1014 iwl_free_resp(hcmd); in iwl_pcie_txq_alloc_response()
1028 struct iwl_host_cmd hcmd = { in iwl_txq_dyn_alloc() local
1073 hcmd.id = SCD_QUEUE_CFG; in iwl_txq_dyn_alloc()
1074 hcmd.len[0] = sizeof(cmd.old); in iwl_txq_dyn_alloc()
1075 hcmd.data[0] = &cmd.old; in iwl_txq_dyn_alloc()
1086 hcmd.id = WIDE_ID(DATA_PATH_GROUP, SCD_QUEUE_CONFIG_CMD); in iwl_txq_dyn_alloc()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Ddevices.c402 struct iwl_host_cmd hcmd = { in iwl5000_hw_channel_switch() local
447 return iwl_dvm_send_cmd(priv, &hcmd); in iwl5000_hw_channel_switch()
563 struct iwl_host_cmd hcmd = { in iwl6000_hw_channel_switch() local
574 hcmd.data[0] = cmd; in iwl6000_hw_channel_switch()
615 err = iwl_dvm_send_cmd(priv, &hcmd); in iwl6000_hw_channel_switch()
H A Dcalib.c36 struct iwl_host_cmd hcmd = { in iwl_send_calib_results() local
44 hcmd.len[0] = res->cmd_len; in iwl_send_calib_results()
45 hcmd.data[0] = &res->cmd; in iwl_send_calib_results()
46 hcmd.dataflags[0] = IWL_HCMD_DFL_NOCOPY; in iwl_send_calib_results()
47 ret = iwl_dvm_send_cmd(priv, &hcmd); in iwl_send_calib_results()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/tests/
H A DMakefile1 iwlmvm-tests-y += module.o hcmd.o
/linux/drivers/net/wireless/intel/iwlwifi/mld/tests/
H A DMakefile2 iwlmld-tests-y += module.o hcmd.o utils.o link.o rx.o agg.o link-selection.o
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Ddbg-tlv.h281 struct iwl_fw_ini_hcmd hcmd; member

12