Lines Matching refs:fcprsp
3491 struct fcp_rsp *fcprsp = lpfc_cmd->fcp_rsp; in lpfc_send_scsi_error_event() local
3492 uint32_t resp_info = fcprsp->rspStatus2; in lpfc_send_scsi_error_event()
3493 uint32_t scsi_status = fcprsp->rspStatus3; in lpfc_send_scsi_error_event()
3518 } else if ((resp_info & SNS_LEN_VALID) && fcprsp->rspSnsLen && in lpfc_send_scsi_error_event()
3539 ((be32_to_cpu(fcprsp->rspResId) != fcpi_parm) || in lpfc_send_scsi_error_event()
3614 struct fcp_rsp *fcprsp = lpfc_cmd->fcp_rsp; in lpfc_handle_fcp_err() local
3616 uint32_t resp_info = fcprsp->rspStatus2; in lpfc_handle_fcp_err()
3617 uint32_t scsi_status = fcprsp->rspStatus3; in lpfc_handle_fcp_err()
3636 rsplen = be32_to_cpu(fcprsp->rspRspLen); in lpfc_handle_fcp_err()
3647 if (fcprsp->rspInfo3 != RSP_NO_FAILURE) { in lpfc_handle_fcp_err()
3654 fcprsp->rspInfo3); in lpfc_handle_fcp_err()
3660 if ((resp_info & SNS_LEN_VALID) && fcprsp->rspSnsLen) { in lpfc_handle_fcp_err()
3661 uint32_t snslen = be32_to_cpu(fcprsp->rspSnsLen); in lpfc_handle_fcp_err()
3666 rsplen = be32_to_cpu(fcprsp->rspRspLen); in lpfc_handle_fcp_err()
3667 memcpy(cmnd->sense_buffer, &fcprsp->rspInfo0 + rsplen, snslen); in lpfc_handle_fcp_err()
3686 be32_to_cpu(fcprsp->rspResId), in lpfc_handle_fcp_err()
3687 be32_to_cpu(fcprsp->rspSnsLen), in lpfc_handle_fcp_err()
3688 be32_to_cpu(fcprsp->rspRspLen), in lpfc_handle_fcp_err()
3689 fcprsp->rspInfo3); in lpfc_handle_fcp_err()
3694 scsi_set_resid(cmnd, be32_to_cpu(fcprsp->rspResId)); in lpfc_handle_fcp_err()
3757 fcpDl, be32_to_cpu(fcprsp->rspResId), in lpfc_handle_fcp_err()
4959 struct fcp_rsp *fcprsp = lpfc_cmd->fcp_rsp; in lpfc_check_fcp_rsp() local
4966 if (fcprsp == NULL) in lpfc_check_fcp_rsp()
4970 rsp_info = fcprsp->rspStatus2; in lpfc_check_fcp_rsp()
4971 rsp_len = be32_to_cpu(fcprsp->rspRspLen); in lpfc_check_fcp_rsp()
4972 rsp_info_code = fcprsp->rspInfo3; in lpfc_check_fcp_rsp()
4986 if ((fcprsp->rspStatus2 & RSP_LEN_VALID) && in lpfc_check_fcp_rsp()