Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
leds-lp3944.h File Reference

Go to the source code of this file.

Data Structures

struct  lp3944_led
 
struct  lp3944_platform_data
 

Macros

#define LP3944_LED0   0
 
#define LP3944_LED1   1
 
#define LP3944_LED2   2
 
#define LP3944_LED3   3
 
#define LP3944_LED4   4
 
#define LP3944_LED5   5
 
#define LP3944_LED6   6
 
#define LP3944_LED7   7
 
#define LP3944_LEDS_MAX   8
 
#define LP3944_LED_STATUS_MASK   0x03
 

Enumerations

enum  lp3944_status { LP3944_LED_STATUS_OFF = 0x0, LP3944_LED_STATUS_ON = 0x1, LP3944_LED_STATUS_DIM0 = 0x2, LP3944_LED_STATUS_DIM1 = 0x3 }
 
enum  lp3944_type { LP3944_LED_TYPE_NONE, LP3944_LED_TYPE_LED, LP3944_LED_TYPE_LED_INVERTED }
 

Macro Definition Documentation

#define LP3944_LED0   0

Definition at line 15 of file leds-lp3944.h.

#define LP3944_LED1   1

Definition at line 16 of file leds-lp3944.h.

#define LP3944_LED2   2

Definition at line 17 of file leds-lp3944.h.

#define LP3944_LED3   3

Definition at line 18 of file leds-lp3944.h.

#define LP3944_LED4   4

Definition at line 19 of file leds-lp3944.h.

#define LP3944_LED5   5

Definition at line 20 of file leds-lp3944.h.

#define LP3944_LED6   6

Definition at line 21 of file leds-lp3944.h.

#define LP3944_LED7   7

Definition at line 22 of file leds-lp3944.h.

#define LP3944_LED_STATUS_MASK   0x03

Definition at line 25 of file leds-lp3944.h.

#define LP3944_LEDS_MAX   8

Definition at line 23 of file leds-lp3944.h.

Enumeration Type Documentation

Enumerator:
LP3944_LED_STATUS_OFF 
LP3944_LED_STATUS_ON 
LP3944_LED_STATUS_DIM0 
LP3944_LED_STATUS_DIM1 

Definition at line 26 of file leds-lp3944.h.

Enumerator:
LP3944_LED_TYPE_NONE 
LP3944_LED_TYPE_LED 
LP3944_LED_TYPE_LED_INVERTED 

Definition at line 33 of file leds-lp3944.h.