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

Go to the source code of this file.

Data Structures

struct  dac124s085_led
 
struct  dac124s085
 

Macros

#define REG_WRITE   (0 << 12)
 
#define REG_WRITE_UPDATE   (1 << 12)
 
#define ALL_WRITE_UPDATE   (2 << 12)
 
#define POWER_DOWN_OUTPUT   (3 << 12)
 

Functions

 module_spi_driver (dac124s085_driver)
 
 MODULE_AUTHOR ("Guennadi Liakhovetski <[email protected]>")
 
 MODULE_DESCRIPTION ("DAC124S085 LED driver")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_ALIAS ("spi:dac124s085")
 

Macro Definition Documentation

#define ALL_WRITE_UPDATE   (2 << 12)

Definition at line 38 of file leds-dac124s085.c.

#define POWER_DOWN_OUTPUT   (3 << 12)

Definition at line 39 of file leds-dac124s085.c.

#define REG_WRITE   (0 << 12)

Definition at line 36 of file leds-dac124s085.c.

#define REG_WRITE_UPDATE   (1 << 12)

Definition at line 37 of file leds-dac124s085.c.

Function Documentation

MODULE_ALIAS ( "spi:dac124s085"  )
MODULE_AUTHOR ( "Guennadi Liakhovetski <[email protected]>"  )
MODULE_DESCRIPTION ( "DAC124S085 LED driver )
MODULE_LICENSE ( "GPL v2 )
module_spi_driver ( dac124s085_driver  )