Home
last modified time | relevance | path

Searched refs:bldev (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/drivers/video/fbdev/omap2/omapfb/displays/
Dpanel-dsi-cm.c48 struct backlight_device *bldev; member
1119 struct backlight_device *bldev = NULL; in dsicm_probe() local
1213 bldev = backlight_device_register(dev_name(dev), in dsicm_probe()
1215 if (IS_ERR(bldev)) { in dsicm_probe()
1216 r = PTR_ERR(bldev); in dsicm_probe()
1220 ddata->bldev = bldev; in dsicm_probe()
1222 bldev->props.fb_blank = FB_BLANK_UNBLANK; in dsicm_probe()
1223 bldev->props.power = FB_BLANK_UNBLANK; in dsicm_probe()
1224 bldev->props.brightness = 255; in dsicm_probe()
1226 dsicm_bl_update_status(bldev); in dsicm_probe()
[all …]
Dpanel-sony-acx565akm.c700 struct backlight_device *bldev; in acx565akm_probe() local
765 bldev = backlight_device_register("acx565akm", &ddata->spi->dev, in acx565akm_probe()
767 if (IS_ERR(bldev)) { in acx565akm_probe()
768 r = PTR_ERR(bldev); in acx565akm_probe()
771 ddata->bl_dev = bldev; in acx565akm_probe()
773 r = sysfs_create_group(&bldev->dev.kobj, &bldev_attr_group); in acx565akm_probe()
775 dev_err(&bldev->dev, in acx565akm_probe()
789 bldev->props.max_brightness = max_brightness; in acx565akm_probe()
790 bldev->props.brightness = brightness; in acx565akm_probe()
792 acx565akm_bl_update_status(bldev); in acx565akm_probe()
[all …]
/Linux-v6.6/drivers/gpu/drm/panel/
Dpanel-dsi-cm.c50 struct backlight_device *bldev; member
81 if (ddata->bldev) in dsicm_bl_power()
82 backlight = ddata->bldev; in dsicm_bl_power()
508 struct backlight_device *bldev = NULL; in dsicm_probe() local
541 bldev = devm_backlight_device_register(dev, dev_name(dev), in dsicm_probe()
543 if (IS_ERR(bldev)) { in dsicm_probe()
544 r = PTR_ERR(bldev); in dsicm_probe()
548 ddata->bldev = bldev; in dsicm_probe()
Dpanel-samsung-ld9040.c337 struct backlight_device *bldev; in ld9040_probe() local
379 bldev = devm_backlight_device_register(dev, dev_name(dev), dev, in ld9040_probe()
382 if (IS_ERR(bldev)) in ld9040_probe()
383 return PTR_ERR(bldev); in ld9040_probe()