Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/video/backlight/
Dda903x_bl.c39 int current_brightness; member
56 if (data->current_brightness && brightness == 0) in da903x_backlight_set()
61 if (data->current_brightness == 0 && brightness) in da903x_backlight_set()
76 data->current_brightness = brightness; in da903x_backlight_set()
96 return data->current_brightness; in da903x_backlight_get_brightness()
132 data->current_brightness = 0; in da903x_backlight_probe()
Dmax8925_bl.c29 int current_brightness; member
48 if (!data->current_brightness && brightness) in max8925_backlight_set()
57 data->current_brightness = value; in max8925_backlight_set()
90 data->current_brightness = ret; in max8925_backlight_get_brightness()
91 dev_dbg(chip->dev, "get brightness %d\n", data->current_brightness); in max8925_backlight_get_brightness()
136 data->current_brightness = 0; in max8925_backlight_probe()
Dwm831x_bl.c25 int current_brightness; member
32 int power_up = !data->current_brightness && brightness; in wm831x_backlight_set()
33 int power_down = data->current_brightness && !brightness; in wm831x_backlight_set()
78 data->current_brightness = brightness; in wm831x_backlight_set()
113 return data->current_brightness; in wm831x_backlight_get_brightness()
193 data->current_brightness = 0; in wm831x_backlight_probe()
D88pm860x_bl.c30 int current_brightness; member
86 if ((data->current_brightness == 0) && brightness) { in pm860x_backlight_set()
119 data->current_brightness = value; in pm860x_backlight_set()
152 data->current_brightness = ret; in pm860x_backlight_get_brightness()
153 dev_dbg(chip->dev, "get brightness %d\n", data->current_brightness); in pm860x_backlight_get_brightness()
154 return data->current_brightness; in pm860x_backlight_get_brightness()
201 data->current_brightness = MAX_BRIGHTNESS; in pm860x_backlight_probe()
Dadp5520_bl.c23 int current_brightness; member
53 if (data->current_brightness && brightness == 0) in adp5520_bl_set()
56 else if (data->current_brightness == 0 && brightness) in adp5520_bl_set()
61 data->current_brightness = brightness; in adp5520_bl_set()
86 return error ? data->current_brightness : reg_val; in adp5520_bl_get_brightness()
301 data->current_brightness = 0; in adp5520_bl_probe()
Dadp8860_bl.c116 int current_brightness; member
353 if (data->current_brightness && brightness == 0) in adp8860_bl_set()
356 else if (data->current_brightness == 0 && brightness) in adp8860_bl_set()
361 data->current_brightness = brightness; in adp8860_bl_set()
382 return data->current_brightness; in adp8860_bl_get_brightness()
708 data->current_brightness = 0; in adp8860_probe()
Dld9040.c50 unsigned int current_brightness; member
Ds6e63m0.c51 unsigned int current_brightness; member
/linux-2.6.39/drivers/leds/
Dled-class.c126 int current_brightness; in led_set_software_blink() local
128 current_brightness = led_get_brightness(led_cdev); in led_set_software_blink()
129 if (current_brightness) in led_set_software_blink()
130 led_cdev->blink_brightness = current_brightness; in led_set_software_blink()
Dleds-88pm860x.c50 unsigned char current_brightness; member
128 if ((led->current_brightness == 0) && led->brightness) { in pm860x_led_work()
154 led->current_brightness = led->brightness; in pm860x_led_work()
208 data->current_brightness = 0; in pm860x_led_probe()
/linux-2.6.39/drivers/video/
Dbf537-lq035.c72 static unsigned long current_brightness; /* backlight */ variable
642 return current_brightness; in bl_get_brightness()