Home
last modified time | relevance | path

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

12

/linux/drivers/net/wireless/intel/iwlwifi/fw/
A 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()
286 if (hcmd.flags & CMD_WANT_SKB) in iwl_dbgfs_send_hcmd_write()
[all …]
A Dinit.c60 struct iwl_host_cmd hcmd = { in iwl_set_soc_latency() local
98 ret = iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_set_soc_latency()
109 struct iwl_host_cmd hcmd = { in iwl_configure_rxq() local
148 hcmd.data[0] = cmd; in iwl_configure_rxq()
149 hcmd.len[0] = size; in iwl_configure_rxq()
151 ret = iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_configure_rxq()
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()
A 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()
A Ddbg.c2662 ptr = (void *)&fwrt->fw->dbg.conf_tlv[conf_id]->hcmd; in iwl_fw_start_dbg_conf()
2665 struct iwl_host_cmd hcmd = { in iwl_fw_start_dbg_conf() local
2671 ret = iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_fw_start_dbg_conf()
2851 struct iwl_host_cmd hcmd = { in iwl_fw_dbg_suspend_resume_hcmd() local
2857 return iwl_trans_send_cmd(trans, &hcmd); in iwl_fw_dbg_suspend_resume_hcmd()
A Dfile.h942 struct iwl_fw_dbg_conf_hcmd hcmd; member
/linux/drivers/net/wireless/intel/iwlwifi/
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],
A Diwl-dbg-tlv.c153 const struct iwl_fw_ini_hcmd_tlv *hcmd = (const void *)tlv->data; in iwl_dbg_tlv_alloc_hcmd() local
154 u32 tp = le32_to_cpu(hcmd->time_point); in iwl_dbg_tlv_alloc_hcmd()
156 if (le32_to_cpu(tlv->length) <= sizeof(*hcmd)) in iwl_dbg_tlv_alloc_hcmd()
658 struct iwl_host_cmd hcmd = { in iwl_dbg_tlv_apply_buffer() local
674 ret = iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_dbg_tlv_apply_buffer()
788 struct iwl_fw_ini_hcmd_tlv *hcmd = (void *)node->tlv.data; in iwl_dbg_tlv_send_hcmds() local
789 struct iwl_fw_ini_hcmd *hcmd_data = &hcmd->hcmd; in iwl_dbg_tlv_send_hcmds()
790 u16 hcmd_len = le32_to_cpu(node->tlv.length) - sizeof(*hcmd); in iwl_dbg_tlv_send_hcmds()
A Diwl-nvm-parse.c1638 struct iwl_host_cmd hcmd = { in iwl_get_nvm() local
1661 ret = iwl_trans_send_cmd(trans, &hcmd); in iwl_get_nvm()
1665 if (WARN(iwl_rx_packet_payload_len(hcmd.resp_pkt) != rsp_size, in iwl_get_nvm()
1667 iwl_rx_packet_payload_len(hcmd.resp_pkt))) { in iwl_get_nvm()
1672 rsp = (void *)hcmd.resp_pkt->data; in iwl_get_nvm()
1739 iwl_free_resp(&hcmd); in iwl_get_nvm()
1745 iwl_free_resp(&hcmd); in iwl_get_nvm()
A Diwl-trans.h375 void (*frob_hcmd)(void *ctx, void *hcmd, size_t buflen);
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
A 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()
A Dftm-initiator.c550 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v5() local
569 return iwl_mvm_ftm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_start_v5()
576 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v7() local
599 return iwl_mvm_ftm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_start_v7()
606 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v8() local
625 return iwl_mvm_ftm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_start_v8()
632 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v9() local
652 return iwl_mvm_ftm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_start_v9()
730 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v11() local
801 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v12() local
[all …]
A Dftm-responder.c179 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_responder_dyn_cfg_v2() local
210 hcmd.len[1] = aligned_lci_len + aligned_civicloc_len; in iwl_mvm_ftm_responder_dyn_cfg_v2()
212 return iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_responder_dyn_cfg_v2()
222 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_responder_dyn_cfg_v3() local
272 return iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_responder_dyn_cfg_v3()
A 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()
A Ddebugfs.c1898 struct iwl_host_cmd hcmd = { in iwl_dbgfs_mem_read() local
1920 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_dbgfs_mem_read()
1926 rsp = (void *)hcmd.resp_pkt->data; in iwl_dbgfs_mem_read()
1944 iwl_free_resp(&hcmd); in iwl_dbgfs_mem_read()
1955 struct iwl_host_cmd hcmd = {}; in iwl_dbgfs_mem_write() local
1990 hcmd.flags = CMD_WANT_SKB | CMD_SEND_IN_RFKILL, in iwl_dbgfs_mem_write()
1991 hcmd.data[0] = (void *)cmd; in iwl_dbgfs_mem_write()
1992 hcmd.len[0] = cmd_size; in iwl_dbgfs_mem_write()
1995 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_dbgfs_mem_write()
2003 rsp = (void *)hcmd.resp_pkt->data; in iwl_dbgfs_mem_write()
[all …]
A Dscan.c2549 struct iwl_host_cmd *hcmd, in iwl_mvm_build_scan_cmd() argument
2560 hcmd->id = SCAN_OFFLOAD_REQUEST_CMD; in iwl_mvm_build_scan_cmd()
2569 hcmd->id = iwl_cmd_id(SCAN_REQ_UMAC, IWL_ALWAYS_LONG_GROUP, 0); in iwl_mvm_build_scan_cmd()
2596 struct iwl_host_cmd hcmd = { in iwl_mvm_reg_scan_start() local
2651 uid = iwl_mvm_build_scan_cmd(mvm, vif, &hcmd, &params, in iwl_mvm_reg_scan_start()
2659 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_reg_scan_start()
2690 struct iwl_host_cmd hcmd = { in iwl_mvm_sched_scan_start() local
2788 uid = iwl_mvm_build_scan_cmd(mvm, vif, &hcmd, &params, type); in iwl_mvm_sched_scan_start()
2795 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_sched_scan_start()
A Dops.c812 static void iwl_mvm_frob_hcmd(void *ctx, void *hcmd, size_t len) in iwl_mvm_frob_hcmd() argument
815 struct iwl_cmd_header_wide *hdr = hcmd; in iwl_mvm_frob_hcmd()
853 memset((u8 *)hcmd + frob_start, 0xAA, frob_end - frob_start); in iwl_mvm_frob_hcmd()
A Dmac80211.c1659 struct iwl_host_cmd hcmd = { in iwl_mvm_mc_iface_iterator() local
1678 hcmd.len[0] = len; in iwl_mvm_mc_iface_iterator()
1679 hcmd.data[0] = cmd; in iwl_mvm_mc_iface_iterator()
1681 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_mc_iface_iterator()
5260 struct iwl_host_cmd hcmd = { in iwl_mvm_sync_rx_queues_internal() local
5282 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_sync_rx_queues_internal()
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
A Ddevices.c400 struct iwl_host_cmd hcmd = { in iwl5000_hw_channel_switch() local
445 return iwl_dvm_send_cmd(priv, &hcmd); in iwl5000_hw_channel_switch()
561 struct iwl_host_cmd hcmd = { in iwl6000_hw_channel_switch() local
572 hcmd.data[0] = cmd; in iwl6000_hw_channel_switch()
613 err = iwl_dvm_send_cmd(priv, &hcmd); in iwl6000_hw_channel_switch()
A 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()
A Dcommands.h385 u32 hcmd; /* last host command header */ member
A Dmain.c1658 IWL_ERR(priv, "0x%08X | hcmd\n", table.hcmd); in iwl_dump_nic_error_log()
/linux/drivers/net/wireless/intel/iwlwifi/queue/
A 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/drivers/net/wireless/intel/iwlwifi/fw/api/
A Ddbg-tlv.h243 struct iwl_fw_ini_hcmd hcmd; member
/linux/drivers/net/wireless/intel/ipw2x00/
A Dipw2200.h1218 struct ipw_cmd *hcmd; /**< host command currently executed */ member

Completed in 94 milliseconds

12