Lines Matching refs:pmbox

1680 	MAILBOX_t *pmbox;  in lpfc_sli_ring_map()  local
1686 pmbox = &pmb->u.mb; in lpfc_sli_ring_map()
1696 rc, pmbox->mbxCommand, in lpfc_sli_ring_map()
1697 pmbox->mbxStatus, i); in lpfc_sli_ring_map()
3060 MAILBOX_t *pmbox; in lpfc_sli_handle_mb_event() local
3078 pmbox = &pmb->u.mb; in lpfc_sli_handle_mb_event()
3080 if (pmbox->mbxCommand != MBX_HEARTBEAT) { in lpfc_sli_handle_mb_event()
3085 (uint32_t)pmbox->mbxCommand, in lpfc_sli_handle_mb_event()
3086 pmbox->un.varWords[0], in lpfc_sli_handle_mb_event()
3087 pmbox->un.varWords[1]); in lpfc_sli_handle_mb_event()
3093 (uint32_t)pmbox->mbxCommand, in lpfc_sli_handle_mb_event()
3094 pmbox->un.varWords[0], in lpfc_sli_handle_mb_event()
3095 pmbox->un.varWords[1]); in lpfc_sli_handle_mb_event()
3102 if (lpfc_sli_chk_mbx_command(pmbox->mbxCommand) == in lpfc_sli_handle_mb_event()
3110 pmbox->mbxCommand, in lpfc_sli_handle_mb_event()
3121 if (pmbox->mbxStatus) { in lpfc_sli_handle_mb_event()
3123 if (pmbox->mbxStatus == MBXERR_NO_RESOURCES) { in lpfc_sli_handle_mb_event()
3132 pmbox->mbxCommand, in lpfc_sli_handle_mb_event()
3137 pmbox->mbxStatus, in lpfc_sli_handle_mb_event()
3138 pmbox->un.varWords[0], in lpfc_sli_handle_mb_event()
3141 pmbox->mbxStatus = 0; in lpfc_sli_handle_mb_event()
3142 pmbox->mbxOwner = OWN_HOST; in lpfc_sli_handle_mb_event()
3155 pmbox->mbxCommand, in lpfc_sli_handle_mb_event()
3159 *((uint32_t *) pmbox), in lpfc_sli_handle_mb_event()
3160 pmbox->un.varWords[0], in lpfc_sli_handle_mb_event()
3161 pmbox->un.varWords[1], in lpfc_sli_handle_mb_event()
3162 pmbox->un.varWords[2], in lpfc_sli_handle_mb_event()
3163 pmbox->un.varWords[3], in lpfc_sli_handle_mb_event()
3164 pmbox->un.varWords[4], in lpfc_sli_handle_mb_event()
3165 pmbox->un.varWords[5], in lpfc_sli_handle_mb_event()
3166 pmbox->un.varWords[6], in lpfc_sli_handle_mb_event()
3167 pmbox->un.varWords[7], in lpfc_sli_handle_mb_event()
3168 pmbox->un.varWords[8], in lpfc_sli_handle_mb_event()
3169 pmbox->un.varWords[9], in lpfc_sli_handle_mb_event()
3170 pmbox->un.varWords[10]); in lpfc_sli_handle_mb_event()
5490 MAILBOX_t *pmbox; in lpfc_sli_hbq_setup() local
5502 pmbox = &pmb->u.mb; in lpfc_sli_hbq_setup()
5527 pmbox->mbxCommand, in lpfc_sli_hbq_setup()
5528 pmbox->mbxStatus, hbqno); in lpfc_sli_hbq_setup()
9266 LPFC_MBOXQ_t *pmbox = phba->sli.mbox_active; in lpfc_mbox_timeout_handler() local
9277 if (pmbox != NULL) in lpfc_mbox_timeout_handler()
9278 mb = &pmbox->u.mb; in lpfc_mbox_timeout_handler()
9285 if (pmbox == NULL) { in lpfc_mbox_timeout_handler()
9350 lpfc_sli_issue_mbox_s3(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmbox, in lpfc_sli_issue_mbox_s3() argument
9365 if (!pmbox) { in lpfc_sli_issue_mbox_s3()
9373 pmbox = lpfc_mbox_get(phba); in lpfc_sli_issue_mbox_s3()
9374 if (!pmbox) { in lpfc_sli_issue_mbox_s3()
9380 if (pmbox->mbox_cmpl && pmbox->mbox_cmpl != lpfc_sli_def_mbox_cmpl && in lpfc_sli_issue_mbox_s3()
9381 pmbox->mbox_cmpl != lpfc_sli_wake_mbox_wait) { in lpfc_sli_issue_mbox_s3()
9382 if(!pmbox->vport) { in lpfc_sli_issue_mbox_s3()
9387 pmbox->u.mb.mbxCommand); in lpfc_sli_issue_mbox_s3()
9407 mbx = &pmbox->u.mb; in lpfc_sli_issue_mbox_s3()
9417 pmbox->vport ? pmbox->vport->vpi : 0, in lpfc_sli_issue_mbox_s3()
9418 pmbox->u.mb.mbxCommand, psli->sli_flag, flag); in lpfc_sli_issue_mbox_s3()
9429 pmbox->vport ? pmbox->vport->vpi : 0, in lpfc_sli_issue_mbox_s3()
9430 pmbox->u.mb.mbxCommand, psli->sli_flag, flag); in lpfc_sli_issue_mbox_s3()
9448 pmbox->vport ? pmbox->vport->vpi : 0, in lpfc_sli_issue_mbox_s3()
9449 pmbox->u.mb.mbxCommand, in lpfc_sli_issue_mbox_s3()
9460 pmbox->vport ? pmbox->vport->vpi : 0, in lpfc_sli_issue_mbox_s3()
9461 pmbox->u.mb.mbxCommand, in lpfc_sli_issue_mbox_s3()
9469 lpfc_mbox_put(phba, pmbox); in lpfc_sli_issue_mbox_s3()
9475 pmbox->vport ? pmbox->vport->vpi : 0xffffff, in lpfc_sli_issue_mbox_s3()
9483 if (pmbox->vport) { in lpfc_sli_issue_mbox_s3()
9484 lpfc_debugfs_disc_trc(pmbox->vport, in lpfc_sli_issue_mbox_s3()
9513 pmbox->vport ? pmbox->vport->vpi : 0, in lpfc_sli_issue_mbox_s3()
9514 pmbox->u.mb.mbxCommand, in lpfc_sli_issue_mbox_s3()
9519 timeout = msecs_to_jiffies(lpfc_mbox_tmo_val(phba, pmbox) * in lpfc_sli_issue_mbox_s3()
9528 pmbox->vport ? pmbox->vport->vpi : 0, in lpfc_sli_issue_mbox_s3()
9534 if (pmbox->vport) { in lpfc_sli_issue_mbox_s3()
9535 lpfc_debugfs_disc_trc(pmbox->vport, in lpfc_sli_issue_mbox_s3()
9558 if (pmbox->in_ext_byte_len || pmbox->out_ext_byte_len) { in lpfc_sli_issue_mbox_s3()
9559 *(((uint32_t *)mbx) + pmbox->mbox_offset_word) in lpfc_sli_issue_mbox_s3()
9565 if (pmbox->in_ext_byte_len && pmbox->ext_buf) { in lpfc_sli_issue_mbox_s3()
9566 lpfc_sli_pcimem_bcopy(pmbox->ext_buf, in lpfc_sli_issue_mbox_s3()
9568 pmbox->in_ext_byte_len); in lpfc_sli_issue_mbox_s3()
9574 if (pmbox->in_ext_byte_len || pmbox->out_ext_byte_len) in lpfc_sli_issue_mbox_s3()
9575 *(((uint32_t *)mbx) + pmbox->mbox_offset_word) in lpfc_sli_issue_mbox_s3()
9579 if (pmbox->in_ext_byte_len && pmbox->ext_buf) in lpfc_sli_issue_mbox_s3()
9582 pmbox->ext_buf, pmbox->in_ext_byte_len); in lpfc_sli_issue_mbox_s3()
9611 psli->mbox_active = pmbox; in lpfc_sli_issue_mbox_s3()
9644 timeout = msecs_to_jiffies(lpfc_mbox_tmo_val(phba, pmbox) * in lpfc_sli_issue_mbox_s3()
9705 if (pmbox->out_ext_byte_len && pmbox->ext_buf) { in lpfc_sli_issue_mbox_s3()
9707 pmbox->ext_buf, in lpfc_sli_issue_mbox_s3()
9708 pmbox->out_ext_byte_len); in lpfc_sli_issue_mbox_s3()
9715 if (pmbox->out_ext_byte_len && pmbox->ext_buf) { in lpfc_sli_issue_mbox_s3()
9717 pmbox->ext_buf, in lpfc_sli_issue_mbox_s3()
9720 pmbox->out_ext_byte_len); in lpfc_sli_issue_mbox_s3()
9736 pmbox->u.mb.mbxStatus = MBX_NOT_FINISHED; in lpfc_sli_issue_mbox_s3()
9737 lpfc_mbox_cmpl_put(phba, pmbox); in lpfc_sli_issue_mbox_s3()
10315 lpfc_sli_issue_mbox(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmbox, uint32_t flag) in lpfc_sli_issue_mbox() argument
10317 return phba->lpfc_sli_issue_mbox(phba, pmbox, flag); in lpfc_sli_issue_mbox()
13649 MAILBOX_t *mbox, *pmbox; in lpfc_sli_sp_intr_handler() local
13799 pmbox = &pmb->u.mb; in lpfc_sli_sp_intr_handler()
13804 lpfc_sli_pcimem_bcopy(mbox, pmbox, sizeof(uint32_t)); in lpfc_sli_sp_intr_handler()
13805 if (pmbox->mbxOwner != OWN_HOST) { in lpfc_sli_sp_intr_handler()
13816 pmbox->mbxCommand, in lpfc_sli_sp_intr_handler()
13817 pmbox->mbxStatus); in lpfc_sli_sp_intr_handler()
13826 lpfc_sli_pcimem_bcopy(mbox, pmbox, in lpfc_sli_sp_intr_handler()
13842 (uint32_t)pmbox->mbxStatus, in lpfc_sli_sp_intr_handler()
13843 pmbox->un.varWords[0], 0); in lpfc_sli_sp_intr_handler()
13845 if (!pmbox->mbxStatus) { in lpfc_sli_sp_intr_handler()
13856 pmbox->un.varWords[0], in lpfc_sli_sp_intr_handler()
13888 if (pmbox->mbxCommand == MBX_HEARTBEAT) { in lpfc_sli_sp_intr_handler()
14293 MAILBOX_t *mbox, *pmbox; in lpfc_sli4_sp_handle_mbox_event() local
14318 pmbox = (MAILBOX_t *)&pmb->u.mqe; in lpfc_sli4_sp_handle_mbox_event()
14345 pmbox->un.varWords[0], 0); in lpfc_sli4_sp_handle_mbox_event()
14359 pmbox->un.varWords[0], pmb); in lpfc_sli4_sp_handle_mbox_event()
14385 if (pmbox->mbxCommand == MBX_HEARTBEAT) { in lpfc_sli4_sp_handle_mbox_event()