21#ifndef __I2C_MASTER_H__
22#define __I2C_MASTER_H__
26#define EFI_I2C_MASTER_PROTOCOL_GUID { 0xcd72881f, 0x45b5, 0x4feb, { 0x98, 0xc8, 0x31, 0x3d, 0xa8, 0x11, 0x74, 0x62 }}
UINT64 UINTN
Definition ProcessorBind.h:118
#define EFIAPI
Definition ProcessorBind.h:172
UINT16 SlaveAddress
Definition Acpi50.h:97
#define CONST
Definition Base.h:327
#define IN
Definition Base.h:347
#define OUT
Definition Base.h:352
#define OPTIONAL
Definition Base.h:358
EFI_STATUS(EFIAPI * EFI_I2C_MASTER_PROTOCOL_START_REQUEST)(IN CONST EFI_I2C_MASTER_PROTOCOL *This, IN UINTN SlaveAddress, IN EFI_I2C_REQUEST_PACKET *RequestPacket, IN EFI_EVENT Event OPTIONAL, OUT EFI_STATUS *I2cStatus OPTIONAL)
Definition I2cMaster.h:152
EFI_STATUS(EFIAPI * EFI_I2C_MASTER_PROTOCOL_SET_BUS_FREQUENCY)(IN CONST EFI_I2C_MASTER_PROTOCOL *This, IN OUT UINTN *BusClockHertz)
Definition I2cMaster.h:57
EFI_STATUS(EFIAPI * EFI_I2C_MASTER_PROTOCOL_RESET)(IN CONST EFI_I2C_MASTER_PROTOCOL *This)
Definition I2cMaster.h:79
EFI_GUID gEfiI2cMasterProtocolGuid
RETURN_STATUS EFI_STATUS
Definition UefiBaseType.h:33
VOID * EFI_EVENT
Definition UefiBaseType.h:41
Definition I2cMaster.h:167
EFI_I2C_MASTER_PROTOCOL_SET_BUS_FREQUENCY SetBusFrequency
Definition I2cMaster.h:171
EFI_I2C_MASTER_PROTOCOL_RESET Reset
Definition I2cMaster.h:176
EFI_I2C_MASTER_PROTOCOL_START_REQUEST StartRequest
Definition I2cMaster.h:181
CONST EFI_I2C_CONTROLLER_CAPABILITIES * I2cControllerCapabilities
Definition I2cMaster.h:187