Lines Matching refs:backlight
24 #include <linux/backlight.h>
146 * and the backlight to be enabled. Content will be visible on screen after
164 ret = backlight_enable(panel->backlight);
166 DRM_DEV_INFO(panel->dev, "failed to enable backlight: %d\n",
177 * This will typically turn off the panel's backlight or disable the display
190 ret = backlight_disable(panel->backlight);
192 DRM_DEV_INFO(panel->dev, "failed to disable backlight: %d\n",
310 * drm_panel_of_backlight - use backlight device node for backlight
313 * Use this function to enable backlight handling if your panel
314 * uses device tree and has a backlight phandle.
316 * When the panel is enabled backlight will be enabled after a
319 * When the panel is disabled backlight will be disabled before the
331 struct backlight_device *backlight;
336 backlight = devm_of_find_backlight(panel->dev);
338 if (IS_ERR(backlight))
339 return PTR_ERR(backlight);
341 panel->backlight = backlight;