Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_mbox.c213 MAILBOX4 *mb4 = (MAILBOX4 *)mbq; in emlxs_mb_resetport() local
215 bzero((void *) mb4, MAILBOX_CMD_SLI4_BSIZE); in emlxs_mb_resetport()
223 mb4->un.varSLIConfig.be.embedded = 1; in emlxs_mb_resetport()
225 mb4->mbxCommand = MBX_SLI_CONFIG; in emlxs_mb_resetport()
226 mb4->mbxOwner = OWN_HOST; in emlxs_mb_resetport()
227 mb4->un.varSLIConfig.be.payload_length = IOCTL_HEADER_SZ; in emlxs_mb_resetport()
228 mb4->un.varSLIConfig.be.un_hdr.hdr_req.subsystem = in emlxs_mb_resetport()
230 mb4->un.varSLIConfig.be.un_hdr.hdr_req.opcode = COMMON_OPCODE_RESET; in emlxs_mb_resetport()
231 mb4->un.varSLIConfig.be.un_hdr.hdr_req.timeout = 0; in emlxs_mb_resetport()
232 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.c3148 MAILBOX4 *mb4; in emlxs_sli4_issue_mq() local
3155 mb4 = (MAILBOX4 *)mb; in emlxs_sli4_issue_mq()
3160 (mb4->un.varSLIConfig.be.embedded)) { in emlxs_sli4_issue_mq()
3185 mb4->un.varSLIConfig.be.sge_cnt = 1; in emlxs_sli4_issue_mq()
3186 mb4->un.varSLIConfig.be.payload_length = mp->size; in emlxs_sli4_issue_mq()
3187 iptr = (uint32_t *)&mb4->un.varSLIConfig.be.un_hdr.hdr_req; in emlxs_sli4_issue_mq()
3236 MAILBOX4 *mb4; in emlxs_sli4_issue_bootstrap() local
3242 mb4 = (MAILBOX4 *)mb; in emlxs_sli4_issue_bootstrap()
3247 (mb4->un.varSLIConfig.be.embedded)) { in emlxs_sli4_issue_bootstrap()
3268 mb4->un.varSLIConfig.be.sge_cnt = 1; in emlxs_sli4_issue_bootstrap()
[all …]
H A Demlxs_dfc.c10456 MAILBOX4 *mb4 = NULL; in emlxs_dfc_send_mbox4() local
10498 mb4 = (MAILBOX4 *) mbq; in emlxs_dfc_send_mbox4()
10499 bcopy(dfc->buf1, (void *)mb4, sizeof (MAILBOX4)); in emlxs_dfc_send_mbox4()
10504 switch (mb4->mbxCommand) { in emlxs_dfc_send_mbox4()
10506 if (! mb4->un.varSLIConfig.be.embedded) { in emlxs_dfc_send_mbox4()
10507 if (mb4->un.varSLIConfig.be.sge_cnt > 1) { in emlxs_dfc_send_mbox4()
10520 if ((!mb4->un.varSLIConfig.be.payload_length) || in emlxs_dfc_send_mbox4()
10521 (mb4->un.varSLIConfig.be.payload_length != in emlxs_dfc_send_mbox4()
10532 mb4->un.varSLIConfig.be.payload_length); in emlxs_dfc_send_mbox4()
10553 &mb4->un.varSLIConfig.be.un_hdr.hdr_req; in emlxs_dfc_send_mbox4()
[all …]