Home
last modified time | relevance | path

Searched full:wleds (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/video/backlight/
H A Dda9052_bl.c45 static int da9052_adjust_wled_brightness(struct da9052_bl *wleds) in da9052_adjust_wled_brightness() argument
53 if (wleds->state == DA9052_WLEDS_OFF) { in da9052_adjust_wled_brightness()
58 ret = da9052_reg_write(wleds->da9052, DA9052_BOOST_REG, boost_en); in da9052_adjust_wled_brightness()
62 ret = da9052_reg_write(wleds->da9052, DA9052_LED_CONT_REG, i_sink); in da9052_adjust_wled_brightness()
66 ret = da9052_reg_write(wleds->da9052, wled_bank[wleds->led_reg], 0x0); in da9052_adjust_wled_brightness()
72 if (wleds->brightness) { in da9052_adjust_wled_brightness()
73 ret = da9052_reg_write(wleds->da9052, wled_bank[wleds->led_reg], in da9052_adjust_wled_brightness()
74 wleds->brightness); in da9052_adjust_wled_brightness()
85 struct da9052_bl *wleds = bl_get_data(bl); in da9052_backlight_update_status() local
87 wleds->brightness = brightness; in da9052_backlight_update_status()
[all …]
/linux/Documentation/devicetree/bindings/leds/backlight/
H A Dmediatek,mt6370-backlight.yaml15 4 channels of 8 series WLEDs. Each channel supports up to 30mA of current
/linux/drivers/leds/
H A Dleds-mt6323.c110 * @max_wleds: Maximum number of WLEDs
685 /* There are no LEDs in MT6332. Only WLEDs are present. */