Searched refs:hcmd (Results 1 - 4 of 4) sorted by relevance

/freebsd-12-stable/sys/dev/iwm/
H A Dif_iwm_util.c170 iwm_send_cmd(struct iwm_softc *sc, struct iwm_host_cmd *hcmd) argument
188 code = hcmd->id;
189 async = hcmd->flags & IWM_CMD_ASYNC;
190 wantresp = hcmd->flags & IWM_CMD_WANT_SKB;
193 for (i = 0, paylen = 0; i < nitems(hcmd->len); i++) {
194 paylen += hcmd->len[i];
230 paylen, hcmd->len[0]);
279 for (i = 0, off = 0; i < nitems(hcmd->data); i++) {
280 if (hcmd->len[i] == 0)
282 memcpy(data + off, hcmd
418 iwm_free_resp(struct iwm_softc *sc, struct iwm_host_cmd *hcmd) argument
[all...]
H A Dif_iwm_util.h109 extern int iwm_send_cmd(struct iwm_softc *sc, struct iwm_host_cmd *hcmd);
117 extern void iwm_free_resp(struct iwm_softc *sc, struct iwm_host_cmd *hcmd);
H A Dif_iwm_scan.c487 struct iwm_host_cmd hcmd = { local
554 hcmd.data[0] = scan_config;
555 hcmd.len[0] = cmd_size;
559 ret = iwm_send_cmd(sc, &hcmd);
609 struct iwm_host_cmd hcmd = { local
630 hcmd.len[0] = (uint16_t)req_len;
631 hcmd.data[0] = (void *)req;
708 ret = iwm_send_cmd(sc, &hcmd);
719 struct iwm_host_cmd hcmd = { local
741 hcmd
842 struct iwm_host_cmd hcmd = { local
[all...]
H A Dif_iwm.c4695 struct iwm_host_cmd hcmd = { local
4724 hcmd.len[0] = sizeof(struct iwm_mcc_update_cmd);
4726 hcmd.len[0] = sizeof(struct iwm_mcc_update_cmd_v1);
4732 ret = iwm_send_cmd(sc, &hcmd);
4737 pkt = hcmd.resp_pkt;
4758 iwm_free_resp(sc, &hcmd);
5120 uint32_t hcmd; /* last host command header */ member in struct:iwm_error_event_table
5315 device_printf(sc->sc_dev, "%08X | hcmd\n", table.hcmd);

Completed in 120 milliseconds