Lines Matching defs:hcmd
1392 "failed to wake NIC for hcmd\n");
2284 DPRINTFN(10, ("Sending PHY-DB hcmd of type %d, of length %d\n",
4184 iwm_send_cmd(struct iwm_softc *sc, struct iwm_host_cmd *hcmd)
4200 code = hcmd->id;
4201 async = hcmd->flags & IWM_CMD_ASYNC;
4202 wantresp = hcmd->flags & IWM_CMD_WANT_SKB;
4204 for (i = 0, paylen = 0; i < __arraycount(hcmd->len); i++) {
4205 paylen += hcmd->len[i];
4291 for (i = 0, off = 0; i < __arraycount(hcmd->data); i++) {
4292 if (hcmd->len[i] == 0)
4294 memcpy(data + off, hcmd->data[i], hcmd->len[i]);
4295 off += hcmd->len[i];
4344 hcmd->resp_pkt = (void *)sc->sc_cmd_resp;
4350 iwm_free_resp(sc, hcmd);
4425 iwm_free_resp(struct iwm_softc *sc, struct iwm_host_cmd *hcmd)
4428 KASSERT((hcmd->flags & IWM_CMD_WANT_SKB) == IWM_CMD_WANT_SKB);
5349 struct iwm_host_cmd hcmd = {
5367 hcmd.len[0] = (uint16_t)req_len;
5368 hcmd.data[0] = (void *)req;
5443 err = iwm_send_cmd(sc, &hcmd);
5456 struct iwm_host_cmd hcmd = {
5512 hcmd.data[0] = scan_config;
5513 hcmd.len[0] = cmd_size;
5515 err = iwm_send_cmd(sc, &hcmd);
5524 struct iwm_host_cmd hcmd = {
5545 hcmd.len[0] = (uint16_t)req_len;
5546 hcmd.data[0] = (void *)req;
5597 err = iwm_send_cmd(sc, &hcmd);
6557 struct iwm_host_cmd hcmd = {
6580 hcmd.len[0] = sizeof(struct iwm_mcc_update_cmd);
6582 hcmd.len[0] = sizeof(struct iwm_mcc_update_cmd_v1);
6584 err = iwm_send_cmd(sc, &hcmd);
6588 iwm_free_resp(sc, &hcmd);
7016 uint32_t hcmd; /* last host command header */
7166 aprint_error_dev(sc->sc_dev, "%08X | hcmd\n", t.hcmd);