diff options
author | Michael Kubacki <michael.kubacki@microsoft.com> | 2021-12-05 14:54:05 -0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-12-07 17:24:28 +0000 |
commit | 2f88bd3a1296c522317f1c21377876de63de5be7 (patch) | |
tree | ba47875489cc5698061275a495983e9dea3be098 /MdePkg/Include/Library/S3PciSegmentLib.h | |
parent | 1436aea4d5707e672672a11bda72be2c63c936c3 (diff) | |
download | edk2-2f88bd3a1296c522317f1c21377876de63de5be7.tar.gz edk2-2f88bd3a1296c522317f1c21377876de63de5be7.tar.bz2 edk2-2f88bd3a1296c522317f1c21377876de63de5be7.zip |
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>
Diffstat (limited to 'MdePkg/Include/Library/S3PciSegmentLib.h')
-rw-r--r-- | MdePkg/Include/Library/S3PciSegmentLib.h | 195 |
1 files changed, 97 insertions, 98 deletions
diff --git a/MdePkg/Include/Library/S3PciSegmentLib.h b/MdePkg/Include/Library/S3PciSegmentLib.h index 7bd8bc1d10..5067d4fcbb 100644 --- a/MdePkg/Include/Library/S3PciSegmentLib.h +++ b/MdePkg/Include/Library/S3PciSegmentLib.h @@ -11,7 +11,6 @@ #ifndef __S3_PCI_SEGMENT_LIB__
#define __S3_PCI_SEGMENT_LIB__
-
/**
Macro that converts PCI Segment, PCI Bus, PCI Device, PCI Function,
and PCI Register to an address that can be passed to the S3 PCI Segment Library functions.
@@ -29,7 +28,7 @@ @return The address that is compatible with the PCI Segment Library functions.
**/
-#define S3_PCI_SEGMENT_LIB_ADDRESS(Segment,Bus,Device,Function,Register) \
+#define S3_PCI_SEGMENT_LIB_ADDRESS(Segment, Bus, Device, Function, Register) \
((Segment != 0) ? \
( ((Register) & 0xfff) | \
(((Function) & 0x07) << 12) | \
@@ -61,7 +60,7 @@ UINT8
EFIAPI
S3PciSegmentRead8 (
- IN UINT64 Address
+ IN UINT64 Address
);
/**
@@ -82,8 +81,8 @@ S3PciSegmentRead8 ( UINT8
EFIAPI
S3PciSegmentWrite8 (
- IN UINT64 Address,
- IN UINT8 Value
+ IN UINT64 Address,
+ IN UINT8 Value
);
/**
@@ -107,8 +106,8 @@ S3PciSegmentWrite8 ( UINT8
EFIAPI
S3PciSegmentOr8 (
- IN UINT64 Address,
- IN UINT8 OrData
+ IN UINT64 Address,
+ IN UINT8 OrData
);
/**
@@ -131,8 +130,8 @@ S3PciSegmentOr8 ( UINT8
EFIAPI
S3PciSegmentAnd8 (
- IN UINT64 Address,
- IN UINT8 AndData
+ IN UINT64 Address,
+ IN UINT8 AndData
);
/**
@@ -159,9 +158,9 @@ S3PciSegmentAnd8 ( UINT8
EFIAPI
S3PciSegmentAndThenOr8 (
- IN UINT64 Address,
- IN UINT8 AndData,
- IN UINT8 OrData
+ IN UINT64 Address,
+ IN UINT8 AndData,
+ IN UINT8 OrData
);
/**
@@ -189,9 +188,9 @@ S3PciSegmentAndThenOr8 ( UINT8
EFIAPI
S3PciSegmentBitFieldRead8 (
- IN UINT64 Address,
- IN UINTN StartBit,
- IN UINTN EndBit
+ IN UINT64 Address,
+ IN UINTN StartBit,
+ IN UINTN EndBit
);
/**
@@ -222,10 +221,10 @@ S3PciSegmentBitFieldRead8 ( UINT8
EFIAPI
S3PciSegmentBitFieldWrite8 (
- IN UINT64 Address,
- IN UINTN StartBit,
- IN UINTN EndBit,
- IN UINT8 Value
+ IN UINT64 Address,
+ IN UINTN StartBit,
+ IN UINTN EndBit,
+ IN UINT8 Value
);
/**
@@ -259,10 +258,10 @@ S3PciSegmentBitFieldWrite8 ( UINT8
EFIAPI
S3PciSegmentBitFieldOr8 (
- IN UINT64 Address,
- IN UINTN StartBit,
- IN UINTN EndBit,
- IN UINT8 OrData
+ IN UINT64 Address,
+ IN UINTN StartBit,
+ IN UINTN EndBit,
+ IN UINT8 OrData
);
/**
@@ -296,10 +295,10 @@ S3PciSegmentBitFieldOr8 ( UINT8
EFIAPI
S3PciSegmentBitFieldAnd8 (
- IN UINT64 Address,
- IN UINTN StartBit,
- IN UINTN EndBit,
- IN UINT8 AndData
+ IN UINT64 Address,
+ IN UINTN StartBit,
+ IN UINTN EndBit,
+ IN UINT8 AndData
);
/**
@@ -336,11 +335,11 @@ S3PciSegmentBitFieldAnd8 ( UINT8
EFIAPI
S3PciSegmentBitFieldAndThenOr8 (
- IN UINT64 Address,
- IN UINTN StartBit,
- IN UINTN EndBit,
- IN UINT8 AndData,
- IN UINT8 OrData
+ IN UINT64 Address,
+ IN UINTN StartBit,
+ IN UINTN EndBit,
+ IN UINT8 AndData,
+ IN UINT8 OrData
);
/**
@@ -361,7 +360,7 @@ S3PciSegmentBitFieldAndThenOr8 ( UINT16
EFIAPI
S3PciSegmentRead16 (
- IN UINT64 Address
+ IN UINT64 Address
);
/**
@@ -383,8 +382,8 @@ S3PciSegmentRead16 ( UINT16
EFIAPI
S3PciSegmentWrite16 (
- IN UINT64 Address,
- IN UINT16 Value
+ IN UINT64 Address,
+ IN UINT16 Value
);
/**
@@ -410,8 +409,8 @@ S3PciSegmentWrite16 ( UINT16
EFIAPI
S3PciSegmentOr16 (
- IN UINT64 Address,
- IN UINT16 OrData
+ IN UINT64 Address,
+ IN UINT16 OrData
);
/**
@@ -436,8 +435,8 @@ S3PciSegmentOr16 ( UINT16
EFIAPI
S3PciSegmentAnd16 (
- IN UINT64 Address,
- IN UINT16 AndData
+ IN UINT64 Address,
+ IN UINT16 AndData
);
/**
@@ -465,9 +464,9 @@ S3PciSegmentAnd16 ( UINT16
EFIAPI
S3PciSegmentAndThenOr16 (
- IN UINT64 Address,
- IN UINT16 AndData,
- IN UINT16 OrData
+ IN UINT64 Address,
+ IN UINT16 AndData,
+ IN UINT16 OrData
);
/**
@@ -496,9 +495,9 @@ S3PciSegmentAndThenOr16 ( UINT16
EFIAPI
S3PciSegmentBitFieldRead16 (
- IN UINT64 Address,
- IN UINTN StartBit,
- IN UINTN EndBit
+ IN UINT64 Address,
+ IN UINTN StartBit,
+ IN UINTN EndBit
);
/**
@@ -530,10 +529,10 @@ S3PciSegmentBitFieldRead16 ( UINT16
EFIAPI
S3PciSegmentBitFieldWrite16 (
- IN UINT64 Address,
- IN UINTN StartBit,
- IN UINTN EndBit,
- IN UINT16 Value
+ IN UINT64 Address,
+ IN UINTN StartBit,
+ IN UINTN EndBit,
+ IN UINT16 Value
);
/**
@@ -568,10 +567,10 @@ S3PciSegmentBitFieldWrite16 ( UINT16
EFIAPI
S3PciSegmentBitFieldOr16 (
- IN UINT64 Address,
- IN UINTN StartBit,
- IN UINTN EndBit,
- IN UINT16 OrData
+ IN UINT64 Address,
+ IN UINTN StartBit,
+ IN UINTN EndBit,
+ IN UINT16 OrData
);
/**
@@ -606,10 +605,10 @@ S3PciSegmentBitFieldOr16 ( UINT16
EFIAPI
S3PciSegmentBitFieldAnd16 (
- IN UINT64 Address,
- IN UINTN StartBit,
- IN UINTN EndBit,
- IN UINT16 AndData
+ IN UINT64 Address,
+ IN UINTN StartBit,
+ IN UINTN EndBit,
+ IN UINT16 AndData
);
/**
@@ -646,11 +645,11 @@ S3PciSegmentBitFieldAnd16 ( UINT16
EFIAPI
S3PciSegmentBitFieldAndThenOr16 (
- IN UINT64 Address,
- IN UINTN StartBit,
- IN UINTN EndBit,
- IN UINT16 AndData,
- IN UINT16 OrData
+ IN UINT64 Address,
+ IN UINTN StartBit,
+ IN UINTN EndBit,
+ IN UINT16 AndData,
+ IN UINT16 OrData
);
/**
@@ -671,7 +670,7 @@ S3PciSegmentBitFieldAndThenOr16 ( UINT32
EFIAPI
S3PciSegmentRead32 (
- IN UINT64 Address
+ IN UINT64 Address
);
/**
@@ -693,8 +692,8 @@ S3PciSegmentRead32 ( UINT32
EFIAPI
S3PciSegmentWrite32 (
- IN UINT64 Address,
- IN UINT32 Value
+ IN UINT64 Address,
+ IN UINT32 Value
);
/**
@@ -720,8 +719,8 @@ S3PciSegmentWrite32 ( UINT32
EFIAPI
S3PciSegmentOr32 (
- IN UINT64 Address,
- IN UINT32 OrData
+ IN UINT64 Address,
+ IN UINT32 OrData
);
/**
@@ -746,8 +745,8 @@ S3PciSegmentOr32 ( UINT32
EFIAPI
S3PciSegmentAnd32 (
- IN UINT64 Address,
- IN UINT32 AndData
+ IN UINT64 Address,
+ IN UINT32 AndData
);
/**
@@ -775,9 +774,9 @@ S3PciSegmentAnd32 ( UINT32
EFIAPI
S3PciSegmentAndThenOr32 (
- IN UINT64 Address,
- IN UINT32 AndData,
- IN UINT32 OrData
+ IN UINT64 Address,
+ IN UINT32 AndData,
+ IN UINT32 OrData
);
/**
@@ -806,9 +805,9 @@ S3PciSegmentAndThenOr32 ( UINT32
EFIAPI
S3PciSegmentBitFieldRead32 (
- IN UINT64 Address,
- IN UINTN StartBit,
- IN UINTN EndBit
+ IN UINT64 Address,
+ IN UINTN StartBit,
+ IN UINTN EndBit
);
/**
@@ -840,10 +839,10 @@ S3PciSegmentBitFieldRead32 ( UINT32
EFIAPI
S3PciSegmentBitFieldWrite32 (
- IN UINT64 Address,
- IN UINTN StartBit,
- IN UINTN EndBit,
- IN UINT32 Value
+ IN UINT64 Address,
+ IN UINTN StartBit,
+ IN UINTN EndBit,
+ IN UINT32 Value
);
/**
@@ -878,10 +877,10 @@ S3PciSegmentBitFieldWrite32 ( UINT32
EFIAPI
S3PciSegmentBitFieldOr32 (
- IN UINT64 Address,
- IN UINTN StartBit,
- IN UINTN EndBit,
- IN UINT32 OrData
+ IN UINT64 Address,
+ IN UINTN StartBit,
+ IN UINTN EndBit,
+ IN UINT32 OrData
);
/**
@@ -916,10 +915,10 @@ S3PciSegmentBitFieldOr32 ( UINT32
EFIAPI
S3PciSegmentBitFieldAnd32 (
- IN UINT64 Address,
- IN UINTN StartBit,
- IN UINTN EndBit,
- IN UINT32 AndData
+ IN UINT64 Address,
+ IN UINTN StartBit,
+ IN UINTN EndBit,
+ IN UINT32 AndData
);
/**
@@ -956,11 +955,11 @@ S3PciSegmentBitFieldAnd32 ( UINT32
EFIAPI
S3PciSegmentBitFieldAndThenOr32 (
- IN UINT64 Address,
- IN UINTN StartBit,
- IN UINTN EndBit,
- IN UINT32 AndData,
- IN UINT32 OrData
+ IN UINT64 Address,
+ IN UINTN StartBit,
+ IN UINTN EndBit,
+ IN UINT32 AndData,
+ IN UINT32 OrData
);
/**
@@ -990,9 +989,9 @@ S3PciSegmentBitFieldAndThenOr32 ( UINTN
EFIAPI
S3PciSegmentReadBuffer (
- IN UINT64 StartAddress,
- IN UINTN Size,
- OUT VOID *Buffer
+ IN UINT64 StartAddress,
+ IN UINTN Size,
+ OUT VOID *Buffer
);
/**
@@ -1023,9 +1022,9 @@ S3PciSegmentReadBuffer ( UINTN
EFIAPI
S3PciSegmentWriteBuffer (
- IN UINT64 StartAddress,
- IN UINTN Size,
- IN VOID *Buffer
+ IN UINT64 StartAddress,
+ IN UINTN Size,
+ IN VOID *Buffer
);
#endif
|