Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
s3c64xx_spi_port_config Struct Reference

Data Fields

int fifo_lvl_mask [MAX_SPI_PORTS]
 
int rx_lvl_offset
 
int tx_st_done
 
bool high_speed
 
bool clk_from_cmu
 

Detailed Description

struct s3c64xx_spi_info - SPI Controller hardware info : Bit-mask for {TX|RX}_FIFO_LVL bits in SPI_STATUS register. : Bit offset of RX_FIFO_LVL bits in SPI_STATUS regiter. : Bit offset of TX_DONE bit in SPI_STATUS regiter. : True, if the controller supports HIGH_SPEED_EN bit. : True, if the controller does not include a clock mux and prescaler unit.

The Samsung s3c64xx SPI controller are used on various Samsung SoC's but differ in some aspects such as the size of the fifo and spi bus clock setup. Such differences are specified to the driver using this structure which is provided as driver data to the driver.

Definition at line 154 of file spi-s3c64xx.c.

Field Documentation

bool clk_from_cmu

Definition at line 159 of file spi-s3c64xx.c.

int fifo_lvl_mask[MAX_SPI_PORTS]

Definition at line 155 of file spi-s3c64xx.c.

bool high_speed

Definition at line 158 of file spi-s3c64xx.c.

int rx_lvl_offset

Definition at line 156 of file spi-s3c64xx.c.

int tx_st_done

Definition at line 157 of file spi-s3c64xx.c.


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