TianoCore EDK2
master
Loading...
Searching...
No Matches
SpiHcPlatformLib.h
Go to the documentation of this file.
1
9
#ifndef PLATFORM_SPI_HC_H_
10
#define PLATFORM_SPI_HC_H_
11
12
#include <
Uefi/UefiBaseType.h
>
13
#include <
Protocol/SpiHc.h
>
14
#include <
Protocol/SpiConfiguration.h
>
15
#include <
Protocol/DevicePath.h
>
16
#include <
Library/DevicePathLib.h
>
17
28
EFI_STATUS
29
EFIAPI
30
GetPlatformSpiHcDetails
(
31
OUT
UINT32 *Attributes,
32
OUT
UINT32 *FrameSizeSupportMask,
33
OUT
UINT32 *MaximumTransferBytes
34
);
35
44
EFI_STATUS
45
EFIAPI
46
GetSpiHcDevicePath
(
47
OUT
EFI_DEVICE_PATH_PROTOCOL
**DevicePath
48
);
49
75
EFI_STATUS
76
EFIAPI
77
PlatformSpiHcChipSelect
(
78
IN
CONST
EFI_SPI_HC_PROTOCOL
*This,
79
IN
CONST
EFI_SPI_PERIPHERAL
*SpiPeripheral,
80
IN
BOOLEAN PinValue
81
);
82
110
EFI_STATUS
111
EFIAPI
112
PlatformSpiHcClock
(
113
IN
CONST
EFI_SPI_HC_PROTOCOL
*This,
114
IN
CONST
EFI_SPI_PERIPHERAL
*SpiPeripheral,
115
IN
UINT32 *ClockHz
116
);
117
141
EFI_STATUS
142
EFIAPI
143
PlatformSpiHcTransaction
(
144
IN
CONST
EFI_SPI_HC_PROTOCOL
*This,
145
IN
EFI_SPI_BUS_TRANSACTION
*BusTransaction
146
);
147
148
#endif
// PLATFORM_SPI_HC_SMM_PROTOCOL_H_
DevicePath.h
DevicePathLib.h
CONST
#define CONST
Definition:
Base.h:259
IN
#define IN
Definition:
Base.h:279
OUT
#define OUT
Definition:
Base.h:284
SpiHc.h
SpiConfiguration.h
GetPlatformSpiHcDetails
EFI_STATUS EFIAPI GetPlatformSpiHcDetails(OUT UINT32 *Attributes, OUT UINT32 *FrameSizeSupportMask, OUT UINT32 *MaximumTransferBytes)
Definition:
BaseSpiHcPlatformLibNull.c:25
GetSpiHcDevicePath
EFI_STATUS EFIAPI GetSpiHcDevicePath(OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath)
Definition:
BaseSpiHcPlatformLibNull.c:44
PlatformSpiHcChipSelect
EFI_STATUS EFIAPI PlatformSpiHcChipSelect(IN CONST EFI_SPI_HC_PROTOCOL *This, IN CONST EFI_SPI_PERIPHERAL *SpiPeripheral, IN BOOLEAN PinValue)
Definition:
BaseSpiHcPlatformLibNull.c:74
PlatformSpiHcTransaction
EFI_STATUS EFIAPI PlatformSpiHcTransaction(IN CONST EFI_SPI_HC_PROTOCOL *This, IN EFI_SPI_BUS_TRANSACTION *BusTransaction)
Definition:
BaseSpiHcPlatformLibNull.c:139
PlatformSpiHcClock
EFI_STATUS EFIAPI PlatformSpiHcClock(IN CONST EFI_SPI_HC_PROTOCOL *This, IN CONST EFI_SPI_PERIPHERAL *SpiPeripheral, IN UINT32 *ClockHz)
Definition:
BaseSpiHcPlatformLibNull.c:110
UefiBaseType.h
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
_EFI_SPI_BUS_TRANSACTION
Definition:
SpiIo.h:171
_EFI_SPI_HC_PROTOCOL
Definition:
SpiHc.h:141
_EFI_SPI_PERIPHERAL
Definition:
SpiConfiguration.h:186
EFI_DEVICE_PATH_PROTOCOL
Definition:
DevicePath.h:43
MdeModulePkg
Include
Library
SpiHcPlatformLib.h
Generated on Fri Nov 15 2024 18:01:11 for TianoCore EDK2 by
1.9.6