TianoCore EDK2 master
Loading...
Searching...
No Matches
SpiHc.c
Go to the documentation of this file.
1
10#include "SpiHc.h"
11
37EFIAPI
40 IN CONST EFI_SPI_PERIPHERAL *SpiPeripheral,
41 IN BOOLEAN PinValue
42 )
43{
44 return PlatformSpiHcChipSelect (This, SpiPeripheral, PinValue);
45}
46
74EFIAPI
77 IN CONST EFI_SPI_PERIPHERAL *SpiPeripheral,
78 IN UINT32 *ClockHz
79 )
80{
81 return PlatformSpiHcClock (This, SpiPeripheral, ClockHz);
82}
83
108EFIAPI
111 IN EFI_SPI_BUS_TRANSACTION *BusTransaction
112 )
113{
114 return PlatformSpiHcTransaction (This, BusTransaction);
115}
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
EFI_STATUS EFIAPI Clock(IN CONST EFI_SPI_HC_PROTOCOL *This, IN CONST EFI_SPI_PERIPHERAL *SpiPeripheral, IN UINT32 *ClockHz)
Definition: SpiHc.c:75
EFI_STATUS EFIAPI ChipSelect(IN CONST EFI_SPI_HC_PROTOCOL *This, IN CONST EFI_SPI_PERIPHERAL *SpiPeripheral, IN BOOLEAN PinValue)
Definition: SpiHc.c:38
EFI_STATUS EFIAPI Transaction(IN CONST EFI_SPI_HC_PROTOCOL *This, IN EFI_SPI_BUS_TRANSACTION *BusTransaction)
Definition: SpiHc.c:109
EFI_STATUS EFIAPI PlatformSpiHcChipSelect(IN CONST EFI_SPI_HC_PROTOCOL *This, IN CONST EFI_SPI_PERIPHERAL *SpiPeripheral, IN BOOLEAN PinValue)
EFI_STATUS EFIAPI PlatformSpiHcTransaction(IN CONST EFI_SPI_HC_PROTOCOL *This, IN EFI_SPI_BUS_TRANSACTION *BusTransaction)
EFI_STATUS EFIAPI PlatformSpiHcClock(IN CONST EFI_SPI_HC_PROTOCOL *This, IN CONST EFI_SPI_PERIPHERAL *SpiPeripheral, IN UINT32 *ClockHz)
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29