Lines Matching refs:mbox
609 mb = (void *)&ali.mbox[0];
611 if ((ali.mbox[0] == FC_DEL_LOGDRV && ali.mbox[2] == OP_DEL_LOGDRV) || /* delete */
612 (ali.mbox[0] == AMR_CMD_CONFIG && ali.mbox[2] == 0x0d)) { /* create */
620 if (ali.mbox[0] == AMR_CMD_PASS) {
674 } else if (ali.mbox[0] == AMR_CMD_PASS_64) {
678 } else if (ali.mbox[0] == AMR_CMD_EXTPASS) {
699 bcopy(&ali.mbox[0], &ac->ac_mailbox, sizeof(ali.mbox));
711 error = copyout(&status, &((struct amr_mailbox *)&((struct amr_linux_ioctl *)addr)->mbox[0])->mb_status, sizeof(status));
1061 u_int8_t *mbox;
1087 mbox = (u_int8_t *)&ac->ac_mailbox; /* XXX want a real structure for this? */
1088 mbox[0] = cmd;
1089 mbox[2] = cmdsub;
1090 mbox[3] = cmdqual;
1155 u_int8_t *mbox;
1169 mbox = (u_int8_t *)&ac->ac_mailbox; /* XXX want a real structure for this? */
1170 mbox[0] = 0xA4;
1171 mbox[2] = 0x16;
1807 struct amr_mailbox mbox;
1819 if (sc->amr_get_work(sc, &mbox)) {
1823 for (i = 0; i < mbox.mb_nstatus; i++) {
1825 idx = mbox.mb_completed[i] - 1;
1835 ac->ac_status = mbox.mb_status;
1837 debug(3, "completed command with status %x", mbox.mb_status);
2075 ac->ac_mailbox.mb_ident = ac->ac_slot + 1; /* will be coppied into mbox */
2111 ac->ac_mailbox.mb_ident = ac->ac_slot + 1; /* will be coppied into mbox */