• Home
  • Raw
  • Download

Lines Matching refs:bl

108 static int pwm_backlight_update_status(struct backlight_device *bl)  in pwm_backlight_update_status()  argument
110 struct pwm_bl_data *pb = bl_get_data(bl); in pwm_backlight_update_status()
111 int brightness = backlight_get_brightness(bl); in pwm_backlight_update_status()
132 static int pwm_backlight_check_fb(struct backlight_device *bl, in pwm_backlight_check_fb() argument
135 struct pwm_bl_data *pb = bl_get_data(bl); in pwm_backlight_check_fb()
466 struct backlight_device *bl; in pwm_backlight_probe() local
611 bl = backlight_device_register(dev_name(&pdev->dev), &pdev->dev, pb, in pwm_backlight_probe()
613 if (IS_ERR(bl)) { in pwm_backlight_probe()
615 ret = PTR_ERR(bl); in pwm_backlight_probe()
628 bl->props.brightness = data->dft_brightness; in pwm_backlight_probe()
629 bl->props.power = pwm_backlight_initial_power_state(pb); in pwm_backlight_probe()
630 backlight_update_status(bl); in pwm_backlight_probe()
632 platform_set_drvdata(pdev, bl); in pwm_backlight_probe()
643 struct backlight_device *bl = platform_get_drvdata(pdev); in pwm_backlight_remove() local
644 struct pwm_bl_data *pb = bl_get_data(bl); in pwm_backlight_remove()
646 backlight_device_unregister(bl); in pwm_backlight_remove()
659 struct backlight_device *bl = platform_get_drvdata(pdev); in pwm_backlight_shutdown() local
660 struct pwm_bl_data *pb = bl_get_data(bl); in pwm_backlight_shutdown()
668 struct backlight_device *bl = dev_get_drvdata(dev); in pwm_backlight_suspend() local
669 struct pwm_bl_data *pb = bl_get_data(bl); in pwm_backlight_suspend()
684 struct backlight_device *bl = dev_get_drvdata(dev); in pwm_backlight_resume() local
686 backlight_update_status(bl); in pwm_backlight_resume()