/Linux-v5.10/sound/usb/caiaq/ |
D | control.c | 1 // 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 …]
|
/Linux-v5.10/Documentation/devicetree/bindings/leds/ |
D | leds-lp55xx.yaml | 1 # 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 …]
|
D | leds-bcm6328.txt | 7 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 …]
|
D | ti,tca6507.yaml | 1 # 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 …]
|
D | leds-trigger-pattern.txt | 1 * 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 …]
|
D | register-bit-led.txt | 5 single LED. The register bit LEDs appear as children to the 10 Each LED is represented as a sub-node of the syscon device. Each 11 node's name represents the name of the corresponding LED. 13 LED sub-node properties: 16 - compatible : must be "register-bit-led" 17 - offset : register offset to the register controlling this LED 18 - mask : bit mask for the bit controlling this LED in the register 22 - label : (optional) 24 - linux,default-trigger : (optional) 26 - default-state: (optional) The initial state of the LED [all …]
|
D | leds-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacek Anaszewski <jacek.anaszewski@gmail.com> 11 - Pavel Machek <pavel@ucw.cz> 14 Each LED is represented as a sub-node of the gpio-leds device. Each 15 node's name represents the name of the corresponding LED. 19 const: gpio-leds 22 # The first form is preferred, but fall back to just 'led' anywhere in the [all …]
|
/Linux-v5.10/Documentation/firmware-guide/acpi/dsd/ |
D | leds.rst | 1 .. 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 …]
|
/Linux-v5.10/Documentation/sound/hd-audio/ |
D | models.rst | 2 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 …]
|
/Linux-v5.10/drivers/leds/ |
D | leds-is31fl319x.c | 1 // 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 …]
|
D | leds-lm3692x.c | 1 // 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 …]
|
D | leds-max77650.c | 1 // 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 …]
|
D | leds-mc13783.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Based on leds-da903x: 11 * Copyright (C) 2006-2008 Marvell International Ltd. 39 struct mc13xxx_led *led; member 55 struct mc13xxx_led *led = in mc13xxx_led_set() local 57 struct mc13xxx_leds *leds = led->leds; in mc13xxx_led_set() 60 switch (led->id) { in mc13xxx_led_set() 65 shift = 9 + (led->id - MC13783_LED_MD) * 4; in mc13xxx_led_set() 76 off = led->id - MC13783_LED_R1; in mc13xxx_led_set() 79 shift = (off - bank * 3) * 5 + 6; in mc13xxx_led_set() [all …]
|
D | leds-lm3601x.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Flash and torch driver for Texas Instruments LM3601X LED 4 // Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/ 9 #include <linux/led-class-flash.h> 37 #define LM36010_BOOST_FREQ_4MHZ BIT(6) 47 #define LM3601X_IVFM_TRIP BIT(6) 73 * struct lm3601x_led - 74 * @fled_cdev: flash LED class device pointer 78 * @led_name: LED label for the Torch or IR LED 135 static int lm3601x_read_faults(struct lm3601x_led *led) in lm3601x_read_faults() argument [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/mfd/ |
D | mc13xxx.txt | 4 - 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 …]
|
/Linux-v5.10/drivers/hid/ |
D | hid-led.c | 1 // 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 …]
|
/Linux-v5.10/arch/mips/boot/dts/mti/ |
D | sead3.dts | 1 // 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 …]
|
/Linux-v5.10/Documentation/leds/ |
D | leds-mlxcpld.rst | 5 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 …]
|
/Linux-v5.10/include/linux/mfd/ |
D | mc13xxx.h | 1 /* 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 …]
|
/Linux-v5.10/Documentation/networking/device_drivers/fddi/ |
D | skfp.rst | 1 .. SPDX-License-Identifier: GPL-2.0 6 SysKonnect driver - SKFP 9 |copy| Copyright 1998-2000 SysKonnect, 11 skfp.txt created 11-May-2000 23 (6) TROUBLESHOOTING 44 Chapter 6: History of development. 53 - SK-5521 (SK-NET FDDI-UP) 54 - SK-5522 (SK-NET FDDI-UP DAS) 55 - SK-5541 (SK-NET FDDI-FP) 56 - SK-5543 (SK-NET FDDI-LP) [all …]
|
/Linux-v5.10/drivers/pinctrl/mvebu/ |
D | pinctrl-armada-cp110.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 #include "pinctrl-mvebu.h" 24 * - In Armada7K (single CP) almost all the MPPs are available (except the 26 * - In Armada8K (dual CP) the MPPs are split into 2 parts, MPPs 0-31 from 27 * CPS, and MPPs 32-62 from CPM, the below flags (V_ARMADA_8K_CPM, 47 MPP_FUNCTION(6, "ptp", "pulse"), 58 MPP_FUNCTION(6, "ptp", "clk"), 70 MPP_FUNCTION(6, "ptp", "pclk_out"), 82 MPP_FUNCTION(6, "pcie", "rstoutn"), 94 MPP_FUNCTION(6, "uart1", "cts"), [all …]
|
/Linux-v5.10/arch/arm/boot/dts/ |
D | motorola-cpcap-mapphone.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 10 interrupt-parent = <&gpio1>; 12 interrupt-controller; 13 #interrupt-cells = <2>; 14 #address-cells = <1>; 15 #size-cells = <0>; 16 spi-max-frequency = <9600000>; 17 spi-cs-high; 18 spi-cpol; 19 spi-cpha; [all …]
|
/Linux-v5.10/arch/arm/mach-pxa/ |
D | mainstone.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-pxa/mainstone.c 13 #include <linux/gpio/gpio-reg.h> 30 #include <linux/platform_data/i2c-pxa.h> 37 #include <asm/mach-types.h> 50 #include <linux/platform_data/video-pxafb.h> 51 #include <linux/platform_data/mmc-pxamci.h> 52 #include <linux/platform_data/irda-pxaficp.h> 53 #include <linux/platform_data/usb-ohci-pxa27x.h> 54 #include <linux/platform_data/keypad-pxa27x.h> [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/pinctrl/ |
D | pinctrl-mt7622.txt | 4 - compatible: Should be one of the following 5 "mediatek,mt7622-pinctrl" for MT7622 SoC 6 "mediatek,mt7629-pinctrl" for MT7629 SoC 7 - reg: offset and length of the pinctrl space 9 - gpio-controller: Marks the device node as a GPIO controller. 10 - #gpio-cells: Should be two. The first cell is the pin number and the 14 - interrupt-controller : Marks the device node as an interrupt controller 16 If the property interrupt-controller is defined, following property is required 17 - reg-names: A string describing the "reg" entries. Must contain "eint". 18 - interrupts : The interrupt output from the controller. [all …]
|
/Linux-v5.10/include/linux/platform_data/ |
D | leds-lp55xx.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 9 * Derived from leds-lp5521.h, leds-lp5523.h 16 #include <linux/led-class-multicolor.h> 29 u8 led_current; /* mA x10, 0 if led is not connected */ 48 LP8501_6VDD_3VOUT, /* D1~6 with VDD, D7~9 with VOUT */ 49 LP8501_3VDD_6VOUT, /* D1~6 with VOUT, D7~9 with VDD */ 55 * @led_config : Configurable led class device 56 * @num_channels : Number of LED channels 68 /* LED channel configuration */
|