Lines Matching refs:cmd
983 struct ipw_cmd *cmd;
987 cmd = mtod(sbuf->m, struct ipw_cmd *);
989 DPRINTFN(9, ("cmd ack'ed %s(%u, %u, %u, %u, %u)\n",
990 ipw_cmdname(le32toh(cmd->type)), le32toh(cmd->type),
991 le32toh(cmd->subtype), le32toh(cmd->seq), le32toh(cmd->len),
992 le32toh(cmd->status)));
1433 ipw_cmdname(int cmd)
1436 int cmd;
1472 if (cmds[i].cmd == cmd)
1474 snprintf(buf, sizeof(buf), "%u", cmd);
1499 error = bus_dmamap_load(sc->cmd_dmat, sc->cmd_map, &sc->cmd,
1507 sc->cmd.type = htole32(type);
1508 sc->cmd.subtype = 0;
1509 sc->cmd.len = htole32(len);
1510 sc->cmd.seq = 0;
1511 memcpy(sc->cmd.data, data, len);