Home
last modified time | relevance | path

Searched +full:brightness +full:- +full:level (Results 1 – 25 of 650) sorted by relevance

12345678910>>...26

/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-class-backlight6 Description of the scale of the brightness curve.
8 The human eye senses brightness approximately logarithmically,
9 hence linear changes in brightness are perceived as being
10 non-linear. To achieve a linear perception of brightness changes
12 backlights with a linear brightness curve.
17 The scale of the brightness curve is unknown.
20 The brightness changes linearly with each step. Brightness
24 non-linear
25 The brightness changes non-linearly with each step. Brightness
38 The value range is device-driver specific:
[all …]
Dsysfs-class-led1 What: /sys/class/leds/<led>/brightness
6 Set the brightness of the LED.
8 Most LEDs don't have hardware brightness support, so will
9 just be turned on for non-zero brightness settings.
20 led_brightness = brightness * multi_intensity/max_brightness
23 Documentation/leds/leds-class-multicolor.rst.
30 Writing non-zero to this file while trigger is active changes the
31 top brightness trigger is going to use.
40 Maximum brightness level for this LED, default is 255 (LED_FULL).
42 If the LED does not support different brightness levels, this
[all …]
Dsysfs-class-backlight-adp55202 ---------------------------------------------------------------
4 The backlight brightness control operates at three different levels for the
5 adp5520 and adp5501 devices: daylight (level 1), office (level 2) and dark
6 (level 3). By default the brightness operates at the daylight brightness level.
15 (RW) Maximum current setting for the backlight when brightness
18 value between 0 mA and 30 mA using linear or non-linear
28 (RW) Dim current setting for the backlight when brightness is at
31 between 0 mA and 30 mA using linear or non-linear algorithms.
Dsysfs-class-backlight-adp88602 -----------------------------------------------------------
4 The backlight brightness control operates at three different levels for the
5 adp8860, adp8861 and adp8863 devices: daylight (level 1), office (level 2) and
6 dark (level 3). By default the brightness operates at the daylight brightness
7 level.
20 (RW) Maximum current setting for the backlight when brightness
23 value between 0 mA and 30 mA using linear or non-linear
34 (RW) Dim current setting for the backlight when brightness is at
37 between 0 mA and 30 mA using linear or non-linear algorithms.
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/backlight/
Dpwm-backlight.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/leds/backlight/pwm-backlight.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: pwm-backlight bindings
10 - Lee Jones <lee.jones@linaro.org>
11 - Daniel Thompson <daniel.thompson@linaro.org>
12 - Jingoo Han <jingoohan1@gmail.com>
16 const: pwm-backlight
21 pwm-names: true
[all …]
Dled-backlight.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/leds/backlight/led-backlight.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: led-backlight bindings
10 - Lee Jones <lee.jones@linaro.org>
11 - Daniel Thompson <daniel.thompson@linaro.org>
12 - Jingoo Han <jingoohan1@gmail.com>
21 const: led-backlight
25 $ref: /schemas/types.yaml#/definitions/phandle-array
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/leds/backlight/
Dpwm-backlight.txt1 pwm-backlight bindings
4 - compatible: "pwm-backlight"
5 - pwms: OF device-tree PWM specification (see PWM binding[0])
6 - power-supply: regulator for supply voltage
9 - pwm-names: a list of names for the PWM devices specified in the
11 - enable-gpios: contains a single GPIO specifier for the GPIO which enables
13 - post-pwm-on-delay-ms: Delay in ms between setting an initial (non-zero) PWM
15 - pwm-off-delay-ms: Delay in ms between disabling the backlight using GPIO
17 - brightness-levels: Array of distinct brightness levels. Typically these
19 0 will do. The actual brightness level (PWM duty cycle)
[all …]
/kernel/linux/linux-4.19/Documentation/acpi/
Dvideo_extension.txt13 1 Export a sysfs interface for user space to control backlight level
22 Documentation/ABI/stable/sysfs-class-backlight.
26 get the brightness level the firmware thinks it is at;
27 bl_power: not implemented, will set the current brightness instead;
28 brightness: on write, control method _BCM will run to set the requested
29 brightness level;
34 brightness, actual_brightness and max_brightness. So if we have
59 corresponds to the 0x0A brightness value) to 9 (that corresponds to the
60 0x64 brightness value) inclusive. Each of those index values is regarded
61 as a "brightness level" indicator. Thus from the user space perspective
[all …]
/kernel/linux/linux-5.10/drivers/acpi/
Dacpi_video.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * video.c - ACPI Video Driver
7 * Copyright (C) 2006 Thomas Tuttle <linux-kernel@ttuttle.net>
53 static int disable_backlight_sysfs_if = -1;
58 static int report_key_events = -1;
61 "0: none, 1: output changes, 2: brightness changes, 3: all");
63 static int hw_changes_brightness = -1;
66 "Set this to 1 on buggy hw which changes the brightness itself when "
67 "a hotkey is pressed: -1: auto, 0: normal 1: hw-changes-brightness");
76 static int only_lcd = -1;
[all …]
/kernel/linux/linux-4.19/drivers/acpi/
Dacpi_video.c2 * video.c - ACPI Video Driver
6 * Copyright (C) 2006 Thomas Tuttle <linux-kernel@ttuttle.net>
66 static int disable_backlight_sysfs_if = -1;
71 static int report_key_events = -1;
74 "0: none, 1: output changes, 2: brightness changes, 3: all");
76 static int hw_changes_brightness = -1;
79 "Set this to 1 on buggy hw which changes the brightness itself when "
80 "a hotkey is pressed: -1: auto, 0: normal 1: hw-changes-brightness");
89 static int only_lcd = -1;
108 ACPI_VIDEO_AC_LEVEL, /* level when machine has full power */
[all …]
/kernel/linux/linux-5.10/Documentation/firmware-guide/acpi/
Dvideo_extension.rst1 .. SPDX-License-Identifier: GPL-2.0
16 Export a sysfs interface for user space to control backlight level
26 Documentation/ABI/stable/sysfs-class-backlight.
32 get the brightness level the firmware thinks it is at;
34 not implemented, will set the current brightness instead;
35 brightness:
36 on write, control method _BCM will run to set the requested brightness level;
43 brightness, actual_brightness and max_brightness. So if we have
68 corresponds to the 0x0A brightness value) to 9 (that corresponds to the
69 0x64 brightness value) inclusive. Each of those index values is regarded
[all …]
/kernel/linux/linux-4.19/Documentation/ABI/testing/
Dsysfs-class-led1 What: /sys/class/leds/<led>/brightness
6 Set the brightness of the LED. Most LEDs don't
7 have hardware brightness support, so will just be turned on for
8 non-zero brightness settings. The value is between 0 and
13 Writing non-zero to this file while trigger is active changes the
14 top brightness trigger is going to use.
21 Maximum brightness level for this LED, default is 255 (LED_FULL).
23 If the LED does not support different brightness levels, this
30 Last hardware set brightness level for this LED. Some LEDs
36 the brightness.
[all …]
Dsysfs-class-backlight-adp55202 ---------------------------------------------------------------
4 The backlight brightness control operates at three different levels for the
5 adp5520 and adp5501 devices: daylight (level 1), office (level 2) and dark
6 (level 3). By default the brightness operates at the daylight brightness level.
15 (RW) Maximum current setting for the backlight when brightness
18 value between 0 mA and 30 mA using linear or non-linear
28 (RW) Dim current setting for the backlight when brightness is at
31 between 0 mA and 30 mA using linear or non-linear algorithms.
Dsysfs-class-backlight-adp88602 -----------------------------------------------------------
4 The backlight brightness control operates at three different levels for the
5 adp8860, adp8861 and adp8863 devices: daylight (level 1), office (level 2) and
6 dark (level 3). By default the brightness operates at the daylight brightness
7 level.
14 (RO) 13-bit conversion value for the first light sensor—high
24 (RW) Read or write the specific level at which the backlight
37 (RW) Maximum current setting for the backlight when brightness
40 value between 0 mA and 30 mA using linear or non-linear
51 (RW) Dim current setting for the backlight when brightness is at
[all …]
Dsysfs-class-backlight-driver-adp88709 Contact: device-drivers-devel@blackfin.uclinux.org
11 Control the maximum brightness for <ambient light zone>
13 will also show the brightness level stored for this
23 Contact: device-drivers-devel@blackfin.uclinux.org
25 Control the dim brightness for <ambient light zone>
28 This file will also show the dim brightness level stored for
34 Contact: device-drivers-devel@blackfin.uclinux.org
39 8000 (max ambient brightness)
44 Contact: device-drivers-devel@blackfin.uclinux.org
50 Writing 0 returns to normal/automatic ambient light level
[all …]
/kernel/linux/linux-4.19/drivers/video/backlight/
Dtps65217_bl.c39 rc = tps65217_set_bits(tps65217_bl->tps, TPS65217_REG_WLEDCTRL1, in tps65217_bl_enable()
43 dev_err(tps65217_bl->dev, in tps65217_bl_enable()
48 tps65217_bl->is_enabled = true; in tps65217_bl_enable()
50 dev_dbg(tps65217_bl->dev, "backlight enabled\n"); in tps65217_bl_enable()
59 rc = tps65217_clear_bits(tps65217_bl->tps, in tps65217_bl_disable()
64 dev_err(tps65217_bl->dev, in tps65217_bl_disable()
69 tps65217_bl->is_enabled = false; in tps65217_bl_disable()
71 dev_dbg(tps65217_bl->dev, "backlight disabled\n"); in tps65217_bl_disable()
80 int brightness = bl->props.brightness; in tps65217_bl_update_status() local
82 if (bl->props.state & BL_CORE_SUSPENDED) in tps65217_bl_update_status()
[all …]
Dadp8870_bl.c4 * Copyright 2009-2011 Analog Devices Inc.
6 * Licensed under the GPL-2 or later.
36 #define ADP8870_BLMX1 0x0A /* Backlight (Brightness Level 1-daylight) maximum current */
37 #define ADP8870_BLDM1 0x0B /* Backlight (Brightness Level 1-daylight) dim current */
38 #define ADP8870_BLMX2 0x0C /* Backlight (Brightness Level 2-bright) maximum current */
39 #define ADP8870_BLDM2 0x0D /* Backlight (Brightness Level 2-bright) dim current */
40 #define ADP8870_BLMX3 0x0E /* Backlight (Brightness Level 3-office) maximum current */
41 #define ADP8870_BLDM3 0x0F /* Backlight (Brightness Level 3-office) dim current */
42 #define ADP8870_BLMX4 0x10 /* Backlight (Brightness Level 4-indoor) maximum current */
43 #define ADP8870_BLDM4 0x11 /* Backlight (Brightness Level 4-indoor) dim current */
[all …]
/kernel/linux/linux-5.10/drivers/leds/
Dleds-tca6507.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * leds-tca6507
9 * blink or double-blink.
12 * out-only (pull-up resistor required) or as an LED with variable
13 * brightness and hardware-assisted blinking.
15 * Apart from OFF and ON there are three programmable brightness
21 * with separate time for rise, on, fall, off and second-off. Thus if
22 * 3 or more different non-trivial rates are required, software must
25 * support double-blink so 'second-off' always matches 'off'.
42 * delays in the ranges: 56-72, 112-144, 168-216, 224-27504,
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/
Dbacklight.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Copyright (C) 2006 Michael Hanselmann <linux-kernel@hansmi.ch>
36 /* The via-pmu code allows the backlight to be grabbed, in which case the
37 * in-kernel control of the brightness needs to be disabled. This should
65 "backlight-control", NULL); in pmac_has_backlight_type()
78 int level = (FB_BACKLIGHT_LEVELS - 1); in pmac_backlight_curve_lookup() local
80 if (info && info->bl_dev) { in pmac_backlight_curve_lookup()
85 max = max((int)info->bl_curve[i], max); in pmac_backlight_curve_lookup()
89 int diff = abs(info->bl_curve[i] - value); in pmac_backlight_curve_lookup()
92 level = i; in pmac_backlight_curve_lookup()
[all …]
/kernel/linux/linux-4.19/arch/powerpc/platforms/powermac/
Dbacklight.c6 * Copyright (C) 2006 Michael Hanselmann <linux-kernel@hansmi.ch>
35 /* The via-pmu code allows the backlight to be grabbed, in which case the
36 * in-kernel control of the brightness needs to be disabled. This should
64 "backlight-control", NULL); in pmac_has_backlight_type()
77 int level = (FB_BACKLIGHT_LEVELS - 1); in pmac_backlight_curve_lookup() local
79 if (info && info->bl_dev) { in pmac_backlight_curve_lookup()
84 max = max((int)info->bl_curve[i], max); in pmac_backlight_curve_lookup()
88 int diff = abs(info->bl_curve[i] - value); in pmac_backlight_curve_lookup()
91 level = i; in pmac_backlight_curve_lookup()
97 return level; in pmac_backlight_curve_lookup()
[all …]
/kernel/linux/linux-5.10/drivers/video/backlight/
Dled_bl.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2015-2019 Texas Instruments Incorporated - http://www.ti.com/
25 static void led_bl_set_brightness(struct led_bl_data *priv, int level) in led_bl_set_brightness() argument
30 if (priv->levels) in led_bl_set_brightness()
31 bkl_brightness = priv->levels[level]; in led_bl_set_brightness()
33 bkl_brightness = level; in led_bl_set_brightness()
35 for (i = 0; i < priv->nb_leds; i++) in led_bl_set_brightness()
36 led_set_brightness(priv->leds[i], bkl_brightness); in led_bl_set_brightness()
38 priv->enabled = true; in led_bl_set_brightness()
45 if (!priv->enabled) in led_bl_power_off()
[all …]
Dadp8870_bl.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright 2009-2011 Analog Devices Inc.
35 #define ADP8870_BLMX1 0x0A /* Backlight (Brightness Level 1-daylight) maximum current */
36 #define ADP8870_BLDM1 0x0B /* Backlight (Brightness Level 1-daylight) dim current */
37 #define ADP8870_BLMX2 0x0C /* Backlight (Brightness Level 2-bright) maximum current */
38 #define ADP8870_BLDM2 0x0D /* Backlight (Brightness Level 2-bright) dim current */
39 #define ADP8870_BLMX3 0x0E /* Backlight (Brightness Level 3-office) maximum current */
40 #define ADP8870_BLDM3 0x0F /* Backlight (Brightness Level 3-office) dim current */
41 #define ADP8870_BLMX4 0x10 /* Backlight (Brightness Level 4-indoor) maximum current */
42 #define ADP8870_BLDM4 0x11 /* Backlight (Brightness Level 4-indoor) dim current */
[all …]
Dtps65217_bl.c39 rc = tps65217_set_bits(tps65217_bl->tps, TPS65217_REG_WLEDCTRL1, in tps65217_bl_enable()
43 dev_err(tps65217_bl->dev, in tps65217_bl_enable()
48 tps65217_bl->is_enabled = true; in tps65217_bl_enable()
50 dev_dbg(tps65217_bl->dev, "backlight enabled\n"); in tps65217_bl_enable()
59 rc = tps65217_clear_bits(tps65217_bl->tps, in tps65217_bl_disable()
64 dev_err(tps65217_bl->dev, in tps65217_bl_disable()
69 tps65217_bl->is_enabled = false; in tps65217_bl_disable()
71 dev_dbg(tps65217_bl->dev, "backlight disabled\n"); in tps65217_bl_disable()
80 int brightness = backlight_get_brightness(bl); in tps65217_bl_update_status() local
82 if (brightness > 0) { in tps65217_bl_update_status()
[all …]
/kernel/linux/linux-4.19/drivers/leds/
Dleds-tca6507.c2 * leds-tca6507
8 * blink or double-blink.
11 * out-only (pull-up resistor required) or as an LED with variable
12 * brightness and hardware-assisted blinking.
14 * Apart from OFF and ON there are three programmable brightness
20 * with separate time for rise, on, fall, off and second-off. Thus if
21 * 3 or more different non-trivial rates are required, software must
24 * support double-blink so 'second-off' always matches 'off'.
41 * delays in the ranges: 56-72, 112-144, 168-216, 224-27504,
42 * 28560-36720.
[all …]
/kernel/linux/linux-4.19/Documentation/laptops/
Dthinkpad-acpi.txt8 http://ibm-acpi.sf.net/
16 This driver used to be named ibm-acpi until kernel 2.6.21 and release
17 0.13-20070314. It used to be in the drivers/acpi tree, but it was
18 moved to the drivers/misc tree and renamed to thinkpad-acpi for kernel
22 The driver is named "thinkpad-acpi". In some places, like module
26 "tpacpi" is used as a shorthand where "thinkpad-acpi" would be too
30 ------
35 - Fn key combinations
36 - Bluetooth enable and disable
37 - video output switching, expansion control
[all …]

12345678910>>...26