Lines Matching refs:hcmd
811 struct iwl_host_cmd hcmd = {
825 ret = iwl_mvm_send_cmd(mvm, &hcmd);
836 rsp = (void *)hcmd.resp_pkt->data;
962 iwl_free_resp(&hcmd);
2209 struct iwl_host_cmd hcmd = {
2220 hcmd.id = WIDE_ID(DEBUG_GROUP, *ppos >> 24 ? UMAC_RD_WR : LMAC_RD_WR);
2230 ret = iwl_mvm_send_cmd(mvm, &hcmd);
2236 if (iwl_rx_packet_payload_len(hcmd.resp_pkt) < sizeof(*rsp)) {
2241 rsp = (void *)hcmd.resp_pkt->data;
2248 iwl_rx_packet_payload_len(hcmd.resp_pkt) - sizeof(*rsp));
2259 iwl_free_resp(&hcmd);
2270 struct iwl_host_cmd hcmd = {};
2279 hcmd.id = WIDE_ID(DEBUG_GROUP, *ppos >> 24 ? UMAC_RD_WR : LMAC_RD_WR);
2304 hcmd.flags = CMD_WANT_SKB | CMD_SEND_IN_RFKILL,
2305 hcmd.data[0] = (void *)cmd;
2306 hcmd.len[0] = cmd_size;
2309 ret = iwl_mvm_send_cmd(mvm, &hcmd);
2317 if (iwl_rx_packet_payload_len(hcmd.resp_pkt) < sizeof(*rsp)) {
2322 rsp = (void *)hcmd.resp_pkt->data;
2332 iwl_free_resp(&hcmd);