Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
spi-mpc52xx-psc.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/interrupt.h>
#include <linux/of_address.h>
#include <linux/of_platform.h>
#include <linux/workqueue.h>
#include <linux/completion.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/spi/spi.h>
#include <linux/fsl_devices.h>
#include <linux/slab.h>
#include <asm/mpc52xx.h>
#include <asm/mpc52xx_psc.h>

Go to the source code of this file.

Data Structures

struct  mpc52xx_psc_spi
 
struct  mpc52xx_psc_spi_cs
 

Macros

#define MCLK   20000000 /* PSC port MClk in hz */
 
#define MPC52xx_PSC_BUFSIZE   (MPC52xx_PSC_RFNUM_MASK + 1)
 
#define MPC52xx_PSC_RFALARM   (MPC52xx_PSC_BUFSIZE * 20 / 100)
 

Functions

 MODULE_DEVICE_TABLE (of, mpc52xx_psc_spi_of_match)
 
 module_platform_driver (mpc52xx_psc_spi_of_driver)
 
 MODULE_AUTHOR ("Dragos Carp")
 
 MODULE_DESCRIPTION ("MPC52xx PSC SPI Driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define MCLK   20000000 /* PSC port MClk in hz */

Definition at line 32 of file spi-mpc52xx-psc.c.

#define MPC52xx_PSC_BUFSIZE   (MPC52xx_PSC_RFNUM_MASK + 1)

Definition at line 128 of file spi-mpc52xx-psc.c.

#define MPC52xx_PSC_RFALARM   (MPC52xx_PSC_BUFSIZE * 20 / 100)

Definition at line 130 of file spi-mpc52xx-psc.c.

Function Documentation

MODULE_AUTHOR ( "Dragos Carp"  )
MODULE_DESCRIPTION ( "MPC52xx PSC SPI Driver"  )
MODULE_DEVICE_TABLE ( of  ,
mpc52xx_psc_spi_of_match   
)
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( mpc52xx_psc_spi_of_driver  )