Lines Matching refs:backlight

19 #include <linux/backlight.h>
203 struct backlight_device *backlight;
221 /* backlight device sysfs support */
355 if (device->backlight)
356 device->backlight->props.brightness =
464 * that is the type of LCD can do the backlight control so we should not
465 * register backlight interface for other video output devices.
599 * the correct current backlight level in most cases.
600 * ACPI video backlight still works w/ buggy _BQC.
669 * - a brightness hotkey gets pressed (implied by Win7/8 backlight docs)
673 * - a brightness hotkey gets pressed (implied by Win7/8 backlight docs)
698 * Simple comparison function used to sort backlight levels.
943 * or an index). Set the backlight to max_level in this case.
1407 if (!device->backlight)
1424 backlight_force_update(device->backlight,
1607 if (video_device->backlight)
1608 backlight_force_update(video_device->backlight,
1666 dev_info(&video->device->dev, "Restoring backlight state\n");
1731 device->backlight = backlight_device_register(name,
1737 if (IS_ERR(device->backlight)) {
1738 device->backlight = NULL;
1746 device->backlight->props.brightness =
1747 acpi_video_get_brightness(device->backlight);
1792 * Do not create backlight device for video output
1831 if (device->backlight) {
1832 backlight_device_unregister(device->backlight);
1833 device->backlight = NULL;
2045 * If backlight-type auto-detection is used then a native backlight may
2047 * Therefor normally the userspace visible /sys/class/backlight device
2050 * Register the backlight now when not using auto-detection, so that
2051 * when the kernel cmdline or DMI-quirks are used the backlight will