Home
last modified time | relevance | path

Searched full:backlight (Results 1 – 25 of 749) sorted by relevance

12345678910>>...30

/linux/Documentation/ABI/testing/
H A Dsysfs-class-backlight1 What: /sys/class/backlight/<backlight>/scale
28 What: /sys/class/backlight/<backlight>/ambient_light_level
49 What: /sys/class/backlight/<backlight>/ambient_light_zone
57 backlight operates.
64 0 Off: Backlight set to 0 mA
73 0 Off: Backlight set to 0 mA
85 /sys/class/backlight/<backlight>/max_brightness to
86 /sys/class/backlight/<backlight>/brightness.
88 What: /sys/class/backlight/<backlight>/<ambient light zone>_max
94 on this <backlight>. Values are between 0 and 127. This file
[all …]
H A Dsysfs-class-backlight-driver-lm35331 What: /sys/class/backlight/<backlight>/als_channel
10 0 out_current0 (backlight 0)
11 1 out_current1 (backlight 1)
14 What: /sys/class/backlight/<backlight>/als_en
21 What: /sys/class/backlight/<backlight>/id
26 Get the id of this backlight (0, 1).
28 What: /sys/class/backlight/<backlight>/linear
40 What: /sys/class/backlight/<backlight>/pwm
/linux/drivers/gpu/drm/i915/display/
H A Dintel_dp_aux_backlight.c27 * backlight through DP AUX can actually use two different interfaces: Intel's
28 * proprietary DP AUX backlight interface, and the standard VESA backlight
30 * advertise support for the standard VESA backlight interface when they
31 * don't properly support it. However, on these systems the Intel backlight
33 * usually just indicate that they use PWM backlight controls in their VBIOS
46 * DP AUX registers for Intel's proprietary HDR backlight interface. We define
110 /* Intel EDP backlight callbacks */
128 "[CONNECTOR:%d:%s] Detected %s HDR backlight interface version %d\n", in intel_dp_aux_supports_hdr_backlight()
141 * do not use Intel proprietary eDP backlight control if we in intel_dp_aux_supports_hdr_backlight()
151 …DR static metadata. Possible support for Intel HDR backlight interface is not used. If your backli… in intel_dp_aux_supports_hdr_backlight()
[all …]
/linux/include/linux/
H A Dbacklight.h3 * Backlight Lowlevel Control Abstraction
18 * enum backlight_update_reason - what method was used to update backlight
20 * A driver indicates the method (reason) used for updating the backlight
25 * @BACKLIGHT_UPDATE_HOTKEY: The backlight was updated using a hot-key.
30 * @BACKLIGHT_UPDATE_SYSFS: The backlight was updated using sysfs.
36 * enum backlight_type - the type of backlight control
38 * The type of interface used to control the backlight.
44 * The backlight is controlled using hardware registers.
51 * The backlight is controlled using a platform-specific interface.
58 * The backlight is controlled using a standard firmware interface.
[all …]
/linux/Documentation/devicetree/bindings/leds/backlight/
H A Dmediatek,mt6370-backlight.yaml4 $id: http://devicetree.org/schemas/leds/backlight/mediatek,mt6370-backlight.yaml#
7 title: MediaTek MT6370 Backlight
14 The MT6370 Backlight WLED driver supports up to a 29V output voltage for
26 - mediatek,mt6370-backlight
27 - mediatek,mt6372-backlight
36 description: External backlight 'enable' pin
41 Enable external PWM input for backlight dimming
46 Enable the backlight input-hysteresis for PWM mode
53 The selection of the upper and lower bounds threshold of backlight
59 Enable the backlight shutdown when OVP level triggered
[all …]
H A Dpwm-backlight.yaml4 $id: http://devicetree.org/schemas/leds/backlight/pwm-backlight.yaml#
7 title: pwm-backlight
19 const: pwm-backlight
32 the backlight.
38 backlight using GPIO.
42 Delay in ms between disabling the backlight using GPIO and setting PWM
64 backlight {
65 compatible = "pwm-backlight";
79 backlight {
80 compatible = "pwm-backlight";
H A Drichtek,rt4831-backlight.yaml4 $id: http://devicetree.org/schemas/leds/backlight/richtek,rt4831-backlight.yaml#
7 title: Richtek RT4831 Backlight
14 and LCD backlight.
16 For the LCD backlight, it can provide four channel WLED driving capability.
27 const: richtek,rt4831-backlight
39 Specify the backlight dimming following by PWM duty or by SW control.
44 Backlight OVP level selection, currently support 17V/21V/25V/29V.
52 Backlight over current protection level.
57 Backlight LED channel to be used.
H A Dgpio-backlight.yaml4 $id: http://devicetree.org/schemas/leds/backlight/gpio-backlight.yaml#
7 title: gpio-backlight
16 const: gpio-backlight
19 description: The gpio that is used for enabling/disabling the backlight.
23 description: enable the backlight at boot.
35 backlight {
36 compatible = "gpio-backlight";
H A Dzii,rave-sp-backlight.yaml4 $id: http://devicetree.org/schemas/leds/backlight/zii,rave-sp-backlight.yaml#
7 title: Zodiac Inflight Innovations RAVE Supervisory Processor Backlight
13 RAVE SP backlight device is a "MFD cell" device corresponding to
14 backlight functionality of RAVE Supervisory Processor. It is expected
21 const: zii,rave-sp-backlight
33 backlight {
34 compatible = "zii,rave-sp-backlight";
H A Dsky81452-backlight.txt1 SKY81452-backlight bindings
4 - compatible : Must be "skyworks,sky81452-backlight"
7 - name : Name of backlight device. Default is 'lcd-backlight'.
22 backlight {
23 compatible = "skyworks,sky81452-backlight";
24 name = "pwm-backlight";
H A Dlp855x-backlight.yaml4 $id: http://devicetree.org/schemas/leds/backlight/lp855x-backlight.yaml#
7 title: Texas Instruments LP855X backlight controllers
33 description: Backlight device name.
37 description: Initial value of backlight brightness.
48 PWM channel to use for controlling the backlight; setting this
49 enables the PWM-based backlight control mode.
87 backlight@2c {
120 backlight@2c {
134 backlight@2c {
H A Dkinetic,ktd253.yaml4 $id: http://devicetree.org/schemas/leds/backlight/kinetic,ktd253.yaml#
7 title: Kinetic Technologies KTD253 and KTD259 one-wire backlight
14 controlled by a single GPIO line. If you just turn on the backlight
15 it goes to maximum backlight then you can set the level of backlight
30 description: GPIO to use to enable/disable and dim the backlight.
45 backlight {
/linux/Documentation/devicetree/bindings/mfd/
H A Dti-lmu.txt7 LM3631 Backlight and regulator
8 LM3632 Backlight and regulator
9 LM3633 Backlight, LED and fault monitor
10 LM3695 Backlight
11 LM36274 Backlight and regulator
47 - backlight: All LMU devices have backlight child nodes.
60 [1] ../leds/backlight/ti-lmu-backlight.txt
106 backlight {
107 compatible = "ti,lm3631-backlight";
148 backlight {
[all …]
H A Dsky81452.txt8 - backlight : container node for backlight following the binding
9 in leds/backlight/sky81452-backlight.txt
19 backlight {
20 compatible = "skyworks,sky81452-backlight";
21 name = "pwm-backlight";
/linux/tools/arch/x86/dell-uart-backlight-emulator/
H A DREADME1 Emulator for DELL0501 UART attached backlight controller
4 Dell All In One (AIO) models released after 2017 use a backlight controller
13 the backlight controller board attached.
16 the drivers/platform/x86/dell/dell-uart-backlight.c driver without access
32 ./dell-uart-backlight-emulator <path-to-/dev/tty*S#-for-second-port>
36 ./dell-uart-backlight-emulator /dev/ttyUSB0
38 And then (re)load the dell-uart-backlight driver:
40 sudo rmmod dell-uart-backlight; sudo modprobe dell-uart-backlight dyndbg
44 should be a /sys/class/backlight/dell_uart_backlight/ directory now
H A DMakefile4 dell-uart-backlight-emulator: dell-uart-backlight-emulator.c
15 @rm -f dell-uart-backlight-emulator
17 install : dell-uart-backlight-emulator
19 install -m 755 -p dell-uart-backlight-emulator $(DESTDIR)$(BINDIR)/dell-uart-backlight-emulator
/linux/Documentation/firmware-guide/acpi/
H A Dvideo_extension.rst14 The ACPI video driver does 3 things regarding backlight control.
16 Export a sysfs interface for user space to control backlight level
20 command line is not present, the driver will register a backlight device
21 and set the required backlight operation structure for it for the sysfs
23 directory named acpi_videoX under /sys/class/backlight.
25 The backlight sysfs interface has a standard definition here:
26 Documentation/ABI/stable/sysfs-class-backlight.
42 Note that ACPI video backlight driver will always use index for
108 Once user space tool receives this event, it can modify the backlight
111 Change backlight level in the kernel
[all …]
/linux/drivers/gpu/drm/tilcdc/
H A Dtilcdc_panel.c7 #include <linux/backlight.h>
28 struct backlight_device *backlight; member
47 struct backlight_device *backlight = panel_encoder->mod->backlight; in panel_encoder_dpms() local
50 if (backlight) { in panel_encoder_dpms()
51 backlight->props.power = mode == DRM_MODE_DPMS_ON ? in panel_encoder_dpms()
53 backlight_update_status(backlight); in panel_encoder_dpms()
307 struct backlight_device *backlight; in panel_probe() local
322 backlight = devm_of_find_backlight(&pdev->dev); in panel_probe()
323 if (IS_ERR(backlight)) in panel_probe()
324 return PTR_ERR(backlight); in panel_probe()
[all …]
/linux/drivers/hid/
H A Dhid-picolcd_backlight.c12 #include <linux/backlight.h>
66 dev_err(dev, "failed to register backlight\n"); in picolcd_init_backlight()
71 data->backlight = bdev; in picolcd_init_backlight()
78 struct backlight_device *bdev = data->backlight; in picolcd_exit_backlight()
80 data->backlight = NULL; in picolcd_exit_backlight()
86 if (!data->backlight) in picolcd_resume_backlight()
88 return picolcd_set_brightness(data->backlight); in picolcd_resume_backlight()
95 if (!data->backlight) in picolcd_suspend_backlight()
98 data->backlight->props.power = BACKLIGHT_POWER_OFF; in picolcd_suspend_backlight()
99 picolcd_set_brightness(data->backlight); in picolcd_suspend_backlight()
[all …]
H A Dhid-apple.c103 u16 backlight; member
120 struct apple_sc_backlight *backlight; member
801 rep->backlight = value; in apple_backlight_set()
814 struct apple_sc_backlight *backlight = container_of(led_cdev, in apple_backlight_led_set() local
817 return apple_backlight_set(backlight->hdev, brightness, 0); in apple_backlight_led_set()
836 hid_err(hdev, "backlight request failed: %d\n", ret); in apple_backlight_init()
840 hid_err(hdev, "backlight config struct: bad version %i\n", rep->version); in apple_backlight_init()
845 hid_dbg(hdev, "backlight config: off=%u, on_min=%u, on_max=%u\n", in apple_backlight_init()
848 asc->backlight = devm_kzalloc(&hdev->dev, sizeof(*asc->backlight), GFP_KERNEL); in apple_backlight_init()
849 if (!asc->backlight) { in apple_backlight_init()
[all …]
/linux/drivers/platform/x86/
H A Dmsi-wmi.c16 #include <linux/backlight.h>
85 static struct backlight_device *backlight; variable
137 /* Instance 1 is "get backlight", cmp with DSDT */ in bl_get()
140 pr_err("Could not query backlight: %d\n", err); in bl_get()
146 pr_debug("Current backlight level: 0x%X - index: %d\n", in bl_get()
164 /* Instance 0 is "set backlight" */ in bl_set_status()
203 (backlight || in msi_wmi_notify()
223 backlight = backlight_device_register(DRV_NAME, NULL, NULL, in msi_wmi_backlight_setup()
226 if (IS_ERR(backlight)) in msi_wmi_backlight_setup()
227 return PTR_ERR(backlight); in msi_wmi_backlight_setup()
[all …]
/linux/Documentation/gpu/
H A Dbacklight.rst2 Backlight support
5 .. kernel-doc:: drivers/video/backlight/backlight.c
8 .. kernel-doc:: include/linux/backlight.h
11 .. kernel-doc:: drivers/video/backlight/backlight.c
/linux/Documentation/devicetree/bindings/leds/
H A Dleds-lm36274.txt1 * Texas Instruments LM36274 4-Channel LCD Backlight Driver w/Integrated Bias
4 The backlight boost provides the power to bias four parallel LED strings with
14 Required backlight properties:
16 "ti,lm36274-backlight"
24 Optional backlight properties:
70 backlight {
73 compatible = "ti,lm36274-backlight";
79 linux,default-trigger = "backlight";
/linux/drivers/video/backlight/
H A Dipaq_micro_bl.c4 * iPAQ microcontroller backlight support
8 #include <linux/backlight.h>
26 * Byte 0: backlight instance (usually 1) in micro_bl_update_status()
53 bd = devm_backlight_device_register(&pdev->dev, "ipaq-micro-backlight", in micro_backlight_probe()
67 .name = "ipaq-micro-backlight",
74 MODULE_DESCRIPTION("driver for iPAQ Atmel micro backlight");
75 MODULE_ALIAS("platform:ipaq-micro-backlight");
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_abm.c97 // Check for max backlight condition in dmcu_set_backlight_level()
100 // Take MSB of fractional part since backlight is not max in dmcu_set_backlight_level()
138 static void dce_abm_init(struct abm *abm, uint32_t backlight, uint32_t user_level) in dce_abm_init() argument
159 BL1_PWM_CURRENT_ABM_LEVEL, backlight); in dce_abm_init()
162 BL1_PWM_TARGET_ABM_LEVEL, backlight); in dce_abm_init()
180 unsigned int backlight = REG_READ(BL1_PWM_CURRENT_ABM_LEVEL); in dce_abm_get_current_backlight() local
182 /* return backlight in hardware format which is unsigned 17 bits, with in dce_abm_get_current_backlight()
185 return backlight; in dce_abm_get_current_backlight()
191 unsigned int backlight = REG_READ(BL1_PWM_TARGET_ABM_LEVEL); in dce_abm_get_target_backlight() local
193 /* return backlight in hardware format which is unsigned 17 bits, with in dce_abm_get_target_backlight()
[all …]

12345678910>>...30