Lines Matching refs:mpt_req

2040 	MSG_SCSI_IO_REQUEST *mpt_req;
2081 mpt_req = req->req_vbuf;
2082 memset(mpt_req, 0, sizeof (MSG_SCSI_IO_REQUEST));
2084 mpt_req->Function = MPI_FUNCTION_SCSI_IO_REQUEST;
2086 mpt_req->Function = MPI_FUNCTION_RAID_SCSI_IO_PASSTHROUGH;
2093 mpt_req->Bus = 0; /* we never set bus here */
2096 mpt_req->Bus = 0; /* XXX */
2099 mpt_req->SenseBufferLength =
2107 mpt_req->MsgContext = htole32(req->index | scsi_io_handler_id);
2110 mpt_req->TargetID = tgt;
2112 be64enc(mpt_req->LUN, CAM_EXTLUN_BYTE_SWIZZLE(ccb->ccb_h.target_lun));
2116 mpt_req->Control = MPI_SCSIIO_CONTROL_READ;
2118 mpt_req->Control = MPI_SCSIIO_CONTROL_WRITE;
2120 mpt_req->Control = MPI_SCSIIO_CONTROL_NODATATRANSFER;
2126 mpt_req->Control |= MPI_SCSIIO_CONTROL_HEADOFQ;
2129 mpt_req->Control |= MPI_SCSIIO_CONTROL_ACAQ;
2132 mpt_req->Control |= MPI_SCSIIO_CONTROL_ORDEREDQ;
2136 mpt_req->Control |= MPI_SCSIIO_CONTROL_SIMPLEQ;
2141 mpt_req->Control |= MPI_SCSIIO_CONTROL_SIMPLEQ;
2144 mpt_req->Control |= MPI_SCSIIO_CONTROL_UNTAGGED;
2150 mpt_req->Control |= MPI_SCSIIO_CONTROL_NO_DISCONNECT;
2153 mpt_req->Control = htole32(mpt_req->Control);
2157 bcopy(csio->cdb_io.cdb_ptr, mpt_req->CDB, csio->cdb_len);
2159 bcopy(csio->cdb_io.cdb_bytes, mpt_req->CDB, csio->cdb_len);
2162 mpt_req->CDBLength = csio->cdb_len;
2163 mpt_req->DataLength = htole32(csio->dxfer_len);
2164 mpt_req->SenseBufferLowAddr = htole32(req->sense_pbuf);
2172 (mpt_req->Function == MPI_FUNCTION_SCSI_IO_REQUEST)?
2173 "SCSI_IO_REQUEST" : "SCSI_IO_PASSTHRU", mpt_req->CDB[0]);
2174 df = mpt_req->Control & MPI_SCSIIO_CONTROL_DATADIRECTION_MASK;