Lines Matching full:brightness
25 int brightness; /* current brightness */ member
29 int brightness) in aat2870_brightness() argument
34 val = brightness * (aat2870_bl->max_current - 1); in aat2870_brightness()
62 int brightness = backlight_get_brightness(bd); in aat2870_bl_update_status() local
65 if ((brightness < 0) || (bd->props.max_brightness < brightness)) { in aat2870_bl_update_status()
66 dev_err(&bd->dev, "invalid brightness, %d\n", brightness); in aat2870_bl_update_status()
70 dev_dbg(&bd->dev, "brightness=%d, power=%d, state=%d\n", in aat2870_bl_update_status()
71 bd->props.brightness, bd->props.power, bd->props.state); in aat2870_bl_update_status()
74 (u8)aat2870_brightness(aat2870_bl, brightness)); in aat2870_bl_update_status()
78 if (brightness == 0) { in aat2870_bl_update_status()
82 } else if (aat2870_bl->brightness == 0) { in aat2870_bl_update_status()
88 aat2870_bl->brightness = brightness; in aat2870_bl_update_status()
165 aat2870_bl->brightness = 0; in aat2870_bl_probe()
167 bd->props.brightness = bd->props.max_brightness; in aat2870_bl_probe()
187 bd->props.brightness = 0; in aat2870_bl_remove()