Home
last modified time | relevance | path

Searched refs:mb4 (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_mbox.c215 MAILBOX4 *mb4 = (MAILBOX4 *)mbq; in emlxs_mb_resetport() local
217 bzero((void *) mb4, MAILBOX_CMD_SLI4_BSIZE); in emlxs_mb_resetport()
225 mb4->un.varSLIConfig.be.embedded = 1; in emlxs_mb_resetport()
227 mb4->mbxCommand = MBX_SLI_CONFIG; in emlxs_mb_resetport()
228 mb4->mbxOwner = OWN_HOST; in emlxs_mb_resetport()
229 mb4->un.varSLIConfig.be.payload_length = IOCTL_HEADER_SZ; in emlxs_mb_resetport()
230 mb4->un.varSLIConfig.be.un_hdr.hdr_req.subsystem = in emlxs_mb_resetport()
232 mb4->un.varSLIConfig.be.un_hdr.hdr_req.opcode = COMMON_OPCODE_RESET; in emlxs_mb_resetport()
233 mb4->un.varSLIConfig.be.un_hdr.hdr_req.timeout = 0; in emlxs_mb_resetport()
234 mb4->un.varSLIConfig.be.un_hdr.hdr_req.req_length = 0; in emlxs_mb_resetport()
[all …]
H A Demlxs_fcf.c2972 MAILBOX4 *mb4 = (MAILBOX4 *)mbq; in emlxs_fc_fcftab_topo_mbcmpl() local
3003 if (mb4->mbxStatus) { in emlxs_fc_fcftab_topo_mbcmpl()
3007 emlxs_mb_xlate_status(mb4->mbxStatus)); in emlxs_fc_fcftab_topo_mbcmpl()
3009 if (mb4->mbxStatus == MBXERR_NO_RESOURCES) { in emlxs_fc_fcftab_topo_mbcmpl()
3012 FCF_REASON_MBOX_BUSY, mb4->mbxStatus, 0); in emlxs_fc_fcftab_topo_mbcmpl()
3016 FCF_REASON_MBOX_FAILED, mb4->mbxStatus, 0); in emlxs_fc_fcftab_topo_mbcmpl()
3023 if (mb4->un.varReadLA.attType == AT_LINK_DOWN) { in emlxs_fc_fcftab_topo_mbcmpl()
3037 if (hba->link_event_tag != mb4->un.varReadLA.eventTag) { in emlxs_fc_fcftab_topo_mbcmpl()
3041 hba->link_event_tag, mb4->un.varReadLA.eventTag); in emlxs_fc_fcftab_topo_mbcmpl()
3049 (mb4->un.varReadLA.attType == AT_LINK_UP)?"linkup":"linkdown", in emlxs_fc_fcftab_topo_mbcmpl()
[all …]
H A Demlxs_sli4.c3497 MAILBOX4 *mb4; in emlxs_sli4_issue_mq() local
3503 mb4 = (MAILBOX4 *)mb; in emlxs_sli4_issue_mq()
3508 (mb4->un.varSLIConfig.be.embedded)) { in emlxs_sli4_issue_mq()
3533 mb4->un.varSLIConfig.be.sge_cnt = 1; in emlxs_sli4_issue_mq()
3534 mb4->un.varSLIConfig.be.payload_length = mp->size; in emlxs_sli4_issue_mq()
3535 iptr = (uint32_t *)&mb4->un.varSLIConfig.be.un_hdr.hdr_req; in emlxs_sli4_issue_mq()
3581 MAILBOX4 *mb4; in emlxs_sli4_issue_bootstrap() local
3587 mb4 = (MAILBOX4 *)mb; in emlxs_sli4_issue_bootstrap()
3592 (mb4->un.varSLIConfig.be.embedded)) { in emlxs_sli4_issue_bootstrap()
3613 mb4->un.varSLIConfig.be.sge_cnt = 1; in emlxs_sli4_issue_bootstrap()
[all …]
H A Demlxs_dfc.c10517 MAILBOX4 *mb4 = NULL; in emlxs_dfc_send_mbox4() local
10559 mb4 = (MAILBOX4 *) mbq; in emlxs_dfc_send_mbox4()
10560 bcopy(dfc->buf1, (void *)mb4, sizeof (MAILBOX4)); in emlxs_dfc_send_mbox4()
10565 switch (mb4->mbxCommand) { in emlxs_dfc_send_mbox4()
10567 if (! mb4->un.varSLIConfig.be.embedded) { in emlxs_dfc_send_mbox4()
10568 if (mb4->un.varSLIConfig.be.sge_cnt > 1) { in emlxs_dfc_send_mbox4()
10581 if ((!mb4->un.varSLIConfig.be.payload_length) || in emlxs_dfc_send_mbox4()
10582 (mb4->un.varSLIConfig.be.payload_length != in emlxs_dfc_send_mbox4()
10593 mb4->un.varSLIConfig.be.payload_length); in emlxs_dfc_send_mbox4()
10614 &mb4->un.varSLIConfig.be.un_hdr.hdr_req; in emlxs_dfc_send_mbox4()
[all …]