Home
last modified time | relevance | path

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

12345678910>>...43

/linux-6.12.1/drivers/video/backlight/
DKconfig3 # Backlight & LCD drivers configuration
6 menu "Backlight & LCD device support"
17 (contrast and applying power to the LCD (not to the backlight!)).
134 # Backlight
137 tristate "Lowlevel Backlight controls"
140 backlight. This includes support for brightness and power.
148 bool "Atmel LCDC Contrast-as-Backlight control"
151 This provides a backlight control internal to the Atmel LCDC
153 so it controls the backlight brightness, select this option to
154 export this as a PWM-based backlight control.
[all …]
Dbacklight.c3 * Backlight Lowlevel Control Abstraction
14 #include <linux/backlight.h>
22 #include <asm/backlight.h>
28 * The backlight core supports implementing backlight drivers.
30 * A backlight driver registers a driver using
31 * devm_backlight_device_register(). The properties of the backlight
34 * the update_status() operation is called. The backlight driver shall
35 * implement this operation and use it to adjust backlight.
37 * Several sysfs attributes are provided by the backlight core::
43 * See Documentation/ABI/stable/sysfs-class-backlight for the full list.
[all …]
Dlv5207lp.c10 #include <linux/backlight.h>
37 struct backlight_device *backlight; member
46 static int lv5207lp_backlight_update_status(struct backlight_device *backlight) in lv5207lp_backlight_update_status() argument
48 struct lv5207lp *lv = bl_get_data(backlight); in lv5207lp_backlight_update_status()
49 int brightness = backlight_get_brightness(backlight); in lv5207lp_backlight_update_status()
65 static bool lv5207lp_backlight_controls_device(struct backlight_device *backlight, in lv5207lp_backlight_controls_device() argument
68 struct lv5207lp *lv = bl_get_data(backlight); in lv5207lp_backlight_controls_device()
82 struct backlight_device *backlight; in lv5207lp_probe() local
112 backlight = devm_backlight_device_register(&client->dev, in lv5207lp_probe()
115 if (IS_ERR(backlight)) { in lv5207lp_probe()
[all …]
Dbd6107.c10 #include <linux/backlight.h>
72 struct backlight_device *backlight; member
82 static int bd6107_backlight_update_status(struct backlight_device *backlight) in bd6107_backlight_update_status() argument
84 struct bd6107 *bd = bl_get_data(backlight); in bd6107_backlight_update_status()
85 int brightness = backlight_get_brightness(backlight); in bd6107_backlight_update_status()
102 static bool bd6107_backlight_controls_device(struct backlight_device *backlight, in bd6107_backlight_controls_device() argument
105 struct bd6107 *bd = bl_get_data(backlight); in bd6107_backlight_controls_device()
119 struct backlight_device *backlight; in bd6107_probe() local
159 backlight = devm_backlight_device_register(&client->dev, in bd6107_probe()
163 if (IS_ERR(backlight)) { in bd6107_probe()
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_backlight.c6 #include <linux/backlight.h>
68 hw_level = scale(user_level, 0, user_max, 0, panel->backlight.max); in clamp_user_to_hw()
69 hw_level = clamp(hw_level, panel->backlight.min, panel->backlight.max); in clamp_user_to_hw()
80 return scale(hw_level, panel->backlight.min, panel->backlight.max, in scale_hw_to_user()
89 drm_WARN_ON(display->drm, panel->backlight.pwm_level_max == 0); in intel_backlight_invert_pwm_level()
96 return panel->backlight.pwm_level_max - val + panel->backlight.pwm_level_min; in intel_backlight_invert_pwm_level()
108 drm_dbg_kms(&i915->drm, "[CONNECTOR:%d:%s] set backlight PWM = %d\n", in intel_backlight_set_pwm_level()
110 panel->backlight.pwm_funcs->set(conn_state, val); in intel_backlight_set_pwm_level()
119 panel->backlight.max == 0 || panel->backlight.pwm_level_max == 0); in intel_backlight_level_to_pwm()
121 val = scale(val, panel->backlight.min, panel->backlight.max, in intel_backlight_level_to_pwm()
[all …]
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
44 * DP AUX registers for Intel's proprietary HDR backlight interface. We define
108 /* Intel EDP backlight callbacks */
126 "[CONNECTOR:%d:%s] Detected %s HDR backlight interface version %d\n", in intel_dp_aux_supports_hdr_backlight()
139 * do not use Intel proprietary eDP backlight control if we in intel_dp_aux_supports_hdr_backlight()
149 …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-6.12.1/Documentation/ABI/testing/
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 …]
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-6.12.1/include/linux/
Dbacklight.h3 * Backlight Lowlevel Control Abstraction
19 * enum backlight_update_reason - what method was used to update backlight
21 * A driver indicates the method (reason) used for updating the backlight
26 * @BACKLIGHT_UPDATE_HOTKEY: The backlight was updated using a hot-key.
31 * @BACKLIGHT_UPDATE_SYSFS: The backlight was updated using sysfs.
37 * enum backlight_type - the type of backlight control
39 * The type of interface used to control the backlight.
45 * The backlight is controlled using hardware registers.
52 * The backlight is controlled using a platform-specific interface.
59 * The backlight is controlled using a standard firmware interface.
[all …]
/linux-6.12.1/Documentation/ABI/stable/
Dsysfs-class-backlight1 What: /sys/class/backlight/<backlight>/bl_power
6 Control BACKLIGHT power, values are compatible with
13 What: /sys/class/backlight/<backlight>/brightness
18 Control the brightness for this <backlight>. Values
24 What: /sys/class/backlight/<backlight>/actual_brightness
32 What: /sys/class/backlight/<backlight>/max_brightness
37 Maximum brightness for <backlight>.
40 What: /sys/class/backlight/<backlight>/type
45 The type of interface controlled by <backlight>.
50 In the general case, when multiple backlight
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/leds/backlight/
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 …]
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";
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.
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";
Dled-backlight.yaml4 $id: http://devicetree.org/schemas/leds/backlight/led-backlight.yaml#
7 title: led-backlight
15 This binding is used to describe a basic backlight device made of LEDs. It
16 can also be used to describe a backlight device controlled by the output of
24 const: led-backlight
40 backlight {
41 compatible = "led-backlight";
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";
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-6.12.1/Documentation/devicetree/bindings/mfd/
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 …]
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";
Drichtek,rt4831.yaml7 title: Richtek RT4831 DSV and Backlight Integrated IC
14 and LCD backlight.
19 For the LCD backlight, it can provide four channel WLED driving capability.
42 backlight:
43 $ref: /schemas/leds/backlight/richtek,rt4831-backlight.yaml
53 #include <dt-bindings/leds/rt4831-backlight.h>
82 backlight {
83 compatible = "richtek,rt4831-backlight";
/linux-6.12.1/tools/arch/x86/dell-uart-backlight-emulator/
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
/linux-6.12.1/Documentation/firmware-guide/acpi/
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-6.12.1/drivers/gpu/drm/tilcdc/
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-6.12.1/drivers/hid/
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 …]
/linux-6.12.1/drivers/platform/x86/
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 …]

12345678910>>...43