/linux-6.6.21/Documentation/ABI/testing/ |
D | sysfs-class-backlight | 1 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 …]
|
D | sysfs-class-backlight-driver-lm3533 | 1 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
|
D | sysfs-class-backlight-lm3639 | 1 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-6.6.21/drivers/gpu/drm/i915/display/ |
D | intel_backlight.c | 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(&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 …]
|
D | intel_dp_aux_backlight.c | 159 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 …]
|
D | intel_dsi_dcs_backlight.c | 54 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-6.6.21/drivers/gpu/drm/renesas/shmobile/ |
D | shmob_drm_backlight.c | 20 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-6.6.21/drivers/video/backlight/ |
D | lv5207lp.c | 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 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 …]
|
D | bd6107.c | 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 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 …]
|
D | Kconfig | 17 (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 …]
|
/linux-6.6.21/Documentation/ABI/stable/ |
D | sysfs-class-backlight | 1 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-6.6.21/Documentation/devicetree/bindings/leds/backlight/ |
D | gpio-backlight.yaml | 4 $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";
|
D | mediatek,mt6370-backlight.yaml | 4 $id: http://devicetree.org/schemas/leds/backlight/mediatek,mt6370-backlight.yaml# 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 69 Enable the backlight shutdown when OCP level triggered. 79 Enable the exponential mode of backlight brightness. If this property [all …]
|
D | led-backlight.yaml | 4 $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 21 const: led-backlight 33 backlight brightness level into a LED brightness level. If it is not 51 backlight { 52 compatible = "led-backlight";
|
D | sky81452-backlight.txt | 1 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";
|
D | pwm-backlight.yaml | 4 $id: http://devicetree.org/schemas/leds/backlight/pwm-backlight.yaml# 7 title: pwm-backlight 16 const: pwm-backlight 29 the backlight. 35 backlight using GPIO. 39 Delay in ms between disabling the backlight using GPIO and setting PWM 76 backlight { 77 compatible = "pwm-backlight"; 91 backlight { 92 compatible = "pwm-backlight";
|
D | 88pm860x.txt | 1 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 {
|
D | kinetic,ktd253.yaml | 4 $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.6.21/drivers/gpu/drm/tilcdc/ |
D | tilcdc_panel.c | 29 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-6.6.21/Documentation/devicetree/bindings/mfd/ |
D | sky81452.txt | 8 - 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";
|
D | ti-lmu.txt | 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 { 149 compatible = "ti,lm3632-backlight"; 152 pwm-names = "lmu-backlight"; 167 backlight { 168 compatible = "ti,lm3633-backlight"; 212 backlight { [all …]
|
D | richtek,rt4831.yaml | 14 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-6.6.21/drivers/hid/ |
D | hid-picolcd_backlight.c | 77 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-6.6.21/drivers/media/usb/gspca/gl860/ |
D | gl860-ov2640.c | 175 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-6.6.21/Documentation/gpu/ |
D | backlight.rst | 5 .. kernel-doc:: drivers/video/backlight/backlight.c 8 .. kernel-doc:: include/linux/backlight.h 11 .. kernel-doc:: drivers/video/backlight/backlight.c
|