Home
last modified time | relevance | path

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

12

/linux-6.1.9/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.c60 struct iwl_host_cmd hcmd = { in iwl_set_soc_latency() local
97 ret = iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_set_soc_latency()
108 struct iwl_host_cmd hcmd = { in iwl_configure_rxq() local
147 hcmd.data[0] = cmd; in iwl_configure_rxq()
148 hcmd.len[0] = size; in iwl_configure_rxq()
150 ret = iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_configure_rxq()
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()
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()
Ddbg.c2850 ptr = (void *)&fwrt->fw->dbg.conf_tlv[conf_id]->hcmd; in iwl_fw_start_dbg_conf()
2853 struct iwl_host_cmd hcmd = { in iwl_fw_start_dbg_conf() local
2859 ret = iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_fw_start_dbg_conf()
2878 struct iwl_host_cmd hcmd = { in iwl_send_dbg_dump_complete_cmd() local
2891 iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_send_dbg_dump_complete_cmd()
3076 struct iwl_host_cmd hcmd = { in iwl_fw_dbg_suspend_resume_hcmd() local
3082 return iwl_trans_send_cmd(trans, &hcmd); in iwl_fw_dbg_suspend_resume_hcmd()
Dfile.h913 struct iwl_fw_dbg_conf_hcmd hcmd; member
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/
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],
Diwl-dbg-tlv.c154 const struct iwl_fw_ini_hcmd_tlv *hcmd = (const void *)tlv->data; in iwl_dbg_tlv_alloc_hcmd() local
155 u32 tp = le32_to_cpu(hcmd->time_point); in iwl_dbg_tlv_alloc_hcmd()
157 if (le32_to_cpu(tlv->length) <= sizeof(*hcmd)) in iwl_dbg_tlv_alloc_hcmd()
678 struct iwl_host_cmd hcmd = { in iwl_dbg_tlv_apply_buffer() local
694 ret = iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_dbg_tlv_apply_buffer()
815 struct iwl_fw_ini_hcmd_tlv *hcmd = (void *)node->tlv.data; in iwl_dbg_tlv_send_hcmds() local
816 struct iwl_fw_ini_hcmd *hcmd_data = &hcmd->hcmd; in iwl_dbg_tlv_send_hcmds()
817 u16 hcmd_len = le32_to_cpu(node->tlv.length) - sizeof(*hcmd); in iwl_dbg_tlv_send_hcmds()
Diwl-nvm-parse.c1707 struct iwl_host_cmd hcmd = { in iwl_get_nvm() local
1730 ret = iwl_trans_send_cmd(trans, &hcmd); in iwl_get_nvm()
1734 if (WARN(iwl_rx_packet_payload_len(hcmd.resp_pkt) != rsp_size, in iwl_get_nvm()
1736 iwl_rx_packet_payload_len(hcmd.resp_pkt))) { in iwl_get_nvm()
1741 rsp = (void *)hcmd.resp_pkt->data; in iwl_get_nvm()
1808 iwl_free_resp(&hcmd); in iwl_get_nvm()
1814 iwl_free_resp(&hcmd); in iwl_get_nvm()
Diwl-trans.h381 void (*frob_hcmd)(void *ctx, void *hcmd, size_t buflen);
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Doffloading.c41 struct iwl_host_cmd hcmd = { in iwl_mvm_send_proto_offload() local
50 int ver = iwl_fw_lookup_cmd_ver(mvm->fw, hcmd.id, 0); in iwl_mvm_send_proto_offload()
185 hcmd.data[0] = common; in iwl_mvm_send_proto_offload()
204 hcmd.len[0] = size; in iwl_mvm_send_proto_offload()
205 return iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_send_proto_offload()
Dftm-initiator.c532 static int iwl_mvm_ftm_send_cmd(struct iwl_mvm *mvm, struct iwl_host_cmd *hcmd) in iwl_mvm_ftm_send_cmd() argument
535 int err = iwl_mvm_send_cmd_status(mvm, hcmd, &status); in iwl_mvm_ftm_send_cmd()
550 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()
[all …]
Dftm-responder.c177 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_responder_dyn_cfg_v2() local
207 hcmd.len[1] = aligned_lci_len + aligned_civicloc_len; in iwl_mvm_ftm_responder_dyn_cfg_v2()
209 return iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_responder_dyn_cfg_v2()
219 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_responder_dyn_cfg_v3() local
268 return iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_responder_dyn_cfg_v3()
Drfi.c77 struct iwl_host_cmd hcmd = { in iwl_rfi_send_config_cmd() local
98 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_rfi_send_config_cmd()
Ddebugfs.c1721 struct iwl_host_cmd hcmd = { in iwl_dbgfs_mem_read() local
1732 hcmd.id = WIDE_ID(DEBUG_GROUP, *ppos >> 24 ? UMAC_RD_WR : LMAC_RD_WR); in iwl_dbgfs_mem_read()
1742 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_dbgfs_mem_read()
1748 rsp = (void *)hcmd.resp_pkt->data; in iwl_dbgfs_mem_read()
1755 iwl_rx_packet_payload_len(hcmd.resp_pkt) - sizeof(*rsp)); in iwl_dbgfs_mem_read()
1766 iwl_free_resp(&hcmd); in iwl_dbgfs_mem_read()
1777 struct iwl_host_cmd hcmd = {}; in iwl_dbgfs_mem_write() local
1786 hcmd.id = WIDE_ID(DEBUG_GROUP, *ppos >> 24 ? UMAC_RD_WR : LMAC_RD_WR); in iwl_dbgfs_mem_write()
1811 hcmd.flags = CMD_WANT_SKB | CMD_SEND_IN_RFKILL, in iwl_dbgfs_mem_write()
1812 hcmd.data[0] = (void *)cmd; in iwl_dbgfs_mem_write()
[all …]
Dscan.c2621 struct iwl_host_cmd *hcmd, in iwl_mvm_build_scan_cmd() argument
2632 hcmd->id = SCAN_OFFLOAD_REQUEST_CMD; in iwl_mvm_build_scan_cmd()
2641 hcmd->id = WIDE_ID(IWL_ALWAYS_LONG_GROUP, SCAN_REQ_UMAC); in iwl_mvm_build_scan_cmd()
2746 struct iwl_host_cmd hcmd = { in iwl_mvm_reg_scan_start() local
2802 uid = iwl_mvm_build_scan_cmd(mvm, vif, &hcmd, &params, in iwl_mvm_reg_scan_start()
2810 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_reg_scan_start()
2841 struct iwl_host_cmd hcmd = { in iwl_mvm_sched_scan_start() local
2940 uid = iwl_mvm_build_scan_cmd(mvm, vif, &hcmd, &params, type); in iwl_mvm_sched_scan_start()
2947 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_sched_scan_start()
Dops.c870 static void iwl_mvm_frob_hcmd(void *ctx, void *hcmd, size_t len) in iwl_mvm_frob_hcmd() argument
873 struct iwl_cmd_header_wide *hdr = hcmd; in iwl_mvm_frob_hcmd()
911 memset((u8 *)hcmd + frob_start, 0xAA, frob_end - frob_start); in iwl_mvm_frob_hcmd()
Dmac80211.c1605 struct iwl_host_cmd hcmd = { in iwl_mvm_mc_iface_iterator() local
1624 hcmd.len[0] = len; in iwl_mvm_mc_iface_iterator()
1625 hcmd.data[0] = cmd; in iwl_mvm_mc_iface_iterator()
1627 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_mc_iface_iterator()
5258 struct iwl_host_cmd hcmd = { in iwl_mvm_sync_rx_queues_internal() local
5280 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_sync_rx_queues_internal()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/dvm/
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()
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()
Dcommands.h385 u32 hcmd; /* last host command header */ member
Dmain.c1659 IWL_ERR(priv, "0x%08X | hcmd\n", table.hcmd); in iwl_dump_nic_error_log()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/queue/
Dtx.c1136 struct iwl_host_cmd *hcmd) in iwl_txq_alloc_response() argument
1142 if (WARN_ON(iwl_rx_packet_payload_len(hcmd->resp_pkt) != in iwl_txq_alloc_response()
1148 rsp = (void *)hcmd->resp_pkt->data; in iwl_txq_alloc_response()
1180 iwl_free_resp(hcmd); in iwl_txq_alloc_response()
1184 iwl_free_resp(hcmd); in iwl_txq_alloc_response()
1197 struct iwl_host_cmd hcmd = { in iwl_txq_dyn_alloc() local
1224 hcmd.id = SCD_QUEUE_CFG; in iwl_txq_dyn_alloc()
1225 hcmd.len[0] = sizeof(cmd.old); in iwl_txq_dyn_alloc()
1226 hcmd.data[0] = &cmd.old; in iwl_txq_dyn_alloc()
1237 hcmd.id = WIDE_ID(DATA_PATH_GROUP, SCD_QUEUE_CONFIG_CMD); in iwl_txq_dyn_alloc()
[all …]
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/fw/api/
Ddbg-tlv.h249 struct iwl_fw_ini_hcmd hcmd; member
/linux-6.1.9/drivers/net/wireless/intel/ipw2x00/
Dipw2200.h1218 struct ipw_cmd *hcmd; /**< host command currently executed */ member

12