Lines Matching refs:bldev
48 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()
1234 backlight_device_unregister(bldev); in dsicm_probe()
1243 struct backlight_device *bldev; in dsicm_remove() local
1254 bldev = ddata->bldev; in dsicm_remove()
1255 if (bldev != NULL) { in dsicm_remove()
1256 bldev->props.power = FB_BLANK_POWERDOWN; in dsicm_remove()
1257 dsicm_bl_update_status(bldev); in dsicm_remove()
1258 backlight_device_unregister(bldev); in dsicm_remove()