42 OUT RETURN_STATUS *Status OPTIONAL
83 OUT RETURN_STATUS *Status OPTIONAL
127 OUT RETURN_STATUS *Status OPTIONAL
176 OUT RETURN_STATUS *Status OPTIONAL
223 OUT RETURN_STATUS *Status OPTIONAL
271 OUT RETURN_STATUS *Status OPTIONAL
318 OUT RETURN_STATUS *Status OPTIONAL
367 OUT RETURN_STATUS *Status OPTIONAL
417 OUT RETURN_STATUS *Status OPTIONAL
468 OUT RETURN_STATUS *Status OPTIONAL
471 ASSERT (Buffer !=
NULL);
475 return InternalSmBusExec (EfiSmbusReadBlock, SmBusAddress, 0x20, Buffer, Status);
515 OUT RETURN_STATUS *Status OPTIONAL
520 ASSERT (Buffer !=
NULL);
526 return InternalSmBusExec (EfiSmbusWriteBlock, SmBusAddress, Length, Buffer, Status);
567 IN VOID *WriteBuffer,
568 OUT VOID *ReadBuffer,
569 OUT RETURN_STATUS *Status OPTIONAL
574 ASSERT (WriteBuffer !=
NULL);
575 ASSERT (ReadBuffer !=
NULL);
584 ReadBuffer =
CopyMem (ReadBuffer, WriteBuffer, Length);
585 return InternalSmBusExec (EfiSmbusBWBRProcessCall, SmBusAddress, Length, ReadBuffer, Status);
VOID *EFIAPI CopyMem(OUT VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length)
UINT16 EFIAPI SmBusReadDataWord(IN UINTN SmBusAddress, OUT RETURN_STATUS *Status OPTIONAL)
UINT8 EFIAPI SmBusWriteDataByte(IN UINTN SmBusAddress, IN UINT8 Value, OUT RETURN_STATUS *Status OPTIONAL)
UINTN EFIAPI SmBusWriteBlock(IN UINTN SmBusAddress, OUT VOID *Buffer, OUT RETURN_STATUS *Status OPTIONAL)
UINT16 EFIAPI SmBusProcessCall(IN UINTN SmBusAddress, IN UINT16 Value, OUT RETURN_STATUS *Status OPTIONAL)
VOID EFIAPI SmBusQuickWrite(IN UINTN SmBusAddress, OUT RETURN_STATUS *Status OPTIONAL)
UINTN EFIAPI SmBusReadBlock(IN UINTN SmBusAddress, OUT VOID *Buffer, OUT RETURN_STATUS *Status OPTIONAL)
UINT8 EFIAPI SmBusReceiveByte(IN UINTN SmBusAddress, OUT RETURN_STATUS *Status OPTIONAL)
VOID EFIAPI SmBusQuickRead(IN UINTN SmBusAddress, OUT RETURN_STATUS *Status OPTIONAL)
UINT16 EFIAPI SmBusWriteDataWord(IN UINTN SmBusAddress, IN UINT16 Value, OUT RETURN_STATUS *Status OPTIONAL)
UINTN EFIAPI SmBusBlockProcessCall(IN UINTN SmBusAddress, IN VOID *WriteBuffer, OUT VOID *ReadBuffer, OUT RETURN_STATUS *Status OPTIONAL)
UINT8 EFIAPI SmBusSendByte(IN UINTN SmBusAddress, IN UINT8 Value, OUT RETURN_STATUS *Status OPTIONAL)
UINT8 EFIAPI SmBusReadDataByte(IN UINTN SmBusAddress, OUT RETURN_STATUS *Status OPTIONAL)
UINTN InternalSmBusExec(IN EFI_SMBUS_OPERATION SmbusOperation, IN UINTN SmBusAddress, IN UINTN Length, IN OUT VOID *Buffer, OUT RETURN_STATUS *Status OPTIONAL)
#define SMBUS_LIB_LENGTH(SmBusAddress)
#define SMBUS_LIB_RESERVED(SmBusAddress)
#define SMBUS_LIB_COMMAND(SmBusAddress)
#define SMBUS_LIB_PEC(SmBusAddress)