// ufs.h
typedef struct {
UCHAR bLength;
UCHAR bDescriptorIDN;
UCHAR bConfDescContinue;
UCHAR bBootEnable;
UCHAR bDescrAccessEn;
UCHAR bInitPowerMode;
UCHAR bHighPriorityLUN;
UCHAR bSecureRemovalType;
UCHAR bInitActiveICCLevel;
UCHAR wPeriodicRTCUpdate[2];
UCHAR Reserved2[1];
UCHAR bRPMBRegionEnable;
UCHAR bRPMBRegion1Size;
UCHAR bRPMBRegion2Size;
UCHAR bRPMBRegion3Size;
UFS_UNIT_CONFIG_DESCRIPTOR UnitConfig[UFS_MAX_NUM_LU];
} UFS_CONFIG_DESCRIPTOR, *PUFS_CONFIG_DESCRIPTOR;
View the official Windows Driver Kit DDI referenceNo description available.
The UFS_CONFIG_DESCRIPTOR structure describes the modifiable values of the default device configuration set by the manufacturer.
bLengthSpecifies the size, in bytes, of this descriptor.
bDescriptorIDNSpecifies the Configuration Descriptor Type Identifier. This descriptor will have a value of UFS_DESC_CONFIGURATION_IDN.
bConfDescContinueSpecifies if a device's configuration descriptor continue feature is enabled.
bBootEnableSpecifies if a device's boot feature is enabled.
bDescrAccessEnEnables access to the Device Descriptor after the partial initialization phase of the boot sequence.
bInitPowerModeSpecifies the power mode after device initialization or hardware reset.
bHighPriorityLUNbHighPriorityLUN configures the high priority logical unit.
bSecureRemovalTypeConfigures the secure removal type.
bInitActiveICCLevelConfigures the ICC level in Active mode after device initialization or hardware reset.
wPeriodicRTCUpdate[2]Specifies the frequency and method of real-time clock updates.
Reserved2[1]Reserved for future use.
bRPMBRegionEnableSpecifies if Replay Protected Memory Blocks (RPMB) are enabled.
bRPMBRegion1SizeSpecifies the size of RPMB region 1.
bRPMBRegion2SizeSpecifies the size of RPMB region 2.
bRPMBRegion3SizeSpecifies the size of RPMB region 3.
UnitConfig[UFS_MAX_NUM_LU]Contains the configurable parameters of the unit descriptor.