TianoCore EDK2 master
Loading...
Searching...
No Matches
SmbusHc.h
Go to the documentation of this file.
1
13#ifndef __SMBUS_HC_H__
14#define __SMBUS_HC_H__
15
17
18#define EFI_SMBUS_HC_PROTOCOL_GUID \
19 {0xe49d33ed, 0x513d, 0x4634, { 0xb6, 0x98, 0x6f, 0x55, 0xaa, 0x75, 0x1c, 0x1b} }
20
22
116typedef
120 IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
122 IN EFI_SMBUS_OPERATION Operation,
123 IN BOOLEAN PecCheck,
124 IN OUT UINTN *Length,
125 IN OUT VOID *Buffer
126 );
127
180typedef
184 IN BOOLEAN ArpAll,
185 IN EFI_SMBUS_UDID *SmbusUdid OPTIONAL,
187 );
188
208typedef
212 IN OUT UINTN *Length,
213 IN OUT EFI_SMBUS_DEVICE_MAP **SmbusDeviceMap
214 );
215
227typedef
230 IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
231 IN UINTN Data
232 );
233
259typedef
263 IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
264 IN UINTN Data,
266 );
267
278};
279
280extern EFI_GUID gEfiSmbusHcProtocolGuid;
281
282#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_SMBUS_HC_PROTOCOL_NOTIFY)(IN CONST EFI_SMBUS_HC_PROTOCOL *This, IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress, IN UINTN Data, IN EFI_SMBUS_NOTIFY_FUNCTION NotifyFunction)
Definition: SmbusHc.h:261
EFI_STATUS(EFIAPI * EFI_SMBUS_HC_PROTOCOL_ARP_DEVICE)(IN CONST EFI_SMBUS_HC_PROTOCOL *This, IN BOOLEAN ArpAll, IN EFI_SMBUS_UDID *SmbusUdid OPTIONAL, IN OUT EFI_SMBUS_DEVICE_ADDRESS *SlaveAddress OPTIONAL)
Definition: SmbusHc.h:182
EFI_STATUS(EFIAPI * EFI_SMBUS_NOTIFY_FUNCTION)(IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress, IN UINTN Data)
Definition: SmbusHc.h:229
EFI_STATUS(EFIAPI * EFI_SMBUS_HC_EXECUTE_OPERATION)(IN CONST EFI_SMBUS_HC_PROTOCOL *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: SmbusHc.h:118
EFI_STATUS(EFIAPI * EFI_SMBUS_HC_PROTOCOL_GET_ARP_MAP)(IN CONST EFI_SMBUS_HC_PROTOCOL *This, IN OUT UINTN *Length, IN OUT EFI_SMBUS_DEVICE_MAP **SmbusDeviceMap)
Definition: SmbusHc.h:210
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213