Lines Matching refs:code
1230 otus_cmd(struct otus_softc *sc, uint8_t code, const void *idata, int ilen, in otus_cmd() argument
1244 code, in otus_cmd()
1258 hdr->code = code; in otus_cmd()
1267 __func__, code, ilen, hdr->token); in otus_cmd()
1290 __func__, code); in otus_cmd()
1384 hdr->code, hdr->len, hdr->token); in otus_cmd_handle_response()
1405 (int) hdr->code, in otus_cmd_handle_response()
1443 hdr->code); in otus_cmd_rxeof()
1450 if ((hdr->code & 0xc0) != 0xc0) { in otus_cmd_rxeof()
1456 switch (hdr->code & 0x3f) { in otus_cmd_rxeof()
1515 hdr->code, hdr->len); in otus_cmd_rxeof()
2822 uint8_t code; in otus_set_chan() local
2879 code = AR_CMD_RF_INIT; in otus_set_chan()
2881 code = AR_CMD_FREQUENCY; in otus_set_chan()
2913 "%s\n", (code == AR_CMD_RF_INIT) ? "RF_INIT" : "FREQUENCY"); in otus_set_chan()
2914 error = otus_cmd(sc, code, &cmd, sizeof cmd, &rsp, sizeof(rsp)); in otus_set_chan()