Home
last modified time | relevance | path

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

12345678910>>...43

/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-lm3532.txt1 * Texas Instruments - lm3532 White LED driver with ambient light sensing
4 The LM3532 provides the 3 high-voltage, low-side current sinks. The device is
5 programmable over an I2C-compatible interface and has independent
7 method allows for different LED currents in each current sink thus allowing
11 each with 32 internal voltage setting resistors, 8-bit logarithmic and linear
16 - compatible : "ti,lm3532"
17 - reg : I2C slave address
18 - #address-cells : 1
19 - #size-cells : 0
22 - enable-gpios : gpio pin to enable (active high)/disable the device.
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/leds/
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.
28 - chan-name (optional): name of channel
[all …]
/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/arch/arm/boot/dts/
Domap3-echo.dts1 // SPDX-License-Identifier: GPL-2.0-only
5 /dts-v1/;
9 #include <dt-bindings/input/input.h>
13 compatible = "amazon,omap3-echo", "ti,omap3630", "ti,omap3";
17 cpu0-supply = <&vdd1_reg>;
27 compatible = "regulator-fixed";
28 regulator-name = "vcc5v";
29 regulator-min-microvolt = <5000000>;
30 regulator-max-microvolt = <5000000>;
31 regulator-boot-on;
[all …]
/kernel/linux/linux-5.10/drivers/hid/
Dhid-picolcd_leds.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2010-2012 by Bruno Prémont <bonbons@linux-vserver.org> *
11 #include <linux/hid-debug.h>
13 #include "hid-ids.h"
29 #include "hid-picolcd.h"
37 if (!data->led[0]) in picolcd_leds_set()
39 report = picolcd_out_report(REPORT_LED_STATE, data->hdev); in picolcd_leds_set()
40 if (!report || report->maxfield != 1 || report->field[0]->report_count != 1) in picolcd_leds_set()
43 spin_lock_irqsave(&data->lock, flags); in picolcd_leds_set()
44 hid_set_field(report->field[0], 0, data->led_state); in picolcd_leds_set()
[all …]
/kernel/linux/linux-4.19/drivers/hid/
Dhid-picolcd_leds.c2 * Copyright (C) 2010-2012 by Bruno Prémont <bonbons@linux-vserver.org> *
21 #include <linux/hid-debug.h>
23 #include "hid-ids.h"
39 #include "hid-picolcd.h"
47 if (!data->led[0]) in picolcd_leds_set()
49 report = picolcd_out_report(REPORT_LED_STATE, data->hdev); in picolcd_leds_set()
50 if (!report || report->maxfield != 1 || report->field[0]->report_count != 1) in picolcd_leds_set()
53 spin_lock_irqsave(&data->lock, flags); in picolcd_leds_set()
54 hid_set_field(report->field[0], 0, data->led_state); in picolcd_leds_set()
55 if (!(data->status & PICOLCD_FAILED)) in picolcd_leds_set()
[all …]
/kernel/linux/linux-4.19/drivers/leds/
Dleds-lp8860.c2 * TI LP8860 4-Channel LED Driver
91 * struct lp8860_led -
92 * @lock - Lock for reading/writing the device
93 * @client - Pointer to the I2C client
94 * @led_dev - led class device pointer
95 * @regmap - Devices register map
96 * @eeprom_regmap - EEPROM register map
97 * @enable_gpio - VDDIO/EN gpio to enable communication interface
98 * @regulator - LED supply regulator pointer
99 * @label - LED label
[all …]
Dleds-bcm6328.c2 * Driver for BCM6328 memory-mapped LEDs, based on leds-syscon.c
58 * struct bcm6328_led - state container for bcm6328 based LEDs
59 * @cdev: LED class device for this LED
62 * @pin: LED pin number
65 * @active_low: LED is active low
97 * bits [31:0] -> LEDs 8-23
98 * bits [47:32] -> LEDs 0-7
99 * bits [63:48] -> unused
103 if (pin < 8) in bcm6328_pin2shift()
104 return pin + 16; /* LEDs 0-7 (bits 47:32) */ in bcm6328_pin2shift()
[all …]
Dleds-tlc591xx.c36 /* LED Driver Output State, determine the source that drives LED outputs */
38 #define LEDOUT_ON 0x1 /* Output HI-Z */
69 .max_leds = 8,
89 tlc591xx_set_ledout(struct tlc591xx_priv *priv, struct tlc591xx_led *led, in tlc591xx_set_ledout() argument
92 unsigned int i = (led->led_no % 4) * 2; in tlc591xx_set_ledout()
94 unsigned int addr = priv->reg_ledout_offset + (led->led_no >> 2); in tlc591xx_set_ledout()
98 return regmap_update_bits(priv->regmap, addr, mask, val); in tlc591xx_set_ledout()
102 tlc591xx_set_pwm(struct tlc591xx_priv *priv, struct tlc591xx_led *led, in tlc591xx_set_pwm() argument
105 u8 pwm = TLC591XX_REG_PWM(led->led_no); in tlc591xx_set_pwm()
107 return regmap_write(priv->regmap, pwm, brightness); in tlc591xx_set_pwm()
[all …]
/kernel/linux/linux-5.10/drivers/leds/
Dleds-lp8860.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * TI LP8860 4-Channel LED Driver
88 * struct lp8860_led -
89 * @lock - Lock for reading/writing the device
90 * @client - Pointer to the I2C client
91 * @led_dev - led class device pointer
92 * @regmap - Devices register map
93 * @eeprom_regmap - EEPROM register map
94 * @enable_gpio - VDDIO/EN gpio to enable communication interface
95 * @regulator - LED supply regulator pointer
[all …]
Dleds-bcm6328.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver for BCM6328 memory-mapped LEDs, based on leds-syscon.c
59 * struct bcm6328_led - state container for bcm6328 based LEDs
60 * @cdev: LED class device for this LED
63 * @pin: LED pin number
66 * @active_low: LED is active low
98 * bits [31:0] -> LEDs 8-23
99 * bits [47:32] -> LEDs 0-7
100 * bits [63:48] -> unused
104 if (pin < 8) in bcm6328_pin2shift()
[all …]
Dleds-lp50xx.c1 // SPDX-License-Identifier: GPL-2.0
2 // TI LP50XX LED chip family driver
3 // Copyright (C) 2018-20 Texas Instruments Incorporated - https://www.ti.com/
18 #include <linux/led-class-multicolor.h>
57 /* There are 3 LED outputs per bank */
63 #define LP5024_MAX_LED_MODULES 8
135 .reg_bits = 8,
136 .val_bits = 8,
145 .reg_bits = 8,
146 .val_bits = 8,
[all …]
Dleds-tlc591xx.c1 // SPDX-License-Identifier: GPL-2.0-only
34 /* LED Driver Output State, determine the source that drives LED outputs */
36 #define LEDOUT_ON 0x1 /* Output HI-Z */
67 .max_leds = 8,
87 tlc591xx_set_ledout(struct tlc591xx_priv *priv, struct tlc591xx_led *led, in tlc591xx_set_ledout() argument
90 unsigned int i = (led->led_no % 4) * 2; in tlc591xx_set_ledout()
92 unsigned int addr = priv->reg_ledout_offset + (led->led_no >> 2); in tlc591xx_set_ledout()
96 return regmap_update_bits(priv->regmap, addr, mask, val); in tlc591xx_set_ledout()
100 tlc591xx_set_pwm(struct tlc591xx_priv *priv, struct tlc591xx_led *led, in tlc591xx_set_pwm() argument
103 u8 pwm = TLC591XX_REG_PWM(led->led_no); in tlc591xx_set_pwm()
[all …]
Dleds-lm3532.c1 // SPDX-License-Identifier: GPL-2.0
2 // TI LM3532 LED driver
3 // Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/
16 #define LM3532_NAME "lm3532-led"
86 #define LM3532_BRT_VAL_ADJUST 8
89 #define LM3532_NUM_RAMP_VALS 8
90 #define LM3532_NUM_AVG_VALS 8
123 * @led_dev: led class device
125 * @control_bank: Control bank the LED is associated to
126 * @mode: Mode of the LED string
[all …]
/kernel/linux/linux-5.10/Documentation/firmware-guide/acpi/dsd/
Dleds.rst1 .. SPDX-License-Identifier: GPL-2.0
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
26 firmware and software, it uniquely identifies the LED driver outputs.
[all …]
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Dau8522_common.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 Auvitek AU8522 QAM/8VSB demodulator driver
7 Copyright (C) 2005-2008 Auvitek International, Ltd.
29 /* 16 bit registers, 8 bit values */
33 u8 buf[] = { (reg >> 8) | 0x80, reg & 0xff, data }; in au8522_writereg()
35 struct i2c_msg msg = { .addr = state->config.demod_address, in au8522_writereg()
38 ret = i2c_transfer(state->i2c, &msg, 1); in au8522_writereg()
44 return (ret != 1) ? -1 : 0; in au8522_writereg()
51 u8 b0[] = { (reg >> 8) | 0x40, reg & 0xff }; in au8522_readreg()
55 { .addr = state->config.demod_address, .flags = 0, in au8522_readreg()
[all …]
/kernel/linux/linux-4.19/drivers/media/dvb-frontends/
Dau8522_common.c2 Auvitek AU8522 QAM/8VSB demodulator driver
6 Copyright (C) 2005-2008 Auvitek International, Ltd.
41 /* 16 bit registers, 8 bit values */
45 u8 buf[] = { (reg >> 8) | 0x80, reg & 0xff, data }; in au8522_writereg()
47 struct i2c_msg msg = { .addr = state->config.demod_address, in au8522_writereg()
50 ret = i2c_transfer(state->i2c, &msg, 1); in au8522_writereg()
56 return (ret != 1) ? -1 : 0; in au8522_writereg()
63 u8 b0[] = { (reg >> 8) | 0x40, reg & 0xff }; in au8522_readreg()
67 { .addr = state->config.demod_address, .flags = 0, in au8522_readreg()
69 { .addr = state->config.demod_address, .flags = I2C_M_RD, in au8522_readreg()
[all …]
/kernel/linux/linux-5.10/drivers/hid/usbhid/
Dusbkbd.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 1999-2001 Vojtech Pavlik
11 * e-mail - mail your message to <vojtech@ucw.cz>, or by paper mail:
12 * Vojtech Pavlik, Simunkova 1594, Prague 8, 182 00 Czech Republic
38 4, 5, 6, 7, 8, 9, 10, 11, 28, 1, 14, 15, 57, 12, 13, 26,
56 * struct usb_kbd - state of each attached keyboard
64 * @led: URB for sending LEDs (e.g. numlock, ...)
65 * @newleds: data that will be sent with the @led URB representing which LEDs
71 * @cr: Control request for @led URB
72 * @leds: Buffer for the @led URB
[all …]
/kernel/linux/linux-4.19/drivers/hid/usbhid/
Dusbkbd.c2 * Copyright (c) 1999-2001 Vojtech Pavlik
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 * e-mail - mail your message to <vojtech@ucw.cz>, or by paper mail:
24 * Vojtech Pavlik, Simunkova 1594, Prague 8, 182 00 Czech Republic
50 4, 5, 6, 7, 8, 9, 10, 11, 28, 1, 14, 15, 57, 12, 13, 26,
68 * struct usb_kbd - state of each attached keyboard
76 * @led: URB for sending LEDs (e.g. numlock, ...)
77 * @newleds: data that will be sent with the @led URB representing which LEDs
83 * @cr: Control request for @led URB
84 * @leds: Buffer for the @led URB
[all …]
/kernel/linux/linux-5.10/arch/mips/boot/dts/brcm/
Dbcm63268-comtrend-vr-3032u.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
7 compatible = "comtrend,vr-3032u", "brcm,bcm63268";
8 model = "Comtrend VR-3032u";
17 stdout-path = &uart0;
23 brcm,serial-leds;
24 brcm,serial-dat-low;
25 brcm,serial-shift-inv;
27 led@0 {
29 brcm,hardware-controlled;
[all …]
/kernel/linux/linux-4.19/arch/mips/boot/dts/brcm/
Dbcm63268-comtrend-vr-3032u.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
7 compatible = "comtrend,vr-3032u", "brcm,bcm63268";
8 model = "Comtrend VR-3032u";
17 stdout-path = &uart0;
23 brcm,serial-leds;
24 brcm,serial-dat-low;
25 brcm,serial-shift-inv;
27 led@0 {
29 brcm,hardware-controlled;
[all …]
/kernel/linux/linux-4.19/arch/arm/mach-footbridge/
Dnetwinder-hw.c1 // SPDX-License-Identifier: GPL-2.0
3 * linux/arch/arm/mach-footbridge/netwinder-hw.c
20 #include <asm/mach-types.h>
55 outb(val >> 8, 0x371); in wb977_ww()
85 outb(new_gpio >> 8, GP2_IO_BASE); in nw_gpio_modify_op()
110 wb977_device_select(8); in __gpio_modify_io()
134 return inb(GP1_IO_BASE) | inb(GP2_IO_BASE) << 8; in nw_gpio_read()
208 * KBC 8MHz in wb977_init_keyboard()
219 * Initialise the Winbond W83977F Infra-Red device
237 * RX DMA - ISA DMA 0 in wb977_init_irda()
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-footbridge/
Dnetwinder-hw.c1 // SPDX-License-Identifier: GPL-2.0
3 * linux/arch/arm/mach-footbridge/netwinder-hw.c
20 #include <asm/mach-types.h>
55 outb(val >> 8, 0x371); in wb977_ww()
85 outb(new_gpio >> 8, GP2_IO_BASE); in nw_gpio_modify_op()
110 wb977_device_select(8); in __gpio_modify_io()
134 return inb(GP1_IO_BASE) | inb(GP2_IO_BASE) << 8; in nw_gpio_read()
208 * KBC 8MHz in wb977_init_keyboard()
219 * Initialise the Winbond W83977F Infra-Red device
237 * RX DMA - ISA DMA 0 in wb977_init_irda()
[all …]

12345678910>>...43