XenevaOS
Loading...
Searching...
No Matches
I2cIo.h
Go to the documentation of this file.
1
21#ifndef __I2C_IO_H__
22#define __I2C_IO_H__
23
24#include <Pi/PiI2c.h>
25
26#define EFI_I2C_IO_PROTOCOL_GUID { 0xb60a3e6b, 0x18c4, 0x46e5, { 0xa2, 0x9a, 0xc9, 0xa1, 0x06, 0x65, 0xa2, 0x8e }}
27
48
49
121typedef
125 IN UINTN SlaveAddressIndex,
126 IN EFI_EVENT Event OPTIONAL,
127 IN EFI_I2C_REQUEST_PACKET *RequestPacket,
128 OUT EFI_STATUS *I2cStatus OPTIONAL
129 );
130
166
171
172#endif // __I2C_IO_H__
UINT64 UINTN
Definition ProcessorBind.h:118
#define EFIAPI
Definition ProcessorBind.h:172
unsigned int UINT32
Definition ProcessorBind.h:102
#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_IO_PROTOCOL_QUEUE_REQUEST)(IN CONST EFI_I2C_IO_PROTOCOL *This, IN UINTN SlaveAddressIndex, IN EFI_EVENT Event OPTIONAL, IN EFI_I2C_REQUEST_PACKET *RequestPacket, OUT EFI_STATUS *I2cStatus OPTIONAL)
Definition I2cIo.h:123
EFI_GUID gEfiI2cIoProtocolGuid
RETURN_STATUS EFI_STATUS
Definition UefiBaseType.h:33
VOID * EFI_EVENT
Definition UefiBaseType.h:41
Definition PiI2c.h:36
Definition PiI2c.h:295
Definition Base.h:281
Definition I2cIo.h:134
UINT32 DeviceIndex
Definition I2cIo.h:151
CONST EFI_GUID * DeviceGuid
Definition I2cIo.h:146
EFI_I2C_IO_PROTOCOL_QUEUE_REQUEST QueueRequest
Definition I2cIo.h:138
UINT32 HardwareRevision
Definition I2cIo.h:158
CONST EFI_I2C_CONTROLLER_CAPABILITIES * I2cControllerCapabilities
Definition I2cIo.h:164