Lines Matching refs:hcmd
1136 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()
1238 hcmd.len[0] = sizeof(cmd.new); in iwl_txq_dyn_alloc()
1239 hcmd.data[0] = &cmd.new; in iwl_txq_dyn_alloc()
1245 ret = iwl_trans_send_cmd(trans, &hcmd); in iwl_txq_dyn_alloc()
1249 return iwl_txq_alloc_response(trans, txq, &hcmd); in iwl_txq_dyn_alloc()