Lines Matching refs:mbox
624 mb = (void *)&ali.mbox[0];
626 if ((ali.mbox[0] == FC_DEL_LOGDRV && ali.mbox[2] == OP_DEL_LOGDRV) || /* delete */
627 (ali.mbox[0] == AMR_CMD_CONFIG && ali.mbox[2] == 0x0d)) { /* create */
635 if (ali.mbox[0] == AMR_CMD_PASS) {
689 } else if (ali.mbox[0] == AMR_CMD_PASS_64) {
693 } else if (ali.mbox[0] == AMR_CMD_EXTPASS) {
714 bcopy(&ali.mbox[0], &ac->ac_mailbox, sizeof(ali.mbox));
726 error = copyout(&status, &((struct amr_mailbox *)&((struct amr_linux_ioctl *)addr)->mbox[0])->mb_status, sizeof(status));
1103 u_int8_t *mbox;
1129 mbox = (u_int8_t *)&ac->ac_mailbox; /* XXX want a real structure for this? */
1130 mbox[0] = cmd;
1131 mbox[2] = cmdsub;
1132 mbox[3] = cmdqual;
1197 u_int8_t *mbox;
1211 mbox = (u_int8_t *)&ac->ac_mailbox; /* XXX want a real structure for this? */
1212 mbox[0] = 0xA4;
1213 mbox[2] = 0x16;
1849 struct amr_mailbox mbox;
1861 if (sc->amr_get_work(sc, &mbox)) {
1865 for (i = 0; i < mbox.mb_nstatus; i++) {
1867 idx = mbox.mb_completed[i] - 1;
1877 ac->ac_status = mbox.mb_status;
1879 debug(3, "completed command with status %x", mbox.mb_status);
2117 ac->ac_mailbox.mb_ident = ac->ac_slot + 1; /* will be coppied into mbox */
2153 ac->ac_mailbox.mb_ident = ac->ac_slot + 1; /* will be coppied into mbox */