Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/video/fbdev/omap2/omapfb/displays/
Dpanel-sony-acx565akm.c696 struct backlight_device *bldev; in acx565akm_probe() local
760 bldev = backlight_device_register("acx565akm", &ddata->spi->dev, in acx565akm_probe()
762 if (IS_ERR(bldev)) { in acx565akm_probe()
763 r = PTR_ERR(bldev); in acx565akm_probe()
766 ddata->bl_dev = bldev; in acx565akm_probe()
768 r = sysfs_create_group(&bldev->dev.kobj, &bldev_attr_group); in acx565akm_probe()
770 dev_err(&bldev->dev, in acx565akm_probe()
784 bldev->props.max_brightness = max_brightness; in acx565akm_probe()
785 bldev->props.brightness = brightness; in acx565akm_probe()
787 acx565akm_bl_update_status(bldev); in acx565akm_probe()
[all …]
Dpanel-dsi-cm.c48 struct backlight_device *bldev; member
1115 struct backlight_device *bldev = NULL; in dsicm_probe() local
1209 bldev = backlight_device_register(dev_name(dev), in dsicm_probe()
1211 if (IS_ERR(bldev)) { in dsicm_probe()
1212 r = PTR_ERR(bldev); in dsicm_probe()
1216 ddata->bldev = bldev; in dsicm_probe()
1218 bldev->props.power = FB_BLANK_UNBLANK; in dsicm_probe()
1219 bldev->props.brightness = 255; in dsicm_probe()
1221 dsicm_bl_update_status(bldev); in dsicm_probe()
1233 if (bldev != NULL) in dsicm_probe()
[all …]
/linux-6.12.1/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()