Lines Matching refs:pScsiReply
89 static void mptscsih_report_queue_full(struct scsi_cmnd *sc, SCSIIOReply_t *pScsiReply, SCSIIOReque…
95 …_sense_data(struct scsi_cmnd *sc, MPT_SCSI_HOST *hd, MPT_FRAME_HDR *mf, SCSIIOReply_t *pScsiReply);
436 mptscsih_info_scsiio(MPT_ADAPTER *ioc, struct scsi_cmnd *sc, SCSIIOReply_t * pScsiReply) in mptscsih_info_scsiio() argument
443 ioc_status = le16_to_cpu(pScsiReply->IOCStatus) & MPI_IOCSTATUS_MASK; in mptscsih_info_scsiio()
491 switch (pScsiReply->SCSIStatus) in mptscsih_info_scsiio()
540 ioc->name, pScsiReply->Bus, pScsiReply->TargetID, sc->device->lun); in mptscsih_info_scsiio()
545 "sc->result = %08X\n", ioc->name, le16_to_cpu(pScsiReply->TaskTag), in mptscsih_info_scsiio()
546 le32_to_cpu(pScsiReply->TransferCount), sc->result); in mptscsih_info_scsiio()
550 ioc->name, desc, ioc_status, desc1, pScsiReply->SCSIStatus, in mptscsih_info_scsiio()
551 pScsiReply->SCSIState); in mptscsih_info_scsiio()
553 if (pScsiReply->SCSIState & MPI_SCSI_STATE_AUTOSENSE_VALID) { in mptscsih_info_scsiio()
565 if (pScsiReply->SCSIState & MPI_SCSI_STATE_RESPONSE_INFO_VALID && in mptscsih_info_scsiio()
566 pScsiReply->ResponseInfo) in mptscsih_info_scsiio()
568 ioc->name, le32_to_cpu(pScsiReply->ResponseInfo)); in mptscsih_info_scsiio()
593 SCSIIOReply_t *pScsiReply; in mptscsih_io_done() local
645 pScsiReply = (SCSIIOReply_t *) mr; in mptscsih_io_done()
647 if((ioc->facts.MsgVersion >= MPI_VERSION_01_05) && pScsiReply){ in mptscsih_io_done()
650 ioc->name, mf, mr, sc, req_idx, pScsiReply->TaskTag)); in mptscsih_io_done()
657 if (pScsiReply == NULL) { in mptscsih_io_done()
666 status = le16_to_cpu(pScsiReply->IOCStatus) & MPI_IOCSTATUS_MASK; in mptscsih_io_done()
668 scsi_state = pScsiReply->SCSIState; in mptscsih_io_done()
669 scsi_status = pScsiReply->SCSIStatus; in mptscsih_io_done()
670 xfer_cnt = le32_to_cpu(pScsiReply->TransferCount); in mptscsih_io_done()
672 log_info = le32_to_cpu(pScsiReply->IOCLogInfo); in mptscsih_io_done()
688 mptscsih_copy_sense_data(sc, hd, mf, pScsiReply); in mptscsih_io_done()
694 pScsiReply->ResponseInfo) { in mptscsih_io_done()
699 le32_to_cpu(pScsiReply->ResponseInfo)); in mptscsih_io_done()
743 le16_to_cpu(pScsiReply->IOCStatus); in mptscsih_io_done()
879 mptscsih_report_queue_full(sc, pScsiReply, pScsiReq); in mptscsih_io_done()
948 if (pScsiReply->SCSIStatus == MPI_SCSI_STATUS_TASK_SET_FULL) in mptscsih_io_done()
949 mptscsih_report_queue_full(sc, pScsiReply, pScsiReq); in mptscsih_io_done()
973 mptscsih_report_queue_full(sc, pScsiReply, pScsiReq); in mptscsih_io_done()
1004 mptscsih_info_scsiio(ioc, sc, pScsiReply); in mptscsih_io_done()
1144 mptscsih_report_queue_full(struct scsi_cmnd *sc, SCSIIOReply_t *pScsiReply, SCSIIORequest_t *pScsiR… in mptscsih_report_queue_full() argument
2404 …y_sense_data(struct scsi_cmnd *sc, MPT_SCSI_HOST *hd, MPT_FRAME_HDR *mf, SCSIIOReply_t *pScsiReply) in mptscsih_copy_sense_data() argument
2408 u32 sense_count = le32_to_cpu(pScsiReply->SenseCount); in mptscsih_copy_sense_data()