TianoCore EDK2 master
Loading...
Searching...
No Matches
UfsDeviceConfig.h
Go to the documentation of this file.
1
12#ifndef __UFS_DEVICE_CONFIG_PROTOCOL_H__
13#define __UFS_DEVICE_CONFIG_PROTOCOL_H__
14
15//
16// EFI UFS Device Config Protocol GUID value
17//
18#define EFI_UFS_DEVICE_CONFIG_GUID \
19 { 0xb81bfab0, 0xeb3, 0x4cf9, { 0x84, 0x65, 0x7f, 0xa9, 0x86, 0x36, 0x16, 0x64 }};
20
21//
22// Forward reference for pure ANSI compatability
23//
25
49typedef
53 IN BOOLEAN Read,
54 IN UINT8 DescId,
55 IN UINT8 Index,
56 IN UINT8 Selector,
57 IN OUT UINT8 *Descriptor,
58 IN OUT UINT32 *DescSize
59 );
60
79typedef
83 IN BOOLEAN Read,
84 IN UINT8 FlagId,
85 IN OUT UINT8 *Flag
86 );
87
111typedef
115 IN BOOLEAN Read,
116 IN UINT8 AttrId,
117 IN UINT8 Index,
118 IN UINT8 Selector,
119 IN OUT UINT8 *Attribute,
120 IN OUT UINT32 *AttrSize
121 );
122
130};
131
136
137#endif
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
EFI_GUID gEfiUfsDeviceConfigProtocolGuid
EFI_STATUS(EFIAPI * EFI_UFS_DEVICE_CONFIG_RW_FLAG)(IN EFI_UFS_DEVICE_CONFIG_PROTOCOL *This, IN BOOLEAN Read, IN UINT8 FlagId, IN OUT UINT8 *Flag)
EFI_STATUS(EFIAPI * EFI_UFS_DEVICE_CONFIG_RW_DESCRIPTOR)(IN EFI_UFS_DEVICE_CONFIG_PROTOCOL *This, IN BOOLEAN Read, IN UINT8 DescId, IN UINT8 Index, IN UINT8 Selector, IN OUT UINT8 *Descriptor, IN OUT UINT32 *DescSize)
EFI_STATUS(EFIAPI * EFI_UFS_DEVICE_CONFIG_RW_ATTRIBUTE)(IN EFI_UFS_DEVICE_CONFIG_PROTOCOL *This, IN BOOLEAN Read, IN UINT8 AttrId, IN UINT8 Index, IN UINT8 Selector, IN OUT UINT8 *Attribute, IN OUT UINT32 *AttrSize)
Definition: Base.h:213