Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
spi-ti-ssp.c File Reference
#include <linux/kernel.h>
#include <linux/err.h>
#include <linux/completion.h>
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/spi/spi.h>
#include <linux/mfd/ti_ssp.h>

Go to the source code of this file.

Data Structures

struct  ti_ssp_spi
 

Macros

#define MODE_BITS   (SPI_CPHA | SPI_CPOL | SPI_CS_HIGH)
 
#define __SHIFT_OUT(bits)
 
#define __SHIFT_IN(bits)
 

Functions

 module_platform_driver (ti_ssp_spi_driver)
 
 MODULE_DESCRIPTION ("SSP SPI Master")
 
 MODULE_AUTHOR ("Cyril Chemparathy")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:ti-ssp-spi")
 

Macro Definition Documentation

#define __SHIFT_IN (   bits)
Value:
cs_en | clk | SSP_COUNT((bits) * 2 - 1))

Definition at line 117 of file spi-ti-ssp.c.

#define __SHIFT_OUT (   bits)
Value:
cs_en | clk | SSP_COUNT((bits) * 2 - 1))

Definition at line 115 of file spi-ti-ssp.c.

#define MODE_BITS   (SPI_CPHA | SPI_CPOL | SPI_CS_HIGH)

Definition at line 30 of file spi-ti-ssp.c.

Function Documentation

MODULE_ALIAS ( "platform:ti-ssp-spi )
MODULE_AUTHOR ( "Cyril Chemparathy"  )
MODULE_DESCRIPTION ( "SSP SPI Master"  )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( ti_ssp_spi_driver  )