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
317 OUT RETURN_STATUS *Status OPTIONAL
365 OUT RETURN_STATUS *Status OPTIONAL
414 OUT RETURN_STATUS *Status OPTIONAL
463 OUT RETURN_STATUS *Status OPTIONAL
466 ASSERT (Buffer !=
NULL);
470 return InternalSmBusExec (EfiSmbusReadBlock, SmBusAddress, 0x20, Buffer, Status);
508 OUT RETURN_STATUS *Status OPTIONAL
513 ASSERT (Buffer !=
NULL);
519 return InternalSmBusExec (EfiSmbusWriteBlock, SmBusAddress, Length, Buffer, Status);
559 IN VOID *WriteBuffer,
560 OUT VOID *ReadBuffer,
561 OUT RETURN_STATUS *Status OPTIONAL
566 ASSERT (WriteBuffer !=
NULL);
567 ASSERT (ReadBuffer !=
NULL);
576 ReadBuffer =
CopyMem (ReadBuffer, WriteBuffer, Length);
577 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)