Home
last modified time | relevance | path

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

12345678910>>...24

/Linux-v6.6/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.
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
106 daylight /sys/class/backlight/<backlight>/daylight_max
107 office /sys/class/backlight/<backlight>/office_max
[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
Dsysfs-class-backlight-lm36391 sysfs interface for Texas Instruments lm3639 backlight + flash led driver chip
4 What: /sys/class/backlight/<backlight>/bled_mode
9 (WO) Write to the backlight mapping mode. The backlight current
/Linux-v6.6/drivers/gpu/drm/i915/display/
Dintel_backlight.c68 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(&i915->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()
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()
122 panel->backlight.pwm_level_min, panel->backlight.pwm_level_max); in intel_backlight_level_to_pwm()
133 panel->backlight.max == 0 || panel->backlight.pwm_level_max == 0); in intel_backlight_level_from_pwm()
[all …]
Dintel_dp_aux_backlight.c159 panel->backlight.edp.intel.sdr_uses_aux = in intel_dp_aux_supports_hdr_backlight()
181 if (!panel->backlight.edp.intel.sdr_uses_aux) { in intel_dp_aux_hdr_get_backlight()
182 u32 pwm_level = panel->backlight.pwm_funcs->get(connector, pipe); in intel_dp_aux_hdr_get_backlight()
188 return panel->backlight.max; in intel_dp_aux_hdr_get_backlight()
224 if (panel->backlight.edp.intel.sdr_uses_aux) { in intel_dp_aux_hdr_set_backlight()
254 if (panel->backlight.edp.intel.sdr_uses_aux) { in intel_dp_aux_hdr_enable_backlight()
260 panel->backlight.pwm_funcs->enable(crtc_state, conn_state, pwm_level); in intel_dp_aux_hdr_enable_backlight()
278 if (panel->backlight.edp.intel.sdr_uses_aux) in intel_dp_aux_hdr_disable_backlight()
282 panel->backlight.pwm_funcs->disable(conn_state, intel_backlight_invert_pwm_level(connector, 0)); in intel_dp_aux_hdr_disable_backlight()
301 dpcd_vs_pwm_str(panel->backlight.edp.intel.sdr_uses_aux)); in intel_dp_aux_hdr_setup_backlight()
[all …]
Dintel_dsi_dcs_backlight.c54 size_t len = panel->backlight.max > U8_MAX ? 2 : 1; in dcs_get_backlight()
73 size_t len = panel->backlight.max > U8_MAX ? 2 : 1; in dcs_set_backlight()
168 if (panel->vbt.backlight.brightness_precision_bits > 8) in dcs_setup_backlight()
169 panel->backlight.max = (1 << panel->vbt.backlight.brightness_precision_bits) - 1; in dcs_setup_backlight()
171 panel->backlight.max = PANEL_PWM_MAX_VALUE; in dcs_setup_backlight()
173 panel->backlight.level = panel->backlight.max; in dcs_setup_backlight()
196 if (panel->vbt.backlight.type != INTEL_BACKLIGHT_DSI_DCS) in intel_dsi_dcs_init_backlight_funcs()
202 panel->backlight.funcs = &dcs_bl_funcs; in intel_dsi_dcs_init_backlight_funcs()
/Linux-v6.6/drivers/gpu/drm/renesas/shmobile/
Dshmob_drm_backlight.c20 const struct shmob_drm_backlight_data *bdata = &sdev->pdata->backlight; in shmob_drm_backlight_update()
30 const struct shmob_drm_backlight_data *bdata = &sdev->pdata->backlight; in shmob_drm_backlight_get_brightness()
43 if (scon->backlight == NULL) in shmob_drm_backlight_dpms()
46 scon->backlight->props.power = mode == DRM_MODE_DPMS_ON in shmob_drm_backlight_dpms()
48 backlight_update_status(scon->backlight); in shmob_drm_backlight_dpms()
54 const struct shmob_drm_backlight_data *bdata = &sdev->pdata->backlight; in shmob_drm_backlight_init()
57 struct backlight_device *backlight; in shmob_drm_backlight_init() local
62 backlight = backlight_device_register(bdata->name, dev->dev, scon, in shmob_drm_backlight_init()
64 if (IS_ERR(backlight)) { in shmob_drm_backlight_init()
66 PTR_ERR(backlight)); in shmob_drm_backlight_init()
[all …]
/Linux-v6.6/drivers/video/backlight/
Dlv5207lp.c37 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 int lv5207lp_backlight_check_fb(struct backlight_device *backlight, in lv5207lp_backlight_check_fb() argument
68 struct lv5207lp *lv = bl_get_data(backlight); in lv5207lp_backlight_check_fb()
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()
117 return PTR_ERR(backlight); in lv5207lp_probe()
[all …]
Dbd6107.c72 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 int bd6107_backlight_check_fb(struct backlight_device *backlight, in bd6107_backlight_check_fb() argument
105 struct bd6107 *bd = bl_get_data(backlight); in bd6107_backlight_check_fb()
119 struct backlight_device *backlight; in bd6107_probe() local
162 backlight = devm_backlight_device_register(&client->dev, in bd6107_probe()
166 if (IS_ERR(backlight)) { in bd6107_probe()
168 return PTR_ERR(backlight); in bd6107_probe()
[all …]
DKconfig17 (contrast and applying power to the LCD (not to the backlight!)).
140 backlight. This includes support for brightness and power.
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.
163 If you have a LCD backlight connected to the BRIGHT output of
170 tristate "iPAQ microcontroller backlight driver"
174 Say y to enable the backlight driver for Compaq iPAQ handheld
182 Say y to enabled the backlight driver for the Kinetic KTD253
183 which is a 1-wire GPIO-controlled backlight found in some mobile
[all …]
DMakefile29 obj-$(CONFIG_BACKLIGHT_CLASS_DEVICE) += backlight.o
37 obj-$(CONFIG_BACKLIGHT_KTD253) += ktd253-backlight.o
47 obj-$(CONFIG_BACKLIGHT_MT6370) += mt6370-backlight.o
50 obj-$(CONFIG_BACKLIGHT_PCF50633) += pcf50633-backlight.o
53 obj-$(CONFIG_BACKLIGHT_RT4831) += rt4831-backlight.o
55 obj-$(CONFIG_BACKLIGHT_SKY81452) += sky81452-backlight.o
59 obj-$(CONFIG_BACKLIGHT_RAVE_SP) += rave-sp-backlight.o
/Linux-v6.6/Documentation/ABI/stable/
Dsysfs-class-backlight1 What: /sys/class/backlight/<backlight>/bl_power
12 What: /sys/class/backlight/<backlight>/brightness
17 Control the brightness for this <backlight>. Values
23 What: /sys/class/backlight/<backlight>/actual_brightness
31 What: /sys/class/backlight/<backlight>/max_brightness
36 Maximum brightness for <backlight>.
39 What: /sys/class/backlight/<backlight>/type
44 The type of interface controlled by <backlight>.
49 In the general case, when multiple backlight
55 backlight state. Platform interfaces are mostly a
/Linux-v6.6/drivers/gpu/drm/tilcdc/
Dtilcdc_panel.c29 struct backlight_device *backlight; member
48 struct backlight_device *backlight = panel_encoder->mod->backlight; in panel_encoder_dpms() local
51 if (backlight) { in panel_encoder_dpms()
52 backlight->props.power = mode == DRM_MODE_DPMS_ON ? in panel_encoder_dpms()
54 backlight_update_status(backlight); in panel_encoder_dpms()
308 struct backlight_device *backlight; in panel_probe() local
324 backlight = devm_of_find_backlight(&pdev->dev); in panel_probe()
325 if (IS_ERR(backlight)) in panel_probe()
326 return PTR_ERR(backlight); in panel_probe()
327 panel_mod->backlight = backlight; in panel_probe()
[all …]
/Linux-v6.6/Documentation/devicetree/bindings/mfd/
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";
Dti-lmu.txt47 - 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 {
149 compatible = "ti,lm3632-backlight";
152 pwm-names = "lmu-backlight";
167 backlight {
168 compatible = "ti,lm3633-backlight";
212 backlight {
[all …]
/Linux-v6.6/drivers/hid/
Dhid-picolcd_backlight.c77 data->backlight = bdev; in picolcd_init_backlight()
84 struct backlight_device *bdev = data->backlight; in picolcd_exit_backlight()
86 data->backlight = NULL; in picolcd_exit_backlight()
92 if (!data->backlight) in picolcd_resume_backlight()
94 return picolcd_set_brightness(data->backlight); in picolcd_resume_backlight()
101 if (!data->backlight) in picolcd_suspend_backlight()
104 data->backlight->props.power = FB_BLANK_POWERDOWN; in picolcd_suspend_backlight()
105 picolcd_set_brightness(data->backlight); in picolcd_suspend_backlight()
106 data->lcd_power = data->backlight->props.power = bl_power; in picolcd_suspend_backlight()
/Linux-v6.6/drivers/media/usb/gspca/gl860/
Dgl860-ov2640.c175 sd->vcur.backlight = 32; in ov2640_init_settings()
186 sd->vmax.backlight = 64; in ov2640_init_settings()
239 sd->vold.backlight = -1; in ov2640_init_pre_alt()
339 s32 backlight = sd->vcur.backlight; in ov2640_camera_settings() local
350 if (backlight != sd->vold.backlight) { in ov2640_camera_settings()
352 if (backlight < 0 || backlight > sd->vmax.backlight) in ov2640_camera_settings()
353 backlight = 0; in ov2640_camera_settings()
357 ctrl_out(gspca_dev, 0x40, 1, 0x601e + backlight , 0x0024, in ov2640_camera_settings()
359 ctrl_out(gspca_dev, 0x40, 1, 0x601e + backlight - 10, 0x0025, in ov2640_camera_settings()
457 if (backlight != sd->vold.backlight) { in ov2640_camera_settings()
[all …]
Dgl860-mi1320.c204 sd->vcur.backlight = 0; in mi1320_init_settings()
216 sd->vmax.backlight = 2; in mi1320_init_settings()
281 sd->vold.backlight = -1; in mi1320_init_pre_alt()
367 s32 backlight = sd->vcur.backlight; in mi1320_camera_settings() local
482 if (backlight != sd->vold.backlight) { in mi1320_camera_settings()
483 sd->vold.backlight = backlight; in mi1320_camera_settings()
484 if (backlight < 0 || backlight > sd->vmax.backlight) in mi1320_camera_settings()
485 backlight = 0; in mi1320_camera_settings()
487 backlight = tbl_backlight[backlight]; in mi1320_camera_settings()
492 ctrl_out(gspca_dev, 0x40, 1, 0xba80 + backlight, 0x00f1, in mi1320_camera_settings()
/Linux-v6.6/Documentation/devicetree/bindings/leds/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";
D88pm860x.txt1 88pm860x-backlight bindings
4 - marvell,88pm860x-iset: Current supplies on backlight device.
5 - marvell,88pm860x-pwm: PWM frequency on backlight device.
10 backlight-0 {
14 backlight-2 {
Dzii,rave-sp-backlight.txt3 RAVE SP backlight device is a "MFD cell" device corresponding to
4 backlight functionality of RAVE Supervisory Processor. It is expected
11 - compatible: Should be "zii,rave-sp-backlight"
19 backlight {
20 compatible = "zii,rave-sp-backlight";
/Linux-v6.6/Documentation/gpu/
Dbacklight.rst5 .. kernel-doc:: drivers/video/backlight/backlight.c
8 .. kernel-doc:: include/linux/backlight.h
11 .. kernel-doc:: drivers/video/backlight/backlight.c
/Linux-v6.6/arch/arm64/boot/dts/rockchip/
Dpx30-engicam-edimm2.2.dtsi10 backlight: backlight { label
11 compatible = "pwm-backlight";
17 backlight = <&backlight>;
/Linux-v6.6/arch/arm/boot/dts/microchip/
Dat91sam9x5dm.dtsi12 backlight: backlight { label
13 compatible = "pwm-backlight";
23 regulator-name = "backlight-power-supply";
31 backlight = <&backlight>;
/Linux-v6.6/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 …]

12345678910>>...24