TianoCore EDK2
master
Loading...
Searching...
No Matches
I2cEnumerate.h
Go to the documentation of this file.
1
14
#ifndef __I2C_ENUMERATE_H__
15
#define __I2C_ENUMERATE_H__
16
17
#include <
Pi/PiI2c.h
>
18
19
#define EFI_I2C_ENUMERATE_PROTOCOL_GUID { 0xda8cd7c4, 0x1c00, 0x49e2, { 0x80, 0x3e, 0x52, 0x14, 0xe7, 0x01, 0x89, 0x4c }}
20
21
typedef
struct
_EFI_I2C_ENUMERATE_PROTOCOL
EFI_I2C_ENUMERATE_PROTOCOL
;
22
46
typedef
47
EFI_STATUS
48
(EFIAPI *
EFI_I2C_ENUMERATE_PROTOCOL_ENUMERATE
)(
49
IN
CONST
EFI_I2C_ENUMERATE_PROTOCOL
*This,
50
IN
OUT
CONST
EFI_I2C_DEVICE
**Device
51
);
52
74
typedef
75
EFI_STATUS
76
(EFIAPI *
EFI_I2C_ENUMERATE_PROTOCOL_GET_BUS_FREQUENCY
)(
77
IN
CONST
EFI_I2C_ENUMERATE_PROTOCOL
*This,
78
IN
UINTN
I2cBusConfiguration,
79
OUT
UINTN
*BusClockHertz
80
);
81
85
struct
_EFI_I2C_ENUMERATE_PROTOCOL
{
90
EFI_I2C_ENUMERATE_PROTOCOL_ENUMERATE
Enumerate
;
91
96
EFI_I2C_ENUMERATE_PROTOCOL_GET_BUS_FREQUENCY
GetBusFrequency
;
97
};
98
102
extern
EFI_GUID
gEfiI2cEnumerateProtocolGuid
;
103
104
#endif
// __I2C_ENUMERATE_H__
UINTN
UINT64 UINTN
Definition:
ProcessorBind.h:112
EFI_I2C_ENUMERATE_PROTOCOL_ENUMERATE
EFI_STATUS(EFIAPI * EFI_I2C_ENUMERATE_PROTOCOL_ENUMERATE)(IN CONST EFI_I2C_ENUMERATE_PROTOCOL *This, IN OUT CONST EFI_I2C_DEVICE **Device)
Definition:
I2cEnumerate.h:48
gEfiI2cEnumerateProtocolGuid
EFI_GUID gEfiI2cEnumerateProtocolGuid
EFI_I2C_ENUMERATE_PROTOCOL_GET_BUS_FREQUENCY
EFI_STATUS(EFIAPI * EFI_I2C_ENUMERATE_PROTOCOL_GET_BUS_FREQUENCY)(IN CONST EFI_I2C_ENUMERATE_PROTOCOL *This, IN UINTN I2cBusConfiguration, OUT UINTN *BusClockHertz)
Definition:
I2cEnumerate.h:76
CONST
#define CONST
Definition:
Base.h:259
IN
#define IN
Definition:
Base.h:279
OUT
#define OUT
Definition:
Base.h:284
PiI2c.h
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
_EFI_I2C_ENUMERATE_PROTOCOL
Definition:
I2cEnumerate.h:85
_EFI_I2C_ENUMERATE_PROTOCOL::Enumerate
EFI_I2C_ENUMERATE_PROTOCOL_ENUMERATE Enumerate
Definition:
I2cEnumerate.h:90
_EFI_I2C_ENUMERATE_PROTOCOL::GetBusFrequency
EFI_I2C_ENUMERATE_PROTOCOL_GET_BUS_FREQUENCY GetBusFrequency
Definition:
I2cEnumerate.h:96
EFI_I2C_DEVICE
Definition:
PiI2c.h:63
GUID
Definition:
Base.h:213
MdePkg
Include
Protocol
I2cEnumerate.h
Generated on Fri Nov 15 2024 18:01:16 for TianoCore EDK2 by
1.9.6