Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
spi-s3c64xx.h File Reference

Go to the source code of this file.

Data Structures

struct  s3c64xx_spi_csinfo
 
struct  s3c64xx_spi_info
 

Functions

void s3c64xx_spi0_set_platdata (int(*cfg_gpio)(void), int src_clk_nr, int num_cs)
 
void s3c64xx_spi1_set_platdata (int(*cfg_gpio)(void), int src_clk_nr, int num_cs)
 
void s3c64xx_spi2_set_platdata (int(*cfg_gpio)(void), int src_clk_nr, int num_cs)
 
int s3c64xx_spi0_cfg_gpio (void)
 
int s3c64xx_spi1_cfg_gpio (void)
 
int s3c64xx_spi2_cfg_gpio (void)
 

Variables

struct s3c64xx_spi_info s3c64xx_spi0_pdata
 
struct s3c64xx_spi_info s3c64xx_spi1_pdata
 
struct s3c64xx_spi_info s3c64xx_spi2_pdata
 

Function Documentation

int s3c64xx_spi0_cfg_gpio ( void  )
void s3c64xx_spi0_set_platdata ( int(*)(void cfg_gpio,
int  src_clk_nr,
int  num_cs 
)

s3c64xx_spi_set_platdata - SPI Controller configure callback by the board initialization code. : Pointer to gpio setup function. : Clock the SPI controller is to use to generate SPI clocks. : Number of elements in the 'cs' array.

Call this from machine init code for each SPI Controller that has some chips attached to it.

int s3c64xx_spi1_cfg_gpio ( void  )
void s3c64xx_spi1_set_platdata ( int(*)(void cfg_gpio,
int  src_clk_nr,
int  num_cs 
)
int s3c64xx_spi2_cfg_gpio ( void  )
void s3c64xx_spi2_set_platdata ( int(*)(void cfg_gpio,
int  src_clk_nr,
int  num_cs 
)

Variable Documentation

struct s3c64xx_spi_info s3c64xx_spi0_pdata
struct s3c64xx_spi_info s3c64xx_spi1_pdata
struct s3c64xx_spi_info s3c64xx_spi2_pdata