Lines Matching defs:mbox
1474 MAILBOX *mbox;
1477 mbox = (MAILBOX *)emlxs_mem_get(hba, MEM_MBOX);
1478 if (!mbox) {
1482 bcopy((uint8_t *)mb, (uint8_t *)mbox, MAILBOX_CMD_BSIZE);
1483 mbox->mbxOwner = OWN_HOST;
1484 mbox->mbxStatus = 0;
1501 rc = EMLXS_SLI_ISSUE_MBOX_CMD(hba, mbox, MBX_NOWAIT, 0);
1503 emlxs_mem_put(hba, MEM_MBOX, (void *)mbox);
1516 MAILBOXQ *mbox;
1693 if ((mbox = (MAILBOXQ *)emlxs_mem_get(hba,
1697 emlxs_mb_set_var(hba, mbox, 0x00052198, 0x1);
1699 emlxs_mb_put(hba, mbox);
1702 if ((mbox = (MAILBOXQ *)emlxs_mem_get(hba,
1706 if (emlxs_mb_read_sparam(hba, mbox) == 0) {
1707 emlxs_mb_put(hba, mbox);
1710 (void *)mbox);
1714 if ((mbox = (MAILBOXQ *)emlxs_mem_get(hba,
1716 emlxs_mb_config_link(hba, mbox);
1718 emlxs_mb_put(hba, mbox);
1788 MAILBOXQ *mbox;
1800 if ((mbox = (MAILBOXQ *)emlxs_mem_get(hba,
1803 if (emlxs_mb_read_la(hba, mbox) == 0) {
1805 (MAILBOX *)mbox, MBX_NOWAIT, 0);
1809 MEM_MBOX, (void *)mbox);
1814 (void *)mbox);
2455 * emlxs_mb_set_var Issue a special debug mbox command to write slim
2651 "reg_vpi:%d failed. Unable to allocate mbox.",
2660 mb = (MAILBOX *)mbq->mbox;
2698 mb = (MAILBOX *)mbq->mbox;
2747 "unreg_vpi:%d failed. Unable to allocate mbox.",
2761 mb = (MAILBOX *)mbq->mbox;
2976 MAILBOX *mbox;
3054 mbox = (MAILBOX *)mbox_mbq;
3055 mbox->mbxStatus = (uint16_t)mbxStatus;
3155 /* Flush out the active mbox command */
3158 /* Flush out the queued mbox commands */