mbox_ext_buf_ctx 752 drivers/scsi/lpfc/lpfc.h struct lpfc_mbox_ext_buf_ctx mbox_ext_buf_ctx; mbox_ext_buf_ctx 3611 drivers/scsi/lpfc/lpfc_bsg.c if (phba->mbox_ext_buf_ctx.state == LPFC_BSG_MBOX_IDLE) mbox_ext_buf_ctx 3616 drivers/scsi/lpfc/lpfc_bsg.c &phba->mbox_ext_buf_ctx.ext_dmabuf_list); mbox_ext_buf_ctx 3617 drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_dma_page_free(phba, phba->mbox_ext_buf_ctx.mbx_dmabuf); mbox_ext_buf_ctx 3619 drivers/scsi/lpfc/lpfc_bsg.c memset((char *)&phba->mbox_ext_buf_ctx, 0, mbox_ext_buf_ctx 3621 drivers/scsi/lpfc/lpfc_bsg.c INIT_LIST_HEAD(&phba->mbox_ext_buf_ctx.ext_dmabuf_list); mbox_ext_buf_ctx 3670 drivers/scsi/lpfc/lpfc_bsg.c dmabuf = phba->mbox_ext_buf_ctx.mbx_dmabuf; mbox_ext_buf_ctx 3696 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.nembType, mbox_ext_buf_ctx 3697 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.mboxType, size); mbox_ext_buf_ctx 3699 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.nembType, mbox_ext_buf_ctx 3700 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.mboxType, mbox_ext_buf_ctx 3702 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.mbx_dmabuf, 0); mbox_ext_buf_ctx 3707 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.nembType, mbox_ext_buf_ctx 3708 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.mboxType, rc); mbox_ext_buf_ctx 3713 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.state = LPFC_BSG_MBOX_DONE; mbox_ext_buf_ctx 3741 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.state, pmboxq->u.mb.mbxStatus); mbox_ext_buf_ctx 3743 drivers/scsi/lpfc/lpfc_bsg.c if (pmboxq->u.mb.mbxStatus || phba->mbox_ext_buf_ctx.numBuf == 1) mbox_ext_buf_ctx 3781 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.state, pmboxq->u.mb.mbxStatus); mbox_ext_buf_ctx 3978 drivers/scsi/lpfc/lpfc_bsg.c &phba->mbox_ext_buf_ctx.ext_dmabuf_list); mbox_ext_buf_ctx 4004 drivers/scsi/lpfc/lpfc_bsg.c &phba->mbox_ext_buf_ctx.ext_dmabuf_list, list) { mbox_ext_buf_ctx 4024 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.nembType = nemb_tp; mbox_ext_buf_ctx 4025 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.mboxType = mbox_rd; mbox_ext_buf_ctx 4026 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.numBuf = ext_buf_cnt; mbox_ext_buf_ctx 4027 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.mbxTag = mbox_req->extMboxTag; mbox_ext_buf_ctx 4028 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.seqNum = mbox_req->extSeqNum; mbox_ext_buf_ctx 4029 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.mbx_dmabuf = dmabuf; mbox_ext_buf_ctx 4043 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.state = LPFC_BSG_MBOX_PORT; mbox_ext_buf_ctx 4073 drivers/scsi/lpfc/lpfc_bsg.c &phba->mbox_ext_buf_ctx.ext_dmabuf_list); mbox_ext_buf_ctx 4075 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.state = LPFC_BSG_MBOX_IDLE; mbox_ext_buf_ctx 4174 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.nembType = nemb_tp; mbox_ext_buf_ctx 4175 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.mboxType = mbox_wr; mbox_ext_buf_ctx 4176 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.numBuf = ext_buf_cnt; mbox_ext_buf_ctx 4177 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.mbxTag = mbox_req->extMboxTag; mbox_ext_buf_ctx 4178 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.seqNum = mbox_req->extSeqNum; mbox_ext_buf_ctx 4179 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.mbx_dmabuf = dmabuf; mbox_ext_buf_ctx 4215 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.state = LPFC_BSG_MBOX_PORT; mbox_ext_buf_ctx 4265 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.state = LPFC_BSG_MBOX_HOST; mbox_ext_buf_ctx 4374 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.state = LPFC_BSG_MBOX_IDLE; mbox_ext_buf_ctx 4389 drivers/scsi/lpfc/lpfc_bsg.c if (phba->mbox_ext_buf_ctx.state == LPFC_BSG_MBOX_PORT) mbox_ext_buf_ctx 4390 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.state = LPFC_BSG_MBOX_ABTS; mbox_ext_buf_ctx 4414 drivers/scsi/lpfc/lpfc_bsg.c index = phba->mbox_ext_buf_ctx.seqNum; mbox_ext_buf_ctx 4415 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.seqNum++; mbox_ext_buf_ctx 4418 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.mbx_dmabuf->virt; mbox_ext_buf_ctx 4420 drivers/scsi/lpfc/lpfc_bsg.c if (phba->mbox_ext_buf_ctx.nembType == nemb_mse) { mbox_ext_buf_ctx 4433 drivers/scsi/lpfc/lpfc_bsg.c if (list_empty(&phba->mbox_ext_buf_ctx.ext_dmabuf_list)) mbox_ext_buf_ctx 4435 drivers/scsi/lpfc/lpfc_bsg.c dmabuf = list_first_entry(&phba->mbox_ext_buf_ctx.ext_dmabuf_list, mbox_ext_buf_ctx 4440 drivers/scsi/lpfc/lpfc_bsg.c lpfc_idiag_mbxacc_dump_bsg_mbox(phba, phba->mbox_ext_buf_ctx.nembType, mbox_ext_buf_ctx 4452 drivers/scsi/lpfc/lpfc_bsg.c if (phba->mbox_ext_buf_ctx.seqNum == phba->mbox_ext_buf_ctx.numBuf) { mbox_ext_buf_ctx 4488 drivers/scsi/lpfc/lpfc_bsg.c index = phba->mbox_ext_buf_ctx.seqNum; mbox_ext_buf_ctx 4489 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.seqNum++; mbox_ext_buf_ctx 4490 drivers/scsi/lpfc/lpfc_bsg.c nemb_tp = phba->mbox_ext_buf_ctx.nembType; mbox_ext_buf_ctx 4498 drivers/scsi/lpfc/lpfc_bsg.c if (phba->mbox_ext_buf_ctx.nembType == nemb_mse) { mbox_ext_buf_ctx 4502 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.seqNum, size); mbox_ext_buf_ctx 4508 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.seqNum, size); mbox_ext_buf_ctx 4514 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.mbx_dmabuf, mbox_ext_buf_ctx 4516 drivers/scsi/lpfc/lpfc_bsg.c list_add_tail(&dmabuf->list, &phba->mbox_ext_buf_ctx.ext_dmabuf_list); mbox_ext_buf_ctx 4519 drivers/scsi/lpfc/lpfc_bsg.c lpfc_idiag_mbxacc_dump_bsg_mbox(phba, phba->mbox_ext_buf_ctx.nembType, mbox_ext_buf_ctx 4523 drivers/scsi/lpfc/lpfc_bsg.c if (phba->mbox_ext_buf_ctx.seqNum == phba->mbox_ext_buf_ctx.numBuf) { mbox_ext_buf_ctx 4527 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.numBuf); mbox_ext_buf_ctx 4542 drivers/scsi/lpfc/lpfc_bsg.c pbuf = (uint8_t *)phba->mbox_ext_buf_ctx.mbx_dmabuf->virt; mbox_ext_buf_ctx 4560 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.state = LPFC_BSG_MBOX_PORT; mbox_ext_buf_ctx 4608 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.mboxType); mbox_ext_buf_ctx 4610 drivers/scsi/lpfc/lpfc_bsg.c if (phba->mbox_ext_buf_ctx.mboxType == mbox_rd) { mbox_ext_buf_ctx 4611 drivers/scsi/lpfc/lpfc_bsg.c if (phba->mbox_ext_buf_ctx.state != LPFC_BSG_MBOX_DONE) { mbox_ext_buf_ctx 4615 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.state); mbox_ext_buf_ctx 4623 drivers/scsi/lpfc/lpfc_bsg.c if (phba->mbox_ext_buf_ctx.state != LPFC_BSG_MBOX_HOST) { mbox_ext_buf_ctx 4627 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.state); mbox_ext_buf_ctx 4661 drivers/scsi/lpfc/lpfc_bsg.c if (phba->mbox_ext_buf_ctx.state == LPFC_BSG_MBOX_IDLE) { mbox_ext_buf_ctx 4678 drivers/scsi/lpfc/lpfc_bsg.c if (mbox_req->extMboxTag != phba->mbox_ext_buf_ctx.mbxTag) mbox_ext_buf_ctx 4680 drivers/scsi/lpfc/lpfc_bsg.c if (mbox_req->extSeqNum > phba->mbox_ext_buf_ctx.numBuf) mbox_ext_buf_ctx 4682 drivers/scsi/lpfc/lpfc_bsg.c if (mbox_req->extSeqNum != phba->mbox_ext_buf_ctx.seqNum + 1) mbox_ext_buf_ctx 4688 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.state, mbox_req->extMboxTag, mbox_ext_buf_ctx 4699 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.state, mbox_ext_buf_ctx 4700 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.numBuf, mbox_ext_buf_ctx 4701 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.mbxTag, mbox_ext_buf_ctx 4702 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.seqNum, mbox_ext_buf_ctx 5950 drivers/scsi/lpfc/lpfc_bsg.c if (phba->mbox_ext_buf_ctx.state == LPFC_BSG_MBOX_PORT) mbox_ext_buf_ctx 5951 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.state = LPFC_BSG_MBOX_ABTS; mbox_ext_buf_ctx 6461 drivers/scsi/lpfc/lpfc_init.c memset((uint8_t *)&phba->mbox_ext_buf_ctx, 0, mbox_ext_buf_ctx 6463 drivers/scsi/lpfc/lpfc_init.c INIT_LIST_HEAD(&phba->mbox_ext_buf_ctx.ext_dmabuf_list);