Searched refs:current_brightness (Results 1 – 12 of 12) sorted by relevance
37 int current_brightness; member54 if (data->current_brightness && brightness == 0) in da903x_backlight_set()59 if (data->current_brightness == 0 && brightness) in da903x_backlight_set()74 data->current_brightness = brightness; in da903x_backlight_set()87 return data->current_brightness; in da903x_backlight_get_brightness()123 data->current_brightness = 0; in da903x_backlight_probe()
23 int current_brightness; member30 int power_up = !data->current_brightness && brightness; in wm831x_backlight_set()31 int power_down = data->current_brightness && !brightness; in wm831x_backlight_set()76 data->current_brightness = brightness; in wm831x_backlight_set()101 return data->current_brightness; in wm831x_backlight_get_brightness()179 data->current_brightness = 0; in wm831x_backlight_probe()
27 int current_brightness; member48 if (!data->current_brightness && brightness) in max8925_backlight_set()57 data->current_brightness = value; in max8925_backlight_set()79 data->current_brightness = ret; in max8925_backlight_get_brightness()80 dev_dbg(chip->dev, "get brightness %d\n", data->current_brightness); in max8925_backlight_get_brightness()149 data->current_brightness = 0; in max8925_backlight_probe()
28 int current_brightness; member78 if ((data->current_brightness == 0) && brightness) { in pm860x_backlight_set()114 data->current_brightness = value; in pm860x_backlight_set()136 data->current_brightness = ret; in pm860x_backlight_get_brightness()137 dev_dbg(chip->dev, "get brightness %d\n", data->current_brightness); in pm860x_backlight_get_brightness()138 return data->current_brightness; in pm860x_backlight_get_brightness()219 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()79 return error ? data->current_brightness : reg_val; in adp5520_bl_get_brightness()300 data->current_brightness = 0; in adp5520_bl_probe()
114 int current_brightness; member349 if (data->current_brightness && brightness == 0) in adp8860_bl_set()352 else if (data->current_brightness == 0 && brightness) in adp8860_bl_set()357 data->current_brightness = brightness; in adp8860_bl_set()371 return data->current_brightness; in adp8860_bl_get_brightness()702 data->current_brightness = 0; in adp8860_probe()
116 int current_brightness; member387 if (data->current_brightness && brightness == 0) in adp8870_bl_set()390 else if (data->current_brightness == 0 && brightness) in adp8870_bl_set()395 data->current_brightness = brightness; in adp8870_bl_set()409 return data->current_brightness; in adp8870_bl_get_brightness()878 data->current_brightness = 0; in adp8870_probe()
86 enum led_brightness current_brightness; member286 if (!led->current_brightness) { in mt6323_led_set_blink()290 led->current_brightness = cdev->max_brightness; in mt6323_led_set_blink()317 if (!led->current_brightness && brightness) { in mt6323_led_set_brightness()331 led->current_brightness = brightness; in mt6323_led_set_brightness()351 led->current_brightness = ret; in mt6323_led_set_dt_default()
38 unsigned char current_brightness; member78 if ((led->current_brightness == 0) && led->brightness) { in pm860x_led_set()106 led->current_brightness = led->brightness; in pm860x_led_set()201 data->current_brightness = 0; in pm860x_led_probe()
144 int current_brightness; in led_set_software_blink() local146 current_brightness = led_get_brightness(led_cdev); in led_set_software_blink()147 if (current_brightness) in led_set_software_blink()148 led_cdev->blink_brightness = current_brightness; in led_set_software_blink()
67 int current_brightness; in set_baseline_state() local70 current_brightness = led_cdev->brightness; in set_baseline_state()71 if (current_brightness) in set_baseline_state()72 led_cdev->blink_brightness = current_brightness; in set_baseline_state()
238 int current_brightness; member742 pcc->current_brightness = val; in current_brightness_store()773 static DEVICE_ATTR_RW(current_brightness);949 acpi_pcc_write_sset(pcc, SINF_CUR_BRIGHT, pcc->current_brightness); in acpi_pcc_hotkey_resume()1027 pcc->current_brightness = pcc->sinf[SINF_CUR_BRIGHT]; in acpi_pcc_hotkey_add()