Lines Matching refs:backlight
29 #include <linux/backlight.h>
207 * and the backlight to be enabled. Content will be visible on screen after
225 ret = backlight_enable(panel->backlight);
227 DRM_DEV_INFO(panel->dev, "failed to enable backlight: %d\n",
238 * This will typically turn off the panel's backlight or disable the display
251 ret = backlight_disable(panel->backlight);
253 DRM_DEV_INFO(panel->dev, "failed to disable backlight: %d\n",
328 * drm_panel_of_backlight - use backlight device node for backlight
331 * Use this function to enable backlight handling if your panel
332 * uses device tree and has a backlight phandle.
334 * When the panel is enabled backlight will be enabled after a
337 * When the panel is disabled backlight will be disabled before the
341 * will call this function at probe time. Backlight will then be handled
349 struct backlight_device *backlight;
354 backlight = devm_of_find_backlight(panel->dev);
356 if (IS_ERR(backlight))
357 return PTR_ERR(backlight);
359 panel->backlight = backlight;