summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/BaseS3SmbusLib/S3SmbusLib.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseS3SmbusLib/S3SmbusLib.c')
-rw-r--r--MdePkg/Library/BaseS3SmbusLib/S3SmbusLib.c33
1 files changed, 16 insertions, 17 deletions
diff --git a/MdePkg/Library/BaseS3SmbusLib/S3SmbusLib.c b/MdePkg/Library/BaseS3SmbusLib/S3SmbusLib.c
index 1a3c2bc82c..3ba28eda3e 100644
--- a/MdePkg/Library/BaseS3SmbusLib/S3SmbusLib.c
+++ b/MdePkg/Library/BaseS3SmbusLib/S3SmbusLib.c
@@ -9,7 +9,6 @@
**/
-
#include <Base.h>
#include <Library/DebugLib.h>
@@ -36,18 +35,18 @@
**/
VOID
InternalSaveSmBusExecToBootScript (
- IN EFI_SMBUS_OPERATION SmbusOperation,
- IN UINTN SmBusAddress,
- IN UINTN Length,
- IN OUT VOID *Buffer
+ IN EFI_SMBUS_OPERATION SmbusOperation,
+ IN UINTN SmBusAddress,
+ IN UINTN Length,
+ IN OUT VOID *Buffer
)
{
- RETURN_STATUS Status;
+ RETURN_STATUS Status;
Status = S3BootScriptSaveSmbusExecute (
SmBusAddress,
SmbusOperation,
- &Length,
+ &Length,
Buffer
);
ASSERT (Status == RETURN_SUCCESS);
@@ -74,8 +73,8 @@ InternalSaveSmBusExecToBootScript (
VOID
EFIAPI
S3SmBusQuickRead (
- IN UINTN SmBusAddress,
- OUT RETURN_STATUS *Status OPTIONAL
+ IN UINTN SmBusAddress,
+ OUT RETURN_STATUS *Status OPTIONAL
)
{
SmBusQuickRead (SmBusAddress, Status);
@@ -104,8 +103,8 @@ S3SmBusQuickRead (
VOID
EFIAPI
S3SmBusQuickWrite (
- IN UINTN SmBusAddress,
- OUT RETURN_STATUS *Status OPTIONAL
+ IN UINTN SmBusAddress,
+ OUT RETURN_STATUS *Status OPTIONAL
)
{
SmBusQuickWrite (SmBusAddress, Status);
@@ -140,7 +139,7 @@ S3SmBusReceiveByte (
OUT RETURN_STATUS *Status OPTIONAL
)
{
- UINT8 Byte;
+ UINT8 Byte;
Byte = SmBusReceiveByte (SmBusAddress, Status);
@@ -178,7 +177,7 @@ S3SmBusSendByte (
OUT RETURN_STATUS *Status OPTIONAL
)
{
- UINT8 Byte;
+ UINT8 Byte;
Byte = SmBusSendByte (SmBusAddress, Value, Status);
@@ -213,7 +212,7 @@ S3SmBusReadDataByte (
OUT RETURN_STATUS *Status OPTIONAL
)
{
- UINT8 Byte;
+ UINT8 Byte;
Byte = SmBusReadDataByte (SmBusAddress, Status);
@@ -251,7 +250,7 @@ S3SmBusWriteDataByte (
OUT RETURN_STATUS *Status OPTIONAL
)
{
- UINT8 Byte;
+ UINT8 Byte;
Byte = SmBusWriteDataByte (SmBusAddress, Value, Status);
@@ -403,7 +402,7 @@ S3SmBusReadBlock (
OUT RETURN_STATUS *Status OPTIONAL
)
{
- UINTN Length;
+ UINTN Length;
Length = SmBusReadBlock (SmBusAddress, Buffer, Status);
@@ -485,7 +484,7 @@ S3SmBusBlockProcessCall (
OUT RETURN_STATUS *Status OPTIONAL
)
{
- UINTN Length;
+ UINTN Length;
Length = SmBusBlockProcessCall (SmBusAddress, WriteBuffer, ReadBuffer, Status);