Home
last modified time | relevance | path

Searched refs:current_brightness (Results 1 – 13 of 13) sorted by relevance

/drivers/video/backlight/
Dda903x_bl.c40 int current_brightness; member
57 if (data->current_brightness && brightness == 0) in da903x_backlight_set()
62 if (data->current_brightness == 0 && brightness) in da903x_backlight_set()
77 data->current_brightness = brightness; in da903x_backlight_set()
101 return data->current_brightness; in da903x_backlight_get_brightness()
137 data->current_brightness = 0; in da903x_backlight_probe()
Dot200_bl.c34 int current_brightness; member
55 else if (data->current_brightness == 0) { in ot200_backlight_update_status()
64 data->current_brightness = brightness; in ot200_backlight_update_status()
72 return data->current_brightness; in ot200_backlight_get_brightness()
116 data->current_brightness = 100; in ot200_backlight_probe()
Dwm831x_bl.c26 int current_brightness; member
33 int power_up = !data->current_brightness && brightness; in wm831x_backlight_set()
34 int power_down = data->current_brightness && !brightness; in wm831x_backlight_set()
79 data->current_brightness = brightness; in wm831x_backlight_set()
115 return data->current_brightness; in wm831x_backlight_get_brightness()
193 data->current_brightness = 0; in wm831x_backlight_probe()
D88pm860x_bl.c31 int current_brightness; member
81 if ((data->current_brightness == 0) && brightness) { in pm860x_backlight_set()
117 data->current_brightness = value; in pm860x_backlight_set()
150 data->current_brightness = ret; in pm860x_backlight_get_brightness()
151 dev_dbg(chip->dev, "get brightness %d\n", data->current_brightness); in pm860x_backlight_get_brightness()
152 return data->current_brightness; in pm860x_backlight_get_brightness()
235 data->current_brightness = MAX_BRIGHTNESS; in pm860x_backlight_probe()
Dmax8925_bl.c30 int current_brightness; member
51 if (!data->current_brightness && brightness) in max8925_backlight_set()
60 data->current_brightness = value; in max8925_backlight_set()
93 data->current_brightness = ret; in max8925_backlight_get_brightness()
94 dev_dbg(chip->dev, "get brightness %d\n", data->current_brightness); in max8925_backlight_get_brightness()
161 data->current_brightness = 0; in max8925_backlight_probe()
Dadp5520_bl.c24 int current_brightness; member
54 if (data->current_brightness && brightness == 0) in adp5520_bl_set()
57 else if (data->current_brightness == 0 && brightness) in adp5520_bl_set()
62 data->current_brightness = brightness; in adp5520_bl_set()
88 return error ? data->current_brightness : reg_val; in adp5520_bl_get_brightness()
309 data->current_brightness = 0; in adp5520_bl_probe()
Dadp8860_bl.c115 int current_brightness; member
350 if (data->current_brightness && brightness == 0) in adp8860_bl_set()
353 else if (data->current_brightness == 0 && brightness) in adp8860_bl_set()
358 data->current_brightness = brightness; in adp8860_bl_set()
380 return data->current_brightness; in adp8860_bl_get_brightness()
706 data->current_brightness = 0; in adp8860_probe()
Dadp8870_bl.c117 int current_brightness; member
388 if (data->current_brightness && brightness == 0) in adp8870_bl_set()
391 else if (data->current_brightness == 0 && brightness) in adp8870_bl_set()
396 data->current_brightness = brightness; in adp8870_bl_set()
418 return data->current_brightness; in adp8870_bl_get_brightness()
885 data->current_brightness = 0; in adp8870_probe()
Dld9040.c42 unsigned int current_brightness; member
Ds6e63m0.c41 unsigned int current_brightness; member
/drivers/leds/
Dled-core.c32 int current_brightness; in led_set_software_blink() local
34 current_brightness = led_get_brightness(led_cdev); in led_set_software_blink()
35 if (current_brightness) in led_set_software_blink()
36 led_cdev->blink_brightness = current_brightness; in led_set_software_blink()
Dleds-88pm860x.c44 unsigned char current_brightness; member
83 if ((led->current_brightness == 0) && led->brightness) { in pm860x_led_work()
111 led->current_brightness = led->brightness; in pm860x_led_work()
213 data->current_brightness = 0; in pm860x_led_probe()
/drivers/video/fbdev/
Dbf537-lq035.c72 static unsigned long current_brightness; /* backlight */ variable
636 return current_brightness; in bl_get_brightness()