Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
spi-mxs.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/of_gpio.h>
#include <linux/platform_device.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/dma-mapping.h>
#include <linux/dmaengine.h>
#include <linux/highmem.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/completion.h>
#include <linux/gpio.h>
#include <linux/regulator/consumer.h>
#include <linux/module.h>
#include <linux/pinctrl/consumer.h>
#include <linux/stmp_device.h>
#include <linux/spi/spi.h>
#include <linux/spi/mxs-spi.h>

Go to the source code of this file.

Data Structures

struct  mxs_spi
 

Macros

#define DRIVER_NAME   "mxs-spi"
 
#define SSP_TIMEOUT   10000
 
#define SG_MAXLEN   0xff00
 

Functions

 MODULE_DEVICE_TABLE (of, mxs_spi_dt_ids)
 
 module_platform_driver (mxs_spi_driver)
 
 MODULE_AUTHOR ("Marek Vasut <[email protected]>")
 
 MODULE_DESCRIPTION ("MXS SPI master driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:mxs-spi")
 

Macro Definition Documentation

#define DRIVER_NAME   "mxs-spi"

Definition at line 54 of file spi-mxs.c.

#define SG_MAXLEN   0xff00

Definition at line 59 of file spi-mxs.c.

#define SSP_TIMEOUT   10000

Definition at line 57 of file spi-mxs.c.

Function Documentation

MODULE_ALIAS ( "platform:mxs-spi )
MODULE_AUTHOR ( "Marek Vasut <[email protected]>"  )
MODULE_DESCRIPTION ( "MXS SPI master driver )
MODULE_DEVICE_TABLE ( of  ,
mxs_spi_dt_ids   
)
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( mxs_spi_driver  )