Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | lm3533 |
struct | lm3533_ctrlbank |
struct | lm3533_als_platform_data |
struct | lm3533_bl_platform_data |
struct | lm3533_led_platform_data |
struct | lm3533_platform_data |
Macros | |
#define | LM3533_ATTR_RO(_name) DEVICE_ATTR(_name, S_IRUGO, show_##_name, NULL) |
#define | LM3533_ATTR_RW(_name) DEVICE_ATTR(_name, S_IRUGO | S_IWUSR , show_##_name, store_##_name) |
Enumerations | |
enum | lm3533_boost_freq { LM3533_BOOST_FREQ_500KHZ, LM3533_BOOST_FREQ_1000KHZ } |
enum | lm3533_boost_ovp { LM3533_BOOST_OVP_16V, LM3533_BOOST_OVP_24V, LM3533_BOOST_OVP_32V, LM3533_BOOST_OVP_40V } |
Functions | |
int | lm3533_ctrlbank_enable (struct lm3533_ctrlbank *cb) |
int | lm3533_ctrlbank_disable (struct lm3533_ctrlbank *cb) |
int | lm3533_ctrlbank_set_brightness (struct lm3533_ctrlbank *cb, u8 val) |
int | lm3533_ctrlbank_get_brightness (struct lm3533_ctrlbank *cb, u8 *val) |
int | lm3533_ctrlbank_set_max_current (struct lm3533_ctrlbank *cb, u16 imax) |
int | lm3533_ctrlbank_set_pwm (struct lm3533_ctrlbank *cb, u8 val) |
int | lm3533_ctrlbank_get_pwm (struct lm3533_ctrlbank *cb, u8 *val) |
int | lm3533_read (struct lm3533 *lm3533, u8 reg, u8 *val) |
int | lm3533_write (struct lm3533 *lm3533, u8 reg, u8 val) |
int | lm3533_update (struct lm3533 *lm3533, u8 reg, u8 val, u8 mask) |
#define LM3533_ATTR_RO | ( | _name | ) | DEVICE_ATTR(_name, S_IRUGO, show_##_name, NULL) |
#define LM3533_ATTR_RW | ( | _name | ) | DEVICE_ATTR(_name, S_IRUGO | S_IWUSR , show_##_name, store_##_name) |
enum lm3533_boost_freq |
enum lm3533_boost_ovp |
int lm3533_ctrlbank_disable | ( | struct lm3533_ctrlbank * | cb | ) |
Definition at line 55 of file lm3533-ctrlbank.c.
int lm3533_ctrlbank_enable | ( | struct lm3533_ctrlbank * | cb | ) |
Definition at line 38 of file lm3533-ctrlbank.c.
int lm3533_ctrlbank_get_brightness | ( | struct lm3533_ctrlbank * | cb, |
u8 * | val | ||
) |
int lm3533_ctrlbank_get_pwm | ( | struct lm3533_ctrlbank * | cb, |
u8 * | val | ||
) |
int lm3533_ctrlbank_set_brightness | ( | struct lm3533_ctrlbank * | cb, |
u8 | val | ||
) |
int lm3533_ctrlbank_set_max_current | ( | struct lm3533_ctrlbank * | cb, |
u16 | imax | ||
) |
Definition at line 76 of file lm3533-ctrlbank.c.
int lm3533_ctrlbank_set_pwm | ( | struct lm3533_ctrlbank * | cb, |
u8 | val | ||
) |
Definition at line 87 of file lm3533-core.c.
Definition at line 123 of file lm3533-core.c.