Home
last modified time | relevance | path

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

12345

/linux-2.6.39/arch/powerpc/platforms/powermac/
Dbacklight.c113 (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/
Dda903x_bl.c110 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()
Dpwm_bl.c38 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()
Dbacklight.c161 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),
Datmel-pwm-bl.c172 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/
Dled-class.c72 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()
Dleds.h23 if (value > led_cdev->max_brightness) in led_set_brightness()
24 value = led_cdev->max_brightness; in led_set_brightness()
Dleds-pwm.c38 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()
Dledtrig-heartbeat.c51 brightness = led_cdev->max_brightness; in led_heartbeat_function()
60 brightness = led_cdev->max_brightness; in led_heartbeat_function()
Dleds-regulator.c109 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()
Dledtrig-default-on.c22 led_set_brightness(led_cdev, led_cdev->max_brightness); in defon_trig_activate()
/linux-2.6.39/drivers/platform/x86/
Dfujitsu-laptop.c152 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 …]
Dsamsung-laptop.c115 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/
Dvia-pmu-backlight.c167 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/
Dpsb_bl.c139 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/
Dnv_backlight.c115 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/
Dsysfs-class-led9 /sys/class/leds/<led>/max_brightness.
11 What: /sys/class/leds/<led>/max_brightness
/linux-2.6.39/drivers/gpu/drm/nouveau/
Dnouveau_backlight.c103 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/
Dleds_pwm.h12 unsigned max_brightness; member
Dpwm_backlight.h11 unsigned int max_brightness; member
/linux-2.6.39/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-2.6.39/drivers/video/omap2/displays/
Dpanel-acx565akm.c497 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()
Dpanel-nec-nl8048hl11-01b.c131 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/
Dradeon_backlight.c162 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/
Dmsm_fb_bl.c71 pbd->props.max_brightness = FB_BACKLIGHT_LEVELS - 1; in msm_fb_config_backlight()

12345