Searched refs:current_brightness (Results 1 – 13 of 13) sorted by relevance
40 int current_brightness; member57 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()
34 int current_brightness; member55 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()
26 int current_brightness; member33 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()
31 int current_brightness; member81 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()
30 int current_brightness; member51 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()
24 int current_brightness; member54 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()
115 int current_brightness; member350 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()
117 int current_brightness; member388 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()
42 unsigned int current_brightness; member
41 unsigned int current_brightness; member
32 int current_brightness; in led_set_software_blink() local34 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()
44 unsigned char current_brightness; member83 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()
72 static unsigned long current_brightness; /* backlight */ variable636 return current_brightness; in bl_get_brightness()