Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
spi-tle62x0.c File Reference
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/spi/spi.h>
#include <linux/spi/tle62x0.h>

Go to the source code of this file.

Data Structures

struct  tle62x0_state
 

Macros

#define CMD_READ   0x00
 
#define CMD_SET   0xff
 
#define DIAG_NORMAL   0x03
 
#define DIAG_OVERLOAD   0x02
 
#define DIAG_OPEN   0x01
 
#define DIAG_SHORTGND   0x00
 

Functions

 module_spi_driver (tle62x0_driver)
 
 MODULE_AUTHOR ("Ben Dooks <[email protected]>")
 
 MODULE_DESCRIPTION ("TLE62x0 SPI driver")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_ALIAS ("spi:tle62x0")
 

Macro Definition Documentation

#define CMD_READ   0x00

Definition at line 21 of file spi-tle62x0.c.

#define CMD_SET   0xff

Definition at line 22 of file spi-tle62x0.c.

#define DIAG_NORMAL   0x03

Definition at line 24 of file spi-tle62x0.c.

#define DIAG_OPEN   0x01

Definition at line 26 of file spi-tle62x0.c.

#define DIAG_OVERLOAD   0x02

Definition at line 25 of file spi-tle62x0.c.

#define DIAG_SHORTGND   0x00

Definition at line 27 of file spi-tle62x0.c.

Function Documentation

MODULE_ALIAS ( "spi:tle62x0"  )
MODULE_AUTHOR ( "Ben Dooks <[email protected]>"  )
MODULE_DESCRIPTION ( "TLE62x0 SPI driver )
MODULE_LICENSE ( "GPL v2 )
module_spi_driver ( tle62x0_driver  )