X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FLibrary%2FSmbusLib.h;h=c59f0bb4cf334944f2febbe9f4fa10f3193be459;hb=fc30687f39436f5b5e00396a5161b30b70db8277;hp=b6ca54bb2ccaa10cf8d851ec418608535912c91a;hpb=d5b86e43cf23787da85fcf862807c1f6714bfac2;p=mirror_edk2.git diff --git a/MdePkg/Include/Library/SmbusLib.h b/MdePkg/Include/Library/SmbusLib.h index b6ca54bb2c..c59f0bb4cf 100644 --- a/MdePkg/Include/Library/SmbusLib.h +++ b/MdePkg/Include/Library/SmbusLib.h @@ -15,9 +15,9 @@ #ifndef __SMBUS_LIB__ #define __SMBUS_LIB__ -// -// PEC BIT is bit 22 in SMBUS address -// +/// +/// PEC BIT is bit 22 in SMBUS address +/// #define SMBUS_LIB_PEC_BIT (1 << 22) /** @@ -63,8 +63,7 @@ EFIAPI SmBusQuickRead ( IN UINTN SmBusAddress, OUT RETURN_STATUS *Status OPTIONAL - ) -; + ); /** Executes an SMBUS quick write command. @@ -88,8 +87,7 @@ EFIAPI SmBusQuickWrite ( IN UINTN SmBusAddress, OUT RETURN_STATUS *Status OPTIONAL - ) -; + ); /** Executes an SMBUS receive byte command. @@ -115,8 +113,7 @@ EFIAPI SmBusReceiveByte ( IN UINTN SmBusAddress, OUT RETURN_STATUS *Status OPTIONAL - ) -; + ); /** Executes an SMBUS send byte command. @@ -144,8 +141,7 @@ SmBusSendByte ( IN UINTN SmBusAddress, IN UINT8 Value, OUT RETURN_STATUS *Status OPTIONAL - ) -; + ); /** Executes an SMBUS read data byte command. @@ -170,8 +166,7 @@ EFIAPI SmBusReadDataByte ( IN UINTN SmBusAddress, OUT RETURN_STATUS *Status OPTIONAL - ) -; + ); /** Executes an SMBUS write data byte command. @@ -199,8 +194,7 @@ SmBusWriteDataByte ( IN UINTN SmBusAddress, IN UINT8 Value, OUT RETURN_STATUS *Status OPTIONAL - ) -; + ); /** Executes an SMBUS read data word command. @@ -225,8 +219,7 @@ EFIAPI SmBusReadDataWord ( IN UINTN SmBusAddress, OUT RETURN_STATUS *Status OPTIONAL - ) -; + ); /** Executes an SMBUS write data word command. @@ -254,8 +247,7 @@ SmBusWriteDataWord ( IN UINTN SmBusAddress, IN UINT16 Value, OUT RETURN_STATUS *Status OPTIONAL - ) -; + ); /** Executes an SMBUS process call command. @@ -283,8 +275,7 @@ SmBusProcessCall ( IN UINTN SmBusAddress, IN UINT16 Value, OUT RETURN_STATUS *Status OPTIONAL - ) -; + ); /** Executes an SMBUS read block command. @@ -315,8 +306,7 @@ SmBusReadBlock ( IN UINTN SmBusAddress, OUT VOID *Buffer, OUT RETURN_STATUS *Status OPTIONAL - ) -; + ); /** Executes an SMBUS write block command. @@ -345,8 +335,7 @@ SmBusWriteBlock ( IN UINTN SmBusAddress, OUT VOID *Buffer, OUT RETURN_STATUS *Status OPTIONAL - ) -; + ); /** Executes an SMBUS block process call command. @@ -379,8 +368,7 @@ SmBusBlockProcessCall ( IN VOID *WriteBuffer, OUT VOID *ReadBuffer, OUT RETURN_STATUS *Status OPTIONAL - ) -; + ); #endif