38 Status =
gBS->LocateProtocol (&gEfiSmbusHcProtocolGuid,
NULL, (VOID **)&mSmbus);
40 ASSERT (mSmbus !=
NULL);
74 OUT RETURN_STATUS *Status OPTIONAL
77 RETURN_STATUS ReturnStatus;
82 ReturnStatus = mSmbus->Execute (
92 *Status = ReturnStatus;
EFI_STATUS EFIAPI SmbusLibConstructor(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
UINTN InternalSmBusExec(IN EFI_SMBUS_OPERATION SmbusOperation, IN UINTN SmBusAddress, IN UINTN Length, IN OUT VOID *Buffer, OUT RETURN_STATUS *Status OPTIONAL)
#define ASSERT_EFI_ERROR(StatusParameter)
enum _EFI_SMBUS_OPERATION EFI_SMBUS_OPERATION
#define SMBUS_LIB_SLAVE_ADDRESS(SmBusAddress)
#define SMBUS_LIB_COMMAND(SmBusAddress)
#define SMBUS_LIB_PEC(SmBusAddress)