Lines Matching refs:bl
72 struct backlight_device *bl; member
113 static int mp3309c_bl_update_status(struct backlight_device *bl) in mp3309c_bl_update_status() argument
115 struct mp3309c_chip *chip = bl_get_data(bl); in mp3309c_bl_update_status()
116 int brightness = backlight_get_brightness(bl); in mp3309c_bl_update_status()
361 chip->bl = devm_backlight_device_register(dev, "mp3309c", dev, chip, in mp3309c_probe()
363 if (IS_ERR(chip->bl)) in mp3309c_probe()
364 return dev_err_probe(dev, PTR_ERR(chip->bl), in mp3309c_probe()
380 backlight_update_status(chip->bl); in mp3309c_probe()
388 struct backlight_device *bl = chip->bl; in mp3309c_remove() local
390 bl->props.power = BACKLIGHT_POWER_OFF; in mp3309c_remove()
391 bl->props.brightness = 0; in mp3309c_remove()
392 backlight_update_status(chip->bl); in mp3309c_remove()