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

Go to the source code of this file.

Data Structures

struct  lp5521_led_config
 
struct  lp5521_led_pattern
 
struct  lp5521_platform_data
 

Macros

#define LP5521_CLOCK_AUTO   0
 
#define LP5521_CLOCK_INT   1
 
#define LP5521_CLOCK_EXT   2
 
#define LP5521_PWM_HF   0x40 /* PWM: 0 = 256Hz, 1 = 558Hz */
 
#define LP5521_PWRSAVE_EN   0x20 /* 1 = Power save mode */
 
#define LP5521_CP_MODE_OFF   0 /* Charge pump (CP) off */
 
#define LP5521_CP_MODE_BYPASS   8 /* CP forced to bypass mode */
 
#define LP5521_CP_MODE_1X5   0x10 /* CP forced to 1.5x mode */
 
#define LP5521_CP_MODE_AUTO   0x18 /* Automatic mode selection */
 
#define LP5521_R_TO_BATT   4 /* R out: 0 = CP, 1 = Vbat */
 
#define LP5521_CLK_SRC_EXT   0 /* Ext-clk source (CLK_32K) */
 
#define LP5521_CLK_INT   1 /* Internal clock */
 
#define LP5521_CLK_AUTO   2 /* Automatic clock selection */
 

Macro Definition Documentation

#define LP5521_CLK_AUTO   2 /* Automatic clock selection */

Definition at line 58 of file leds-lp5521.h.

#define LP5521_CLK_INT   1 /* Internal clock */

Definition at line 57 of file leds-lp5521.h.

#define LP5521_CLK_SRC_EXT   0 /* Ext-clk source (CLK_32K) */

Definition at line 56 of file leds-lp5521.h.

#define LP5521_CLOCK_AUTO   0

Definition at line 44 of file leds-lp5521.h.

#define LP5521_CLOCK_EXT   2

Definition at line 46 of file leds-lp5521.h.

#define LP5521_CLOCK_INT   1

Definition at line 45 of file leds-lp5521.h.

#define LP5521_CP_MODE_1X5   0x10 /* CP forced to 1.5x mode */

Definition at line 53 of file leds-lp5521.h.

#define LP5521_CP_MODE_AUTO   0x18 /* Automatic mode selection */

Definition at line 54 of file leds-lp5521.h.

#define LP5521_CP_MODE_BYPASS   8 /* CP forced to bypass mode */

Definition at line 52 of file leds-lp5521.h.

#define LP5521_CP_MODE_OFF   0 /* Charge pump (CP) off */

Definition at line 51 of file leds-lp5521.h.

#define LP5521_PWM_HF   0x40 /* PWM: 0 = 256Hz, 1 = 558Hz */

Definition at line 49 of file leds-lp5521.h.

#define LP5521_PWRSAVE_EN   0x20 /* 1 = Power save mode */

Definition at line 50 of file leds-lp5521.h.

#define LP5521_R_TO_BATT   4 /* R out: 0 = CP, 1 = Vbat */

Definition at line 55 of file leds-lp5521.h.