|
Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
| struct | wm8350_led_platform_data |
| struct | wm8350_led |
| struct | wm8350_pmic |
Functions | |
| int | wm8350_register_regulator (struct wm8350 *wm8350, int reg, struct regulator_init_data *initdata) |
| int | wm8350_register_led (struct wm8350 *wm8350, int lednum, int dcdc, int isink, struct wm8350_led_platform_data *pdata) |
| int | wm8350_dcdc_set_slot (struct wm8350 *wm8350, int dcdc, u16 start, u16 stop, u16 fault) |
| int | wm8350_dcdc25_set_mode (struct wm8350 *wm8350, int dcdc, u16 mode, u16 ilim, u16 ramp, u16 feedback) |
| int | wm8350_ldo_set_slot (struct wm8350 *wm8350, int ldo, u16 start, u16 stop) |
| int | wm8350_isink_set_flash (struct wm8350 *wm8350, int isink, u16 mode, u16 trigger, u16 duration, u16 on_ramp, u16 off_ramp, u16 drive) |
| int wm8350_dcdc25_set_mode | ( | struct wm8350 * | wm8350, |
| int | dcdc, | ||
| u16 | mode, | ||
| u16 | ilim, | ||
| u16 | ramp, | ||
| u16 | feedback | ||
| ) |
Definition at line 757 of file wm8350-regulator.c.
Definition at line 674 of file wm8350-regulator.c.
| int wm8350_isink_set_flash | ( | struct wm8350 * | wm8350, |
| int | isink, | ||
| u16 | mode, | ||
| u16 | trigger, | ||
| u16 | duration, | ||
| u16 | on_ramp, | ||
| u16 | off_ramp, | ||
| u16 | drive | ||
| ) |
Definition at line 311 of file wm8350-regulator.c.
Definition at line 722 of file wm8350-regulator.c.
| int wm8350_register_led | ( | struct wm8350 * | wm8350, |
| int | lednum, | ||
| int | dcdc, | ||
| int | isink, | ||
| struct wm8350_led_platform_data * | pdata | ||
| ) |
wm8350_register_led - Register a WM8350 LED output
| wm8350 | The WM8350 device to configure. |
| lednum | LED device index to create. |
| dcdc | The DCDC to use for the LED. |
| isink | The ISINK to use for the LED. |
| pdata | Configuration for the LED. |
The WM8350 supports the use of an ISINK together with a DCDC to provide a power-efficient LED driver. This function registers the regulators and instantiates the platform device for a LED. The operating modes for the LED regulators must be configured using wm8350_isink_set_flash(), wm8350_dcdc25_set_mode() and wm8350_dcdc_set_slot() prior to calling this function.
Definition at line 1321 of file wm8350-regulator.c.
| int wm8350_register_regulator | ( | struct wm8350 * | wm8350, |
| int | reg, | ||
| struct regulator_init_data * | initdata | ||
| ) |
Definition at line 1262 of file wm8350-regulator.c.
1.8.2