| /drivers/net/wireless/intel/iwlwifi/fw/ |
| A D | init.c | 62 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()
|
| A D | debugfs.c | 148 struct iwl_host_cmd hcmd = { in iwl_dbgfs_enabled_severities_write() local 163 ret = fwrt->ops->send_hcmd(fwrt->ops_ctx, &hcmd); in iwl_dbgfs_enabled_severities_write() 246 struct iwl_host_cmd hcmd = { in iwl_dbgfs_send_hcmd_write() local 265 hcmd.id = be32_to_cpu(data->cmd_id); in iwl_dbgfs_send_hcmd_write() 266 hcmd.flags = be32_to_cpu(data->flags); in iwl_dbgfs_send_hcmd_write() 267 hcmd.len[0] = be16_to_cpu(data->length); in iwl_dbgfs_send_hcmd_write() 268 hcmd.data[0] = data->data; in iwl_dbgfs_send_hcmd_write() 270 if (count != header_size + hcmd.len[0] * 2 + 1) { in iwl_dbgfs_send_hcmd_write() 278 ret = fwrt->ops->send_hcmd(fwrt->ops_ctx, &hcmd); in iwl_dbgfs_send_hcmd_write() 285 if (hcmd.flags & CMD_WANT_SKB) in iwl_dbgfs_send_hcmd_write() [all …]
|
| A D | paging.c | 245 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()
|
| A D | dbg.c | 3124 struct iwl_host_cmd hcmd = { in iwl_fw_start_dbg_conf() local 3148 struct iwl_host_cmd hcmd = { in iwl_send_dbg_dump_complete_cmd() local 3350 struct iwl_host_cmd hcmd = { in iwl_fw_dbg_suspend_resume_hcmd() local 3404 struct iwl_host_cmd hcmd = { in iwl_fw_send_timestamp_marker_cmd() local 3429 hcmd.data[0] = ▮ in iwl_fw_send_timestamp_marker_cmd() 3430 hcmd.len[0] = sizeof(marker); in iwl_fw_send_timestamp_marker_cmd() 3434 if (cmd_ver > 1 && hcmd.resp_pkt) { in iwl_fw_send_timestamp_marker_cmd() 3435 resp = (void *)hcmd.resp_pkt->data; in iwl_fw_send_timestamp_marker_cmd() 3479 struct iwl_host_cmd hcmd = { in iwl_fw_disable_dbg_asserts() local 3494 iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_fw_disable_dbg_asserts() [all …]
|
| A D | dump.c | 54 u32 hcmd; /* last host command header */ member 253 IWL_ERR(fwrt, "0x%08X | hcmd\n", table.hcmd); in iwl_fwrt_dump_lmac_error_log()
|
| /drivers/net/wireless/intel/iwlwifi/ |
| A D | iwl-devtrace-iwlwifi.h | 25 __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],
|
| A D | iwl-dbg-tlv.c | 169 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()
|
| A D | iwl-nvm-parse.c | 2071 struct iwl_host_cmd hcmd = { in iwl_get_nvm() local 2097 ret = iwl_trans_send_cmd(trans, &hcmd); in iwl_get_nvm() 2101 if (WARN(iwl_rx_packet_payload_len(hcmd.resp_pkt) != rsp_size, in iwl_get_nvm() 2103 iwl_rx_packet_payload_len(hcmd.resp_pkt))) { in iwl_get_nvm() 2108 rsp = (void *)hcmd.resp_pkt->data; in iwl_get_nvm() 2182 iwl_free_resp(&hcmd); in iwl_get_nvm() 2188 iwl_free_resp(&hcmd); in iwl_get_nvm()
|
| /drivers/net/wireless/intel/iwlwifi/mld/ |
| A D | ap.c | 78 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()
|
| A D | debugfs.c | 392 struct iwl_host_cmd hcmd = { in iwl_dbgfs_tas_get_status_read() local 407 ret = iwl_mld_send_cmd(mld, &hcmd); in iwl_dbgfs_tas_get_status_read() 417 status = iwl_dhc_resp_status(mld->fwrt.fw, hcmd.resp_pkt); in iwl_dbgfs_tas_get_status_read() 425 resp = iwl_dhc_resp_data(mld->fwrt.fw, hcmd.resp_pkt, &resp_len); in iwl_dbgfs_tas_get_status_read() 436 iwl_free_resp(&hcmd); in iwl_dbgfs_tas_get_status_read() 794 struct iwl_host_cmd hcmd = { in iwl_dbgfs_vif_twt_setup_write() local 855 hcmd.len[0] = sizeof(*cmd) + sizeof(*dhc_twt_cmd); in iwl_dbgfs_vif_twt_setup_write() 856 hcmd.data[0] = cmd; in iwl_dbgfs_vif_twt_setup_write() 858 ret = iwl_mld_send_cmd(mld, &hcmd); in iwl_dbgfs_vif_twt_setup_write()
|
| A D | agg.c | 406 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()
|
| A D | scan.c | 1214 struct iwl_host_cmd hcmd = { in iwl_mld_config_sched_scan_profiles() local 1234 hcmd.data[0] = cmd; in iwl_mld_config_sched_scan_profiles() 1235 hcmd.len[0] = cmd_size; in iwl_mld_config_sched_scan_profiles() 1269 ret = iwl_mld_send_cmd(mld, &hcmd); in iwl_mld_config_sched_scan_profiles() 1438 struct iwl_host_cmd hcmd = { in _iwl_mld_single_scan_start() local 1504 ret = iwl_mld_send_cmd(mld, &hcmd); in _iwl_mld_single_scan_start() 1629 struct iwl_host_cmd hcmd = { in iwl_mld_sched_scan_start() local 1702 ret = iwl_mld_send_cmd(mld, &hcmd); in iwl_mld_sched_scan_start()
|
| A D | ftm-initiator.c | 225 struct iwl_host_cmd hcmd = { in iwl_mld_ftm_start() local 256 ret = iwl_mld_send_cmd(mld, &hcmd); in iwl_mld_ftm_start()
|
| /drivers/net/wireless/intel/iwlwifi/mvm/ |
| A D | offloading.c | 42 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()
|
| A D | ftm-initiator.c | 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 714 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v11() local 786 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v12() local 814 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v13() local [all …]
|
| A D | ftm-responder.c | 186 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()
|
| A D | debugfs.c | 570 struct iwl_host_cmd hcmd = { in iwl_dbgfs_tas_get_status_read() local 588 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_dbgfs_tas_get_status_read() 599 rsp = (void *)hcmd.resp_pkt->data; in iwl_dbgfs_tas_get_status_read() 723 iwl_free_resp(&hcmd); in iwl_dbgfs_tas_get_status_read() 1961 struct iwl_host_cmd hcmd = { in iwl_dbgfs_mem_read() local 1993 rsp = (void *)hcmd.resp_pkt->data; in iwl_dbgfs_mem_read() 2011 iwl_free_resp(&hcmd); in iwl_dbgfs_mem_read() 2022 struct iwl_host_cmd hcmd = {}; in iwl_dbgfs_mem_write() local 2057 hcmd.data[0] = (void *)cmd; in iwl_dbgfs_mem_write() 2058 hcmd.len[0] = cmd_size; in iwl_dbgfs_mem_write() [all …]
|
| A D | rfi.c | 87 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()
|
| A D | scan.c | 2832 struct iwl_host_cmd *hcmd, in iwl_mvm_build_scan_cmd() argument 2845 hcmd->id = SCAN_OFFLOAD_REQUEST_CMD; in iwl_mvm_build_scan_cmd() 2854 hcmd->id = WIDE_ID(IWL_ALWAYS_LONG_GROUP, SCAN_REQ_UMAC); in iwl_mvm_build_scan_cmd() 2974 struct iwl_host_cmd hcmd = { in _iwl_mvm_single_scan_start() local 3039 uid = iwl_mvm_build_scan_cmd(mvm, vif, &hcmd, ¶ms, type); in _iwl_mvm_single_scan_start() 3046 ret = iwl_mvm_send_cmd(mvm, &hcmd); in _iwl_mvm_single_scan_start() 3089 struct iwl_host_cmd hcmd = { in iwl_mvm_sched_scan_start() local 3188 uid = iwl_mvm_build_scan_cmd(mvm, vif, &hcmd, ¶ms, type); in iwl_mvm_sched_scan_start() 3194 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_sched_scan_start()
|
| /drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/ |
| A D | tx-gen2.c | 965 struct iwl_host_cmd *hcmd) in iwl_pcie_txq_alloc_response() argument 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() 1087 hcmd.len[0] = sizeof(cmd.new); in iwl_txq_dyn_alloc() 1088 hcmd.data[0] = &cmd.new; in iwl_txq_dyn_alloc() [all …]
|
| /drivers/net/wireless/intel/iwlwifi/dvm/ |
| A D | devices.c | 402 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()
|
| A D | calib.c | 36 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()
|
| /drivers/net/wireless/intel/iwlwifi/mvm/tests/ |
| A D | Makefile | 1 iwlmvm-tests-y += module.o links.o hcmd.o
|
| /drivers/net/wireless/intel/iwlwifi/mld/tests/ |
| A D | Makefile | 2 iwlmld-tests-y += module.o hcmd.o utils.o link.o rx.o agg.o link-selection.o
|
| /drivers/net/wireless/intel/iwlwifi/fw/api/ |
| A D | dbg-tlv.h | 281 struct iwl_fw_ini_hcmd hcmd; member
|