/linux-6.12.1/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-6.12.1/drivers/leds/ |
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/ 38 #define LM36923_LED3_EN BIT(3) 48 #define LM3692X_RAMP_RATE_2ms BIT(3) 49 #define LM3692X_RAMP_RATE_4ms (BIT(3) | BIT(1)) 50 #define LM3692X_RAMP_RATE_8ms (BIT(2) | BIT(3)) 51 #define LM3692X_RAMP_RATE_16ms (BIT(1) | BIT(2) | BIT(3)) 64 #define LM3692X_PWM_HYSTER_2LSB BIT(3) 65 #define LM3692X_PWM_HYSTER_3LSB (BIT(3) | BIT(2)) [all …]
|
D | leds-88pm860x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * LED driver for Marvell 88PM860x 23 #define LED_ON_CONTINUOUS (0x0F << 3) 47 int ret = -EINVAL; in led_power_set() 56 case 3: in led_power_set() 69 struct pm860x_led *led = container_of(cdev, struct pm860x_led, cdev); in pm860x_led_set() local 71 unsigned char buf[3]; in pm860x_led_set() 74 chip = led->chip; in pm860x_led_set() 75 mutex_lock(&led->lock); in pm860x_led_set() 76 led->brightness = value >> 3; in pm860x_led_set() [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. 40 struct mc13xxx_led *led; member 56 struct mc13xxx_led *led = in mc13xxx_led_set() local 58 struct mc13xxx_leds *leds = led->leds; in mc13xxx_led_set() 61 switch (led->id) { in mc13xxx_led_set() 66 shift = 9 + (led->id - MC13783_LED_MD) * 4; in mc13xxx_led_set() 77 off = led->id - MC13783_LED_R1; in mc13xxx_led_set() 78 bank = off / 3; in mc13xxx_led_set() [all …]
|
D | leds-aw2013.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 // Driver for Awinic AW2013 3-channel LED driver 12 #define AW2013_MAX_LEDS 3 23 /* LED channel enable register */ 27 /* LED channel control registers */ 29 #define AW2013_LCFG_IMAX_MASK (BIT(0) | BIT(1)) // Should be 0-3 34 /* LED channel PWM registers */ 37 /* LED channel timing registers */ 38 #define AW2013_LEDT0(x) (0x37 + (x) * 3) 39 #define AW2013_LEDT0_T1(x) ((x) << 4) // Should be 0-7 [all …]
|
D | leds-lp5569.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #include <linux/platform_data/leds-lp55xx.h> 18 #include <dt-bindings/leds/leds-lp55xx.h> 20 #include "leds-lp55xx-common.h" 27 * 0x80 engine 3 program (4 pages) 30 * 0xe0 engine 3 muxing info (1 page) 52 #define LP5569_CP_MODE_MASK GENMASK(4, 3) 57 #define LP5569_LED_OPEN_TEST BIT(3) 68 #define LP5569_CLK_OUTPUT BIT(3) 84 #define LP5569_LED_FAULT3 BIT(3) [all …]
|
D | leds-mt6323.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * LED driver for Mediatek MT6323 PMIC 18 * 32K clock common for LED device. 30 * individual clock for LED device. 60 /* Register to LED channel enablement. */ 69 * struct mt6323_led - state container for the LED device 70 * @id: the identifier in MT6323 LED device 71 * @parent: the pointer to MT6323 LED controller 72 * @cdev: LED class device for this LED device 73 * @current_brightness: current state of the LED device [all …]
|
D | leds-bcm6358.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for BCM6358 memory-mapped LEDs, based on leds-syscon.c 18 #define BCM6358_SLED_CLKDIV_MASK 3 22 #define BCM6358_SLED_CLKDIV_8 3 25 #define BCM6358_SLED_BUSY BIT(3) 31 * struct bcm6358_led - state container for bcm6358 based LEDs 32 * @cdev: LED class device for this LED 35 * @pin: LED pin number 36 * @active_low: LED is active low 78 struct bcm6358_led *led = in bcm6358_led_set() local [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/leds/ |
D | leds-mt6360.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-mt6360.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: LED driver for MT6360 PMIC from MediaTek Integrated. 10 - Gene Chen <gene_chen@richtek.com> 15 Add MT6360 LED driver include 2-channel Flash LED with torch/strobe mode, 16 and 4-channel RGB LED support Register/Flash/Breath Mode 20 const: mediatek,mt6360-led 22 "#address-cells": [all …]
|
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 | qcom,spmi-flash-led.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/qcom,spmi-flash-led.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Flash LED device inside Qualcomm Technologies, Inc. PMICs 10 - Fenglin Wu <quic_fenglinw@quicinc.com> 13 Flash LED controller is present inside some Qualcomm Technologies, Inc. PMICs. 14 The flash LED module can have different number of LED channels supported 15 e.g. 3 or 4. There are some different registers between them but they can 24 - enum: [all …]
|
D | leds-bcm6328.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-bcm6328.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Álvaro Fernández Rojas <noltari@gmail.com> 17 as spi-gpio. See 21 exporting the 74x164 as spi-gpio prevents those LEDs to be hardware 24 BCM6328 LED controller has a HWDIS register, which controls whether a LED 27 is usually 1:1 for hardware to LED signals, but through the activity/link 29 explained later in brcm,link-signal-sources). Even if a LED is hardware [all …]
|
D | awinic,aw200xx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: AWINIC AW200XX LED 10 - Martin Kurbanov <mmkurbanov@sberdevices.ru> 13 It is a matrix LED driver programmed via an I2C interface. Devices have 14 a set of individually controlled leds and support 3 pattern controllers 16 - AW20036 (3x12) 36 LEDs 17 - AW20054 (6x9) 54 LEDs 18 - AW20072 (6x12) 72 LEDs [all …]
|
D | leds-qcom-lpg.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-qcom-lpg.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 20 - enum: 21 - qcom,pm660l-lpg 22 - qcom,pm8150b-lpg 23 - qcom,pm8150l-lpg 24 - qcom,pm8350c-pwm [all …]
|
D | kinetic,ktd202x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Kinetic KTD2026/7 RGB/White LED Driver 10 - André Apitzsch <git@apitzsch.eu> 13 The KTD2026/7 is a RGB/White LED driver with I2C interface. 16 https://www.kinet-ic.com/uploads/KTD2026-7-04h.pdf 21 - kinetic,ktd2026 22 - kinetic,ktd2027 27 vin-supply: [all …]
|
/linux-6.12.1/drivers/net/dsa/qca/ |
D | qca8k-leds.c | 1 // SPDX-License-Identifier: GPL-2.0 13 * Internal PHY 2 has port at index 3. in qca8k_phy_to_port() 14 * Internal PHY 3 has port at index 4. in qca8k_phy_to_port() 26 reg_info->reg = QCA8K_LED_CTRL_REG(led_num); in qca8k_get_enable_led_reg() 27 reg_info->shift = QCA8K_LED_PHY0123_CONTROL_RULE_SHIFT; in qca8k_get_enable_led_reg() 31 case 3: in qca8k_get_enable_led_reg() 33 reg_info->reg = QCA8K_LED_CTRL3_REG; in qca8k_get_enable_led_reg() 34 reg_info->shift = QCA8K_LED_PHY123_PATTERN_EN_SHIFT(port_num, led_num); in qca8k_get_enable_led_reg() 37 reg_info->reg = QCA8K_LED_CTRL_REG(led_num); in qca8k_get_enable_led_reg() 38 reg_info->shift = QCA8K_LED_PHY4_CONTROL_RULE_SHIFT; in qca8k_get_enable_led_reg() [all …]
|
/linux-6.12.1/arch/arm/boot/dts/aspeed/ |
D | aspeed-bmc-ibm-blueridge.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 /dts-v1/; 5 #include <dt-bindings/gpio/aspeed-gpio.h> 6 #include <dt-bindings/i2c/i2c.h> 7 #include <dt-bindings/leds/leds-pca955x.h> 8 #include "aspeed-g6.dtsi" 9 #include "ibm-power11-quad.dtsi" 13 compatible = "ibm,blueridge-bmc", "aspeed,ast2600"; 35 stdout-path = &uart5; 43 reserved-memory { [all …]
|
D | aspeed-bmc-ibm-rainier.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/i2c/i2c.h> 8 #include <dt-bindings/leds/leds-pca955x.h> 12 compatible = "ibm,rainier-bmc", "aspeed,ast2600"; 34 stdout-path = &uart5; 43 reserved-memory { 44 #address-cells = <1>; [all …]
|
/linux-6.12.1/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-6.12.1/drivers/leds/rgb/ |
D | leds-mt6370-rgb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/led-class-multicolor.h> 110 #define MT6370_CHEN_BIT(id) BIT(MT6370_LED_ISNK4 - id) 112 #define MC_CHANNEL_NUM 3 113 #define MT6370_PWM_DUTY (BIT(5) - 1) 114 #define MT6372_PWM_DUTY (BIT(8) - 1) 118 * If the color of the LED in DT is set to 119 * - 'LED_COLOR_ID_RGB' 120 * - 'LED_COLOR_ID_MULTI' 123 * If so, this LED will choose 'struct led_classdev_mc mc' to use. [all …]
|
/linux-6.12.1/drivers/leds/flash/ |
D | leds-qcom-flash.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <linux/led-class-flash.h> 14 #include <media/v4l2-flash-led-class.h> 31 #define FLASH_STS_3CH_BOB_THM_OVERLOAD BIT(3) 40 #define FLASH_STS_4CH_BOB_ILIM_S2 BIT(3) 62 #define FLASH_IRES_5MA_VAL_3CH 3 80 #define OTST_3CH_MIN_VAL 3 82 #define OTST1_4CH_V0P1_MIN_VAL 3 124 REG_FIELD_ID(0x40, 0, 7, 3, 1), /* chan_timer */ 125 REG_FIELD_ID(0x43, 0, 6, 3, 1), /* itarget */ [all …]
|
/linux-6.12.1/drivers/hid/ |
D | hid-gt683r.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * MSI GT683R led driver 14 #include "hid-ids.h" 27 GT683R_LED_BREATHING = 3, 63 struct device *dev = led_cdev->dev->parent; in gt683r_brightness_set() 65 struct gt683r_led *led = hid_get_drvdata(hdev); in gt683r_brightness_set() local 68 if (led_cdev == &led->led_devs[i]) in gt683r_brightness_set() 73 led->brightnesses[i] = brightness; in gt683r_brightness_set() 74 schedule_work(&led->work); in gt683r_brightness_set() 83 struct hid_device *hdev = to_hid_device(dev->parent); in mode_show() [all …]
|
/linux-6.12.1/drivers/net/wireless/ath/ath5k/ |
D | led.c | 2 * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting 3 * Copyright (c) 2004-2005 Atheros Communications, Inc. 19 * 3. Neither the names of the above-listed copyright holders nor the names 55 /* Devices we match on for LED config info (typically laptops) */ 62 { ATH_SDEVICE(PCI_VENDOR_ID_FOXCONN, 0xe008), ATH_LED(3, 0) }, 63 /* Acer Aspire One AO531h AO751h (keng-yu.lin@canonical.com) */ 64 { ATH_SDEVICE(PCI_VENDOR_ID_FOXCONN, 0xe00d), ATH_LED(3, 0) }, 67 /* E-machines E510 (tuliom@gmail.com) */ 68 { ATH_SDEVICE(PCI_VENDOR_ID_AMBIT, 0x0428), ATH_LED(3, 0) }, 72 { ATH_SDEVICE(PCI_VENDOR_ID_QMI, 0x0105), ATH_LED(3, 0) }, [all …]
|
/linux-6.12.1/Documentation/sound/hd-audio/ |
D | models.rst | 2 HD-Audio Codec-Specific Models 7 3stack 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 16 6-jack in back, 2-jack in front 17 6stack-digout [all …]
|
/linux-6.12.1/arch/arm/boot/dts/st/ |
D | stm32mp157c-lxa-tac-gen2.dts | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 3 * Copyright (C) 2020 STMicroelectronics - All Rights Reserved 8 /dts-v1/; 11 #include "stm32mp15xc-lxa-tac.dtsi" 15 compatible = "lxa,stm32mp157c-tac-gen2", "oct,stm32mp15xx-osd32", "st,stm32mp157"; 18 compatible = "pwm-backlight"; 19 power-supply = <&v3v3>; 21 brightness-levels = <0 31 63 95 127 159 191 223 255>; 22 default-brightness-level = <7>; 23 pwms = <&led_pwm 3 1000000 0>; [all …]
|