13#ifndef __SPI_IO_PROTOCOL_H__
14#define __SPI_IO_PROTOCOL_H__
132 IN BOOLEAN DebugTransaction,
136 IN UINT32 WriteBytes,
137 IN UINT8 *WriteBuffer,
139 OUT UINT8 *ReadBuffer
230#define SPI_IO_SUPPORTS_2_BIT_DATA_BUS_WIDTH BIT0
231#define SPI_IO_SUPPORTS_4_BIT_DATA_BUS_WIDTH BIT1
232#define SPI_IO_SUPPORTS_8_BIT_DATA_BUS_WIDTH BIT2
233#define SPI_IO_TRANSFER_SIZE_INCLUDES_OPCODE BIT3
234#define SPI_IO_TRANSFER_SIZE_INCLUDES_ADDRESS BIT4
EFI_STATUS(EFIAPI * EFI_SPI_IO_PROTOCOL_TRANSACTION)(IN CONST EFI_SPI_IO_PROTOCOL *This, IN EFI_SPI_TRANSACTION_TYPE TransactionType, IN BOOLEAN DebugTransaction, IN UINT32 ClockHz OPTIONAL, IN UINT32 BusWidth, IN UINT32 FrameSize, IN UINT32 WriteBytes, IN UINT8 *WriteBuffer, IN UINT32 ReadBytes, OUT UINT8 *ReadBuffer)
struct _EFI_SPI_BUS_TRANSACTION EFI_SPI_BUS_TRANSACTION
EFI_STATUS(EFIAPI * EFI_SPI_IO_PROTOCOL_UPDATE_SPI_PERIPHERAL)(IN CONST EFI_SPI_IO_PROTOCOL *This, IN CONST EFI_SPI_PERIPHERAL *SpiPeripheral)
@ SPI_TRANSACTION_FULL_DUPLEX
@ SPI_TRANSACTION_READ_ONLY
@ SPI_TRANSACTION_WRITE_ONLY
@ SPI_TRANSACTION_WRITE_THEN_READ
CONST EFI_SPI_PERIPHERAL * SpiPeripheral
EFI_SPI_TRANSACTION_TYPE TransactionType
CONST EFI_SPI_PERIPHERAL * SpiPeripheral
UINT32 MaximumTransferBytes
CONST EFI_LEGACY_SPI_CONTROLLER_PROTOCOL * LegacySpiProtocol
EFI_SPI_IO_PROTOCOL_TRANSACTION Transaction
EFI_SPI_IO_PROTOCOL_UPDATE_SPI_PERIPHERAL UpdateSpiPeripheral
UINT32 FrameSizeSupportMask
CONST EFI_SPI_PERIPHERAL * OriginalSpiPeripheral