Lines Matching refs:iocb
335 IOCB_t *iocb; in lpfc_new_scsi_buf_s3() local
414 iocb = &psb->cur_iocbq.iocb; in lpfc_new_scsi_buf_s3()
415 iocb->un.fcpi64.bdl.ulpIoTag32 = 0; in lpfc_new_scsi_buf_s3()
419 iocb->un.fcpi64.bdl.bdeFlags = BUFF_TYPE_BDE_IMMED; in lpfc_new_scsi_buf_s3()
420 iocb->un.fcpi64.bdl.bdeSize = sizeof(struct fcp_cmnd); in lpfc_new_scsi_buf_s3()
421 iocb->un.fcpi64.bdl.addrLow = offsetof(IOCB_t, in lpfc_new_scsi_buf_s3()
423 iocb->un.fcpi64.bdl.addrHigh = 0; in lpfc_new_scsi_buf_s3()
424 iocb->ulpBdeCount = 0; in lpfc_new_scsi_buf_s3()
425 iocb->ulpLe = 0; in lpfc_new_scsi_buf_s3()
427 iocb->unsli3.fcp_ext.rbde.tus.f.bdeFlags = in lpfc_new_scsi_buf_s3()
429 iocb->unsli3.fcp_ext.rbde.tus.f.bdeSize = in lpfc_new_scsi_buf_s3()
431 iocb->unsli3.fcp_ext.rbde.addrLow = in lpfc_new_scsi_buf_s3()
433 iocb->unsli3.fcp_ext.rbde.addrHigh = in lpfc_new_scsi_buf_s3()
436 iocb->un.fcpi64.bdl.bdeFlags = BUFF_TYPE_BLP_64; in lpfc_new_scsi_buf_s3()
437 iocb->un.fcpi64.bdl.bdeSize = in lpfc_new_scsi_buf_s3()
439 iocb->un.fcpi64.bdl.addrLow = in lpfc_new_scsi_buf_s3()
441 iocb->un.fcpi64.bdl.addrHigh = in lpfc_new_scsi_buf_s3()
443 iocb->ulpBdeCount = 1; in lpfc_new_scsi_buf_s3()
444 iocb->ulpLe = 1; in lpfc_new_scsi_buf_s3()
446 iocb->ulpClass = CLASS3; in lpfc_new_scsi_buf_s3()
636 IOCB_t *iocb; in lpfc_get_scsi_buf_s4() local
708 iocb = &lpfc_cmd->cur_iocbq.iocb; in lpfc_get_scsi_buf_s4()
709 iocb->un.fcpi64.bdl.ulpIoTag32 = 0; in lpfc_get_scsi_buf_s4()
710 iocb->un.fcpi64.bdl.bdeFlags = BUFF_TYPE_BDE_64; in lpfc_get_scsi_buf_s4()
715 iocb->un.fcpi64.bdl.bdeSize = sizeof(struct fcp_cmnd); in lpfc_get_scsi_buf_s4()
716 iocb->un.fcpi64.bdl.addrLow = putPaddrLow(pdma_phys_fcp_cmd); in lpfc_get_scsi_buf_s4()
717 iocb->un.fcpi64.bdl.addrHigh = putPaddrHigh(pdma_phys_fcp_cmd); in lpfc_get_scsi_buf_s4()
718 iocb->ulpBdeCount = 1; in lpfc_get_scsi_buf_s4()
719 iocb->ulpLe = 1; in lpfc_get_scsi_buf_s4()
720 iocb->ulpClass = CLASS3; in lpfc_get_scsi_buf_s4()
840 IOCB_t *iocb_cmd = &lpfc_cmd->cur_iocbq.iocb; in lpfc_scsi_prep_dma_buf_s3()
2522 IOCB_t *iocb_cmd = &lpfc_cmd->cur_iocbq.iocb; in lpfc_bg_scsi_prep_dma_buf_s3()
2898 struct sli3_bg_fields *bgf = &pIocbOut->iocb.unsli3.sli3_bg; in lpfc_parse_bg_err()
3049 IOCB_t *iocb_cmd = &lpfc_cmd->cur_iocbq.iocb; in lpfc_scsi_prep_dma_buf_s4()
3260 IOCB_t *iocb_cmd = &lpfc_cmd->cur_iocbq.iocb; in lpfc_bg_scsi_prep_dma_buf_s4()
3489 uint32_t fcpi_parm = rsp_iocb->iocb.un.fcpi.fcpi_parm; in lpfc_send_scsi_error_event()
3610 uint32_t fcpi_parm = rsp_iocb->iocb.un.fcpi.fcpi_parm; in lpfc_handle_fcp_err()
3751 rsp_iocb->iocb.ulpContext), in lpfc_handle_fcp_err()
3835 lpfc_cmd->result = (pIocbOut->iocb.un.ulpWord[4] & IOERR_PARAM_MASK); in lpfc_scsi_cmd_iocb_cmpl()
3836 lpfc_cmd->status = pIocbOut->iocb.ulpStatus; in lpfc_scsi_cmd_iocb_cmpl()
3898 pIocbOut->iocb.ulpContext, in lpfc_scsi_cmd_iocb_cmpl()
3899 lpfc_cmd->cur_iocbq.iocb.ulpIoTag); in lpfc_scsi_cmd_iocb_cmpl()
3954 pIocbOut->iocb.unsli3.sli3_bg.bgstat) { in lpfc_scsi_cmd_iocb_cmpl()
4079 IOCB_t *iocb_cmd = &lpfc_cmd->cur_iocbq.iocb; in lpfc_scsi_prep_cmnd()
4108 piocbq->iocb.un.fcpi.fcpi_XRdy = 0; in lpfc_scsi_prep_cmnd()
4127 piocbq->iocb.un.fcpi.fcpi_XRdy = fcpdl; in lpfc_scsi_prep_cmnd()
4129 piocbq->iocb.un.fcpi.fcpi_XRdy = in lpfc_scsi_prep_cmnd()
4157 piocbq->iocb.ulpContext = pnode->nlp_rpi; in lpfc_scsi_prep_cmnd()
4159 piocbq->iocb.ulpContext = in lpfc_scsi_prep_cmnd()
4162 piocbq->iocb.ulpFCP2Rcvy = 1; in lpfc_scsi_prep_cmnd()
4164 piocbq->iocb.ulpFCP2Rcvy = 0; in lpfc_scsi_prep_cmnd()
4166 piocbq->iocb.ulpClass = (pnode->nlp_fcp_info & 0x0f); in lpfc_scsi_prep_cmnd()
4169 piocbq->iocb.ulpTimeout = lpfc_cmd->timeout; in lpfc_scsi_prep_cmnd()
4206 piocb = &piocbq->iocb; in lpfc_scsi_prep_task_mgmt_cmd()
4646 lpfc_cmd->cur_iocbq.iocb.ulpContext, in lpfc_queuecommand()
4647 lpfc_cmd->cur_iocbq.iocb.ulpIoTag, in lpfc_queuecommand()
4648 lpfc_cmd->cur_iocbq.iocb.ulpTimeout, in lpfc_queuecommand()
4714 struct lpfc_iocbq *iocb; in lpfc_abort_handler() local
4753 iocb = &lpfc_cmd->cur_iocbq; in lpfc_abort_handler()
4755 pring_s4 = phba->sli4_hba.hdwq[iocb->hba_wqidx].io_wq->pring; in lpfc_abort_handler()
4763 if (!(iocb->iocb_flag & LPFC_IO_ON_TXCMPLQ)) { in lpfc_abort_handler()
4783 BUG_ON(iocb->context1 != lpfc_cmd); in lpfc_abort_handler()
4786 if (iocb->iocb_flag & LPFC_DRIVER_ABORTED) { in lpfc_abort_handler()
4803 iocb->iocb_flag |= LPFC_DRIVER_ABORTED; in lpfc_abort_handler()
4811 cmd = &iocb->iocb; in lpfc_abort_handler()
4812 icmd = &abtsiocb->iocb; in lpfc_abort_handler()
4816 icmd->un.acxri.abortIoTag = iocb->sli4_xritag; in lpfc_abort_handler()
4824 abtsiocb->hba_wqidx = iocb->hba_wqidx; in lpfc_abort_handler()
4826 if (iocb->iocb_flag & LPFC_IO_FOF) in lpfc_abort_handler()
4851 iocb->iocb_flag &= ~LPFC_DRIVER_ABORTED; in lpfc_abort_handler()
4879 iocb->sli4_xritag, ret, in lpfc_abort_handler()
5065 (iocbqrsp->iocb.ulpStatus != IOSTAT_SUCCESS)) { in lpfc_send_taskmgmt()
5067 iocbqrsp->iocb.ulpStatus != IOSTAT_FCP_RSP_ERROR) in lpfc_send_taskmgmt()
5073 iocbqrsp->iocb.ulpStatus, in lpfc_send_taskmgmt()
5074 iocbqrsp->iocb.un.ulpWord[4], in lpfc_send_taskmgmt()
5078 if (iocbqrsp->iocb.ulpStatus == IOSTAT_FCP_RSP_ERROR) in lpfc_send_taskmgmt()