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",
512 * drm_panel_of_backlight - use backlight device node for backlight
515 * Use this function to enable backlight handling if your panel
516 * uses device tree and has a backlight phandle.
518 * When the panel is enabled backlight will be enabled after a
521 * When the panel is disabled backlight will be disabled before the
533 struct backlight_device *backlight;
538 backlight = devm_of_find_backlight(panel->dev);
540 if (IS_ERR(backlight))
541 return PTR_ERR(backlight);
543 panel->backlight = backlight;