Lines Matching defs:backlight
24 #include <linux/backlight.h>
198 * and the backlight to be enabled. Content will be visible on screen after
222 ret = backlight_enable(panel->backlight);
224 DRM_DEV_INFO(panel->dev, "failed to enable backlight: %d\n",
235 * This will typically turn off the panel's backlight or disable the display
253 ret = backlight_disable(panel->backlight);
255 DRM_DEV_INFO(panel->dev, "failed to disable backlight: %d\n",
517 * drm_panel_of_backlight - use backlight device node for backlight
520 * Use this function to enable backlight handling if your panel
521 * uses device tree and has a backlight phandle.
523 * When the panel is enabled backlight will be enabled after a
526 * When the panel is disabled backlight will be disabled before the
538 struct backlight_device *backlight;
543 backlight = devm_of_find_backlight(panel->dev);
545 if (IS_ERR(backlight))
546 return PTR_ERR(backlight);
548 panel->backlight = backlight;