coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
tegra_spi_channel Struct Reference

#include <spi.h>

Collaboration diagram for tegra_spi_channel:
Collaboration graph

Data Fields

struct tegra_spi_regsregs
 
struct spi_slave slave
 
unsigned int req_sel
 
int dual_mode
 
u8in_buf
 
u8out_buf
 
struct apb_dma_channeldma_out
 
struct apb_dma_channeldma_in
 
enum spi_xfer_mode xfer_mode
 

Detailed Description

Definition at line 35 of file spi.h.

Field Documentation

◆ dma_in

struct apb_dma_channel * tegra_spi_channel::dma_in

Definition at line 46 of file spi.h.

Referenced by tegra_spi_dma_finish(), tegra_spi_dma_prepare(), and tegra_spi_dma_start().

◆ dma_out

struct apb_dma_channel * tegra_spi_channel::dma_out

Definition at line 46 of file spi.h.

Referenced by tegra_spi_dma_finish(), tegra_spi_dma_prepare(), and tegra_spi_dma_start().

◆ dual_mode

int tegra_spi_channel::dual_mode

Definition at line 42 of file spi.h.

◆ in_buf

u8 * tegra_spi_channel::in_buf

Definition at line 45 of file spi.h.

Referenced by tegra_spi_dma_prepare(), tegra_spi_pio_finish(), and xfer_setup().

◆ out_buf

u8 * tegra_spi_channel::out_buf

Definition at line 45 of file spi.h.

Referenced by tegra_spi_dma_prepare(), tegra_spi_pio_prepare(), and xfer_setup().

◆ regs

◆ req_sel

unsigned int tegra_spi_channel::req_sel

Definition at line 40 of file spi.h.

Referenced by setup_dma_params().

◆ slave

struct spi_slave tegra_spi_channel::slave

Definition at line 36 of file spi.h.

Referenced by spi_delay().

◆ xfer_mode

enum spi_xfer_mode tegra_spi_channel::xfer_mode

Definition at line 46 of file spi.h.

Referenced by xfer_finish(), xfer_setup(), and xfer_start().


The documentation for this struct was generated from the following file: