Home
last modified time | relevance | path

Searched refs:max_brightness (Results 1 – 177 of 177) sorted by relevance

/linux-4.1.27/arch/powerpc/platforms/powermac/
Dbacklight.c114 (props->max_brightness / 15)); in pmac_backlight_key_worker()
118 else if (brightness > props->max_brightness) in pmac_backlight_key_worker()
119 brightness = props->max_brightness; in pmac_backlight_key_worker()
150 (props->max_brightness + 1) / in __pmac_backlight_set_legacy_brightness()
153 if (props->brightness > props->max_brightness) in __pmac_backlight_set_legacy_brightness()
154 props->brightness = props->max_brightness; in __pmac_backlight_set_legacy_brightness()
201 (props->max_brightness + 1); in pmac_backlight_get_legacy_brightness()
/linux-4.1.27/drivers/video/backlight/
Dpwm_bl.c152 data->max_brightness = length / sizeof(u32); in pwm_backlight_parse_dt()
155 if (data->max_brightness > 0) { in pwm_backlight_parse_dt()
156 size_t size = sizeof(*data->levels) * data->max_brightness; in pwm_backlight_parse_dt()
164 data->max_brightness); in pwm_backlight_parse_dt()
174 data->max_brightness--; in pwm_backlight_parse_dt()
229 for (i = 0; i <= data->max_brightness; i++) in pwm_backlight_probe()
235 pb->scale = data->max_brightness; in pwm_backlight_probe()
309 props.max_brightness = data->max_brightness; in pwm_backlight_probe()
318 if (data->dft_brightness > data->max_brightness) { in pwm_backlight_probe()
321 data->dft_brightness, data->max_brightness); in pwm_backlight_probe()
[all …]
Dda903x_bl.c116 int max_brightness; in da903x_backlight_probe() local
124 max_brightness = DA9030_MAX_BRIGHTNESS; in da903x_backlight_probe()
127 max_brightness = DA9034_MAX_BRIGHTNESS; in da903x_backlight_probe()
146 props.max_brightness = max_brightness; in da903x_backlight_probe()
155 bl->props.brightness = max_brightness; in da903x_backlight_probe()
Daat2870_bl.c48 val /= bd->props.max_brightness; in aat2870_brightness()
78 if ((brightness < 0) || (bd->props.max_brightness < brightness)) { in aat2870_bl_update_status()
178 if (pdata->max_brightness > 0) in aat2870_bl_probe()
179 bd->props.max_brightness = pdata->max_brightness; in aat2870_bl_probe()
181 bd->props.max_brightness = 255; in aat2870_bl_probe()
185 bd->props.brightness = bd->props.max_brightness; in aat2870_bl_probe()
Das3711_bl.c235 unsigned int max_brightness, struct as3711_bl_data *su) in as3711_bl_register() argument
241 props.max_brightness = max_brightness; in as3711_bl_register()
253 bl->props.brightness = props.max_brightness; in as3711_bl_register()
371 unsigned int max_brightness; in as3711_backlight_probe() local
418 max_brightness = min(pdata->su1_max_uA, 31); in as3711_backlight_probe()
419 ret = as3711_bl_register(pdev, max_brightness, su); in as3711_backlight_probe()
441 max_brightness = min(pdata->su2_max_uA, 31); in as3711_backlight_probe()
447 max_brightness = min(pdata->su2_max_uA / 150, 255); in as3711_backlight_probe()
457 ret = as3711_bl_register(pdev, max_brightness, su); in as3711_backlight_probe()
Dlv5207lp.c116 props.max_brightness = min_t(unsigned int, pdata->max_value, in lv5207lp_probe()
119 props.max_brightness); in lv5207lp_probe()
Dda9052_bl.c126 props.max_brightness = DA9052_MAX_BRIGHTNESS; in da9052_backlight_probe()
136 bl->props.max_brightness = DA9052_MAX_BRIGHTNESS; in da9052_backlight_probe()
Dlp8788_bl.c167 int max = bl_dev->props.max_brightness; in lp8788_bl_update_status()
193 props.max_brightness = MAX_BRIGHTNESS; in lp8788_backlight_register()
198 props.max_brightness); in lp8788_backlight_register()
Dbd6107.c159 props.max_brightness = 128; in bd6107_probe()
161 props.max_brightness); in bd6107_probe()
Dlm3630a_bl.c185 bl->props.max_brightness); in lm3630a_bank_a_update_status()
262 bl->props.max_brightness); in lm3630a_bank_b_update_status()
337 props.max_brightness = pdata->leda_max_brt; in lm3630a_backlight_register()
349 props.max_brightness = pdata->ledb_max_brt; in lm3630a_backlight_register()
Dlp855x_bl.c266 int max_br = bl->props.max_brightness; in lp855x_bl_update_status()
292 props.max_brightness = MAX_BRIGHTNESS; in lp855x_backlight_register()
294 if (pdata->initial_brightness > props.max_brightness) in lp855x_backlight_register()
295 pdata->initial_brightness = props.max_brightness; in lp855x_backlight_register()
Dlm3639_bl.c348 props.max_brightness = pdata->max_brt_led; in lm3639_probe()
367 pchip->cdev_flash.max_brightness = 16; in lm3639_probe()
378 pchip->cdev_torch.max_brightness = 8; in lm3639_probe()
Dipaq_micro_bl.c51 .max_brightness = 255,
Dbacklight.c182 if (brightness > bd->props.max_brightness) in brightness_store()
213 return sprintf(buf, "%d\n", bd->props.max_brightness); in max_brightness_show()
215 static DEVICE_ATTR_RO(max_brightness);
Djornada720_bl.c117 props.max_brightness = BL_MAX_BRIGHT; in jornada_bl_probe()
Dep93xx_bl.c94 props.max_brightness = EP93XX_MAX_BRIGHT; in ep93xxbl_probe()
Dgeneric_bl.c77 props.max_brightness = machinfo->max_intensity; in genericbl_probe()
Dpandora_bl.c115 props.max_brightness = MAX_USER_VALUE; in pandora_backlight_probe()
Dpcf50633-backlight.c117 bl_props.max_brightness = 0x3f; in pcf50633_bl_probe()
Dot200_bl.c117 props.max_brightness = 100; in ot200_backlight_probe()
Dhp680_bl.c112 props.max_brightness = HP680_MAX_INTENSITY; in hp680bl_probe()
Dkb3886_bl.c152 props.max_brightness = machinfo->max_intensity; in kb3886bl_probe()
Dams369fg06.c420 brightness > bd->props.max_brightness) { in ams369fg06_set_brightness()
483 props.max_brightness = MAX_BRIGHTNESS; in ams369fg06_probe()
Domap1_bl.c149 props.max_brightness = OMAPBL_MAX_INTENSITY; in omapbl_probe()
Dtosa_bl.c107 props.max_brightness = 512 - 1; in tosa_bl_probe()
Dgpio_backlight.c128 props.max_brightness = 1; in gpio_backlight_probe()
Dapple_bl.c183 props.max_brightness = 15; in apple_bl_add()
Dwm831x_bl.c198 props.max_brightness = max_isel; in wm831x_backlight_probe()
Dlocomolcd.c200 props.max_brightness = 4; in locomolcd_probe()
Dld9040.c651 brightness > bd->props.max_brightness) { in ld9040_set_brightness()
722 props.max_brightness = MAX_BRIGHTNESS; in ld9040_probe()
Dmax8925_bl.c165 props.max_brightness = MAX_BRIGHTNESS; in max8925_backlight_probe()
Dcr_bllcd.c241 crp->cr_backlight_device->props.max_brightness = 0; in cr_backlight_remove()
Ds6e63m0.c606 brightness > bd->props.max_brightness) { in s6e63m0_set_brightness()
747 props.max_brightness = MAX_BRIGHTNESS; in s6e63m0_probe()
Dtps65217_bl.c305 bl_props.max_brightness = 100; in tps65217_bl_probe()
D88pm860x_bl.c242 props.max_brightness = MAX_BRIGHTNESS; in pm860x_backlight_probe()
Dsky81452-backlight.c294 props.max_brightness = SKY81452_MAX_BRIGHTNESS, in sky81452_bl_probe()
Dlm3533_bl.c311 props.max_brightness = LM3533_BL_MAX_BRIGHTNESS; in lm3533_bl_probe()
Dadp5520_bl.c315 props.max_brightness = ADP5020_MAX_BRIGHTNESS; in adp5520_bl_probe()
Dcorgi_lcd.c562 props.max_brightness = pdata->max_intensity; in corgi_lcd_probe()
Dadp8860_bl.c711 props.max_brightness = ADP8860_MAX_BRIGHTNESS; in adp8860_probe()
Dadp8870_bl.c892 props.max_brightness = props.brightness = ADP8870_MAX_BRIGHTNESS; in adp8870_probe()
/linux-4.1.27/drivers/leds/
Dleds-lm3530.c264 if (brightness > drvdata->led_dev.max_brightness) in lm3530_init_registers()
265 brightness = drvdata->led_dev.max_brightness; in lm3530_init_registers()
292 drvdata->led_dev.max_brightness); in lm3530_init_registers()
313 u8 max_brightness = led_cdev->max_brightness; in lm3530_brightness_set() local
343 pwm->pwm_set_intensity(brt_val, max_brightness); in lm3530_brightness_set()
375 u8 max_brightness; in lm3530_mode_set() local
380 max_brightness = led_cdev->max_brightness; in lm3530_mode_set()
391 pwm->pwm_set_intensity(0, max_brightness); in lm3530_mode_set()
444 drvdata->led_dev.max_brightness = MAX_BRIGHTNESS; in lm3530_probe()
Dleds-max8997.c64 led->cdev.max_brightness = MAX8997_LED_FLASH_MAX_BRIGHTNESS; in max8997_led_set_mode()
70 led->cdev.max_brightness = MAX8997_LED_MOVIE_MAX_BRIGHTNESS; in max8997_led_set_mode()
77 led->cdev.max_brightness = MAX8997_LED_FLASH_MAX_BRIGHTNESS; in max8997_led_set_mode()
84 led->cdev.max_brightness = MAX8997_LED_MOVIE_MAX_BRIGHTNESS; in max8997_led_set_mode()
87 led->cdev.max_brightness = MAX8997_LED_NONE_MAX_BRIGHTNESS; in max8997_led_set_mode()
274 if (brightness > led->cdev.max_brightness) in max8997_led_probe()
275 brightness = led->cdev.max_brightness; in max8997_led_probe()
Dleds-pwm.c67 unsigned int max = led_dat->cdev.max_brightness; in led_pwm_set()
110 led_data->cdev.max_brightness = led->max_brightness; in led_pwm_add()
159 &led.max_brightness); in led_pwm_create_of()
Dleds.h23 value = min(value, led_cdev->max_brightness); in led_set_brightness_async()
35 led_cdev->brightness = min(value, led_cdev->max_brightness); in led_set_brightness_sync()
Dleds-regulator.c109 if (led->cdev.max_brightness > 1) { in regulator_led_set_value()
166 led->cdev.max_brightness = led_regulator_get_max_brightness(vcc); in regulator_led_probe()
167 if (pdata->brightness > led->cdev.max_brightness) { in regulator_led_probe()
Dled-class.c72 return sprintf(buf, "%u\n", led_cdev->max_brightness); in max_brightness_show()
74 static DEVICE_ATTR_RO(max_brightness);
274 if (!led_cdev->max_brightness) in led_classdev_register()
275 led_cdev->max_brightness = LED_FULL; in led_classdev_register()
Dleds-lm355x.c484 chip->cdev_flash.max_brightness = 16; in lm355x_probe()
494 chip->cdev_torch.max_brightness = 8; in lm355x_probe()
506 chip->cdev_indicator.max_brightness = 4; in lm355x_probe()
508 chip->cdev_indicator.max_brightness = 8; in lm355x_probe()
Dleds-lm3642.c376 chip->cdev_flash.max_brightness = 16; in lm3642_probe()
390 chip->cdev_torch.max_brightness = 8; in lm3642_probe()
405 chip->cdev_indicator.max_brightness = 8; in lm3642_probe()
Dled-core.c38 led_cdev->blink_brightness = led_cdev->max_brightness; in led_set_software_blink()
Dleds-dac124s085.c89 led->ldev.max_brightness = 0xfff; in dac124s085_probe()
Dleds-lp8788.c141 led->led_dev.max_brightness = MAX_BRIGHTNESS; in lp8788_led_probe()
Dleds-da9052.c138 led[i].cdev.max_brightness = DA9052_MAX_BRIGHTNESS; in da9052_led_probe()
Ddell-led.c320 .max_brightness = 1,
Dleds-lp3944.c323 led->ldev.max_brightness = 1; in lp3944_configure()
Dleds-mc13783.c261 leds->led[i].cdev.max_brightness = mc13xxx_max_brightness(id); in mc13xxx_led_probe()
Dleds-lp8860.c408 led->led_dev.max_brightness = LED_FULL; in lp8860_probe()
Dleds-blinkm.c670 led[i]->led_cdev.max_brightness = 255; in blinkm_probe()
/linux-4.1.27/drivers/gpu/drm/shmobile/
Dshmob_drm_backlight.c67 if (!bdata->max_brightness) in shmob_drm_backlight_init()
78 backlight->props.max_brightness = bdata->max_brightness; in shmob_drm_backlight_init()
79 backlight->props.brightness = bdata->max_brightness; in shmob_drm_backlight_init()
/linux-4.1.27/arch/arm/plat-samsung/
Ddev-backlight.c70 .max_brightness = 255,
117 if (bl_data->max_brightness) in samsung_bl_set()
118 samsung_bl_data->max_brightness = bl_data->max_brightness; in samsung_bl_set()
/linux-4.1.27/drivers/platform/x86/
Dfujitsu-laptop.c153 unsigned int max_brightness; member
312 if (level < 0 || level >= fujitsu->max_brightness) in set_lcd_level()
337 if (level < 0 || level >= fujitsu->max_brightness) in set_lcd_level_alt()
387 fujitsu->max_brightness = state; in get_max_brightness()
389 return fujitsu->max_brightness; in get_max_brightness()
478 || (level < 0 || level >= fujitsu->max_brightness)) in store_lcd_level()
538 static DEVICE_ATTR(max_brightness, 0444, show_max_brightness, ignore_store);
697 fujitsu->max_brightness = FUJITSU_LCD_N_LEVELS; in acpi_fujitsu_add()
1062 int ret, result, max_brightness; in fujitsu_init() local
1106 max_brightness = fujitsu->max_brightness; in fujitsu_init()
[all …]
Dsamsung-laptop.c154 u8 max_brightness; member
221 .max_brightness = 8,
288 .max_brightness = 8,
1126 if (value > samsung->kbd_led.max_brightness) in kbd_led_set()
1127 value = samsung->kbd_led.max_brightness; in kbd_led_set()
1165 samsung->kbd_led.max_brightness = 8; in samsung_leds_init()
1167 samsung->kbd_led.max_brightness = 4; in samsung_leds_init()
1197 props.max_brightness = samsung->config->max_brightness - in samsung_backlight_init()
Dsamsung-q10.c61 props.max_brightness = SAMSUNGQ10_BL_MAX_INTENSITY; in samsungq10_probe()
Dapple-gmux.c525 props.max_brightness = gmux_read32(gmux_data, GMUX_PORT_MAX_BRIGHTNESS); in gmux_probe()
533 if (WARN_ON(props.max_brightness > GMUX_MAX_BRIGHTNESS)) in gmux_probe()
534 props.max_brightness = GMUX_MAX_BRIGHTNESS; in gmux_probe()
Ddell-laptop.c1840 kbd_led.max_brightness = kbd_get_max_level(); in kbd_led_init()
1841 if (!kbd_led.max_brightness) { in kbd_led_init()
1842 kbd_led.max_brightness = kbd_get_valid_token_counts(); in kbd_led_init()
1843 if (kbd_led.max_brightness) in kbd_led_init()
1844 kbd_led.max_brightness--; in kbd_led_init()
1941 props.max_brightness = max_intensity; in dell_init()
Dasus-wmi.c435 if (value > asus->kbd_led.max_brightness) in kbd_led_set()
436 value = asus->kbd_led.max_brightness; in kbd_led_set()
536 asus->tpd_led.max_brightness = 1; in asus_wmi_led_init()
550 asus->kbd_led.max_brightness = 3; in asus_wmi_led_init()
566 asus->wlan_led.max_brightness = 1; in asus_wmi_led_init()
1201 bd->props.brightness == bd->props.max_brightness) in get_scalar_command()
1286 props.max_brightness = max; in asus_wmi_backlight_init()
Dacer-wmi.c225 static int max_brightness = 0xF; variable
749 if (value > max_brightness) in AMW0_set_u32()
988 if (value > max_brightness) in WMID_set_u32()
1261 max_brightness = 0x9; in WMID_set_capabilities()
1427 props.max_brightness = max_brightness; in acer_backlight_init()
Dalienware-wmi.c374 global_led.max_brightness = 0x0F; in alienware_zone_init()
375 global_brightness = global_led.max_brightness; in alienware_zone_init()
Dintel_oaktrail.c251 props.max_brightness = OT_EC_BL_BRIGHTNESS_MAX; in oaktrail_backlight_init()
Dmsi-wmi.c246 props.max_brightness = ARRAY_SIZE(backlight_map) - 1; in msi_wmi_backlight_setup()
Dtoshiba_acpi.c1367 levels = dev->backlight_dev->props.max_brightness + 1; in lcd_proc_show()
1418 int levels = dev->backlight_dev->props.max_brightness + 1; in lcd_proc_write()
2651 props.max_brightness = HCI_LCD_BRIGHTNESS_LEVELS - 1; in toshiba_acpi_setup_backlight()
2655 props.max_brightness++; in toshiba_acpi_setup_backlight()
2800 dev->led_dev.max_brightness = 1; in toshiba_acpi_add()
2809 dev->eco_led.max_brightness = 1; in toshiba_acpi_add()
2823 dev->kbd_led.max_brightness = 1; in toshiba_acpi_add()
Dsony-laptop.c3085 int max_brightness = 0; in sony_nc_backlight_setup() local
3093 max_brightness = sony_bl_props.maxlvl - sony_bl_props.offset; in sony_nc_backlight_setup()
3099 max_brightness = sony_bl_props.maxlvl - sony_bl_props.offset; in sony_nc_backlight_setup()
3105 max_brightness = sony_bl_props.maxlvl - sony_bl_props.offset; in sony_nc_backlight_setup()
3111 max_brightness = sony_bl_props.maxlvl - sony_bl_props.offset; in sony_nc_backlight_setup()
3117 max_brightness = sony_bl_props.maxlvl - sony_bl_props.offset; in sony_nc_backlight_setup()
3121 max_brightness = SONY_MAX_BRIGHTNESS - 1; in sony_nc_backlight_setup()
3128 props.max_brightness = max_brightness; in sony_nc_backlight_setup()
Dpanasonic-laptop.c619 props.max_brightness = pcc->sinf[SINF_AC_MAX_BRIGHT]; in acpi_pcc_hotkey_add()
Dasus-laptop.c695 led_cdev->max_brightness = 1; in asus_led_register()
756 cdev->max_brightness = 3; in asus_led_init()
825 props.max_brightness = 15; in asus_backlight_init()
Deeepc-laptop.c536 eeepc->tpd_led.max_brightness = 1; in eeepc_led_init()
1158 props.max_brightness = 15; in eeepc_backlight_init()
Dcompal-laptop.c966 props.max_brightness = BACKLIGHT_LEVEL_MAX; in compal_init()
Dideapad-laptop.c711 props.max_brightness = max; in ideapad_backlight_init()
Dmsi-laptop.c1078 props.max_brightness = MSI_LCD_LEVEL_MAX - 1; in msi_init()
Dclassmate-laptop.c970 props.max_brightness = 7; in cmpc_ipml_add()
Dthinkpad_acpi.c6543 props.max_brightness = bright_maxlvl; in brightness_init()
/linux-4.1.27/include/linux/
Dled-lm3530.h77 void (*pwm_set_intensity) (int brightness, int max_brightness);
78 int (*pwm_get_intensity) (int max_brightness);
Dleds_pwm.h12 unsigned max_brightness; member
Dpwm_backlight.h11 unsigned int max_brightness; member
Dbacklight.h71 int max_brightness; member
Dleds.h36 enum led_brightness max_brightness; member
/linux-4.1.27/drivers/macintosh/
Dvia-pmu-backlight.c161 props.max_brightness = FB_BACKLIGHT_LEVELS - 1; in pmu_backlight_init()
171 level = bd->props.max_brightness; in pmu_backlight_init()
181 bd->props.max_brightness / 15); in pmu_backlight_init()
/linux-4.1.27/Documentation/leds/
Dleds-blinkm.txt22 brightness device max_brightness power subsystem trigger uevent
25 brightness device max_brightness power subsystem trigger uevent
28 brightness device max_brightness power subsystem trigger uevent
Dleds-class.txt10 LED is defined in max_brightness file. The brightness file will set the brightness
11 of the LED (taking a value 0-max_brightness). Most LEDs don't have hardware
/linux-4.1.27/drivers/leds/trigger/
Dledtrig-heartbeat.c59 brightness = led_cdev->max_brightness; in led_heartbeat_function()
68 brightness = led_cdev->max_brightness; in led_heartbeat_function()
Dledtrig-default-on.c22 led_set_brightness_async(led_cdev, led_cdev->max_brightness); in defon_trig_activate()
/linux-4.1.27/drivers/video/fbdev/nvidia/
Dnv_backlight.c109 props.max_brightness = FB_BACKLIGHT_LEVELS - 1; in nvidia_bl_init()
123 bd->props.brightness = bd->props.max_brightness; in nvidia_bl_init()
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-class-led9 /sys/class/leds/<led>/max_brightness.
11 What: /sys/class/leds/<led>/max_brightness
Dsysfs-class-backlight-driver-adp887055 /sys/class/backlight/<backlight>/max_brightness to
/linux-4.1.27/Documentation/ABI/stable/
Dsysfs-class-backlight17 are between 0 and max_brightness. This file will also
30 What: /sys/class/backlight/<backlight>/max_brightness
/linux-4.1.27/include/linux/platform_data/
Dlm3639_bl.h66 void (*pwm_set_intensity) (int brightness, int max_brightness);
Dshmob_drm.h54 int max_brightness; member
/linux-4.1.27/drivers/hid/
Dhid-thingm.c164 rgb->red.ldev.max_brightness = 255; in thingm_init_rgb()
176 rgb->green.ldev.max_brightness = 255; in thingm_init_rgb()
188 rgb->blue.ldev.max_brightness = 255; in thingm_init_rgb()
Dhid-steelseries.c282 led->max_brightness = 1; in steelseries_srws1_probe()
303 led->max_brightness = 1; in steelseries_srws1_probe()
Dhid-picolcd_backlight.c78 props.max_brightness = 0xff; in picolcd_init_backlight()
Dhid-picolcd_leds.c133 led->max_brightness = 1; in picolcd_init_leds()
Dhid-sony.c1435 __u8 max_brightness[MAX_LEDS] = { [0 ... (MAX_LEDS - 1)] = 1 }; in sony_leds_init() local
1452 memset(max_brightness, 255, 3); in sony_leds_init()
1495 led->max_brightness = max_brightness[n]; in sony_leds_init()
Dhid-gt683r.c279 led->led_devs[i].max_brightness = 1; in gt683r_led_probe()
Dhid-lg4ff.c1136 led->max_brightness = 1; in lg4ff_init()
Dhid-wiimote-modules.c363 led->max_brightness = 1; in wiimod_led_probe()
/linux-4.1.27/drivers/video/fbdev/aty/
Dradeon_backlight.c156 props.max_brightness = FB_BACKLIGHT_LEVELS - 1; in radeonfb_bl_init()
188 bd->props.brightness = bd->props.max_brightness; in radeonfb_bl_init()
Daty128fb.c1884 props.max_brightness = FB_BACKLIGHT_LEVELS - 1; in aty128_bl_init()
1898 bd->props.brightness = bd->props.max_brightness; in aty128_bl_init()
Datyfb_base.c2234 props.max_brightness = FB_BACKLIGHT_LEVELS - 1; in aty_bl_init()
2248 bd->props.brightness = bd->props.max_brightness; in aty_bl_init()
/linux-4.1.27/Documentation/acpi/
Dvideo_extension.txt30 max_brightness: Derived from the _BCL package(see below);
34 brightness, actual_brightness and max_brightness. So if we have
62 the range of available brightness levels is from 0 to 9 (max_brightness)
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_backlight.c83 props.max_brightness = 31; in nv40_backlight_init()
205 props.max_brightness = 100; in nv50_backlight_init()
/linux-4.1.27/drivers/media/radio/
Dradio-shark.c225 .max_brightness = 127,
231 .max_brightness = 255,
237 .max_brightness = 1,
Dradio-shark2.c197 .max_brightness = 127,
203 .max_brightness = 1,
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Dled.c113 mvm->led.max_brightness = 1; in iwl_mvm_leds_init()
/linux-4.1.27/drivers/staging/nvec/
Dnvec_paz00.c57 led->cdev.max_brightness = NVEC_LED_MAX; in nvec_paz00_probe()
/linux-4.1.27/arch/unicore32/kernel/
Dpuv3-nb0916.c54 .max_brightness = 100,
/linux-4.1.27/drivers/gpu/drm/gma500/
Dpsb_device.c130 props.max_brightness = 100; in psb_backlight_init()
145 psb_backlight_device->props.max_brightness = 100; in psb_backlight_init()
Dmdfld_device.c130 props.max_brightness = BRIGHTNESS_MAX_LEVEL; in mdfld_backlight_init()
143 mdfld_backlight_device->props.max_brightness = BRIGHTNESS_MAX_LEVEL; in mdfld_backlight_init()
Doaktrail_device.c154 props.max_brightness = 100; in oaktrail_backlight_init()
169 oaktrail_backlight_device->props.max_brightness = 100; in oaktrail_backlight_init()
Dopregion.c167 int max = bd->props.max_brightness; in asle_set_backlight()
Dcdv_device.c162 props.max_brightness = 100; in cdv_backlight_init()
Dpsb_intel_sdvo.c183 u32 cur_brightness, max_brightness; member
/linux-4.1.27/include/linux/mfd/
Daat2870.h178 int max_brightness; member
/linux-4.1.27/arch/arm/mach-pxa/
Dcolibri-pxa270-income.c189 .max_brightness = 0x3ff,
Dtavorevb.c175 .max_brightness = 100,
183 .max_brightness = 100,
Dz2.c206 .max_brightness = 1023,
214 .max_brightness = 1023,
Dpalmte2.c165 .max_brightness = PALMTE2_MAX_INTENSITY,
Dpalm27x.c322 .max_brightness = 0xfe,
Dpcm990-baseboard.c153 .max_brightness = 1023,
Dpalmtc.c171 .max_brightness = PALMTC_MAX_INTENSITY,
Dzylonite.c125 .max_brightness = 100,
Dlpd270.c275 .max_brightness = 1,
Dmainstone.c253 .max_brightness = 1023,
Dmagician.c378 .max_brightness = 272,
Dcm-x300.c310 .max_brightness = 100,
Dhx4700.c561 .max_brightness = 200,
Dmioa701.c187 .max_brightness = 100,
Dviper.c401 .max_brightness = 100,
Draumfeld.c538 .max_brightness = 100,
Dezx.c54 .max_brightness = 1023,
/linux-4.1.27/drivers/video/fbdev/omap2/displays-new/
Dpanel-sony-acx565akm.c754 int max_brightness, brightness; in acx565akm_probe() local
835 max_brightness = 255; in acx565akm_probe()
842 bldev->props.max_brightness = max_brightness; in acx565akm_probe()
Dpanel-dsi-cm.c1298 props.max_brightness = 255; in dsicm_probe()
/linux-4.1.27/arch/arm/mach-clps711x/
Dboard-edb7211.c119 .max_brightness = 0x0f,
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_panel.c688 panel->backlight.device->props.max_brightness); in intel_panel_set_backlight_acpi()
980 panel->backlight.device->props.max_brightness); in intel_panel_enable_backlight()
1000 bd->props.brightness, bd->props.max_brightness); in intel_backlight_device_update_status()
1002 bd->props.max_brightness); in intel_backlight_device_update_status()
1036 ret = scale_hw_to_user(connector, hw_level, bd->props.max_brightness); in intel_backlight_device_get_brightness()
1069 props.max_brightness = panel->backlight.max; in intel_backlight_device_register()
1072 props.max_brightness); in intel_backlight_device_register()
Dintel_sdvo.c193 u32 cur_brightness, max_brightness; member
/linux-4.1.27/include/video/
Dsh_mobile_lcdc.h164 int max_brightness; member
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
Dled.c189 priv->led.max_brightness = 1; in iwl_leds_init()
/linux-4.1.27/arch/arm/mach-s3c64xx/
Dmach-hmt.c114 .max_brightness = 100 * 256,
Dmach-smartq.c151 .max_brightness = 1000,
Dmach-crag6410.c113 .max_brightness = 1000,
/linux-4.1.27/arch/avr32/boards/merisc/
Dsetup.c181 .max_brightness = 255,
/linux-4.1.27/arch/avr32/boards/favr-32/
Dsetup.c246 .max_brightness = 255,
/linux-4.1.27/arch/avr32/boards/atngw100/
Dmrmt.c168 .max_brightness = 255,
/linux-4.1.27/drivers/video/fbdev/exynos/
Ds6e8ax0.c713 brightness > bd->props.max_brightness) { in s6e8ax0_set_brightness()
805 lcd->bd->props.max_brightness = MAX_BRIGHTNESS; in s6e8ax0_probe()
/linux-4.1.27/drivers/usb/misc/
Dappledisplay.c294 props.max_brightness = 0xff; in appledisplay_probe()
/linux-4.1.27/arch/arm/mach-omap2/
Dboard-omap3beagle.c70 .max_brightness = 127,
/linux-4.1.27/drivers/staging/fbtft/
Dfb_watterott.c280 bl_props.max_brightness = 100; in register_chip_backlight()
/linux-4.1.27/sound/usb/line6/
Dtoneport.c326 leddev->max_brightness = 0x26; in toneport_init_leds()
/linux-4.1.27/arch/sh/boards/mach-ap325rxa/
Dsetup.c229 .max_brightness = 1,
/linux-4.1.27/arch/arm/mach-s3c24xx/
Dmach-h1940.c507 .max_brightness = 100,
Dmach-rx1950.c524 .max_brightness = 24,
/linux-4.1.27/drivers/gpu/drm/bridge/
Dps8622.c633 ps8622->bl->props.max_brightness = PS8622_MAX_BRIGHTNESS; in ps8622_probe()
/linux-4.1.27/Documentation/laptops/
Dsony-laptop.txt35 max_brightness the maximum brightness value
Dthinkpad-acpi.txt1000 max_brightness:
/linux-4.1.27/drivers/video/fbdev/
Dbfin-t350mcqb-fb.c550 props.max_brightness = 255; in bfin_t350mcqb_probe()
Dbf54x-lq043fb.c653 props.max_brightness = 255; in bfin_bf54x_probe()
Dsh_mobile_lcdcfb.c2324 bl->props.max_brightness = ch->cfg->bl_info.max_brightness; in sh_mobile_lcdc_bl_probe()
2325 bl->props.brightness = bl->props.max_brightness; in sh_mobile_lcdc_bl_probe()
2757 if (ch->cfg->bl_info.max_brightness) in sh_mobile_lcdc_probe()
Dbf537-lq035.c789 props.max_brightness = MAX_BRIGHENESS; in bfin_lq035_probe()
Datmel_lcdfb.c248 props.max_brightness = 0xff; in init_backlight()
Dmx3fb.c317 props.max_brightness = 0xff; in mx3fb_init_backlight()
/linux-4.1.27/drivers/staging/olpc_dcon/
Dolpc_dcon.c550 .max_brightness = 15,
/linux-4.1.27/arch/arm/mach-shmobile/
Dboard-armadillo800eva.c414 .max_brightness = 255,
/linux-4.1.27/drivers/video/fbdev/riva/
Dfbdev.c349 props.max_brightness = FB_BACKLIGHT_LEVELS - 1; in riva_bl_init()
363 bd->props.brightness = bd->props.max_brightness; in riva_bl_init()
/linux-4.1.27/arch/powerpc/kernel/
Dtraps.c102 props->brightness = props->max_brightness; in pmac_backlight_unblank()
/linux-4.1.27/drivers/acpi/
Dvideo.c1725 props.max_brightness = device->brightness->count - 3; in acpi_video_dev_register_backlight()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_legacy_encoders.c391 props.max_brightness = RADEON_MAX_BL_LEVEL; in radeon_legacy_backlight_init()
Datombios_encoders.c212 props.max_brightness = RADEON_MAX_BL_LEVEL; in radeon_atom_backlight_init()
/linux-4.1.27/drivers/input/misc/
Dims-pcu.c1023 backlight->cdev.max_brightness = IMS_PCU_MAX_BRIGHTNESS; in ims_pcu_setup_backlight()
/linux-4.1.27/drivers/net/wireless/iwlegacy/
Dcommon.c564 il->led.max_brightness = 1; in il_leds_init()