#include <IOKit/scsi/IOSCSIPrimaryCommandsDevice.h>
IOKit/scsi/IOSCSIPrimaryCommandsDevice.h
-----------------------------------------------------------------------------
enum(anonymous)
Notification messages
| kSCSIServicesNotification_Suspend | 1761607808 | |
| kSCSIServicesNotification_Resume | 1761607824 |
enum(anonymous)
Timeout values
| kOneSecondTimeoutInMS | 1000 | |
| kTenSecondTimeoutInMS | 10000 | |
| kTwentyFiveSecondTimeoutInMS | 25000 | |
| kThirtySecondTimeoutInMS | 30000 | |
| kFortyFiveSecondTimeoutInMS | 45000 |
enum(anonymous)
Mode page values for page control field
| kModePageControlCurrentValues | 0 | |
| kModePageControlChangeableValues | 1 | |
| kModePageControlDefaultValues | 2 | |
| kModePageControlSavedValues | 3 |
macrokDefaultRetryCount
The command should be tried 5 times. The original attempt
plus 4 retries.
#define kDefaultRetryCount 4
structCmdErrLogInfo
| UInt8 | fOpcode | |
| UInt8 | fSenseKey | |
| UInt8 | fSenseCode | |
| UInt8 | fSenseCodeQual | |
| UInt8 | fSenseValid | |
| UInt16 | fErrCount | |
| SCSIServiceResponse | fServiceResponse | |
| SCSITaskStatus | fTaskStatus | |
| UInt64 | flogAbsTS |
macrofReadTimeoutDuration
#define fReadTimeoutDuration fIOSCSIPrimaryCommandsDeviceReserved->fReadTimeoutDuration
macrofWriteTimeoutDuration
#define fWriteTimeoutDuration fIOSCSIPrimaryCommandsDeviceReserved->fWriteTimeoutDuration
macrofRetryCount
#define fRetryCount fIOSCSIPrimaryCommandsDeviceReserved->fRetryCount
macrofNumCommandsExecuting
#define fNumCommandsExecuting fIOSCSIPrimaryCommandsDeviceReserved->fNumCommandsExecuting
macrofMaxPollRetries
#define fMaxPollRetries fIOSCSIPrimaryCommandsDeviceReserved->fMaxPollRetries
macrofPollDebounceRetriesLeft
#define fPollDebounceRetriesLeft fIOSCSIPrimaryCommandsDeviceReserved->fPollDebounceRetriesLeft
macrofPowerOnResetDebugInfo
#define fPowerOnResetDebugInfo fIOSCSIPrimaryCommandsDeviceReserved->fPowerOnResetDebugInfo
macrofClearNotReadyDebugInfo
#define fClearNotReadyDebugInfo fIOSCSIPrimaryCommandsDeviceReserved->fClearNotReadyDebugInfo
macrofPMAborted
#define fPMAborted fIOSCSIPrimaryCommandsDeviceReserved->fPMAborted
macrofSSGHandle
#define fSSGHandle fIOSCSIPrimaryCommandsDeviceReserved->fSSGHandle
macrofUpdateSSGStatsTime
#define fUpdateSSGStatsTime fIOSCSIPrimaryCommandsDeviceReserved->fUpdateSSGStatsTime
macrofReadBlockCount
#define fReadBlockCount fIOSCSIPrimaryCommandsDeviceReserved->fReadBlockCount
macrofWriteBlockCount
#define fWriteBlockCount fIOSCSIPrimaryCommandsDeviceReserved->fWriteBlockCount
macrofPowerEventLatencyLog
#define fPowerEventLatencyLog fIOSCSIPrimaryCommandsDeviceReserved->fPowerEventLatencyLog
macrofStartMaxLatency
#define fStartMaxLatency fIOSCSIPrimaryCommandsDeviceReserved->fStartMaxLatency
macrofStopMaxLatency
#define fStopMaxLatency fIOSCSIPrimaryCommandsDeviceReserved->fStopMaxLatency
macrofPowerEventLog
#define fPowerEventLog fIOSCSIPrimaryCommandsDeviceReserved->fPowerEventLog
macrofMaxPowerCPORLatency
#define fMaxPowerCPORLatency fIOSCSIPrimaryCommandsDeviceReserved->fMaxPowerCPORLatency
macrofMaxPowerCNRSLatency
#define fMaxPowerCNRSLatency fIOSCSIPrimaryCommandsDeviceReserved->fMaxPowerCNRSLatency
macrofMaxPowerVMPLatency
#define fMaxPowerVMPLatency fIOSCSIPrimaryCommandsDeviceReserved->fMaxPowerVMPLatency
macrofMaxPowerIOWaitLatency
#define fMaxPowerIOWaitLatency fIOSCSIPrimaryCommandsDeviceReserved->fMaxPowerIOWaitLatency
macrofMaxPowerOnLatency
#define fMaxPowerOnLatency fIOSCSIPrimaryCommandsDeviceReserved->fMaxPowerOnLatency
macrofMaxPowerOffLatency
#define fMaxPowerOffLatency fIOSCSIPrimaryCommandsDeviceReserved->fMaxPowerOffLatency
macrofCmdErrInfo
#define fCmdErrInfo fIOSCSIPrimaryCommandsDeviceReserved->fCmdErrInfo
macrofTurErrorOccurred
#define fTurErrorOccurred fIOSCSIPrimaryCommandsDeviceReserved->fTurErrorOccurred
macrofNoSyncAfterWrite
#define fNoSyncAfterWrite fIOSCSIPrimaryCommandsDeviceReserved->fNoSyncAfterWrite