/linux-2.6.39/arch/powerpc/platforms/powermac/ |
D | backlight.c | 113 (props->max_brightness / 15)); in pmac_backlight_key_worker() 117 else if (brightness > props->max_brightness) in pmac_backlight_key_worker() 118 brightness = props->max_brightness; in pmac_backlight_key_worker() 149 (props->max_brightness + 1) / in __pmac_backlight_set_legacy_brightness() 152 if (props->brightness > props->max_brightness) in __pmac_backlight_set_legacy_brightness() 153 props->brightness = props->max_brightness; in __pmac_backlight_set_legacy_brightness() 200 (props->max_brightness + 1); in pmac_backlight_get_legacy_brightness()
|
/linux-2.6.39/drivers/video/backlight/ |
D | da903x_bl.c | 110 int max_brightness; in da903x_backlight_probe() local 118 max_brightness = DA9030_MAX_BRIGHTNESS; in da903x_backlight_probe() 121 max_brightness = DA9034_MAX_BRIGHTNESS; in da903x_backlight_probe() 140 props.max_brightness = max_brightness; in da903x_backlight_probe() 149 bl->props.brightness = max_brightness; in da903x_backlight_probe()
|
D | pwm_bl.c | 38 int max = bl->props.max_brightness; in pwm_backlight_update_status() 110 (data->pwm_period_ns / data->max_brightness); in pwm_backlight_probe() 123 props.max_brightness = data->max_brightness; in pwm_backlight_probe()
|
D | backlight.c | 161 if (brightness > bd->props.max_brightness) in backlight_store_brightness() 191 return sprintf(buf, "%d\n", bd->props.max_brightness); in backlight_show_max_brightness() 250 __ATTR(max_brightness, 0444, backlight_show_max_brightness, NULL),
|
D | atmel-pwm-bl.c | 172 props.max_brightness = pdata->pwm_duty_max - pdata->pwm_duty_min; in atmel_pwm_bl_probe() 186 bldev->props.brightness = bldev->props.max_brightness / 2; in atmel_pwm_bl_probe()
|
/linux-2.6.39/drivers/leds/ |
D | led-class.c | 72 return sprintf(buf, "%u\n", led_cdev->max_brightness); in led_max_brightness_show() 77 __ATTR(max_brightness, 0444, led_max_brightness_show, NULL), 132 led_cdev->blink_brightness = led_cdev->max_brightness; in led_set_software_blink() 219 if (!led_cdev->max_brightness) in led_classdev_register() 220 led_cdev->max_brightness = LED_FULL; in led_classdev_register()
|
D | leds.h | 23 if (value > led_cdev->max_brightness) in led_set_brightness() 24 value = led_cdev->max_brightness; in led_set_brightness()
|
D | leds-pwm.c | 38 unsigned int max = led_dat->cdev.max_brightness; in led_pwm_set() 84 led_dat->cdev.max_brightness = cur_led->max_brightness; in led_pwm_probe()
|
D | ledtrig-heartbeat.c | 51 brightness = led_cdev->max_brightness; in led_heartbeat_function() 60 brightness = led_cdev->max_brightness; in led_heartbeat_function()
|
D | leds-regulator.c | 109 if (led->cdev.max_brightness > 1) { in regulator_led_set_value() 167 led->cdev.max_brightness = led_regulator_get_max_brightness(vcc); in regulator_led_probe() 168 if (pdata->brightness > led->cdev.max_brightness) { in regulator_led_probe()
|
D | ledtrig-default-on.c | 22 led_set_brightness(led_cdev, led_cdev->max_brightness); in defon_trig_activate()
|
/linux-2.6.39/drivers/platform/x86/ |
D | fujitsu-laptop.c | 152 unsigned int max_brightness; member 325 if (level < 0 || level >= fujitsu->max_brightness) in set_lcd_level() 353 if (level < 0 || level >= fujitsu->max_brightness) in set_lcd_level_alt() 405 fujitsu->max_brightness = state; in get_max_brightness() 407 return fujitsu->max_brightness; in get_max_brightness() 496 || (level < 0 || level >= fujitsu->max_brightness)) in store_lcd_level() 556 static DEVICE_ATTR(max_brightness, 0444, show_max_brightness, ignore_store); 721 fujitsu->max_brightness = FUJITSU_LCD_N_LEVELS; in acpi_fujitsu_add() 1086 int ret, result, max_brightness; in fujitsu_init() local 1130 max_brightness = fujitsu->max_brightness; in fujitsu_init() [all …]
|
D | samsung-laptop.c | 115 u8 max_brightness; member 164 .max_brightness = 8, 215 .max_brightness = 8, 785 props.max_brightness = sabi_config->max_brightness; in samsung_init()
|
/linux-2.6.39/drivers/macintosh/ |
D | via-pmu-backlight.c | 167 props.max_brightness = FB_BACKLIGHT_LEVELS - 1; in pmu_backlight_init() 177 level = bd->props.max_brightness; in pmu_backlight_init() 187 bd->props.max_brightness / 15); in pmu_backlight_init()
|
/linux-2.6.39/drivers/staging/gma500/ |
D | psb_bl.c | 139 props.max_brightness = BRIGHTNESS_MAX_LEVEL; in psb_backlight_init() 151 psb_backlight_device->props.max_brightness = BRIGHTNESS_MAX_LEVEL; in psb_backlight_init()
|
/linux-2.6.39/drivers/video/nvidia/ |
D | nv_backlight.c | 115 props.max_brightness = FB_BACKLIGHT_LEVELS - 1; in nvidia_bl_init() 129 bd->props.brightness = bd->props.max_brightness; in nvidia_bl_init()
|
/linux-2.6.39/Documentation/ABI/testing/ |
D | sysfs-class-led | 9 /sys/class/leds/<led>/max_brightness. 11 What: /sys/class/leds/<led>/max_brightness
|
/linux-2.6.39/drivers/gpu/drm/nouveau/ |
D | nouveau_backlight.c | 103 props.max_brightness = 31; in nouveau_nv40_backlight_init() 128 props.max_brightness = 1025; in nouveau_nv50_backlight_init()
|
/linux-2.6.39/include/linux/ |
D | leds_pwm.h | 12 unsigned max_brightness; member
|
D | pwm_backlight.h | 11 unsigned int max_brightness; member
|
/linux-2.6.39/Documentation/ABI/stable/ |
D | sysfs-class-backlight | 17 are between 0 and max_brightness. This file will also 30 What: /sys/class/backlight/<backlight>/max_brightness
|
/linux-2.6.39/drivers/video/omap2/displays/ |
D | panel-acx565akm.c | 497 int max_brightness, brightness; in acx_panel_probe() local 554 max_brightness = 255; in acx_panel_probe() 556 max_brightness = dssdev->max_backlight_level; in acx_panel_probe() 565 bldev->props.max_brightness = max_brightness; in acx_panel_probe()
|
D | panel-nec-nl8048hl11-01b.c | 131 props.max_brightness = 255; in nec_8048_panel_probe() 144 bl->props.max_brightness = dssdev->max_backlight_level; in nec_8048_panel_probe()
|
/linux-2.6.39/drivers/video/aty/ |
D | radeon_backlight.c | 162 props.max_brightness = FB_BACKLIGHT_LEVELS - 1; in radeonfb_bl_init() 194 bd->props.brightness = bd->props.max_brightness; in radeonfb_bl_init()
|
/linux-2.6.39/drivers/staging/msm/ |
D | msm_fb_bl.c | 71 pbd->props.max_brightness = FB_BACKLIGHT_LEVELS - 1; in msm_fb_config_backlight()
|