FreeBSD kernel pms device code
satproto.h File Reference

Go to the source code of this file.

Functions

void itdsatProcessAbnormalCompletion (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, agsaFrameHandle_t agFrameHandle, satIOContext_t *satIOContext)
 
void itdsatDelayedProcessAbnormalCompletion (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, agsaFrameHandle_t agFrameHandle, satIOContext_t *satIOContext)
 
void itdsatErrorSATAEventHandle (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, agsaPortContext_t *agPortContext, agsaDevHandle_t *agDevHandle, bit32 event, satIOContext_t *ioContext)
 
void itdsatEncryptionHandler (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, bit32 agIOInfoLen, void *agParam, bit32 agOtherInfo)
 
osGLOBAL void itdsatDifHandler (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, bit32 agIOInfoLen, void *agParam, bit32 agOtherInfo)
 
void satProcessAbort (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, satIOContext_t *satIOContext)
 
void satSetSensePayload (scsiRspSense_t *pSense, bit8 SnsKey, bit32 SnsInfo, bit16 SnsCode, satIOContext_t *satIOContext)
 Setup up the SCSI Sense response. More...
 
void satSetDeferredSensePayload (scsiRspSense_t *pSense, bit8 SnsKey, bit32 SnsInfo, bit16 SnsCode, satIOContext_t *satIOContext)
 Setup up the SCSI Sense response. More...
 
GLOBAL bit32 satPacket (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for ATAPI Packet Command. More...
 
void satPacketCB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, void *agParam, void *ioContext)
 
GLOBAL bit32 satDeviceReset (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for satDeviceReset. More...
 
void satDeviceResetCB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, void *agParam, void *ioContext)
 
GLOBAL bit32 satExecuteDeviceDiagnostic (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for satExecuteDeviceDiagnostic. More...
 
void satExecuteDeviceDiagnosticCB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, void *agParam, void *ioContext)
 
GLOBAL bit32 satSetFeatures (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext, bit8 bTransferMode)
 SAT implementation for satSetFeatures. More...
 
void satSetFeaturesPIOCB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, void *agParam, void *ioContext)
 
void satSetFeaturesCB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, void *agParam, void *ioContext)
 
GLOBAL bit32 satRequestSenseForATAPI (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI REQUEST SENSE to ATAPI device. More...
 
void satRequestSenseForATAPICB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, void *agParam, void *ioContext)
 
GLOBAL bit32 satRead12 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI READ12. More...
 
GLOBAL bit32 satRead10 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI READ10. More...
 
GLOBAL bit32 satRead16 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI READ16. More...
 
GLOBAL bit32 satRead6 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI READ6. More...
 
GLOBAL bit32 satWrite16 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI WRITE16. More...
 
GLOBAL bit32 satWrite12 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI WRITE12. More...
 
GLOBAL bit32 satWrite10 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI WRITE10. More...
 
GLOBAL bit32 satWrite_1 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 
GLOBAL bit32 satWrite6 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI WRITE6. More...
 
GLOBAL bit32 satReportLun (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI satReportLun. More...
 
GLOBAL bit32 satReadCapacity10 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI satReadCapacity10. More...
 
GLOBAL bit32 satReadCapacity16 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI satReadCapacity16. More...
 
GLOBAL bit32 satInquiry (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 
GLOBAL bit32 satRequestSense (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI REQUEST SENSE. More...
 
GLOBAL bit32 satRequestSense_1 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI REQUEST SENSE. More...
 
GLOBAL bit32 satFormatUnit (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI satFormatUnit. More...
 
GLOBAL bit32 satSendDiagnostic (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI satSendDiagnostic. More...
 
GLOBAL bit32 satSendDiagnostic_1 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI satSendDiagnostic_1. More...
 
GLOBAL bit32 satSendDiagnostic_2 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI satSendDiagnostic_2. More...
 
GLOBAL bit32 satStartStopUnit (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI satStartStopUnit. More...
 
GLOBAL bit32 satStartStopUnit_1 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI satStartStopUnit_1. More...
 
GLOBAL bit32 satRead_1 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI satRead10_1. More...
 
GLOBAL bit32 satRead10_2 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 
GLOBAL bit32 satWriteSame10 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI satWriteSame10. More...
 
GLOBAL bit32 satWriteSame10_1 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext, bit32 lba)
 
GLOBAL bit32 satWriteSame10_2 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext, bit32 lba)
 
GLOBAL bit32 satWriteSame10_3 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext, bit32 lba)
 
GLOBAL bit32 satWriteSame16 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI satWriteSame16. More...
 
GLOBAL bit32 satLogSenseAllocate (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext, bit32 payloadSize, bit32 flag)
 SAT implementation for SCSI satLogSenseAllocate. More...
 
GLOBAL bit32 satSMARTEnable (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI satSMARTEnable. More...
 
GLOBAL bit32 satLogSense_1 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI satLogSense_1. More...
 
GLOBAL bit32 satLogSense_2 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI satLogSense_2. More...
 
GLOBAL bit32 satLogSense_3 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI satLogSense_3. More...
 
GLOBAL bit32 satLogSense (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI satLogSense. More...
 
GLOBAL bit32 satModeSelect6 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI satModeSelect6. More...
 
GLOBAL bit32 satModeSelect6n10_1 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 
GLOBAL bit32 satModeSelect10 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI satModeSelect10. More...
 
GLOBAL bit32 satSynchronizeCache10 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI satSynchronizeCache10. More...
 
GLOBAL bit32 satSynchronizeCache16 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI satSynchronizeCache16. More...
 
GLOBAL bit32 satWriteAndVerify10 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI satWriteAndVerify10. More...
 
GLOBAL bit32 satWriteAndVerify12 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI satWriteAndVerify12. More...
 
GLOBAL bit32 satNonChainedWriteNVerify_Verify (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 
GLOBAL bit32 satChainedWriteNVerify_Write (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 
GLOBAL bit32 satChainedWriteNVerify_Verify (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 
GLOBAL bit32 satChainedWriteNVerify_Start_Verify (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 
GLOBAL bit32 satWriteAndVerify16 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI satWriteAndVerify16. More...
 
GLOBAL bit32 satChainedVerify16 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 
GLOBAL bit32 satTestUnitReady (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI TEST UNIT READY. More...
 
GLOBAL bit32 satModeSense6 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI MODE SENSE (6). More...
 
GLOBAL bit32 satModeSense10 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI MODE SENSE (10). More...
 
GLOBAL bit32 satVerify10 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI VERIFY (10). More...
 
GLOBAL bit32 satChainedVerify (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 
GLOBAL bit32 satVerify12 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI VERIFY (12). More...
 
GLOBAL bit32 satVerify16 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI VERIFY (16). More...
 
GLOBAL bit32 satTestUnitReady_1 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI satTestUnitReady_1. More...
 
GLOBAL void satInquiryStandard (bit8 *pInquiry, agsaSATAIdentifyData_t *pSATAIdData, tiIniScsiCmnd_t *scsiCmnd)
 SAT implementation for SCSI STANDARD INQUIRY. More...
 
GLOBAL void satInquiryPage0 (bit8 *pInquiry, agsaSATAIdentifyData_t *pSATAIdData)
 SAT implementation for SCSI INQUIRY page 0. More...
 
GLOBAL void satInquiryPage83 (bit8 *pInquiry, agsaSATAIdentifyData_t *pSATAIdData, satDeviceData_t *pSatDevData)
 SAT implementation for SCSI INQUIRY page 83. More...
 
GLOBAL void satInquiryPage89 (bit8 *pInquiry, agsaSATAIdentifyData_t *pSATAIdData, satDeviceData_t *pSatDevData)
 SAT implementation for SCSI INQUIRY page 89. More...
 
GLOBAL void satInquiryPage80 (bit8 *pInquiry, agsaSATAIdentifyData_t *pSATAIdData)
 SAT implementation for SCSI INQUIRY page 80. More...
 
GLOBAL bit32 sataLLIOStart (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 
osGLOBAL bit32 itdsataIOPrepareSGL (tiRoot_t *tiRoot, tdIORequestBody_t *tdIORequestBody, tiSgl_t *tiSgl1, void *sglVirtualAddr)
 
void satNonChainedDataIOCB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, agsaFrameHandle_t agFrameHandle, void *ioContext)
 
void satChainedDataIOCB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, agsaFrameHandle_t agFrameHandle, void *ioContext)
 
void satNonChainedWriteNVerifyCB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, agsaFrameHandle_t agFrameHandle, void *ioContext)
 
void satChainedWriteNVerifyCB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, agsaFrameHandle_t agFrameHandle, void *ioContext)
 
void satNonDataIOCB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, agsaFrameHandle_t agFrameHandle, void *ioContext)
 
void satSMARTEnableCB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, agsaFrameHandle_t agFrameHandle, void *ioContext)
 
void satLogSenseCB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, agsaFrameHandle_t agFrameHandle, void *ioCotext)
 
void satModeSelect6n10CB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, agsaFrameHandle_t agFrameHandle, void *ioContext)
 
void satSynchronizeCache10n16CB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, agsaFrameHandle_t agFrameHandle, void *ioContext)
 
void satReadLogExtCB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, agsaFrameHandle_t agFrameHandle, void *ioContext)
 
void satTestUnitReadyCB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, agsaFrameHandle_t agFrameHandle, void *ioContext)
 
void satWriteSame10CB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, agsaFrameHandle_t agFrameHandle, void *ioContext)
 
void satSendDiagnosticCB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, agsaFrameHandle_t agFrameHandle, void *ioContext)
 
void satRequestSenseCB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, agsaFrameHandle_t agFrameHandle, void *ioContext)
 
void satStartStopUnitCB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, agsaFrameHandle_t agFrameHandle, void *ioContext)
 
void satVerify10CB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, agsaFrameHandle_t agFrameHandle, void *ioContex)
 
void satNonChainedVerifyCB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, agsaFrameHandle_t agFrameHandle, void *ioContext)
 
void satChainedVerifyCB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, agsaFrameHandle_t agFrameHandle, void *ioContext)
 
osGLOBAL bit32 satTmResetLUN (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext, tiLUN_t *lun)
 
osGLOBAL bit32 satTmWarmReset (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 
osGLOBAL bit32 satTDInternalTmReset (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 
osGLOBAL bit32 satTmAbortTask (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext, tiIORequest_t *taskTag)
 
osGLOBAL void osSatResetCB (tiRoot_t *tiRoot, tiDeviceHandle_t *tiDeviceHandle, bit32 resetStatus, void *respFis)
 
osGLOBAL void ossaSATADeviceResetCB (agsaRoot_t *agRoot, agsaDevHandle_t *agDevHandle, bit32 resetStatus, void *resetparm)
 
osGLOBAL void osSatIOCompleted (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, agsaFisHeader_t *agFirstDword, bit32 respFisLen, agsaFrameHandle_t agFrameHandle, satIOContext_t *satIOContext, bit32 interruptContext)
 
osGLOBAL void tdssRemoveSATAFromSharedcontext (tdsaPortContext_t *tdsaPortContext_Ins, tdsaDeviceData_t *tdsaDeviceData_ins, agsaRoot_t *agRoot)
 
GLOBAL void osSatDefaultTranslation (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, satIOContext_t *satIOContext, scsiRspSense_t *pSense, bit8 ataStatus, bit8 ataError, bit32 interruptContext)
 SAT default ATA status and ATA error translation to SCSI. More...
 
GLOBAL satInternalIo_tsatAllocIntIoResource (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, satDeviceData_t *satDevData, bit32 dmaAllocLength, satInternalIo_t *satIntIo)
 Allocate resource for SAT intervally generated I/O. More...
 
GLOBAL bit32 satSendReadLogExt (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 Send READ LOG EXT ATA PAGE 10h command to sata drive. More...
 
GLOBAL bit32 satReadMediaSerialNumber (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI satReadMediaSerialNumber. More...
 
void satReadMediaSerialNumberCB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, agsaFrameHandle_t agFrameHandle, void *ioContext)
 
GLOBAL bit32 satReadBuffer (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI satReadBuffer. More...
 
void satReadBufferCB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, agsaFrameHandle_t agFrameHandle, void *ioContext)
 
GLOBAL bit32 satWriteBuffer (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI satWriteBuffer. More...
 
void satWriteBufferCB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, agsaFrameHandle_t agFrameHandle, void *ioContext)
 
GLOBAL bit32 satReassignBlocks (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 SAT implementation for SCSI satReassignBlocks. More...
 
void satReassignBlocksCB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, agsaFrameHandle_t agFrameHandle, void *ioContext)
 
GLOBAL bit32 satReassignBlocks_1 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext, satIOContext_t *satOrgIOContext)
 SAT implementation for SCSI satReassignBlocks_1. More...
 
GLOBAL bit32 satReassignBlocks_2 (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext, bit8 *LBA)
 SAT implementation for SCSI satReassignBlocks_2. More...
 
GLOBAL satIOContext_tsatPrepareNewIO (satInternalIo_t *satNewIntIo, tiIORequest_t *tiOrgIORequest, satDeviceData_t *satDevData, tiIniScsiCmnd_t *scsiCmnd, satIOContext_t *satOrgIOContext)
 SAT implementation for SCSI satPrepareNewIO. More...
 
GLOBAL bit32 sataLLIOAbort (tiRoot_t *tiRoot, tiIORequest_t *taskTag)
 
void satInquiryCB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, agsaFrameHandle_t agFrameHandle, void *ioContext)
 
void satInquiryIntCB (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 
GLOBAL bit32 satSendIDDev (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 
GLOBAL bit32 satStartIDDev (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 
void satSetDevInfo (satDeviceData_t *satDevData, agsaSATAIdentifyData_t *SATAIdData)
 
GLOBAL bit32 satAddSATAStartIDDev (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 
GLOBAL bit32 satAddSATASendIDDev (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 
void satAddSATAIDDevCB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, agsaFrameHandle_t agFrameHandle, void *ioContext)
 
void satAddSATAIDDevCBReset (agsaRoot_t *agRoot, tdsaDeviceData_t *oneDeviceData, satIOContext_t *satIOContext, tdIORequestBody_t *tdIORequestBody)
 
void satAddSATAIDDevCBCleanup (agsaRoot_t *agRoot, tdsaDeviceData_t *oneDeviceData, satIOContext_t *satIOContext, tdIORequestBody_t *tdIORequestBody)
 
GLOBAL bit32 tdsaDiscoveryIntStartIDDev (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 
GLOBAL bit32 tdsaDiscoverySendIDDev (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 
void tdsaDiscoveryStartIDDevCB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, agsaFrameHandle_t agFrameHandle, void *ioContext)
 
bit32 satComputeCDB10LBA (satIOContext_t *satIOContext)
 
bit32 satComputeCDB10TL (satIOContext_t *satIOContext)
 
bit32 satComputeCDB12LBA (satIOContext_t *satIOContext)
 
bit32 satComputeCDB12TL (satIOContext_t *satIOContext)
 
bit32 satComputeCDB16LBA (satIOContext_t *satIOContext)
 
bit32 satComputeCDB16TL (satIOContext_t *satIOContext)
 
bit32 satComputeLoopNum (bit32 a, bit32 b)
 
bit32 satAddNComparebit64 (bit8 *a, bit8 *b)
 
bit32 satAddNComparebit32 (bit8 *a, bit8 *b)
 
bit32 satCompareLBALimitbit (bit8 *lba)
 
GLOBAL void satBitSet (bit8 *data, bit32 index)
 
GLOBAL void satBitClear (bit8 *data, bit32 index)
 
GLOBAL agBOOLEAN satBitTest (bit8 *data, bit32 index)
 
GLOBAL bit32 satTagAlloc (tiRoot_t *tiRoot, satDeviceData_t *pSatDevData, bit8 *pTag)
 allocate an available SATA tag More...
 
GLOBAL bit32 satTagRelease (tiRoot_t *tiRoot, satDeviceData_t *pSatDevData, bit8 tag)
 release an SATA tag More...
 
GLOBAL void satDecrementPendingIO (tiRoot_t *tiRoot, tdsaContext_t *tdsaAllShared, satIOContext_t *satIOContext)
 
GLOBAL bit32 satStartResetDevice (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 
GLOBAL bit32 satResetDevice (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 
GLOBAL void satResetDeviceCB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, agsaFrameHandle_t agFrameHandle, void *ioContext)
 
osGLOBAL bit32 satSubTM (tiRoot_t *tiRoot, tiDeviceHandle_t *tiDeviceHandle, bit32 task, tiLUN_t *lun, tiIORequest_t *taskTag, tiIORequest_t *currentTaskTag, bit32 NotifyOS)
 
GLOBAL bit32 satStartDeResetDevice (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 
GLOBAL bit32 satDeResetDevice (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 
GLOBAL void satDeResetDeviceCB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, agsaFrameHandle_t agFrameHandle, void *ioContext)
 
GLOBAL bit32 satStartCheckPowerMode (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 
GLOBAL bit32 satCheckPowerMode (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, satIOContext_t *satIOContext)
 
GLOBAL void satCheckPowerModeCB (agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, agsaFisHeader_t *agFirstDword, bit32 agIOInfoLen, agsaFrameHandle_t agFrameHandle, void *ioContext)
 
GLOBAL void satAbort (agsaRoot_t *agRoot, satIOContext_t *satIOContext)
 
GLOBAL void satTranslateATAPIErrorsToSCSIErrors (bit8 bCommand, bit8 bATAStatus, bit8 bATAError, bit8 *pSenseKey, bit16 *pSenseCodeInfo)
 
osGLOBAL void satSATADeviceReset (tiRoot_t *tiRoot, tdsaDeviceData_t *oneDeviceData, bit32 flag)
 

Detailed Description

The file contaning function protoptype used by SAT layer.

Definition in file satproto.h.

Function Documentation

◆ itdsataIOPrepareSGL()

osGLOBAL bit32 itdsataIOPrepareSGL ( tiRoot_t tiRoot,
tdIORequestBody_t tdIORequestBody,
tiSgl_t tiSgl1,
void *  sglVirtualAddr 
)

◆ itdsatDelayedProcessAbnormalCompletion()

void itdsatDelayedProcessAbnormalCompletion ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
agsaFrameHandle_t  agFrameHandle,
satIOContext_t satIOContext 
)

◆ itdsatDifHandler()

osGLOBAL void itdsatDifHandler ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
bit32  agIOInfoLen,
void *  agParam,
bit32  agOtherInfo 
)

◆ itdsatEncryptionHandler()

void itdsatEncryptionHandler ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
bit32  agIOInfoLen,
void *  agParam,
bit32  agOtherInfo 
)

◆ itdsatErrorSATAEventHandle()

void itdsatErrorSATAEventHandle ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
agsaPortContext_t agPortContext,
agsaDevHandle_t agDevHandle,
bit32  event,
satIOContext_t ioContext 
)

◆ itdsatProcessAbnormalCompletion()

void itdsatProcessAbnormalCompletion ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
agsaFrameHandle_t  agFrameHandle,
satIOContext_t satIOContext 
)

◆ ossaSATADeviceResetCB()

osGLOBAL void ossaSATADeviceResetCB ( agsaRoot_t agRoot,
agsaDevHandle_t agDevHandle,
bit32  resetStatus,
void *  resetparm 
)

Definition at line 9054 of file ossacmnapi.c.

◆ osSatDefaultTranslation()

GLOBAL void osSatDefaultTranslation ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
satIOContext_t satIOContext,
scsiRspSense_t pSense,
bit8  ataStatus,
bit8  ataError,
bit32  interruptContext 
)

SAT default ATA status and ATA error translation to SCSI.

SSAT default ATA status and ATA error translation to SCSI.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
satIOContextPointer to the SAT IO Context
pSensePointer to scsiRspSense_t
ataStatusATA status register
ataErrorATA error register
interruptContextInterrupt context
Returns
None

◆ osSatIOCompleted()

osGLOBAL void osSatIOCompleted ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
agsaFisHeader_t agFirstDword,
bit32  respFisLen,
agsaFrameHandle_t  agFrameHandle,
satIOContext_t satIOContext,
bit32  interruptContext 
)

◆ osSatResetCB()

osGLOBAL void osSatResetCB ( tiRoot_t tiRoot,
tiDeviceHandle_t tiDeviceHandle,
bit32  resetStatus,
void *  respFis 
)

◆ satAbort()

GLOBAL void satAbort ( agsaRoot_t agRoot,
satIOContext_t satIOContext 
)

◆ satAddNComparebit32()

bit32 satAddNComparebit32 ( bit8 a,
bit8 b 
)

◆ satAddNComparebit64()

bit32 satAddNComparebit64 ( bit8 a,
bit8 b 
)

◆ satAddSATAIDDevCB()

void satAddSATAIDDevCB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
agsaFrameHandle_t  agFrameHandle,
void *  ioContext 
)

◆ satAddSATAIDDevCBCleanup()

void satAddSATAIDDevCBCleanup ( agsaRoot_t agRoot,
tdsaDeviceData_t oneDeviceData,
satIOContext_t satIOContext,
tdIORequestBody_t tdIORequestBody 
)

◆ satAddSATAIDDevCBReset()

void satAddSATAIDDevCBReset ( agsaRoot_t agRoot,
tdsaDeviceData_t oneDeviceData,
satIOContext_t satIOContext,
tdIORequestBody_t tdIORequestBody 
)

◆ satAddSATASendIDDev()

GLOBAL bit32 satAddSATASendIDDev ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

◆ satAddSATAStartIDDev()

GLOBAL bit32 satAddSATAStartIDDev ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

◆ sataLLIOAbort()

GLOBAL bit32 sataLLIOAbort ( tiRoot_t tiRoot,
tiIORequest_t taskTag 
)

◆ sataLLIOStart()

GLOBAL bit32 sataLLIOStart ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

◆ satAllocIntIoResource()

GLOBAL satInternalIo_t * satAllocIntIoResource ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
satDeviceData_t satDevData,
bit32  dmaAllocLength,
satInternalIo_t satIntIo 
)

Allocate resource for SAT intervally generated I/O.

Allocate resource for SAT intervally generated I/O.

Parameters
tiRootPointer to TISA driver/port instance.
satDevDataPointer to SAT specific device data.
allocLengthLength in byte of the DMA mem to allocate, upto one page size.
satIntIoPointer (output) to context for SAT internally generated I/O that is allocated by this routine.
Returns
If command is started successfully
  • tiSuccess: Success.
  • tiError: Failed allocating resource.

◆ satBitClear()

GLOBAL void satBitClear ( bit8 data,
bit32  index 
)

◆ satBitSet()

GLOBAL void satBitSet ( bit8 data,
bit32  index 
)

◆ satBitTest()

GLOBAL agBOOLEAN satBitTest ( bit8 data,
bit32  index 
)

◆ satChainedDataIOCB()

void satChainedDataIOCB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
agsaFrameHandle_t  agFrameHandle,
void *  ioContext 
)

◆ satChainedVerify()

GLOBAL bit32 satChainedVerify ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

◆ satChainedVerify16()

GLOBAL bit32 satChainedVerify16 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

◆ satChainedVerifyCB()

void satChainedVerifyCB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
agsaFrameHandle_t  agFrameHandle,
void *  ioContext 
)

◆ satChainedWriteNVerify_Start_Verify()

GLOBAL bit32 satChainedWriteNVerify_Start_Verify ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

◆ satChainedWriteNVerify_Verify()

GLOBAL bit32 satChainedWriteNVerify_Verify ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

◆ satChainedWriteNVerify_Write()

GLOBAL bit32 satChainedWriteNVerify_Write ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

◆ satChainedWriteNVerifyCB()

void satChainedWriteNVerifyCB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
agsaFrameHandle_t  agFrameHandle,
void *  ioContext 
)

◆ satCheckPowerMode()

GLOBAL bit32 satCheckPowerMode ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

◆ satCheckPowerModeCB()

GLOBAL void satCheckPowerModeCB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
agsaFrameHandle_t  agFrameHandle,
void *  ioContext 
)

◆ satCompareLBALimitbit()

bit32 satCompareLBALimitbit ( bit8 lba)

◆ satComputeCDB10LBA()

bit32 satComputeCDB10LBA ( satIOContext_t satIOContext)

◆ satComputeCDB10TL()

bit32 satComputeCDB10TL ( satIOContext_t satIOContext)

◆ satComputeCDB12LBA()

bit32 satComputeCDB12LBA ( satIOContext_t satIOContext)

◆ satComputeCDB12TL()

bit32 satComputeCDB12TL ( satIOContext_t satIOContext)

◆ satComputeCDB16LBA()

bit32 satComputeCDB16LBA ( satIOContext_t satIOContext)

◆ satComputeCDB16TL()

bit32 satComputeCDB16TL ( satIOContext_t satIOContext)

◆ satComputeLoopNum()

bit32 satComputeLoopNum ( bit32  a,
bit32  b 
)

◆ satDecrementPendingIO()

GLOBAL void satDecrementPendingIO ( tiRoot_t tiRoot,
tdsaContext_t tdsaAllShared,
satIOContext_t satIOContext 
)

◆ satDeResetDevice()

GLOBAL bit32 satDeResetDevice ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

◆ satDeResetDeviceCB()

GLOBAL void satDeResetDeviceCB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
agsaFrameHandle_t  agFrameHandle,
void *  ioContext 
)

◆ satDeviceReset()

GLOBAL bit32 satDeviceReset ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for satDeviceReset.

This function creates DEVICE RESET fis and sends the request to LL layer

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satDeviceResetCB()

void satDeviceResetCB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
void *  agParam,
void *  ioContext 
)

◆ satExecuteDeviceDiagnostic()

GLOBAL bit32 satExecuteDeviceDiagnostic ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for satExecuteDeviceDiagnostic.

This function creates Execute Device Diagnostic fis and sends the request to LL layer

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satExecuteDeviceDiagnosticCB()

void satExecuteDeviceDiagnosticCB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
void *  agParam,
void *  ioContext 
)

◆ satFormatUnit()

GLOBAL bit32 satFormatUnit ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI satFormatUnit.

SAT implementation for SCSI satFormatUnit.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satInquiry()

GLOBAL bit32 satInquiry ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

◆ satInquiryCB()

void satInquiryCB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
agsaFrameHandle_t  agFrameHandle,
void *  ioContext 
)

◆ satInquiryIntCB()

void satInquiryIntCB ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

◆ satInquiryPage0()

GLOBAL void satInquiryPage0 ( bit8 pInquiry,
agsaSATAIdentifyData_t pSATAIdData 
)

SAT implementation for SCSI INQUIRY page 0.

SAT implementation for SCSI INQUIRY page 0.

Parameters
pInquiryPointer to Inquiry Data buffer.
pSATAIdDataPointer to ATA IDENTIFY DEVICE data.
Returns
None.

◆ satInquiryPage80()

GLOBAL void satInquiryPage80 ( bit8 pInquiry,
agsaSATAIdentifyData_t pSATAIdData 
)

SAT implementation for SCSI INQUIRY page 80.

SAT implementation for SCSI INQUIRY page 80.

Parameters
pInquiryPointer to Inquiry Data buffer.
pSATAIdDataPointer to ATA IDENTIFY DEVICE data.
Returns
None.

◆ satInquiryPage83()

GLOBAL void satInquiryPage83 ( bit8 pInquiry,
agsaSATAIdentifyData_t pSATAIdData,
satDeviceData_t pSatDevData 
)

SAT implementation for SCSI INQUIRY page 83.

SAT implementation for SCSI INQUIRY page 83.

Parameters
pInquiryPointer to Inquiry Data buffer.
pSATAIdDataPointer to ATA IDENTIFY DEVICE data.
pSatDevDataPointer to internal device data structure
Returns
None.

◆ satInquiryPage89()

GLOBAL void satInquiryPage89 ( bit8 pInquiry,
agsaSATAIdentifyData_t pSATAIdData,
satDeviceData_t pSatDevData 
)

SAT implementation for SCSI INQUIRY page 89.

SAT implementation for SCSI INQUIRY page 89.

Parameters
pInquiryPointer to Inquiry Data buffer.
pSATAIdDataPointer to ATA IDENTIFY DEVICE data.
pSatDevDataPointer to internal device data structure
Returns
None.

◆ satInquiryStandard()

GLOBAL void satInquiryStandard ( bit8 pInquiry,
agsaSATAIdentifyData_t pSATAIdData,
tiIniScsiCmnd_t scsiCmnd 
)

SAT implementation for SCSI STANDARD INQUIRY.

SAT implementation for SCSI STANDARD INQUIRY.

Parameters
pInquiryPointer to Inquiry Data buffer.
pSATAIdDataPointer to ATA IDENTIFY DEVICE data.
Returns
None.

◆ satLogSense()

GLOBAL bit32 satLogSense ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI satLogSense.

SAT implementation for SCSI satLogSense.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satLogSense_1()

GLOBAL bit32 satLogSense_1 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI satLogSense_1.

Part of SAT implementation for SCSI satLogSense.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satLogSense_2()

GLOBAL bit32 satLogSense_2 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI satLogSense_2.

Part of SAT implementation for SCSI satLogSense.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satLogSense_3()

GLOBAL bit32 satLogSense_3 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI satLogSense_3.

Part of SAT implementation for SCSI satLogSense.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satLogSenseAllocate()

GLOBAL bit32 satLogSenseAllocate ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext,
bit32  payloadSize,
bit32  flag 
)

SAT implementation for SCSI satLogSenseAllocate.

Part of SAT implementation for SCSI satLogSense.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
payloadSizesize of payload to be allocated.
flagflag value
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.
Note
  • flag values: LOG_SENSE_0, LOG_SENSE_1, LOG_SENSE_2

◆ satLogSenseCB()

void satLogSenseCB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
agsaFrameHandle_t  agFrameHandle,
void *  ioCotext 
)

◆ satModeSelect10()

GLOBAL bit32 satModeSelect10 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI satModeSelect10.

SAT implementation for SCSI satModeSelect10.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satModeSelect6()

GLOBAL bit32 satModeSelect6 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI satModeSelect6.

SAT implementation for SCSI satModeSelect6.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satModeSelect6n10_1()

GLOBAL bit32 satModeSelect6n10_1 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

◆ satModeSelect6n10CB()

void satModeSelect6n10CB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
agsaFrameHandle_t  agFrameHandle,
void *  ioContext 
)

◆ satModeSense10()

GLOBAL bit32 satModeSense10 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI MODE SENSE (10).

SAT implementation for SCSI MODE SENSE (10).

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satModeSense6()

GLOBAL bit32 satModeSense6 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI MODE SENSE (6).

SAT implementation for SCSI MODE SENSE (6).

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satNonChainedDataIOCB()

void satNonChainedDataIOCB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
agsaFrameHandle_t  agFrameHandle,
void *  ioContext 
)

◆ satNonChainedVerifyCB()

void satNonChainedVerifyCB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
agsaFrameHandle_t  agFrameHandle,
void *  ioContext 
)

◆ satNonChainedWriteNVerify_Verify()

GLOBAL bit32 satNonChainedWriteNVerify_Verify ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

◆ satNonChainedWriteNVerifyCB()

void satNonChainedWriteNVerifyCB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
agsaFrameHandle_t  agFrameHandle,
void *  ioContext 
)

◆ satNonDataIOCB()

void satNonDataIOCB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
agsaFrameHandle_t  agFrameHandle,
void *  ioContext 
)

◆ satPacket()

GLOBAL bit32 satPacket ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for ATAPI Packet Command.

SAT implementation for ATAPI Packet and send FIS request to LL layer.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satPacketCB()

void satPacketCB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
void *  agParam,
void *  ioContext 
)

◆ satPrepareNewIO()

GLOBAL satIOContext_t * satPrepareNewIO ( satInternalIo_t satNewIntIo,
tiIORequest_t tiOrgIORequest,
satDeviceData_t satDevData,
tiIniScsiCmnd_t scsiCmnd,
satIOContext_t satOrgIOContext 
)

SAT implementation for SCSI satPrepareNewIO.

This function fills in the fields of internal IO generated by TD layer. This is mostly used in the callback functions.

Parameters
satNewIntIoPointer to the internal IO structure.
tiOrgIORequestPointer to the original tiIOrequest sent by OS layer
satDevDataPointer to the device data.
scsiCmndPointer to SCSI command.
satOrgIOContextPointer to the original SAT IO Context
Returns
  • Pointer to the new SAT IO Context

◆ satProcessAbort()

void satProcessAbort ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
satIOContext_t satIOContext 
)

◆ satRead10()

GLOBAL bit32 satRead10 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI READ10.

SAT implementation for SCSI READ10 and send FIS request to LL layer.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satRead10_2()

GLOBAL bit32 satRead10_2 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

◆ satRead12()

GLOBAL bit32 satRead12 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI READ12.

SAT implementation for SCSI READ12 and send FIS request to LL layer.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satRead16()

GLOBAL bit32 satRead16 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI READ16.

SAT implementation for SCSI READ16 and send FIS request to LL layer.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satRead6()

GLOBAL bit32 satRead6 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI READ6.

SAT implementation for SCSI READ6 and send FIS request to LL layer.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satRead_1()

GLOBAL bit32 satRead_1 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI satRead10_1.

SAT implementation for SCSI satRead10_1 Sub function of satRead10

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satReadBuffer()

GLOBAL bit32 satReadBuffer ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI satReadBuffer.

SAT implementation for SCSI Read Buffer.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satReadBufferCB()

void satReadBufferCB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
agsaFrameHandle_t  agFrameHandle,
void *  ioContext 
)

◆ satReadCapacity10()

GLOBAL bit32 satReadCapacity10 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI satReadCapacity10.

SAT implementation for SCSI satReadCapacity10.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satReadCapacity16()

GLOBAL bit32 satReadCapacity16 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI satReadCapacity16.

SAT implementation for SCSI satReadCapacity16.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satReadLogExtCB()

void satReadLogExtCB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
agsaFrameHandle_t  agFrameHandle,
void *  ioContext 
)

◆ satReadMediaSerialNumber()

GLOBAL bit32 satReadMediaSerialNumber ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI satReadMediaSerialNumber.

SAT implementation for SCSI Read Media Serial Number.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satReadMediaSerialNumberCB()

void satReadMediaSerialNumberCB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
agsaFrameHandle_t  agFrameHandle,
void *  ioContext 
)

◆ satReassignBlocks()

GLOBAL bit32 satReassignBlocks ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI satReassignBlocks.

SAT implementation for SCSI Reassign Blocks.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satReassignBlocks_1()

GLOBAL bit32 satReassignBlocks_1 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext,
satIOContext_t satOrgIOContext 
)

SAT implementation for SCSI satReassignBlocks_1.

SAT implementation for SCSI Reassign Blocks. This is helper function for satReassignBlocks and satReassignBlocksCB. This sends ATA verify command.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satReassignBlocks_2()

GLOBAL bit32 satReassignBlocks_2 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext,
bit8 LBA 
)

SAT implementation for SCSI satReassignBlocks_2.

SAT implementation for SCSI Reassign Blocks. This is helper function for satReassignBlocks and satReassignBlocksCB. This sends ATA write command.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
LBAPointer to the LBA to be processed
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satReassignBlocksCB()

void satReassignBlocksCB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
agsaFrameHandle_t  agFrameHandle,
void *  ioContext 
)

◆ satReportLun()

GLOBAL bit32 satReportLun ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI satReportLun.

SAT implementation for SCSI satReportLun. Only LUN0 is reported.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satRequestSense()

GLOBAL bit32 satRequestSense ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI REQUEST SENSE.

SAT implementation for SCSI REQUEST SENSE.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satRequestSense_1()

GLOBAL bit32 satRequestSense_1 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI REQUEST SENSE.

SAT implementation for SCSI REQUEST SENSE. Sub function of satRequestSense

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satRequestSenseCB()

void satRequestSenseCB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
agsaFrameHandle_t  agFrameHandle,
void *  ioContext 
)

◆ satRequestSenseForATAPI()

GLOBAL bit32 satRequestSenseForATAPI ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI REQUEST SENSE to ATAPI device.

SAT implementation for SCSI REQUEST SENSE.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satRequestSenseForATAPICB()

void satRequestSenseForATAPICB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
void *  agParam,
void *  ioContext 
)

◆ satResetDevice()

GLOBAL bit32 satResetDevice ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

◆ satResetDeviceCB()

GLOBAL void satResetDeviceCB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
agsaFrameHandle_t  agFrameHandle,
void *  ioContext 
)

◆ satSATADeviceReset()

osGLOBAL void satSATADeviceReset ( tiRoot_t tiRoot,
tdsaDeviceData_t oneDeviceData,
bit32  flag 
)

◆ satSendDiagnostic()

GLOBAL bit32 satSendDiagnostic ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI satSendDiagnostic.

SAT implementation for SCSI satSendDiagnostic.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satSendDiagnostic_1()

GLOBAL bit32 satSendDiagnostic_1 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI satSendDiagnostic_1.

SAT implementation for SCSI satSendDiagnostic_1. Sub function of satSendDiagnostic.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satSendDiagnostic_2()

GLOBAL bit32 satSendDiagnostic_2 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI satSendDiagnostic_2.

SAT implementation for SCSI satSendDiagnostic_2. Sub function of satSendDiagnostic.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satSendDiagnosticCB()

void satSendDiagnosticCB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
agsaFrameHandle_t  agFrameHandle,
void *  ioContext 
)

◆ satSendIDDev()

GLOBAL bit32 satSendIDDev ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

◆ satSendReadLogExt()

GLOBAL bit32 satSendReadLogExt ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

Send READ LOG EXT ATA PAGE 10h command to sata drive.

Send READ LOG EXT ATA command PAGE 10h request to LL layer.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satSetDeferredSensePayload()

void satSetDeferredSensePayload ( scsiRspSense_t pSense,
bit8  SnsKey,
bit32  SnsInfo,
bit16  SnsCode,
satIOContext_t satIOContext 
)

Setup up the SCSI Sense response.

This function is used to setup up the Sense Data payload for CHECK CONDITION status.

Parameters
pSensePointer to the scsiRspSense_t sense data structure.
SnsKeySCSI Sense Key.
SnsInfoSCSI Sense Info.
SnsCodeSCSI Sense Code.
Returns
None

◆ satSetDevInfo()

void satSetDevInfo ( satDeviceData_t satDevData,
agsaSATAIdentifyData_t SATAIdData 
)

◆ satSetFeatures()

GLOBAL bit32 satSetFeatures ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext,
bit8  bTransferMode 
)

SAT implementation for satSetFeatures.

This function creates SetFeatures fis and sends the request to LL layer

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satSetFeaturesCB()

void satSetFeaturesCB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
void *  agParam,
void *  ioContext 
)

◆ satSetFeaturesPIOCB()

void satSetFeaturesPIOCB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
void *  agParam,
void *  ioContext 
)

◆ satSetSensePayload()

void satSetSensePayload ( scsiRspSense_t pSense,
bit8  SnsKey,
bit32  SnsInfo,
bit16  SnsCode,
satIOContext_t satIOContext 
)

Setup up the SCSI Sense response.

This function is used to setup up the Sense Data payload for CHECK CONDITION status.

Parameters
pSensePointer to the scsiRspSense_t sense data structure.
SnsKeySCSI Sense Key.
SnsInfoSCSI Sense Info.
SnsCodeSCSI Sense Code.
Returns
None

◆ satSMARTEnable()

GLOBAL bit32 satSMARTEnable ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI satSMARTEnable.

Part of SAT implementation for SCSI satLogSense.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satSMARTEnableCB()

void satSMARTEnableCB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
agsaFrameHandle_t  agFrameHandle,
void *  ioContext 
)

◆ satStartCheckPowerMode()

GLOBAL bit32 satStartCheckPowerMode ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

◆ satStartDeResetDevice()

GLOBAL bit32 satStartDeResetDevice ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

◆ satStartIDDev()

GLOBAL bit32 satStartIDDev ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

◆ satStartResetDevice()

GLOBAL bit32 satStartResetDevice ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

◆ satStartStopUnit()

GLOBAL bit32 satStartStopUnit ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI satStartStopUnit.

SAT implementation for SCSI satStartStopUnit.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satStartStopUnit_1()

GLOBAL bit32 satStartStopUnit_1 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI satStartStopUnit_1.

SAT implementation for SCSI satStartStopUnit_1. Sub function of satStartStopUnit

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satStartStopUnitCB()

void satStartStopUnitCB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
agsaFrameHandle_t  agFrameHandle,
void *  ioContext 
)

◆ satSubTM()

osGLOBAL bit32 satSubTM ( tiRoot_t tiRoot,
tiDeviceHandle_t tiDeviceHandle,
bit32  task,
tiLUN_t lun,
tiIORequest_t taskTag,
tiIORequest_t currentTaskTag,
bit32  NotifyOS 
)

Referenced by smsatIOCompleted(), and smsatReadLogExtCB().

Here is the caller graph for this function:

◆ satSynchronizeCache10()

GLOBAL bit32 satSynchronizeCache10 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI satSynchronizeCache10.

SAT implementation for SCSI satSynchronizeCache10.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satSynchronizeCache10n16CB()

void satSynchronizeCache10n16CB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
agsaFrameHandle_t  agFrameHandle,
void *  ioContext 
)

◆ satSynchronizeCache16()

GLOBAL bit32 satSynchronizeCache16 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI satSynchronizeCache16.

SAT implementation for SCSI satSynchronizeCache16.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satTagAlloc()

GLOBAL bit32 satTagAlloc ( tiRoot_t tiRoot,
satDeviceData_t pSatDevData,
bit8 pTag 
)

allocate an available SATA tag

allocate an available SATA tag

Parameters
pSatDevData
pTag
Returns
-Success or fail-

◆ satTagRelease()

GLOBAL bit32 satTagRelease ( tiRoot_t tiRoot,
satDeviceData_t pSatDevData,
bit8  tag 
)

release an SATA tag

release an available SATA tag

Parameters
pSatDevData
Returns
-the tag-

◆ satTDInternalTmReset()

osGLOBAL bit32 satTDInternalTmReset ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

◆ satTestUnitReady()

GLOBAL bit32 satTestUnitReady ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI TEST UNIT READY.

SAT implementation for SCSI TUR and send FIS request to LL layer.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satTestUnitReady_1()

GLOBAL bit32 satTestUnitReady_1 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI satTestUnitReady_1.

SAT implementation for SCSI satTestUnitReady_1 Sub function of satTestUnitReady

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satTestUnitReadyCB()

void satTestUnitReadyCB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
agsaFrameHandle_t  agFrameHandle,
void *  ioContext 
)

◆ satTmAbortTask()

osGLOBAL bit32 satTmAbortTask ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext,
tiIORequest_t taskTag 
)

◆ satTmResetLUN()

osGLOBAL bit32 satTmResetLUN ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext,
tiLUN_t lun 
)

◆ satTmWarmReset()

osGLOBAL bit32 satTmWarmReset ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

◆ satTranslateATAPIErrorsToSCSIErrors()

GLOBAL void satTranslateATAPIErrorsToSCSIErrors ( bit8  bCommand,
bit8  bATAStatus,
bit8  bATAError,
bit8 pSenseKey,
bit16 pSenseCodeInfo 
)

◆ satVerify10()

GLOBAL bit32 satVerify10 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI VERIFY (10).

SAT implementation for SCSI VERIFY (10).

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satVerify10CB()

void satVerify10CB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
agsaFrameHandle_t  agFrameHandle,
void *  ioContex 
)

◆ satVerify12()

GLOBAL bit32 satVerify12 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI VERIFY (12).

SAT implementation for SCSI VERIFY (12).

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satVerify16()

GLOBAL bit32 satVerify16 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI VERIFY (16).

SAT implementation for SCSI VERIFY (16).

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satWrite10()

GLOBAL bit32 satWrite10 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI WRITE10.

SAT implementation for SCSI WRITE10 and send FIS request to LL layer.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satWrite12()

GLOBAL bit32 satWrite12 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI WRITE12.

SAT implementation for SCSI WRITE12 and send FIS request to LL layer.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satWrite16()

GLOBAL bit32 satWrite16 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI WRITE16.

SAT implementation for SCSI WRITE16 and send FIS request to LL layer.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satWrite6()

GLOBAL bit32 satWrite6 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI WRITE6.

SAT implementation for SCSI WRITE6 and send FIS request to LL layer.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satWrite_1()

GLOBAL bit32 satWrite_1 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

◆ satWriteAndVerify10()

GLOBAL bit32 satWriteAndVerify10 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI satWriteAndVerify10.

SAT implementation for SCSI satWriteAndVerify10.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satWriteAndVerify12()

GLOBAL bit32 satWriteAndVerify12 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI satWriteAndVerify12.

SAT implementation for SCSI satWriteAndVerify12.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satWriteAndVerify16()

GLOBAL bit32 satWriteAndVerify16 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI satWriteAndVerify16.

SAT implementation for SCSI satWriteAndVerify16.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satWriteBuffer()

GLOBAL bit32 satWriteBuffer ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI satWriteBuffer.

SAT implementation for SCSI Write Buffer.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satWriteBufferCB()

void satWriteBufferCB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
agsaFrameHandle_t  agFrameHandle,
void *  ioContext 
)

◆ satWriteSame10()

GLOBAL bit32 satWriteSame10 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI satWriteSame10.

SAT implementation for SCSI satWriteSame10.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ satWriteSame10_1()

GLOBAL bit32 satWriteSame10_1 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext,
bit32  lba 
)

◆ satWriteSame10_2()

GLOBAL bit32 satWriteSame10_2 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext,
bit32  lba 
)

◆ satWriteSame10_3()

GLOBAL bit32 satWriteSame10_3 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext,
bit32  lba 
)

◆ satWriteSame10CB()

void satWriteSame10CB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
agsaFrameHandle_t  agFrameHandle,
void *  ioContext 
)

◆ satWriteSame16()

GLOBAL bit32 satWriteSame16 ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

SAT implementation for SCSI satWriteSame16.

SAT implementation for SCSI satWriteSame16.

Parameters
tiRootPointer to TISA initiator driver/port instance.
tiIORequestPointer to TISA I/O request context for this I/O.
tiDeviceHandlePointer to TISA device handle for this I/O.
tiScsiRequestPointer to TISA SCSI I/O request and SGL list.
satIOContext_tPointer to the SAT IO Context
Returns
If command is started successfully
  • tiSuccess: I/O request successfully initiated.
  • tiBusy: No resources available, try again later.
  • tiIONoDevice: Invalid device handle.
  • tiError: Other errors.

◆ tdsaDiscoveryIntStartIDDev()

GLOBAL bit32 tdsaDiscoveryIntStartIDDev ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

◆ tdsaDiscoverySendIDDev()

GLOBAL bit32 tdsaDiscoverySendIDDev ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
satIOContext_t satIOContext 
)

◆ tdsaDiscoveryStartIDDevCB()

void tdsaDiscoveryStartIDDevCB ( agsaRoot_t agRoot,
agsaIORequest_t agIORequest,
bit32  agIOStatus,
agsaFisHeader_t agFirstDword,
bit32  agIOInfoLen,
agsaFrameHandle_t  agFrameHandle,
void *  ioContext 
)

◆ tdssRemoveSATAFromSharedcontext()

osGLOBAL void tdssRemoveSATAFromSharedcontext ( tdsaPortContext_t tdsaPortContext_Ins,
tdsaDeviceData_t tdsaDeviceData_ins,
agsaRoot_t agRoot 
)