TianoCore EDK2 master
Loading...
Searching...
No Matches
Smbus2.h
Go to the documentation of this file.
1
14#ifndef __PEI_SMBUS2_PPI_H__
15#define __PEI_SMBUS2_PPI_H__
16
18
19#define EFI_PEI_SMBUS2_PPI_GUID \
20 { 0x9ca93627, 0xb65b, 0x4324, { 0xa2, 0x2, 0xc0, 0xb4, 0x61, 0x76, 0x45, 0x43 } }
21
23
66typedef
70 IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
72 IN EFI_SMBUS_OPERATION Operation,
73 IN BOOLEAN PecCheck,
74 IN OUT UINTN *Length,
75 IN OUT VOID *Buffer
76 );
77
102typedef
106 IN BOOLEAN ArpAll,
107 IN EFI_SMBUS_UDID *SmbusUdid OPTIONAL,
109 );
110
124typedef
128 IN OUT UINTN *Length,
129 IN OUT EFI_SMBUS_DEVICE_MAP **SmbusDeviceMap
130 );
131
146typedef
149 IN CONST EFI_PEI_SMBUS2_PPI *SmbusPpi,
150 IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
151 IN UINTN Data
152 );
153
170typedef
174 IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
175 IN UINTN Data,
177 );
178
192};
193
194extern EFI_GUID gEfiPeiSmbus2PpiGuid;
195
196#endif
UINT64 UINTN
#define CONST
Definition: Base.h:259
#define OPTIONAL
Definition: Base.h:290
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
VOID EFIAPI NotifyFunction(IN EFI_EVENT Event, IN VOID *Context)
Definition: ScsiBus.c:1492
UINTN EFI_SMBUS_DEVICE_COMMAND
Definition: SmBus.h:71
enum _EFI_SMBUS_OPERATION EFI_SMBUS_OPERATION
EFI_STATUS(EFIAPI * EFI_PEI_SMBUS2_PPI_EXECUTE_OPERATION)(IN CONST EFI_PEI_SMBUS2_PPI *This, IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress, IN EFI_SMBUS_DEVICE_COMMAND Command, IN EFI_SMBUS_OPERATION Operation, IN BOOLEAN PecCheck, IN OUT UINTN *Length, IN OUT VOID *Buffer)
Definition: Smbus2.h:68
EFI_STATUS(EFIAPI * EFI_PEI_SMBUS2_PPI_ARP_DEVICE)(IN CONST EFI_PEI_SMBUS2_PPI *This, IN BOOLEAN ArpAll, IN EFI_SMBUS_UDID *SmbusUdid OPTIONAL, IN OUT EFI_SMBUS_DEVICE_ADDRESS *SlaveAddress OPTIONAL)
Definition: Smbus2.h:104
EFI_STATUS(EFIAPI * EFI_PEI_SMBUS_NOTIFY2_FUNCTION)(IN CONST EFI_PEI_SMBUS2_PPI *SmbusPpi, IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress, IN UINTN Data)
Definition: Smbus2.h:148
EFI_STATUS(EFIAPI * EFI_PEI_SMBUS2_PPI_NOTIFY)(IN CONST EFI_PEI_SMBUS2_PPI *This, IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress, IN UINTN Data, IN EFI_PEI_SMBUS_NOTIFY2_FUNCTION NotifyFunction)
Definition: Smbus2.h:172
EFI_STATUS(EFIAPI * EFI_PEI_SMBUS2_PPI_GET_ARP_MAP)(IN CONST EFI_PEI_SMBUS2_PPI *This, IN OUT UINTN *Length, IN OUT EFI_SMBUS_DEVICE_MAP **SmbusDeviceMap)
Definition: Smbus2.h:126
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
EFI_GUID Identifier
Definition: Smbus2.h:191
Definition: Base.h:213