#include <IOKit/scsi/IOSCSIBlockCommandsDevice.h>

IOKit/scsi/IOSCSIBlockCommandsDevice.h Kernel.framework

-----------------------------------------------------------------------------
19 macros · 2 enums

enum(anonymous)

SBC power states as defined in T10:996D SCSI Block Commands - 3 (SBC-3) Revision 8c, November 13, 1997, pages 10-11.
underlying type unsigned int
kSBCPowerStateSystemSleep0
kSBCPowerStateSleep1
kSBCPowerStateStandby2
kSBCPowerStateIdle3
kSBCPowerStateActive4
kSBCNumPowerStates5

enum(anonymous)

underlying type unsigned int

macrokIOStorageFeatureUnmapCapable

#define kIOStorageFeatureUnmapCapable "UnmapCapable"

macrofPowerDownNotifier

#define fPowerDownNotifier fIOSCSIBlockCommandsDeviceReserved->fPowerDownNotifier

macrofWriteCacheEnabled

#define fWriteCacheEnabled fIOSCSIBlockCommandsDeviceReserved->fWriteCacheEnabled

macrofMaximumUnmapLBACount

#define fMaximumUnmapLBACount fIOSCSIBlockCommandsDeviceReserved->fMaximumUnmapLBACount

macrofMaximumUnmapBlockDescriptorCount

#define fMaximumUnmapBlockDescriptorCount fIOSCSIBlockCommandsDeviceReserved->fMaximumUnmapBlockDescriptorCount

macrofMaximumWriteSameLength

#define fMaximumWriteSameLength fIOSCSIBlockCommandsDeviceReserved->fMaximumWriteSameLength

macrofLBPRZ

#define fLBPRZ fIOSCSIBlockCommandsDeviceReserved->fLBPRZ

macrofUnmapAllowed

#define fUnmapAllowed fIOSCSIBlockCommandsDeviceReserved->fUnmapAllowed

macrofUseWriteSame

#define fUseWriteSame fIOSCSIBlockCommandsDeviceReserved->fUseWriteSame

macrofDarkWakeProcessed

#define fDarkWakeProcessed fIOSCSIBlockCommandsDeviceReserved->fDarkWakeProcessed

macrofVerifyMediaDebugInfo

#define fVerifyMediaDebugInfo fIOSCSIBlockCommandsDeviceReserved->fVerifyMediaDebugInfo

macrofByteToBlockShift

#define fByteToBlockShift fIOSCSIBlockCommandsDeviceReserved->fByteToBlockShift

macrofDeviceIsShared

The fDeviceIsShared is used to indicate whether this device exists on a Physical Interconnect that allows multiple initiators to access it. This is used mainly by the power management code to not send power state related START_STOP_UNIT commands to the device. The fDeviceIsShared value is also used to prevent power state commands from being sent to manual eject device since these devices behave better when allowed to manage their own power.
#define fDeviceIsShared fIOSCSIBlockCommandsDeviceReserved->fDeviceIsShared

macrofMediumBlockCount64

The fMediumBlockCount64 provides support for 64 bit LBAs and replaces fMediumBlockCount which only supports 32 bits. This value should not be directly accessed and instead the member routine ReportMediumTotalBlockCount() should be used to retrieve it and the member routine SetMediumCharacteristics() should be used to set it.
#define fMediumBlockCount64 fIOSCSIBlockCommandsDeviceReserved->fMediumBlockCount64

macrofDeviceHasSATTranslation

#define fDeviceHasSATTranslation fIOSCSIBlockCommandsDeviceReserved->fDeviceHasSATTranslation

macrofDeviceHasNVMETranslation

#define fDeviceHasNVMETranslation fIOSCSIBlockCommandsDeviceReserved->fDeviceHasNVMETranslation

macrofProtocolSpecificPowerControl

Device support protocol specific power off
#define fProtocolSpecificPowerControl fIOSCSIBlockCommandsDeviceReserved->fProtocolSpecificPowerControl

macrofRequiresEjectWithStartStopUnit

Device requires START_STOP_UNIT for ejects, regardless if PREVENT_ALLOW_MEIDUMREMOVAL failed.
#define fRequiresEjectWithStartStopUnit fIOSCSIBlockCommandsDeviceReserved->fRequiresEjectWithStartStopUnit

macrofPMAbortThread

#define fPMAbortThread fIOSCSIBlockCommandsDeviceReserved->fPMAbortThread