TianoCore EDK2
master
Loading...
Searching...
No Matches
BaseSpiHcPlatformLibNull.c
Go to the documentation of this file.
1
9
#include <
PiDxe.h
>
10
#include <
Protocol/DevicePath.h
>
11
#include <
Protocol/SpiHc.h
>
12
#include <
Library/SpiHcPlatformLib.h
>
13
23
EFI_STATUS
24
EFIAPI
25
GetPlatformSpiHcDetails
(
26
OUT
UINT32 *Attributes,
27
OUT
UINT32 *FrameSizeSupportMask,
28
OUT
UINT32 *MaximumTransferBytes
29
)
30
{
31
return
EFI_UNSUPPORTED;
32
}
33
42
EFI_STATUS
43
EFIAPI
44
GetSpiHcDevicePath
(
45
OUT
EFI_DEVICE_PATH_PROTOCOL
**DevicePath
46
)
47
{
48
return
EFI_UNSUPPORTED;
49
}
50
72
EFI_STATUS
73
EFIAPI
74
PlatformSpiHcChipSelect
(
75
IN
CONST
EFI_SPI_HC_PROTOCOL
*This,
76
IN
CONST
EFI_SPI_PERIPHERAL
*SpiPeripheral,
77
IN
BOOLEAN PinValue
78
)
79
{
80
return
EFI_UNSUPPORTED;
81
}
82
108
EFI_STATUS
109
EFIAPI
110
PlatformSpiHcClock
(
111
IN
CONST
EFI_SPI_HC_PROTOCOL
*This,
112
IN
CONST
EFI_SPI_PERIPHERAL
*SpiPeripheral,
113
IN
UINT32 *ClockHz
114
)
115
{
116
return
EFI_UNSUPPORTED;
117
}
118
137
EFI_STATUS
138
EFIAPI
139
PlatformSpiHcTransaction
(
140
IN
CONST
EFI_SPI_HC_PROTOCOL
*This,
141
IN
EFI_SPI_BUS_TRANSACTION
*BusTransaction
142
)
143
{
144
return
EFI_UNSUPPORTED;
145
}
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
DevicePath.h
CONST
#define CONST
Definition:
Base.h:259
IN
#define IN
Definition:
Base.h:279
OUT
#define OUT
Definition:
Base.h:284
SpiHc.h
PiDxe.h
SpiHcPlatformLib.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
Library
BaseSpiHcPlatformLibNull
BaseSpiHcPlatformLibNull.c
Generated on Fri Nov 15 2024 18:01:11 for TianoCore EDK2 by
1.9.6