coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
spi.h File Reference
#include <spi-generic.h>
#include <soc/dma.h>
#include <stddef.h>
Include dependency graph for spi.h:

Go to the source code of this file.

Data Structures

struct  tegra_spi_regs
 
struct  tegra_spi_channel
 

Enumerations

enum  spi_xfer_mode {
  XFER_MODE_NONE = 0 , XFER_MODE_PIO , XFER_MODE_DMA , XFER_MODE_NONE = 0 ,
  XFER_MODE_PIO , XFER_MODE_DMA
}
 

Functions

 check_member (tegra_spi_regs, spare_ctl, 0x18c)
 
struct tegra_spi_channeltegra_spi_init (unsigned int bus)
 

Variables

struct tegra_spi_regs __packed
 

Enumeration Type Documentation

◆ spi_xfer_mode

Enumerator
XFER_MODE_NONE 
XFER_MODE_PIO 
XFER_MODE_DMA 
XFER_MODE_NONE 
XFER_MODE_PIO 
XFER_MODE_DMA 

Definition at line 29 of file spi.h.

Function Documentation

◆ check_member()

check_member ( tegra_spi_regs  ,
spare_ctl  ,
0x18c   
)

◆ tegra_spi_init()

Variable Documentation

◆ __packed