Lines Matching refs:fcprsp
3731 struct fcp_rsp *fcprsp = lpfc_cmd->fcp_rsp; in lpfc_send_scsi_error_event() local
3732 uint32_t resp_info = fcprsp->rspStatus2; in lpfc_send_scsi_error_event()
3733 uint32_t scsi_status = fcprsp->rspStatus3; in lpfc_send_scsi_error_event()
3757 } else if ((resp_info & SNS_LEN_VALID) && fcprsp->rspSnsLen && in lpfc_send_scsi_error_event()
3778 ((be32_to_cpu(fcprsp->rspResId) != fcpi_parm) || in lpfc_send_scsi_error_event()
3989 struct fcp_rsp *fcprsp = lpfc_cmd->fcp_rsp; in lpfc_handle_fcp_err() local
3990 uint32_t resp_info = fcprsp->rspStatus2; in lpfc_handle_fcp_err()
3991 uint32_t scsi_status = fcprsp->rspStatus3; in lpfc_handle_fcp_err()
4010 rsplen = be32_to_cpu(fcprsp->rspRspLen); in lpfc_handle_fcp_err()
4021 if (fcprsp->rspInfo3 != RSP_NO_FAILURE) { in lpfc_handle_fcp_err()
4028 fcprsp->rspInfo3); in lpfc_handle_fcp_err()
4034 if ((resp_info & SNS_LEN_VALID) && fcprsp->rspSnsLen) { in lpfc_handle_fcp_err()
4035 uint32_t snslen = be32_to_cpu(fcprsp->rspSnsLen); in lpfc_handle_fcp_err()
4040 rsplen = be32_to_cpu(fcprsp->rspRspLen); in lpfc_handle_fcp_err()
4041 memcpy(cmnd->sense_buffer, &fcprsp->rspInfo0 + rsplen, snslen); in lpfc_handle_fcp_err()
4060 be32_to_cpu(fcprsp->rspResId), in lpfc_handle_fcp_err()
4061 be32_to_cpu(fcprsp->rspSnsLen), in lpfc_handle_fcp_err()
4062 be32_to_cpu(fcprsp->rspRspLen), in lpfc_handle_fcp_err()
4063 fcprsp->rspInfo3); in lpfc_handle_fcp_err()
4068 scsi_set_resid(cmnd, be32_to_cpu(fcprsp->rspResId)); in lpfc_handle_fcp_err()
4128 fcpDl, be32_to_cpu(fcprsp->rspResId), in lpfc_handle_fcp_err()
6063 struct fcp_rsp *fcprsp = lpfc_cmd->fcp_rsp; in lpfc_check_fcp_rsp() local
6070 if (fcprsp == NULL) in lpfc_check_fcp_rsp()
6074 rsp_info = fcprsp->rspStatus2; in lpfc_check_fcp_rsp()
6075 rsp_len = be32_to_cpu(fcprsp->rspRspLen); in lpfc_check_fcp_rsp()
6076 rsp_info_code = fcprsp->rspInfo3; in lpfc_check_fcp_rsp()
6090 if ((fcprsp->rspStatus2 & RSP_LEN_VALID) && in lpfc_check_fcp_rsp()