Lines Matching refs:backlight
29 struct backlight_device *backlight; member
48 struct backlight_device *backlight = panel_encoder->mod->backlight; in panel_encoder_dpms() local
51 if (backlight) { in panel_encoder_dpms()
52 backlight->props.power = mode == DRM_MODE_DPMS_ON ? in panel_encoder_dpms()
54 backlight_update_status(backlight); in panel_encoder_dpms()
308 struct backlight_device *backlight; in panel_probe() local
324 backlight = devm_of_find_backlight(&pdev->dev); in panel_probe()
325 if (IS_ERR(backlight)) in panel_probe()
326 return PTR_ERR(backlight); in panel_probe()
327 panel_mod->backlight = backlight; in panel_probe()
372 if (panel_mod->backlight) in panel_probe()
373 put_device(&panel_mod->backlight->dev); in panel_probe()
381 struct backlight_device *backlight = panel_mod->backlight; in panel_remove() local
383 if (backlight) in panel_remove()
384 put_device(&backlight->dev); in panel_remove()