coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
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_channel * | tegra_spi_init (unsigned int bus) |
Variables | |
struct tegra_spi_regs | __packed |
enum spi_xfer_mode |
check_member | ( | tegra_spi_regs | , |
spare_ctl | , | ||
0x18c | |||
) |
struct tegra_spi_channel* tegra_spi_init | ( | unsigned int | bus | ) |
Definition at line 156 of file spi.c.
References ARRAY_SIZE, spi_slave::bus, clrbits32, tegra_spi_regs::command1, NULL, tegra_spi_channel::regs, setbits32, slave, SPI_CMD1_BIT_LEN_MASK, SPI_CMD1_BIT_LEN_SHIFT, SPI_CMD1_CS_SW_HW, SPI_CMD1_CS_SW_VAL, SPI_CMD1_PACKED, and tegra_spi_channels.
Referenced by bootblock_mainboard_init(), and setup_ec_spi().
struct tegra_spi_regs __packed |