MdePkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the MdePkg package Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
committed by
mergify[bot]
parent
1436aea4d5
commit
2f88bd3a12
@@ -17,7 +17,7 @@
|
||||
|
||||
#include <Pi/PiI2c.h>
|
||||
|
||||
#define EFI_I2C_IO_PROTOCOL_GUID { 0xb60a3e6b, 0x18c4, 0x46e5, { 0xa2, 0x9a, 0xc9, 0xa1, 0x06, 0x65, 0xa2, 0x8e }}
|
||||
#define EFI_I2C_IO_PROTOCOL_GUID { 0xb60a3e6b, 0x18c4, 0x46e5, { 0xa2, 0x9a, 0xc9, 0xa1, 0x06, 0x65, 0xa2, 0x8e }}
|
||||
|
||||
///
|
||||
/// I2C I/O protocol
|
||||
@@ -38,8 +38,7 @@
|
||||
/// for the I2C device required to implement the EFI_I2C_ENUMERATE_PROTOCOL.
|
||||
/// The order of the list must be preserved.
|
||||
///
|
||||
typedef struct _EFI_I2C_IO_PROTOCOL EFI_I2C_IO_PROTOCOL;
|
||||
|
||||
typedef struct _EFI_I2C_IO_PROTOCOL EFI_I2C_IO_PROTOCOL;
|
||||
|
||||
/**
|
||||
Queue an I2C transaction for execution on the I2C device.
|
||||
@@ -114,7 +113,7 @@ typedef struct _EFI_I2C_IO_PROTOCOL EFI_I2C_IO_PROTOCOL;
|
||||
**/
|
||||
typedef
|
||||
EFI_STATUS
|
||||
(EFIAPI *EFI_I2C_IO_PROTOCOL_QUEUE_REQUEST) (
|
||||
(EFIAPI *EFI_I2C_IO_PROTOCOL_QUEUE_REQUEST)(
|
||||
IN CONST EFI_I2C_IO_PROTOCOL *This,
|
||||
IN UINTN SlaveAddressIndex,
|
||||
IN EFI_EVENT Event OPTIONAL,
|
||||
@@ -129,7 +128,7 @@ struct _EFI_I2C_IO_PROTOCOL {
|
||||
///
|
||||
/// Queue an I2C transaction for execution on the I2C device.
|
||||
///
|
||||
EFI_I2C_IO_PROTOCOL_QUEUE_REQUEST QueueRequest;
|
||||
EFI_I2C_IO_PROTOCOL_QUEUE_REQUEST QueueRequest;
|
||||
|
||||
///
|
||||
/// Unique value assigned by the silicon manufacture or the third
|
||||
@@ -137,30 +136,30 @@ struct _EFI_I2C_IO_PROTOCOL {
|
||||
/// combines both the manufacture name and the I2C part number into
|
||||
/// a single value specified as a GUID.
|
||||
///
|
||||
CONST EFI_GUID *DeviceGuid;
|
||||
CONST EFI_GUID *DeviceGuid;
|
||||
|
||||
///
|
||||
/// Unique ID of the I2C part within the system
|
||||
///
|
||||
UINT32 DeviceIndex;
|
||||
UINT32 DeviceIndex;
|
||||
|
||||
///
|
||||
/// Hardware revision - ACPI _HRV value. See the Advanced Configuration
|
||||
/// and Power Interface Specification, Revision 5.0 for the field format
|
||||
/// and the Plug and play support for I2C web-page for restriction on values.
|
||||
///
|
||||
UINT32 HardwareRevision;
|
||||
UINT32 HardwareRevision;
|
||||
|
||||
///
|
||||
/// Pointer to an EFI_I2C_CONTROLLER_CAPABILITIES data structure containing
|
||||
/// the capabilities of the I2C host controller.
|
||||
///
|
||||
CONST EFI_I2C_CONTROLLER_CAPABILITIES *I2cControllerCapabilities;
|
||||
CONST EFI_I2C_CONTROLLER_CAPABILITIES *I2cControllerCapabilities;
|
||||
};
|
||||
|
||||
///
|
||||
/// Reference to variable defined in the .DEC file
|
||||
///
|
||||
extern EFI_GUID gEfiI2cIoProtocolGuid;
|
||||
extern EFI_GUID gEfiI2cIoProtocolGuid;
|
||||
|
||||
#endif // __I2C_IO_H__
|
||||
#endif // __I2C_IO_H__
|
||||
|
Reference in New Issue
Block a user