Lines Matching refs:bl
73 struct backlight_device *bl; member
114 static int mp3309c_bl_update_status(struct backlight_device *bl) in mp3309c_bl_update_status() argument
116 struct mp3309c_chip *chip = bl_get_data(bl); in mp3309c_bl_update_status()
117 int brightness = backlight_get_brightness(bl); in mp3309c_bl_update_status()
362 chip->bl = devm_backlight_device_register(dev, "mp3309c", dev, chip, in mp3309c_probe()
364 if (IS_ERR(chip->bl)) in mp3309c_probe()
365 return dev_err_probe(dev, PTR_ERR(chip->bl), in mp3309c_probe()
381 backlight_update_status(chip->bl); in mp3309c_probe()
389 struct backlight_device *bl = chip->bl; in mp3309c_remove() local
391 bl->props.power = BACKLIGHT_POWER_OFF; in mp3309c_remove()
392 bl->props.brightness = 0; in mp3309c_remove()
393 backlight_update_status(chip->bl); in mp3309c_remove()