Home
last modified time | relevance | path

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

12345678910>>...24

/linux/Documentation/ABI/testing/
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
85 /sys/class/backlight/<backlight>/max_brightness to
86 /sys/class/backlight/<backlight>/brightness.
106 daylight /sys/class/backlight/<backlight>/daylight_max
107 office /sys/class/backlight/<backlight>/office_max
108 dark /sys/class/backlight/<backlight>/dark_max
119 l3_dark /sys/class/backlight/<backlight>/l3_dark_max
157 office /sys/class/backlight/<backlight>/office_dim
[all …]
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/
A Dintel_backlight.c60 hw_level = clamp(hw_level, panel->backlight.min, panel->backlight.max); in clamp_user_to_hw()
71 return scale(hw_level, panel->backlight.min, panel->backlight.max, in scale_hw_to_user()
111 val = scale(val, panel->backlight.min, panel->backlight.max, in intel_backlight_level_to_pwm()
130 panel->backlight.min, panel->backlight.max); in intel_backlight_level_from_pwm()
783 if (panel->backlight.level <= panel->backlight.min) { in __intel_backlight_enable()
784 panel->backlight.level = panel->backlight.max; in __intel_backlight_enable()
843 panel->backlight.min, panel->backlight.max); in scale_user_to_hw()
1568 panel->backlight.min = panel->backlight.pwm_level_min; in intel_pwm_setup_backlight()
1569 panel->backlight.max = panel->backlight.pwm_level_max; in intel_pwm_setup_backlight()
1571 panel->backlight.enabled = panel->backlight.pwm_enabled; in intel_pwm_setup_backlight()
[all …]
A Dintel_dp_aux_backlight.c128 panel->backlight.edp.intel.sdr_uses_aux = in intel_dp_aux_supports_hdr_backlight()
156 return panel->backlight.max; in intel_dp_aux_hdr_get_backlight()
269 panel->backlight.max = 512; in intel_dp_aux_hdr_setup_backlight()
270 panel->backlight.min = 0; in intel_dp_aux_hdr_setup_backlight()
272 panel->backlight.enabled = panel->backlight.level != 0; in intel_dp_aux_hdr_setup_backlight()
349 panel->backlight.max = panel->backlight.edp.vesa.info.max; in intel_dp_aux_vesa_setup_backlight()
350 panel->backlight.min = 0; in intel_dp_aux_vesa_setup_backlight()
353 panel->backlight.enabled = panel->backlight.level != 0; in intel_dp_aux_vesa_setup_backlight()
355 panel->backlight.level = panel->backlight.max; in intel_dp_aux_vesa_setup_backlight()
356 panel->backlight.enabled = false; in intel_dp_aux_vesa_setup_backlight()
[all …]
A 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()
163 if (dev_priv->vbt.backlight.brightness_precision_bits > 8) in dcs_setup_backlight()
164 panel->backlight.max = (1 << dev_priv->vbt.backlight.brightness_precision_bits) - 1; in dcs_setup_backlight()
166 panel->backlight.max = PANEL_PWM_MAX_VALUE; in dcs_setup_backlight()
168 panel->backlight.level = panel->backlight.max; in dcs_setup_backlight()
188 if (dev_priv->vbt.backlight.type != INTEL_BACKLIGHT_DSI_DCS) in intel_dsi_dcs_init_backlight_funcs()
194 panel->backlight.funcs = &dcs_bl_funcs; in intel_dsi_dcs_init_backlight_funcs()
/linux/drivers/gpu/drm/shmobile/
A Dshmob_drm_backlight.c47 if (scon->backlight == NULL) in shmob_drm_backlight_dpms()
52 backlight_update_status(scon->backlight); in shmob_drm_backlight_dpms()
61 struct backlight_device *backlight; in shmob_drm_backlight_init() local
68 if (IS_ERR(backlight)) { in shmob_drm_backlight_init()
70 PTR_ERR(backlight)); in shmob_drm_backlight_init()
71 return PTR_ERR(backlight); in shmob_drm_backlight_init()
75 backlight->props.brightness = bdata->max_brightness; in shmob_drm_backlight_init()
76 backlight->props.power = FB_BLANK_POWERDOWN; in shmob_drm_backlight_init()
77 backlight_update_status(backlight); in shmob_drm_backlight_init()
79 scon->backlight = backlight; in shmob_drm_backlight_init()
[all …]
/linux/drivers/video/backlight/
A Dlv5207lp.c37 struct backlight_device *backlight; member
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()
68 struct lv5207lp *lv = bl_get_data(backlight); in lv5207lp_backlight_check_fb()
83 struct backlight_device *backlight; in lv5207lp_probe() local
116 if (IS_ERR(backlight)) { in lv5207lp_probe()
118 return PTR_ERR(backlight); in lv5207lp_probe()
121 backlight_update_status(backlight); in lv5207lp_probe()
122 i2c_set_clientdata(client, backlight); in lv5207lp_probe()
131 backlight->props.brightness = 0; in lv5207lp_remove()
[all …]
A Dbd6107.c72 struct backlight_device *backlight; member
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()
105 struct bd6107 *bd = bl_get_data(backlight); in bd6107_backlight_check_fb()
120 struct backlight_device *backlight; in bd6107_probe() local
167 if (IS_ERR(backlight)) { in bd6107_probe()
169 return PTR_ERR(backlight); in bd6107_probe()
172 backlight_update_status(backlight); in bd6107_probe()
173 i2c_set_clientdata(client, backlight); in bd6107_probe()
182 backlight->props.brightness = 0; in bd6107_remove()
[all …]
A DKconfig227 backlight driver.
242 backlight driver.
276 backlight.
283 for its backlight
305 backlight driver.
366 backlight driver.
402 backlight driver.
409 backlight driver.
419 backlight driver.
426 backlight driver.
[all …]
A D.built-in.a.cmd1backlight/built-in.a := echo >/dev/null; rm -f drivers/video/backlight/built-in.a; /usr/bin/ccache…
/linux/Documentation/ABI/stable/
A 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/drivers/gpu/drm/tilcdc/
A Dtilcdc_panel.c28 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()
53 backlight_update_status(backlight); in panel_encoder_dpms()
324 if (IS_ERR(backlight)) in panel_probe()
325 return PTR_ERR(backlight); in panel_probe()
326 panel_mod->backlight = backlight; in panel_probe()
371 if (panel_mod->backlight) in panel_probe()
380 struct backlight_device *backlight = panel_mod->backlight; in panel_remove() local
382 if (backlight) in panel_remove()
[all …]
/linux/Documentation/devicetree/bindings/leds/backlight/
A Dgpio-backlight.yaml4 $id: http://devicetree.org/schemas/leds/backlight/gpio-backlight.yaml#
7 title: gpio-backlight bindings
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";
A Dled-backlight.yaml4 $id: http://devicetree.org/schemas/leds/backlight/led-backlight.yaml#
7 title: led-backlight bindings
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
21 const: led-backlight
31 backlight brightness level into a LED brightness level. If it is not
49 backlight {
50 compatible = "led-backlight";
A Dpwm-backlight.yaml4 $id: http://devicetree.org/schemas/leds/backlight/pwm-backlight.yaml#
7 title: pwm-backlight bindings
16 const: pwm-backlight
29 the backlight.
35 backlight using GPIO.
39 Delay in ms between disabling the backlight using GPIO and setting PWM
77 backlight {
78 compatible = "pwm-backlight";
92 backlight {
93 compatible = "pwm-backlight";
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";
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 {
A 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 {
/linux/drivers/media/usb/gspca/gl860/
A 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 …]
/linux/drivers/hid/
A 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/Documentation/devicetree/bindings/mfd/
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";
A 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 …]
A Drichtek,rt4831.yaml14 and LCD backlight.
19 For the LCD backlight, it can provide four channel WLED driving capability.
42 backlight:
43 $ref: ../leds/backlight/richtek,rt4831-backlight.yaml
53 #include <dt-bindings/leds/rt4831-backlight.h>
82 backlight {
83 compatible = "richtek,rt4831-backlight";
/linux/Documentation/gpu/
A 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/drivers/gpu/drm/
A Ddrm_panel.c164 ret = backlight_enable(panel->backlight); in drm_panel_enable()
190 ret = backlight_disable(panel->backlight); in drm_panel_disable()
331 struct backlight_device *backlight; in drm_panel_of_backlight() local
336 backlight = devm_of_find_backlight(panel->dev); in drm_panel_of_backlight()
338 if (IS_ERR(backlight)) in drm_panel_of_backlight()
339 return PTR_ERR(backlight); in drm_panel_of_backlight()
341 panel->backlight = backlight; in drm_panel_of_backlight()

Completed in 29 milliseconds

12345678910>>...24