Home
last modified time | relevance | path

Searched refs:backlight (Results 1 – 25 of 79) sorted by relevance

1234

/linux-2.6.39/Documentation/ABI/stable/
Dsysfs-class-backlight1 What: /sys/class/backlight/<backlight>/bl_power
11 What: /sys/class/backlight/<backlight>/brightness
16 Control the brightness for this <backlight>. Values
22 What: /sys/class/backlight/<backlight>/actual_brightness
30 What: /sys/class/backlight/<backlight>/max_brightness
35 Maximum brightness for <backlight>.
38 What: /sys/class/backlight/<backlight>/type
43 The type of interface controlled by <backlight>.
48 In the general case, when multiple backlight
54 backlight state. Platform interfaces are mostly a
/linux-2.6.39/drivers/media/video/gspca/gl860/
Dgl860-ov2640.c187 sd->vcur.backlight = 32; in ov2640_init_settings()
198 sd->vmax.backlight = 64; in ov2640_init_settings()
251 sd->vold.backlight = -1; in ov2640_init_pre_alt()
351 s32 backlight = sd->vcur.backlight; in ov2640_camera_settings() local
362 if (backlight != sd->vold.backlight) { in ov2640_camera_settings()
364 if (backlight < 0 || backlight > sd->vmax.backlight) in ov2640_camera_settings()
365 backlight = 0; in ov2640_camera_settings()
369 ctrl_out(gspca_dev, 0x40, 1, 0x601e + backlight , 0x0024, in ov2640_camera_settings()
371 ctrl_out(gspca_dev, 0x40, 1, 0x601e + backlight - 10, 0x0025, in ov2640_camera_settings()
469 if (backlight != sd->vold.backlight) { in ov2640_camera_settings()
[all …]
Dgl860-mi1320.c189 sd->vcur.backlight = 0; in mi1320_init_settings()
201 sd->vmax.backlight = 2; in mi1320_init_settings()
266 sd->vold.backlight = -1; in mi1320_init_pre_alt()
352 s32 backlight = sd->vcur.backlight; in mi1320_camera_settings() local
467 if (backlight != sd->vold.backlight) { in mi1320_camera_settings()
468 sd->vold.backlight = backlight; in mi1320_camera_settings()
469 if (backlight < 0 || backlight > sd->vmax.backlight) in mi1320_camera_settings()
470 backlight = 0; in mi1320_camera_settings()
472 backlight = tbl_backlight[backlight]; in mi1320_camera_settings()
477 ctrl_out(gspca_dev, 0x40, 1, 0xba80 + backlight, 0x00f1, in mi1320_camera_settings()
Dgl860-mi2020.c295 sd->vcur.backlight = 0; in mi2020_init_settings()
307 sd->vmax.backlight = 64; in mi2020_init_settings()
372 sd->vold.backlight = 0; in mi2020_init_pre_alt()
566 s32 backlight = sd->vcur.backlight; in mi2020_camera_settings() local
695 if (backlight != sd->vold.backlight) { in mi2020_camera_settings()
696 sd->vold.backlight = backlight; in mi2020_camera_settings()
697 if (backlight < 0 || backlight > sd->vmax.backlight) in mi2020_camera_settings()
698 backlight = 0; in mi2020_camera_settings()
702 dat_multi4[2] = dat_multi2[2] = backlight; in mi2020_camera_settings()
Dgl860-ov9655.c157 sd->vcur.backlight = 0; in ov9655_init_settings()
166 sd->vmax.backlight = 0; in ov9655_init_settings()
/linux-2.6.39/drivers/video/backlight/
DKconfig9 backlight and the LCD panel on some platforms, for example on PDAs.
23 (contrast and applying power to the LCD (not to the backlight!)).
130 backlight. This includes support for brightness and power.
142 This provides a backlight control internal to the Atmel LCDC
144 so it controls the backlight brightness, select this option to
145 export this as a PWM-based backlight control.
151 tristate "Atmel PWM backlight control"
165 If you have a LCD backlight connected to the BRIGHT output of
175 Say y to enable the generic platform backlight driver previously
176 known as the Corgi backlight driver. If you have a Sharp Zaurus
[all …]
DMakefile17 obj-$(CONFIG_BACKLIGHT_CLASS_DEVICE) += backlight.o
38 obj-$(CONFIG_BACKLIGHT_PCF50633) += pcf50633-backlight.o
/linux-2.6.39/drivers/gpu/drm/nouveau/
Dnouveau_backlight.c109 dev_priv->backlight = bd; in nouveau_nv40_backlight_init()
134 dev_priv->backlight = bd; in nouveau_nv50_backlight_init()
170 if (dev_priv->backlight) { in nouveau_backlight_exit()
171 backlight_device_unregister(dev_priv->backlight); in nouveau_backlight_exit()
172 dev_priv->backlight = NULL; in nouveau_backlight_exit()
DKconfig18 bool "Support for backlight control"
22 Say Y here if you want to control the backlight of your display
/linux-2.6.39/drivers/platform/x86/
Dmsi-wmi.c62 static struct backlight_device *backlight; variable
259 backlight = backlight_device_register(DRV_NAME, NULL, NULL, in msi_wmi_init()
262 if (IS_ERR(backlight)) { in msi_wmi_init()
263 err = PTR_ERR(backlight); in msi_wmi_init()
271 backlight->props.brightness = err; in msi_wmi_init()
278 backlight_device_unregister(backlight); in msi_wmi_init()
292 backlight_device_unregister(backlight); in msi_wmi_exit()
Dpanasonic-laptop.c226 struct backlight_device *backlight; member
607 pcc->backlight = backlight_device_register("panasonic", NULL, pcc, in acpi_pcc_hotkey_add()
609 if (IS_ERR(pcc->backlight)) { in acpi_pcc_hotkey_add()
610 result = PTR_ERR(pcc->backlight); in acpi_pcc_hotkey_add()
615 pcc->backlight->props.brightness = pcc->sinf[SINF_AC_CUR_BRIGHT]; in acpi_pcc_hotkey_add()
628 backlight_device_unregister(pcc->backlight); in acpi_pcc_hotkey_add()
665 backlight_device_unregister(pcc->backlight); in acpi_pcc_hotkey_remove()
/linux-2.6.39/arch/arm/mach-omap1/
Dboard-sx1.c115 int sx1_setbacklight(u8 backlight) in sx1_setbacklight() argument
117 if (backlight > SOFIA_MAX_LIGHT_VAL) in sx1_setbacklight()
118 backlight = SOFIA_MAX_LIGHT_VAL; in sx1_setbacklight()
120 backlight); in sx1_setbacklight()
123 int sx1_getbacklight (u8 * backlight) in sx1_getbacklight() argument
126 backlight); in sx1_getbacklight()
/linux-2.6.39/arch/arm/plat-omap/include/plat/
Dboard-sx1.h37 int sx1_setbacklight(u8 backlight);
38 int sx1_getbacklight(u8 *backlight);
/linux-2.6.39/drivers/gpu/drm/i915/
Ddvo_ivch.c294 uint16_t vr01, vr30, backlight; in ivch_dpms() local
301 backlight = 1; in ivch_dpms()
303 backlight = 0; in ivch_dpms()
304 ivch_write(dvo, VR80, backlight); in ivch_dpms()
/linux-2.6.39/Documentation/ABI/testing/
Dsysfs-class-led35 gpio and backlight triggers. In case of the backlight trigger,
/linux-2.6.39/drivers/acpi/
Dvideo.c206 struct backlight_device *backlight; member
372 if (device->backlight) in acpi_video_device_lcd_set_level()
373 device->backlight->props.brightness = state - 2; in acpi_video_device_lcd_set_level()
811 device->backlight = backlight_device_register(name, in acpi_video_device_find_cap()
817 if (IS_ERR(device->backlight)) in acpi_video_device_find_cap()
824 device->backlight->props.brightness = in acpi_video_device_find_cap()
825 acpi_video_get_brightness(device->backlight); in acpi_video_device_find_cap()
1265 backlight_force_update(device->backlight, in acpi_video_switch_brightness()
1378 if (device->backlight) { in acpi_video_bus_put_one_device()
1379 backlight_device_unregister(device->backlight); in acpi_video_bus_put_one_device()
[all …]
/linux-2.6.39/drivers/media/video/pwc/
Dpwc-ctrl.c1124 int pwc_set_backlight(struct pwc_device *pdev, int backlight) in pwc_set_backlight() argument
1128 if (backlight) in pwc_set_backlight()
1137 int pwc_get_backlight(struct pwc_device *pdev, int *backlight) in pwc_get_backlight() argument
1147 *backlight = !!buf; in pwc_get_backlight()
1570 ARG_DEF(int, backlight) in pwc_ioctl()
1572 ARG_IN(backlight) in pwc_ioctl()
1573 ret = pwc_set_backlight(pdev, ARGR(backlight)); in pwc_ioctl()
1579 ARG_DEF(int, backlight) in pwc_ioctl()
1581 ret = pwc_get_backlight(pdev, ARGA(backlight)); in pwc_ioctl()
1582 ARG_OUT(backlight) in pwc_ioctl()
/linux-2.6.39/drivers/mfd/
Dadp5520.c283 if (pdata->backlight) { in adp5520_probe()
287 pdata->backlight, in adp5520_probe()
288 sizeof(*pdata->backlight)); in adp5520_probe()
/linux-2.6.39/arch/powerpc/platforms/powermac/
DMakefile11 obj-$(CONFIG_PMAC_BACKLIGHT) += backlight.o
/linux-2.6.39/drivers/media/video/gspca/
Dvc032x.c45 u8 backlight; member
3417 sd->backlight = BACKLIGHT_DEF; in sd_config()
3691 data = (sd->backlight << 4) | 0x0f; in setbacklight()
3693 v = 613 + 12 * sd->backlight; in setbacklight()
3698 v = 1093 - 12 * sd->backlight; in setbacklight()
3703 v = 342 + 9 * sd->backlight; in setbacklight()
3708 v = 702 - 9 * sd->backlight; in setbacklight()
4147 sd->backlight = val; in sd_setbacklight()
4158 *val = sd->backlight; in sd_getbacklight()
/linux-2.6.39/include/linux/mfd/wm831x/
Dpdata.h122 struct wm831x_backlight_pdata *backlight; member
/linux-2.6.39/arch/arm/mach-pxa/
Dsaarb.c80 .backlight = &saarb_backlight[0],
Dtavorevb3.c90 .backlight = &evb3_backlight[0],
/linux-2.6.39/drivers/staging/gma500/
Dpsb_fb.c672 struct drm_property *backlight; in psb_create_backlight_property() local
677 backlight = drm_property_create(dev, in psb_create_backlight_property()
681 backlight->values[0] = 0; in psb_create_backlight_property()
682 backlight->values[1] = 100; in psb_create_backlight_property()
684 dev_priv->backlight_property = backlight; in psb_create_backlight_property()
/linux-2.6.39/drivers/gpu/stub/
DKconfig16 will call poulsbo.ko to enable the acpi backlight control sysfs

1234