wleds 45 drivers/video/backlight/da9052_bl.c static int da9052_adjust_wled_brightness(struct da9052_bl *wleds) wleds 53 drivers/video/backlight/da9052_bl.c if (wleds->state == DA9052_WLEDS_OFF) { wleds 58 drivers/video/backlight/da9052_bl.c ret = da9052_reg_write(wleds->da9052, DA9052_BOOST_REG, boost_en); wleds 62 drivers/video/backlight/da9052_bl.c ret = da9052_reg_write(wleds->da9052, DA9052_LED_CONT_REG, i_sink); wleds 66 drivers/video/backlight/da9052_bl.c ret = da9052_reg_write(wleds->da9052, wled_bank[wleds->led_reg], 0x0); wleds 72 drivers/video/backlight/da9052_bl.c if (wleds->brightness) { wleds 73 drivers/video/backlight/da9052_bl.c ret = da9052_reg_write(wleds->da9052, wled_bank[wleds->led_reg], wleds 74 drivers/video/backlight/da9052_bl.c wleds->brightness); wleds 85 drivers/video/backlight/da9052_bl.c struct da9052_bl *wleds = bl_get_data(bl); wleds 87 drivers/video/backlight/da9052_bl.c wleds->brightness = brightness; wleds 88 drivers/video/backlight/da9052_bl.c wleds->state = DA9052_WLEDS_ON; wleds 90 drivers/video/backlight/da9052_bl.c return da9052_adjust_wled_brightness(wleds); wleds 95 drivers/video/backlight/da9052_bl.c struct da9052_bl *wleds = bl_get_data(bl); wleds 97 drivers/video/backlight/da9052_bl.c return wleds->brightness; wleds 109 drivers/video/backlight/da9052_bl.c struct da9052_bl *wleds; wleds 111 drivers/video/backlight/da9052_bl.c wleds = devm_kzalloc(&pdev->dev, sizeof(struct da9052_bl), GFP_KERNEL); wleds 112 drivers/video/backlight/da9052_bl.c if (!wleds) wleds 115 drivers/video/backlight/da9052_bl.c wleds->da9052 = dev_get_drvdata(pdev->dev.parent); wleds 116 drivers/video/backlight/da9052_bl.c wleds->brightness = 0; wleds 117 drivers/video/backlight/da9052_bl.c wleds->led_reg = platform_get_device_id(pdev)->driver_data; wleds 118 drivers/video/backlight/da9052_bl.c wleds->state = DA9052_WLEDS_OFF; wleds 124 drivers/video/backlight/da9052_bl.c wleds->da9052->dev, wleds, wleds 135 drivers/video/backlight/da9052_bl.c return da9052_adjust_wled_brightness(wleds); wleds 141 drivers/video/backlight/da9052_bl.c struct da9052_bl *wleds = bl_get_data(bl); wleds 143 drivers/video/backlight/da9052_bl.c wleds->brightness = 0; wleds 144 drivers/video/backlight/da9052_bl.c wleds->state = DA9052_WLEDS_OFF; wleds 145 drivers/video/backlight/da9052_bl.c da9052_adjust_wled_brightness(wleds);