Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
lp855x_bl.c File Reference
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/backlight.h>
#include <linux/err.h>
#include <linux/platform_data/lp855x.h>

Go to the source code of this file.

Data Structures

struct  lp855x
 

Macros

#define BRIGHTNESS_CTRL   0x00
 
#define DEVICE_CTRL   0x01
 
#define EEPROM_START   0xA0
 
#define EEPROM_END   0xA7
 
#define EPROM_START   0xA0
 
#define EPROM_END   0xAF
 
#define BUF_SIZE   20
 
#define DEFAULT_BL_NAME   "lcd-backlight"
 
#define MAX_BRIGHTNESS   255
 

Functions

 MODULE_DEVICE_TABLE (i2c, lp855x_ids)
 
 module_i2c_driver (lp855x_driver)
 
 MODULE_DESCRIPTION ("Texas Instruments LP855x Backlight driver")
 
 MODULE_AUTHOR ("Milo Kim <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define BRIGHTNESS_CTRL   0x00

Definition at line 20 of file lp855x_bl.c.

#define BUF_SIZE   20

Definition at line 27 of file lp855x_bl.c.

#define DEFAULT_BL_NAME   "lcd-backlight"

Definition at line 28 of file lp855x_bl.c.

#define DEVICE_CTRL   0x01

Definition at line 21 of file lp855x_bl.c.

#define EEPROM_END   0xA7

Definition at line 23 of file lp855x_bl.c.

#define EEPROM_START   0xA0

Definition at line 22 of file lp855x_bl.c.

#define EPROM_END   0xAF

Definition at line 25 of file lp855x_bl.c.

#define EPROM_START   0xA0

Definition at line 24 of file lp855x_bl.c.

#define MAX_BRIGHTNESS   255

Definition at line 29 of file lp855x_bl.c.

Function Documentation

MODULE_AUTHOR ( "Milo Kim <[email protected]>"  )
MODULE_DESCRIPTION ( "Texas Instruments LP855x Backlight driver )
MODULE_DEVICE_TABLE ( i2c  ,
lp855x_ids   
)
module_i2c_driver ( lp855x_driver  )
MODULE_LICENSE ( "GPL"  )