Lines Matching full:brightness
24 int brightness; /* current brightness */ member
28 int brightness) in aat2870_brightness() argument
33 val = brightness * (aat2870_bl->max_current - 1); in aat2870_brightness()
61 int brightness = backlight_get_brightness(bd); in aat2870_bl_update_status() local
64 if ((brightness < 0) || (bd->props.max_brightness < brightness)) { in aat2870_bl_update_status()
65 dev_err(&bd->dev, "invalid brightness, %d\n", brightness); in aat2870_bl_update_status()
69 dev_dbg(&bd->dev, "brightness=%d, power=%d, state=%d\n", in aat2870_bl_update_status()
70 bd->props.brightness, bd->props.power, bd->props.state); in aat2870_bl_update_status()
73 (u8)aat2870_brightness(aat2870_bl, brightness)); in aat2870_bl_update_status()
77 if (brightness == 0) { in aat2870_bl_update_status()
81 } else if (aat2870_bl->brightness == 0) { in aat2870_bl_update_status()
87 aat2870_bl->brightness = brightness; in aat2870_bl_update_status()
158 aat2870_bl->brightness = 0; in aat2870_bl_probe()
160 bd->props.brightness = bd->props.max_brightness; in aat2870_bl_probe()
180 bd->props.brightness = 0; in aat2870_bl_remove()