Searched refs:current_brightness (Results 1 – 11 of 11) sorted by relevance
39 int current_brightness; member56 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()
29 int current_brightness; member48 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()
25 int current_brightness; member32 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()
30 int current_brightness; member86 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()
23 int current_brightness; member53 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()
116 int current_brightness; member353 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()
50 unsigned int current_brightness; member
51 unsigned int current_brightness; member
126 int current_brightness; in led_set_software_blink() local128 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()
50 unsigned char current_brightness; member128 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()
72 static unsigned long current_brightness; /* backlight */ variable642 return current_brightness; in bl_get_brightness()