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);
434 mptscsih_info_scsiio(MPT_ADAPTER *ioc, struct scsi_cmnd *sc, SCSIIOReply_t * pScsiReply) in mptscsih_info_scsiio() argument
441 ioc_status = le16_to_cpu(pScsiReply->IOCStatus) & MPI_IOCSTATUS_MASK; in mptscsih_info_scsiio()
489 switch (pScsiReply->SCSIStatus) in mptscsih_info_scsiio()
538 ioc->name, pScsiReply->Bus, pScsiReply->TargetID, sc->device->lun); in mptscsih_info_scsiio()
543 "sc->result = %08X\n", ioc->name, le16_to_cpu(pScsiReply->TaskTag), in mptscsih_info_scsiio()
544 le32_to_cpu(pScsiReply->TransferCount), sc->result); in mptscsih_info_scsiio()
548 ioc->name, desc, ioc_status, desc1, pScsiReply->SCSIStatus, in mptscsih_info_scsiio()
549 pScsiReply->SCSIState); in mptscsih_info_scsiio()
551 if (pScsiReply->SCSIState & MPI_SCSI_STATE_AUTOSENSE_VALID) { in mptscsih_info_scsiio()
563 if (pScsiReply->SCSIState & MPI_SCSI_STATE_RESPONSE_INFO_VALID && in mptscsih_info_scsiio()
564 pScsiReply->ResponseInfo) in mptscsih_info_scsiio()
566 ioc->name, le32_to_cpu(pScsiReply->ResponseInfo)); in mptscsih_info_scsiio()
591 SCSIIOReply_t *pScsiReply; in mptscsih_io_done() local
643 pScsiReply = (SCSIIOReply_t *) mr; in mptscsih_io_done()
645 if((ioc->facts.MsgVersion >= MPI_VERSION_01_05) && pScsiReply){ in mptscsih_io_done()
648 ioc->name, mf, mr, sc, req_idx, pScsiReply->TaskTag)); in mptscsih_io_done()
655 if (pScsiReply == NULL) { in mptscsih_io_done()
664 status = le16_to_cpu(pScsiReply->IOCStatus) & MPI_IOCSTATUS_MASK; in mptscsih_io_done()
666 scsi_state = pScsiReply->SCSIState; in mptscsih_io_done()
667 scsi_status = pScsiReply->SCSIStatus; in mptscsih_io_done()
668 xfer_cnt = le32_to_cpu(pScsiReply->TransferCount); in mptscsih_io_done()
670 log_info = le32_to_cpu(pScsiReply->IOCLogInfo); in mptscsih_io_done()
686 mptscsih_copy_sense_data(sc, hd, mf, pScsiReply); in mptscsih_io_done()
692 pScsiReply->ResponseInfo) { in mptscsih_io_done()
697 le32_to_cpu(pScsiReply->ResponseInfo)); in mptscsih_io_done()
741 le16_to_cpu(pScsiReply->IOCStatus); in mptscsih_io_done()
878 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
2405 …y_sense_data(struct scsi_cmnd *sc, MPT_SCSI_HOST *hd, MPT_FRAME_HDR *mf, SCSIIOReply_t *pScsiReply) in mptscsih_copy_sense_data() argument
2409 u32 sense_count = le32_to_cpu(pScsiReply->SenseCount); in mptscsih_copy_sense_data()