// ufs.h
typedef enum {
UFS_Reserved_00,
UFS_fDeviceInit,
UFS_fPermanentWPEn,
UFS_fPowerOnWPEn,
UFS_fBackgroundOpsEn,
UFS_fDeviceLifeSpanModeEn,
UFS_fPurgeEnable,
UFS_fRefreshEnable,
UFS_fPhyResourceRemoval,
UFS_fBusyRTC,
UFS_Reserved_0A,
UFS_fPermanentlyDisableFwUpdate,
UFS_Reserved_0C,
UFS_Reserved_0D,
UFS_fWriteBoosterEn,
UFS_fWriteBoosterBufferFlushEn,
UFS_fWriteBoosterBufferFlushDuringHibernate,
UFS_Reserved_11
} UFS_FLAGS_DESCRIPTOR;
View the official Windows Driver Kit DDI referenceNo description available.
UFS_FLAGS_DESCRIPTOR describes the different types of flags used by Universal Flash Storage (UFS) descriptors.
UFS_Reserved_00Reserved for future use.
UFS_fDeviceInitIndicates the device initialization is in progress.
UFS_fPermanentWPEnIndicates permanent write protection is enabled.
UFS_fPowerOnWPEnIndicates power on write protection is enabled.
UFS_fBackgroundOpsEnIndicates the device is permitted to run background operations.
UFS_fDeviceLifeSpanModeEnIndicates Device Life Span Mode is enabled.
UFS_fPurgeEnableIndicates Purge Operation is enabled.
UFS_fRefreshEnableInitiate a refresh operation by setting UFS_fRefreshEnable to 0x01 and interrupt it by clearing UFS_fRefreshEnable to 0x00.
UFS_fPhyResourceRemovalIndicates that the dynamic capacity operation occurs on the device's EndPointReset or a hardware reset. The host cannot reset this flag.
UFS_fBusyRTCIndicates the device is executing internal operation related to Real Time Clock.
UFS_Reserved_0AReserved for future use.
UFS_fPermanentlyDisableFwUpdateIndicates the UFS device will permanently disallow future firmware updates to the Universal Flash Storage (UFS) device.
UFS_Reserved_0CReserved for the Unified Memory Extension standard.
UFS_Reserved_0DReserved for the Unified Memory Extension standard.
UFS_fWriteBoosterEnSet the UFS_fWriteBoosterEn flag to one to enable the WriteBooster feature.
UFS_fWriteBoosterBufferFlushEnThe UFS_fWriteBoosterBufferFlushEn flag enables the flush operation. When UFS_fWriteBoosterBufferFlushEn is set to one, the device flushes the WriteBooster buffer.
UFS_fWriteBoosterBufferFlushDuringHibernateThe UFS_fWriteBoosterBufferFlushDuringHibernate enables the flush operation during device hibernate. The device does a WriteBooster buffer flush operation whenever the link enters in the hibernate state.
UFS_Reserved_11Reserved for future use.