Home
last modified time | relevance | path

Searched +full:led +full:- +full:6 (Results 1 – 25 of 1029) sorted by relevance

12345678910>>...42

/kernel/linux/linux-5.10/sound/usb/caiaq/
Dcontrol.c1 // SPDX-License-Identifier: GPL-2.0-or-later
24 struct snd_usb_caiaqdev *cdev = caiaqdev(chip->card); in control_info()
25 int pos = kcontrol->private_value; in control_info()
29 uinfo->count = 1; in control_info()
32 switch (cdev->chip.usb_id) { in control_info()
37 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in control_info()
38 uinfo->value.integer.min = 0; in control_info()
39 uinfo->value.integer.max = 2; in control_info()
54 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in control_info()
55 uinfo->value.integer.min = 0; in control_info()
[all …]
/kernel/linux/linux-4.19/sound/usb/caiaq/
Dcontrol.c17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
37 struct snd_usb_caiaqdev *cdev = caiaqdev(chip->card); in control_info()
38 int pos = kcontrol->private_value; in control_info()
42 uinfo->count = 1; in control_info()
45 switch (cdev->chip.usb_id) { in control_info()
50 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in control_info()
51 uinfo->value.integer.min = 0; in control_info()
52 uinfo->value.integer.max = 2; in control_info()
67 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in control_info()
68 uinfo->value.integer.min = 0; in control_info()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/
Dleds-lp55xx.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-lp55xx.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TI/National Semiconductor LP55xx and LP8501 LED Drivers
10 - Jacek Anaszewski <jacek.anaszewski@gmail.com>
11 - Pavel Machek <pavel@ucw.cz>
15 LED Drivers.
27 - national,lp5521
28 - national,lp5523
[all …]
Dleds-bcm6328.txt7 as spi-gpio. See Documentation/devicetree/bindings/gpio/gpio-74x164.txt), or
10 exporting the 74x164 as spi-gpio prevents those LEDs to be hardware
13 BCM6328 LED controller has a HWDIS register, which controls whether a LED
16 is usually 1:1 for hardware to LED signals, but through the activity/link
18 explained later in brcm,link-signal-sources). Even if a LED is hardware
21 reason, hardware controlled LEDs aren't registered as LED class devices.
24 - compatible : should be "brcm,bcm6328-leds".
25 - #address-cells : must be 1.
26 - #size-cells : must be 0.
27 - reg : BCM6328 LED controller address and size.
[all …]
Dti,tca6507.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TCA6507 LED and GPIO controller
10 - NeilBrown <neilb@suse.de>
13 The TCA6507 is a programmable LED controller connected via I2C that can drive
25 "#address-cells":
28 "#size-cells":
31 gpio-controller: true
33 "#gpio-cells":
[all …]
Dleds-trigger-pattern.txt1 * Pattern format for LED pattern trigger
4 The LED is expected to traverse the series and each brightness value for the
19 It will make the LED go gradually from zero-intensity to max (255) intensity in
22 LED brightness
24 255-| / \ / \ /
28 0-| / \/ \/
29 +---0----1----2----3----4----5----6------------> time (s)
31 2. To make the LED go instantly from one brightness value to another, we should
32 use zero-time lengths (the brightness must be same as the previous tuple's). So
39 It will make the LED stay off for one second, then stay at max brightness for
[all …]
/kernel/linux/linux-5.10/Documentation/firmware-guide/acpi/dsd/
Dleds.rst1 .. SPDX-License-Identifier: GPL-2.0
8 Individual LEDs are described by hierarchical data extension [6] nodes under the
9 device node, the LED driver chip. The "reg" property in the LED specific nodes
10 tells the numerical ID of each individual LED output to which the LEDs are
11 connected. [3] The hierarchical data nodes are named "led@X", where X is the
12 number of the LED output.
14 Referring to LEDs in Device tree is documented in [4], in "flash-leds" property
19 mechanism on ACPI is not possible. A mechanism to refer to non-device ACPI nodes
23 combination of the LED driver device reference and an integer argument,
24 referring to the "reg" property of the relevant LED, is used to identify
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/leds/
Dleds-bcm6328.txt7 as spi-gpio. See Documentation/devicetree/bindings/gpio/gpio-74x164.txt), or
10 exporting the 74x164 as spi-gpio prevents those LEDs to be hardware
13 BCM6328 LED controller has a HWDIS register, which controls whether a LED
16 is usually 1:1 for hardware to LED signals, but through the activity/link
18 explained later in brcm,link-signal-sources). Even if a LED is hardware
21 reason, hardware controlled LEDs aren't registered as LED class devices.
24 - compatible : should be "brcm,bcm6328-leds".
25 - #address-cells : must be 1.
26 - #size-cells : must be 0.
27 - reg : BCM6328 LED controller address and size.
[all …]
Dleds-lp55xx.txt1 Binding for TI/National Semiconductor LP55xx Led Drivers
4 - compatible: one of
11 - reg: I2C slave address
12 - clock-mode: Input clock mode, (0: automode, 1: internal, 2: external)
15 - led-cur: Current setting at each led channel (mA x10, 0 if led is not connected)
16 - max-cur: Maximun current at each led channel.
19 - enable-gpio: GPIO attached to the chip's enable pin
20 - label: Used for naming LEDs
21 - pwr-sel: LP8501 specific property. Power selection for output channels.
23 1: D1~6 with VDD, D7~9 with VOUT
[all …]
/kernel/linux/linux-5.10/Documentation/sound/hd-audio/
Dmodels.rst2 HD-Audio Codec-Specific Models
8 3-jack in back and a headphone out
9 3stack-digout
10 3-jack in back, a HP out and a SPDIF out
12 5-jack in back, 2-jack in front
13 5stack-digout
14 5-jack in back, 2-jack in front, a SPDIF out
15 6stack
16 6-jack in back, 2-jack in front
17 6stack-digout
[all …]
/kernel/linux/linux-4.19/Documentation/sound/hd-audio/
Dmodels.rst2 HD-Audio Codec-Specific Models
8 3-jack in back and a headphone out
9 3stack-digout
10 3-jack in back, a HP out and a SPDIF out
12 5-jack in back, 2-jack in front
13 5stack-digout
14 5-jack in back, 2-jack in front, a SPDIF out
15 6stack
16 6-jack in back, 2-jack in front
17 6stack-digout
[all …]
/kernel/linux/linux-5.10/drivers/leds/
Dleds-is31fl319x.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright 2015-16 Golden Delicious Computers
7 * LED driver for the IS31FL319{0,1,3,6,9} to drive 1, 3, 6 or 9 light
92 .num_leds = 6,
105 { .compatible = "si-en,sn3199", .data = &is31fl3199_cdef, },
113 struct is31fl319x_led *led = container_of(cdev, struct is31fl319x_led, in is31fl319x_brightness_set() local
115 struct is31fl319x_chip *is31 = led->chip; in is31fl319x_brightness_set()
116 int chan = led - is31->leds; in is31fl319x_brightness_set()
121 dev_dbg(&is31->client->dev, "%s %d: %d\n", __func__, chan, brightness); in is31fl319x_brightness_set()
123 mutex_lock(&is31->lock); in is31fl319x_brightness_set()
[all …]
Dleds-lm3692x.c1 // SPDX-License-Identifier: GPL-2.0
2 // TI LM3692x LED chip family driver
3 // Copyright (C) 2017-18 Texas Instruments Incorporated - https://www.ti.com/
56 #define LM3692X_BRHT_MODE_MULTI_RAMP BIT(6)
57 #define LM3692X_BRHT_MODE_RAMP_MULTI (BIT(5) | BIT(6))
71 #define LM3692X_PWM_SAMP_4MHZ BIT(6)
83 #define LM3692X_BOOST_SW_NO_SHIFT BIT(6)
99 * struct lm3692x_led -
100 * @lock - Lock for reading/writing the device
101 * @client - Pointer to the I2C client
[all …]
Dleds-max77650.c1 // SPDX-License-Identifier: GPL-2.0
6 // LED driver for MAXIM 77650/77651 charger/power-supply.
21 #define MAX77650_LED_EN_MASK GENMASK(7, 6)
28 #define MAX77650_LED_ENABLE GENMASK(7, 6)
50 struct max77650_led *led = max77650_to_led(cdev); in max77650_led_brightness_set() local
60 return regmap_update_bits(led->map, led->regA, mask, val); in max77650_led_brightness_set()
66 struct max77650_led *leds, *led; in max77650_led_probe() local
72 dev = &pdev->dev; in max77650_led_probe()
77 return -ENOMEM; in max77650_led_probe()
79 map = dev_get_regmap(dev->parent, NULL); in max77650_led_probe()
[all …]
/kernel/linux/linux-4.19/drivers/leds/
Dleds-is31fl319x.c2 * Copyright 2015-16 Golden Delicious Computers
10 * LED driver for the IS31FL319{0,1,3,6,9} to drive 1, 3, 6 or 9 light
93 .num_leds = 6,
106 { .compatible = "si-en,sn3199", .data = &is31fl3199_cdef, },
114 struct is31fl319x_led *led = container_of(cdev, struct is31fl319x_led, in is31fl319x_brightness_set() local
116 struct is31fl319x_chip *is31 = led->chip; in is31fl319x_brightness_set()
117 int chan = led - is31->leds; in is31fl319x_brightness_set()
122 dev_dbg(&is31->client->dev, "%s %d: %d\n", __func__, chan, brightness); in is31fl319x_brightness_set()
124 mutex_lock(&is31->lock); in is31fl319x_brightness_set()
127 ret = regmap_write(is31->regmap, IS31FL319X_PWM(chan), brightness); in is31fl319x_brightness_set()
[all …]
Dleds-lm3692x.c1 // SPDX-License-Identifier: GPL-2.0
2 // TI LM3692x LED chip family driver
3 // Copyright (C) 2017-18 Texas Instruments Incorporated - http://www.ti.com/
56 #define LM3692X_BRHT_MODE_MULTI_RAMP BIT(6)
57 #define LM3692X_BRHT_MODE_RAMP_MULTI (BIT(5) | BIT(6))
71 #define LM3692X_PWM_SAMP_4MHZ BIT(6)
83 #define LM3692X_BOOST_SW_NO_SHIFT BIT(6)
99 * struct lm3692x_led -
100 * @lock - Lock for reading/writing the device
101 * @client - Pointer to the I2C client
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/mfd/
Dmc13xxx.txt4 - compatible : Should be "fsl,mc13783" or "fsl,mc13892"
7 - fsl,mc13xxx-uses-adc : Indicate the ADC is being used
8 - fsl,mc13xxx-uses-codec : Indicate the Audio Codec is being used
9 - fsl,mc13xxx-uses-rtc : Indicate the RTC is being used
10 - fsl,mc13xxx-uses-touch : Indicate the touchscreen controller is being used
12 Sub-nodes:
13 - codec: Contain the Audio Codec node.
14 - adc-port: Contain PMIC SSI port number used for ADC.
15 - dac-port: Contain PMIC SSI port number used for DAC.
16 - leds : Contain the led nodes and initial register values in property
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dmc13xxx.txt4 - compatible : Should be "fsl,mc13783" or "fsl,mc13892"
7 - fsl,mc13xxx-uses-adc : Indicate the ADC is being used
8 - fsl,mc13xxx-uses-codec : Indicate the Audio Codec is being used
9 - fsl,mc13xxx-uses-rtc : Indicate the RTC is being used
10 - fsl,mc13xxx-uses-touch : Indicate the touchscreen controller is being used
12 Sub-nodes:
13 - codec: Contain the Audio Codec node.
14 - adc-port: Contain PMIC SSI port number used for ADC.
15 - dac-port: Contain PMIC SSI port number used for DAC.
16 - leds : Contain the led nodes and initial register values in property
[all …]
/kernel/linux/linux-4.19/Documentation/leds/
Dleds-mlxcpld.txt4 Provide system LED support for the nex Mellanox systems:
9 -----------
52 [0,0,0,0] = LED OFF
57 [0,1,1,1] = Red blink 6Hz
58 [1,1,1,1] = Green blink 6Hz
94 [0,0,0,0] = LED OFF
99 [0,1,1,1] = Red blink 6Hz
100 [1,1,1,1] = Green blink 6Hz
102 Color mask for uid LED:
104 [0,0,0,0] = LED OFF
[all …]
/kernel/linux/linux-5.10/drivers/hid/
Dhid-led.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Simple USB RGB LED driver
6 * Based on drivers/hid/hid-thingm.c and
16 #include "hid-ids.h"
32 /* R+2G+4B -> riso kagaku color index */
38 [5] = 6, /* magenta */
39 [6] = 4, /* cyan */
117 mutex_lock(&ldev->lock); in hidled_send()
123 memcpy(ldev->buf, buf, ldev->config->report_size); in hidled_send()
125 if (ldev->config->report_type == RAW_REQUEST) in hidled_send()
[all …]
/kernel/linux/linux-4.19/drivers/hid/
Dhid-led.c2 * Simple USB RGB LED driver
5 * Based on drivers/hid/hid-thingm.c and
19 #include "hid-ids.h"
35 /* R+2G+4B -> riso kagaku color index */
41 [5] = 6, /* magenta */
42 [6] = 4, /* cyan */
120 mutex_lock(&ldev->lock); in hidled_send()
126 memcpy(ldev->buf, buf, ldev->config->report_size); in hidled_send()
128 if (ldev->config->report_type == RAW_REQUEST) in hidled_send()
129 ret = hid_hw_raw_request(ldev->hdev, buf[0], ldev->buf, in hidled_send()
[all …]
/kernel/linux/linux-4.19/arch/mips/boot/dts/mti/
Dsead3.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
8 #include <dt-bindings/interrupt-controller/mips-gic.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
13 compatible = "mti,sead-3";
14 model = "MIPS SEAD-3";
17 stdout-path = "serial1:115200";
36 cpu_intc: interrupt-controller {
37 compatible = "mti,cpu-interrupt-controller";
[all …]
/kernel/linux/linux-5.10/arch/mips/boot/dts/mti/
Dsead3.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
8 #include <dt-bindings/interrupt-controller/mips-gic.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
13 compatible = "mti,sead-3";
14 model = "MIPS SEAD-3";
17 stdout-path = "serial1:115200";
36 cpu_intc: interrupt-controller {
37 compatible = "mti,cpu-interrupt-controller";
[all …]
/kernel/linux/linux-5.10/Documentation/leds/
Dleds-mlxcpld.rst5 Provide system LED support for the nex Mellanox systems:
10 -----------
14 - mlxcpld:fan1:green
15 - mlxcpld:fan1:red
16 - mlxcpld:fan2:green
17 - mlxcpld:fan2:red
18 - mlxcpld:fan3:green
19 - mlxcpld:fan3:red
20 - mlxcpld:fan4:green
21 - mlxcpld:fan4:red
[all …]
/kernel/linux/linux-5.10/include/linux/mfd/
Dmc13xxx.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright 2009-2010 Pengutronix
4 * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
60 #define MC13XXX_IRQ_CHGDET 6
93 /* MC13783 LED IDs */
106 /* MC13892 LED IDs */
113 /* MC34708 LED IDs */
124 #define MAX_LED_CONTROL_REGS 6
126 /* MC13783 LED Control 0 */
134 /* MC13783 LED Control 1 */
[all …]

12345678910>>...42