Lines Matching defs:code
14 * 1. Redistributions of source code must retain the above copyright
227 uath_codename(int code);
564 uath_codename(int code)
629 if (code < N(names))
630 return (names[code]);
631 if (code == WDCMSG_SET_DEFAULT_KEY)
634 (void) snprintf(buf, sizeof (buf), "0x%02x", code);
1113 uath_cmd_read(struct uath_softc *sc, uint32_t code, const void *idata,
1117 return (uath_cmdsend(sc, code, idata, ilen, odata, olen, flags));
1121 uath_cmd_write(struct uath_softc *sc, uint32_t code, const void *data,
1125 return (uath_cmdsend(sc, code, data, len, NULL, 0, flags));
1132 uath_cmdsend(struct uath_softc *sc, uint32_t code, const void *idata, int ilen,
1149 hdr->code = BE_32(code);
1156 cmd->msgid, uath_codename(code), cmd->flags, olen);
1185 code, code, cmd->msgid);
1191 code, cmd->msgid, cmd->olen, olen);
1267 hdr->code = BE_32(hdr->code);
1274 uath_codename(hdr->code),
1279 switch (hdr->code & 0xff) {
1284 "code %x data len %u\n",
1285 hdr->code & 0xff, dlen);
1292 if ((hdr->msgid < UATH_CMD_LIST_COUNT) && (hdr->code != 0x13)) {
1330 hdr->code, olen, cmd->olen);
1338 hdr->code, olen, dlen);
1429 if (BE_32(hdr->code) == 0x13)
1643 "frame len %u code %u status %u rate %u antenna %u "
1646 BE_32(desc->framelen), BE_32(desc->code), BE_32(desc->status),