Lines Matching refs:hcmd
1143 struct iwl_host_cmd *hcmd) in iwl_txq_alloc_response() argument
1149 if (WARN_ON(iwl_rx_packet_payload_len(hcmd->resp_pkt) != in iwl_txq_alloc_response()
1155 rsp = (void *)hcmd->resp_pkt->data; in iwl_txq_alloc_response()
1187 iwl_free_resp(hcmd); in iwl_txq_alloc_response()
1191 iwl_free_resp(hcmd); in iwl_txq_alloc_response()
1204 struct iwl_host_cmd hcmd = { in iwl_txq_dyn_alloc() local
1227 hcmd.id = SCD_QUEUE_CFG; in iwl_txq_dyn_alloc()
1228 hcmd.len[0] = sizeof(cmd.old); in iwl_txq_dyn_alloc()
1229 hcmd.data[0] = &cmd.old; in iwl_txq_dyn_alloc()
1240 hcmd.id = WIDE_ID(DATA_PATH_GROUP, SCD_QUEUE_CONFIG_CMD); in iwl_txq_dyn_alloc()
1241 hcmd.len[0] = sizeof(cmd.new); in iwl_txq_dyn_alloc()
1242 hcmd.data[0] = &cmd.new; in iwl_txq_dyn_alloc()
1248 ret = iwl_trans_send_cmd(trans, &hcmd); in iwl_txq_dyn_alloc()
1252 return iwl_txq_alloc_response(trans, txq, &hcmd); in iwl_txq_dyn_alloc()