This file defines the EFI UFS Device Config Protocol.\r
\r
Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>\r
- This program and the accompanying materials\r
- are licensed and made available under the terms and conditions of the BSD License\r
- which accompanies this distribution. The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php\r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
@par Revision Reference:\r
This Protocol is introduced in UEFI Specification 2.7\r
//\r
// Forward reference for pure ANSI compatability\r
//\r
-typedef struct _EFI_UFS_DEVICE_CONFIG_PROTOCOL EFI_UFS_DEVICE_CONFIG_PROTOCOL;\r
+typedef struct _EFI_UFS_DEVICE_CONFIG_PROTOCOL EFI_UFS_DEVICE_CONFIG_PROTOCOL;\r
\r
/**\r
Read or write specified device descriptor of a UFS device.\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_UFS_DEVICE_CONFIG_RW_DESCRIPTOR) (\r
+(EFIAPI *EFI_UFS_DEVICE_CONFIG_RW_DESCRIPTOR)(\r
IN EFI_UFS_DEVICE_CONFIG_PROTOCOL *This,\r
IN BOOLEAN Read,\r
IN UINT8 DescId,\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_UFS_DEVICE_CONFIG_RW_FLAG) (\r
+(EFIAPI *EFI_UFS_DEVICE_CONFIG_RW_FLAG)(\r
IN EFI_UFS_DEVICE_CONFIG_PROTOCOL *This,\r
IN BOOLEAN Read,\r
IN UINT8 FlagId,\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_UFS_DEVICE_CONFIG_RW_ATTRIBUTE) (\r
+(EFIAPI *EFI_UFS_DEVICE_CONFIG_RW_ATTRIBUTE)(\r
IN EFI_UFS_DEVICE_CONFIG_PROTOCOL *This,\r
IN BOOLEAN Read,\r
IN UINT8 AttrId,\r
///\r
/// UFS Device Config Protocol GUID variable.\r
///\r
-extern EFI_GUID gEfiUfsDeviceConfigProtocolGuid;\r
+extern EFI_GUID gEfiUfsDeviceConfigProtocolGuid;\r
\r
#endif\r