Lines Matching full: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); in drm_panel_enable()
166 DRM_DEV_INFO(panel->dev, "failed to enable backlight: %d\n", in drm_panel_enable()
177 * This will typically turn off the panel's backlight or disable the display
190 ret = backlight_disable(panel->backlight); in drm_panel_disable()
192 DRM_DEV_INFO(panel->dev, "failed to disable backlight: %d\n", in drm_panel_disable()
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
323 * will call this function at probe time. Backlight will then be handled
331 struct backlight_device *backlight; in drm_panel_of_backlight() local
336 backlight = devm_of_find_backlight(panel->dev); in drm_panel_of_backlight()
338 if (IS_ERR(backlight)) in drm_panel_of_backlight()
339 return PTR_ERR(backlight); in drm_panel_of_backlight()
341 panel->backlight = backlight; in drm_panel_of_backlight()