Searched refs:pScsiReq (Results 1 - 2 of 2) sorted by relevance
/linux-4.1.27/drivers/message/fusion/ |
H A D | mptscsih.c | 89 static void mptscsih_report_queue_full(struct scsi_cmnd *sc, SCSIIOReply_t *pScsiReply, SCSIIORequest_t *pScsiReq); 592 SCSIIORequest_t *pScsiReq; mptscsih_io_done() local 644 pScsiReq = (SCSIIORequest_t *) mf; mptscsih_io_done() 726 if (hd->sel_timeout[pScsiReq->TargetID] < 0xFFFF) mptscsih_io_done() 727 hd->sel_timeout[pScsiReq->TargetID]++; mptscsih_io_done() 831 if ((pScsiReq->CDB[0] == READ_6 && ((pScsiReq->CDB[1] & 0x02) == 0)) || mptscsih_io_done() 832 pScsiReq->CDB[0] == READ_10 || mptscsih_io_done() 833 pScsiReq->CDB[0] == READ_12 || mptscsih_io_done() 834 (pScsiReq->CDB[0] == READ_16 && mptscsih_io_done() 835 ((pScsiReq->CDB[1] & 0x02) == 0)) || mptscsih_io_done() 836 pScsiReq->CDB[0] == VERIFY || mptscsih_io_done() 837 pScsiReq->CDB[0] == VERIFY_16) { mptscsih_io_done() 879 mptscsih_report_queue_full(sc, pScsiReply, pScsiReq); mptscsih_io_done() 949 mptscsih_report_queue_full(sc, pScsiReply, pScsiReq); mptscsih_io_done() 973 mptscsih_report_queue_full(sc, pScsiReply, pScsiReq); mptscsih_io_done() 1137 * @pScsiReq: Pointer to original SCSI request 1144 mptscsih_report_queue_full(struct scsi_cmnd *sc, SCSIIOReply_t *pScsiReply, SCSIIORequest_t *pScsiReq) mptscsih_report_queue_full() argument 1317 SCSIIORequest_t *pScsiReq; mptscsih_qcmd() local 1345 pScsiReq = (SCSIIORequest_t *) mf; mptscsih_qcmd() 1383 pScsiReq->TargetID = (u8) vdevice->vtarget->id; mptscsih_qcmd() 1384 pScsiReq->Bus = vdevice->vtarget->channel; mptscsih_qcmd() 1385 pScsiReq->ChainOffset = 0; mptscsih_qcmd() 1387 pScsiReq->Function = MPI_FUNCTION_RAID_SCSI_IO_PASSTHROUGH; mptscsih_qcmd() 1389 pScsiReq->Function = MPI_FUNCTION_SCSI_IO_REQUEST; mptscsih_qcmd() 1390 pScsiReq->CDBLength = SCpnt->cmd_len; mptscsih_qcmd() 1391 pScsiReq->SenseBufferLength = MPT_SENSE_BUFFER_SIZE; mptscsih_qcmd() 1392 pScsiReq->Reserved = 0; mptscsih_qcmd() 1393 pScsiReq->MsgFlags = mpt_msg_flags(ioc); mptscsih_qcmd() 1394 int_to_scsilun(SCpnt->device->lun, (struct scsi_lun *)pScsiReq->LUN); mptscsih_qcmd() 1395 pScsiReq->Control = cpu_to_le32(scsictl); mptscsih_qcmd() 1402 pScsiReq->CDB[ii] = SCpnt->cmnd[ii]; mptscsih_qcmd() 1405 pScsiReq->CDB[ii] = 0; mptscsih_qcmd() 1408 pScsiReq->DataLength = cpu_to_le32(datalen); mptscsih_qcmd() 1411 pScsiReq->SenseBufferLowAddr = cpu_to_le32(ioc->sense_buf_low_dma mptscsih_qcmd() 1419 ioc->add_sge((char *)&pScsiReq->SGL, mptscsih_qcmd() 1424 if (mptscsih_AddSGE(ioc, SCpnt, pScsiReq, my_idx) != SUCCESS) mptscsih_qcmd() 2784 SCSIIORequest_t *pScsiReq; mptscsih_do_cmd() local 2912 pScsiReq = (SCSIIORequest_t *) mf; mptscsih_do_cmd() 2919 pScsiReq->TargetID = io->physDiskNum; mptscsih_do_cmd() 2920 pScsiReq->Bus = 0; mptscsih_do_cmd() 2921 pScsiReq->ChainOffset = 0; mptscsih_do_cmd() 2922 pScsiReq->Function = MPI_FUNCTION_RAID_SCSI_IO_PASSTHROUGH; mptscsih_do_cmd() 2924 pScsiReq->TargetID = io->id; mptscsih_do_cmd() 2925 pScsiReq->Bus = io->channel; mptscsih_do_cmd() 2926 pScsiReq->ChainOffset = 0; mptscsih_do_cmd() 2927 pScsiReq->Function = MPI_FUNCTION_SCSI_IO_REQUEST; mptscsih_do_cmd() 2930 pScsiReq->CDBLength = cmdLen; mptscsih_do_cmd() 2931 pScsiReq->SenseBufferLength = MPT_SENSE_BUFFER_SIZE; mptscsih_do_cmd() 2933 pScsiReq->Reserved = 0; mptscsih_do_cmd() 2935 pScsiReq->MsgFlags = mpt_msg_flags(ioc); mptscsih_do_cmd() 2938 int_to_scsilun(io->lun, (struct scsi_lun *)pScsiReq->LUN); mptscsih_do_cmd() 2941 pScsiReq->Control = cpu_to_le32(dir | MPI_SCSIIO_CONTROL_SIMPLEQ); mptscsih_do_cmd() 2943 pScsiReq->Control = cpu_to_le32(dir | MPI_SCSIIO_CONTROL_UNTAGGED); mptscsih_do_cmd() 2946 pScsiReq->Control = cpu_to_le32(dir | MPI_SCSIIO_CONTROL_UNTAGGED); mptscsih_do_cmd() 2952 pScsiReq->CDB[ii] = CDB[ii]; mptscsih_do_cmd() 2954 pScsiReq->DataLength = cpu_to_le32(io->size); mptscsih_do_cmd() 2955 pScsiReq->SenseBufferLowAddr = cpu_to_le32(ioc->sense_buf_low_dma mptscsih_do_cmd() 2963 ioc->add_sge((char *) &pScsiReq->SGL, mptscsih_do_cmd() 2966 ioc->add_sge((char *) &pScsiReq->SGL, mptscsih_do_cmd()
|
H A D | mptctl.c | 1938 SCSIIORequest_t *pScsiReq = (SCSIIORequest_t *) mf; mptctl_do_mpt_command() local 1945 if (pScsiReq->TargetID > id) { mptctl_do_mpt_command() 1953 if (pScsiReq->Bus >= ioc->number_of_buses) { mptctl_do_mpt_command() 1961 pScsiReq->MsgFlags &= ~MPI_SCSIIO_MSGFLGS_SENSE_WIDTH; mptctl_do_mpt_command() 1962 pScsiReq->MsgFlags |= mpt_msg_flags(ioc); mptctl_do_mpt_command() 1972 pScsiReq->SenseBufferLength = MPT_SENSE_BUFFER_SIZE; mptctl_do_mpt_command() 1974 pScsiReq->SenseBufferLength = karg.maxSenseBytes; mptctl_do_mpt_command() 1976 pScsiReq->SenseBufferLowAddr = mptctl_do_mpt_command() 1987 if ((pScsiReq->TargetID == vtarget->id) && mptctl_do_mpt_command() 1988 (pScsiReq->Bus == vtarget->channel) && mptctl_do_mpt_command() 2004 pScsiReq->Control = cpu_to_le32(scsidir | qtag); mptctl_do_mpt_command() 2005 pScsiReq->DataLength = cpu_to_le32(dataSize); mptctl_do_mpt_command() 2043 SCSIIORequest_t *pScsiReq = (SCSIIORequest_t *) mf; mptctl_do_mpt_command() local 2048 pScsiReq->MsgFlags &= ~MPI_SCSIIO_MSGFLGS_SENSE_WIDTH; mptctl_do_mpt_command() 2049 pScsiReq->MsgFlags |= mpt_msg_flags(ioc); mptctl_do_mpt_command() 2059 pScsiReq->SenseBufferLength = MPT_SENSE_BUFFER_SIZE; mptctl_do_mpt_command() 2061 pScsiReq->SenseBufferLength = karg.maxSenseBytes; mptctl_do_mpt_command() 2063 pScsiReq->SenseBufferLowAddr = mptctl_do_mpt_command() 2081 pScsiReq->Control = cpu_to_le32(scsidir | qtag); mptctl_do_mpt_command() 2082 pScsiReq->DataLength = cpu_to_le32(dataSize); mptctl_do_mpt_command()
|
Completed in 105 milliseconds