Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
spi-fsl-lib.h File Reference
#include <asm/io.h>

Go to the source code of this file.

Data Structures

struct  mpc8xxx_spi
 
struct  spi_mpc8xxx_cs
 
struct  mpc8xxx_spi_probe_info
 

Functions

u32 mpc8xxx_spi_tx_buf_u8 (struct mpc8xxx_spi *mpc8xxx_spi)
 
u32 mpc8xxx_spi_tx_buf_u16 (struct mpc8xxx_spi *mpc8xxx_spi)
 
u32 mpc8xxx_spi_tx_buf_u32 (struct mpc8xxx_spi *mpc8xxx_spi)
 
void mpc8xxx_spi_rx_buf_u8 (u32 data, struct mpc8xxx_spi *mpc8xxx_spi)
 
void mpc8xxx_spi_rx_buf_u16 (u32 data, struct mpc8xxx_spi *mpc8xxx_spi)
 
void mpc8xxx_spi_rx_buf_u32 (u32 data, struct mpc8xxx_spi *mpc8xxx_spi)
 
struct mpc8xxx_spi_probe_infoto_of_pinfo (struct fsl_spi_platform_data *pdata)
 
int mpc8xxx_spi_bufs (struct mpc8xxx_spi *mspi, struct spi_transfer *t, unsigned int len)
 
int mpc8xxx_spi_transfer (struct spi_device *spi, struct spi_message *m)
 
void mpc8xxx_spi_cleanup (struct spi_device *spi)
 
const charmpc8xxx_spi_strmode (unsigned int flags)
 
int mpc8xxx_spi_probe (struct device *dev, struct resource *mem, unsigned int irq)
 
int mpc8xxx_spi_remove (struct device *dev)
 
int of_mpc8xxx_spi_probe (struct platform_device *ofdev)
 

Function Documentation

int mpc8xxx_spi_bufs ( struct mpc8xxx_spi mspi,
struct spi_transfer t,
unsigned int  len 
)
void mpc8xxx_spi_cleanup ( struct spi_device spi)

Definition at line 100 of file spi-fsl-lib.c.

int mpc8xxx_spi_probe ( struct device dev,
struct resource mem,
unsigned int  irq 
)

Definition at line 120 of file spi-fsl-lib.c.

int mpc8xxx_spi_remove ( struct device dev)

Definition at line 172 of file spi-fsl-lib.c.

void mpc8xxx_spi_rx_buf_u16 ( u32  data,
struct mpc8xxx_spi mpc8xxx_spi 
)
void mpc8xxx_spi_rx_buf_u32 ( u32  data,
struct mpc8xxx_spi mpc8xxx_spi 
)
void mpc8xxx_spi_rx_buf_u8 ( u32  data,
struct mpc8xxx_spi mpc8xxx_spi 
)
const char* mpc8xxx_spi_strmode ( unsigned int  flags)

Definition at line 105 of file spi-fsl-lib.c.

int mpc8xxx_spi_transfer ( struct spi_device spi,
struct spi_message m 
)

Definition at line 83 of file spi-fsl-lib.c.

u32 mpc8xxx_spi_tx_buf_u16 ( struct mpc8xxx_spi mpc8xxx_spi)
u32 mpc8xxx_spi_tx_buf_u32 ( struct mpc8xxx_spi mpc8xxx_spi)
u32 mpc8xxx_spi_tx_buf_u8 ( struct mpc8xxx_spi mpc8xxx_spi)
int of_mpc8xxx_spi_probe ( struct platform_device ofdev)

Definition at line 192 of file spi-fsl-lib.c.

Definition at line 57 of file spi-fsl-lib.c.