| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | tlv320adcx140.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Texas Instruments TLV320ADCX140 Quad Channel Analog-to-Digital Converter 11 - Dan Murphy <dmurphy@ti.com> 14 The TLV320ADCX140 are multichannel (4-ch analog recording or 8-ch digital 15 PDM microphones recording), high-performance audio, analog-to-digital 16 converter (ADC) with analog inputs supporting up to 2V RMS. The TLV320ADCX140 28 - const: ti,tlv320adc3140 29 - const: ti,tlv320adc5140 [all …]
|
| /kernel/linux/linux-5.10/drivers/gpio/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 config ARCH_HAVE_CUSTOM_GPIO_H 9 Selecting this config option from the architecture Kconfig allows 25 config GPIOLIB_FASTPATH_LIMIT 37 config OF_GPIO 42 config GPIO_ACPI 46 config GPIOLIB_IRQCHIP 50 config DEBUG_GPIO 57 non-sleeping contexts. They can make bitbanged serial protocols 61 config GPIO_SYSFS [all …]
|
| D | gpio-sl28cpld.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 /* input-only flavor */ 28 /* output-only flavor */ 40 REGMAP_IRQ_REG_LINE(2, 8), 50 struct gpio_regmap_config *config) in sl28cpld_gpio_irq_init() argument 54 struct device *dev = &pdev->dev; in sl28cpld_gpio_irq_init() 57 if (!device_property_read_bool(dev, "interrupt-controller")) in sl28cpld_gpio_irq_init() 66 return -ENOMEM; in sl28cpld_gpio_irq_init() 68 irq_chip->name = "sl28cpld-gpio-irq", in sl28cpld_gpio_irq_init() 69 irq_chip->irqs = sl28cpld_gpio_irqs; in sl28cpld_gpio_irq_init() [all …]
|
| D | gpio-lp873x.c | 2 * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/ 3 * Keerthy <j-keerthy@ti.com> 6 * modify it under the terms of the GNU General Public License version 2 as 12 * GNU General Public License version 2 for more details. 43 return -EINVAL; in lp873x_gpio_direction_input() 52 return regmap_update_bits(gpio->lp873->regmap, LP873X_REG_GPO_CTRL, in lp873x_gpio_direction_output() 62 ret = regmap_read(gpio->lp873->regmap, LP873X_REG_GPO_CTRL, &val); in lp873x_gpio_get() 74 regmap_update_bits(gpio->lp873->regmap, LP873X_REG_GPO_CTRL, in lp873x_gpio_set() 86 /* No MUX Set up Needed for GPO */ in lp873x_gpio_request() 90 ret = regmap_update_bits(gpio->lp873->regmap, LP873X_REG_CONFIG, in lp873x_gpio_request() [all …]
|
| D | gpio-tps65218.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * This driver is based on the gpio-tps65912 implementation. 26 struct tps65218 *tps65218 = tps65218_gpio->tps65218; in tps65218_gpio_get() 30 ret = regmap_read(tps65218->regmap, TPS65218_REG_ENABLE2, &val); in tps65218_gpio_get() 41 struct tps65218 *tps65218 = tps65218_gpio->tps65218; in tps65218_gpio_set() 64 return -EPERM; in tps65218_gpio_input() 70 struct tps65218 *tps65218 = tps65218_gpio->tps65218; in tps65218_gpio_request() 74 dev_err(gc->parent, "can't work as open source\n"); in tps65218_gpio_request() 75 return -EINVAL; in tps65218_gpio_request() 81 dev_err(gc->parent, "GPO1 works only as open drain\n"); in tps65218_gpio_request() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | tlv320adcx140.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/ 41 "ti,gpo-config-1", 42 "ti,gpo-config-2", 43 "ti,gpo-config-3", 44 "ti,gpo-config-4", 163 /* Digital Volume control. From -100 to 27 dB in 0.5 dB steps */ 164 static DECLARE_TLV_DB_SCALE(dig_vol_tlv, -10050, 50, 0); 169 /* DRE Level. From -12 dB to -66 dB in 1 dB steps */ 170 static DECLARE_TLV_DB_SCALE(dre_thresh_tlv, -6600, 100, 0); [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/inc/ |
| D | smu11_driver_if_sienna_cichlid.h | 35 #define NUM_SMNCLK_DPM_LEVELS 2 37 #define NUM_MP0CLK_DPM_LEVELS 2 46 #define NUM_MP1CLK_DPM_LEVELS 2 47 #define NUM_LINK_LEVELS 2 49 #define NUM_XGMI_LEVELS 2 53 #define MAX_GFXCLK_DPM_LEVEL (NUM_GFXCLK_DPM_LEVELS - 1) 54 #define MAX_SMNCLK_DPM_LEVEL (NUM_SMNCLK_DPM_LEVELS - 1) 55 #define MAX_SOCCLK_DPM_LEVEL (NUM_SOCCLK_DPM_LEVELS - 1) 56 #define MAX_MP0CLK_DPM_LEVEL (NUM_MP0CLK_DPM_LEVELS - 1) 57 #define MAX_DCLK_DPM_LEVEL (NUM_DCLK_DPM_LEVELS - 1) [all …]
|
| /kernel/linux/linux-5.10/drivers/pinctrl/nuvoton/ |
| D | pinctrl-npcm7xx.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2016-2018 Nuvoton Technology corporation. 16 #include <linux/pinctrl/pinconf-generic.h> 47 #define NPCM7XX_GP_N_PU 0x1c /* Pull-up */ 48 #define NPCM7XX_GP_N_PD 0x20 /* Pull-down */ 108 spin_lock_irqsave(&gc->bgpio_lock, flags); in npcm_gpio_set() 113 spin_unlock_irqrestore(&gc->bgpio_lock, flags); in npcm_gpio_set() 122 spin_lock_irqsave(&gc->bgpio_lock, flags); in npcm_gpio_clr() 127 spin_unlock_irqrestore(&gc->bgpio_lock, flags); in npcm_gpio_clr() 134 seq_printf(s, "-- module %d [gpio%d - %d]\n", in npcmgpio_dbg_show() [all …]
|
| /kernel/linux/linux-5.10/drivers/hid/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 8 config HID 15 most commonly used to refer to the USB-HID specification, but other 20 removed from the HID bus by the transport-layer drivers, such as 29 config HID_BATTERY_STRENGTH 39 config HIDRAW 53 to work on raw hid events when they want to, and avoid using transport-specific 58 config UHID 59 tristate "User-space I/O driver support for HID subsystem" 63 Say Y here if you want to provide HID I/O Drivers from user-space. [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | armada-370-dlink-dns327l.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for D-Link DNS-327L 12 /dts-v1/; 14 #include <dt-bindings/input/input.h> 15 #include <dt-bindings/gpio/gpio.h> 16 #include "armada-370.dtsi" 19 model = "D-Link DNS-327L"; 22 "marvell,armada-370-xp"; 25 stdout-path = &uart0; 38 internal-regs { [all …]
|
| D | dove.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/gpio/gpio.h> 3 #include <dt-bindings/interrupt-controller/irq.h> 8 #address-cells = <1>; 9 #size-cells = <1>; 12 interrupt-parent = <&intc>; 21 #address-cells = <1>; 22 #size-cells = <0>; 25 compatible = "marvell,pj4a", "marvell,sheeva-v7"; 27 next-level-cache = <&l2>; [all …]
|
| D | s3c64xx-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 * - pin control-related definitions 8 * Samsung's S3C64xx SoCs pin banks, pin-mux and pin-config options are 12 #include <dt-bindings/pinctrl/samsung.h> 20 gpio-controller; 21 #gpio-cells = <2>; 22 interrupt-controller; 23 #interrupt-cells = <2>; 27 gpio-controller; 28 #gpio-cells = <2>; [all …]
|
| D | kirkwood-synology.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 12 pinctrl: pin-controller@10000 { 13 pmx_alarmled_12: pmx-alarmled-12 { 18 pmx_fanctrl_15: pmx-fanctrl-15 { 23 pmx_fanctrl_16: pmx-fanctrl-16 { 28 pmx_fanctrl_17: pmx-fanctrl-17 { 33 pmx_fanalarm_18: pmx-fanalarm-18 { 35 marvell,function = "gpo"; 38 pmx_hddled_20: pmx-hddled-20 { 43 pmx_hddled_21: pmx-hddled-21 { [all …]
|
| /kernel/linux/linux-5.10/drivers/media/usb/em28xx/ |
| D | em28xx-reg.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * em28xx-reg.h - Register definitions for em28xx driver 9 #define EM_GPIO_2 ((unsigned char)BIT(2)) 18 #define EM_GPO_2 ((unsigned char)BIT(2)) 45 /* em28xx Chip Configuration 2 0x01 */ 47 #define EM28XX_CHIPCFG2_TS_REQ_INTERVAL_MASK 0x0c /* bits 3-2 */ 52 #define EM28XX_CHIPCFG2_TS_PACKETSIZE_MASK 0x03 /* bits 0-1 */ 58 /* GPIO/GPO registers */ 59 #define EM2880_R04_GPO 0x04 /* em2880-em2883 only */ 60 #define EM2820_R08_GPIO_CTRL 0x08 /* em2820-em2873/83 only */ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/ |
| D | subr.c | 11 * it under the terms of the GNU General Public License, version 2, as * 23 * Copyright (c) 2003 - 2005 Chelsio Communications, Inc. * 49 * t1_wait_op_done - wait until an operation is completed 52 * @mask: a single-bit field within @reg that indicates completion 65 u32 val = readl(adapter->regs + reg) & mask; in t1_wait_op_done() 69 if (--attempts == 0) in t1_wait_op_done() 85 writel(addr, adapter->regs + A_TPI_ADDR); in __t1_tpi_write() 86 writel(value, adapter->regs + A_TPI_WR_DATA); in __t1_tpi_write() 87 writel(F_TPIWR, adapter->regs + A_TPI_CSR); in __t1_tpi_write() 93 adapter->name, addr); in __t1_tpi_write() [all …]
|
| /kernel/linux/linux-5.10/drivers/mfd/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 9 config MFD_CORE 14 config MFD_CS5535 22 config MFD_ALTERA_A10SR 33 config MFD_ALTERA_SYSMGR 43 config MFD_ACT8945A 44 tristate "Active-semi ACT8945A" 49 Support for the ACT8945A PMIC from Active-semi. This device 50 features three step-down DC/DC converters and four low-dropout 54 config MFD_SUN4I_GPADC [all …]
|
| D | twl6040.c | 1 // SPDX-License-Identifier: GPL-2.0-only 31 #define TWL6040_NUM_SUPPLIES (2) 104 ret = regmap_read(twl6040->regmap, reg, &val); in twl6040_reg_read() 116 ret = regmap_write(twl6040->regmap, reg, val); in twl6040_reg_write() 124 return regmap_update_bits(twl6040->regmap, reg, mask, mask); in twl6040_set_bits() 130 return regmap_update_bits(twl6040->regmap, reg, mask, 0); in twl6040_clear_bits() 134 /* twl6040 codec manual power-up sequence */ 140 /* enable high-side LDO, reference system and internal oscillator */ in twl6040_power_up_manual() 154 /* enable low-side LDO */ in twl6040_power_up_manual() 161 /* enable low-power PLL */ in twl6040_power_up_manual() [all …]
|
| /kernel/linux/linux-5.10/drivers/spi/ |
| D | spi-lantiq-ssc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2011-2015 Daniel Schwierzeck <daniel.schwierzeck@gmail.com> 4 * Copyright (C) 2016 Hauke Mehrtens <hauke@hauke-m.de> 113 #define LTQ_SPI_WHBSTATE_CLRMS BIT(2) /* Clear master select bit */ 115 #define LTQ_SPI_WHBSTATE_CLREN BIT(0) /* Clear enable bit (config mode */ 141 #define LTQ_SPI_RXCNT_TODO_M 0xFFFF /* Recevie to-do value */ 145 #define LTQ_SPI_IRNEN_E BIT(2) /* Error end interrupt request */ 190 return __raw_readl(spi->regbase + reg); in lantiq_ssc_readl() 196 __raw_writel(val, spi->regbase + reg); in lantiq_ssc_writel() 202 u32 val = __raw_readl(spi->regbase + reg); in lantiq_ssc_maskl() [all …]
|
| /kernel/linux/linux-5.10/drivers/pinctrl/mvebu/ |
| D | pinctrl-dove.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 20 #include "pinctrl-mvebu.h" 23 #define INT_REGS_MASK ~(SZ_1M - 1) 36 #define CAM_GPIO_SEL BIT(2) 44 /* Global Config regmap registers */ 64 unsigned pid, unsigned long *config) in dove_pmu_mpp_ctrl_get() argument 68 unsigned long pmu = readl(data->base + PMU_MPP_GENERAL_CTRL); in dove_pmu_mpp_ctrl_get() 72 return mvebu_mmio_mpp_ctrl_get(data, pid, config); in dove_pmu_mpp_ctrl_get() 75 *config = (func >> shift) & MVEBU_MPP_MASK; in dove_pmu_mpp_ctrl_get() 76 *config |= CONFIG_PMU; in dove_pmu_mpp_ctrl_get() [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-s3c/ |
| D | gpio-samsung.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (c) 2009-2011 Samsung Electronics Co., Ltd. 11 // Samsung - GPIOlib support 31 #include "regs-gpio.h" 32 #include "gpio-samsung.h" 35 #include "gpio-core.h" 36 #include "gpio-cfg.h" 37 #include "gpio-cfg-helpers.h" 43 void __iomem *reg = chip->base + 0x08; in samsung_gpio_setpull_updown() 44 int shift = off * 2; in samsung_gpio_setpull_updown() [all …]
|
| /kernel/linux/linux-5.10/sound/pci/ca0106/ |
| D | ca0106.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk> 34 * playback periods_min=2, periods_max=8 50 * Implement support for Line-in capture on SB Live 24bit. 73 #define IPR_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */ 74 #define IPR_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */ 87 #define IPR_MIDI_RX_A 0x00000004 /* MIDI UART-A Receive buffer non-empty */ 88 #define IPR_MIDI_TX_A 0x00000002 /* MIDI UART-A Transmit buffer empty */ 93 #define INTE_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */ 94 #define INTE_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */ [all …]
|
| /kernel/linux/linux-5.10/sound/pci/ |
| D | maestro3.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 * - Fixed deadlock on capture 13 * - Added Canyon3D-2 support by Rob Riggs <rob@pangalactic.org> 16 #define CARD_NAME "ESS Maestro3/Allegro/Canyon3D-2" 24 #include <linux/dma-mapping.h> 45 "{ESS,Allegro-1 PCI}," 46 "{ESS,Canyon3D-2/LE PCI}}"); 50 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 53 static bool external_amp[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1}; 54 static int amp_gpio[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = -1}; [all …]
|
| /kernel/linux/linux-5.10/sound/pci/hda/ |
| D | hda_proc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 17 static int dump_coef = -1; 19 MODULE_PARM_DESC(dump_coef, "Dump processing coefficients in codec proc file (-1=auto, 0=disable, 1… 23 snd_hdac_read_parm_uncached(&(codec)->core, nid, parm) 38 if (wid_value == -1) in get_wid_type_name() 52 struct hda_nid_item *items = array->list, *item; in print_nid_array() 54 for (i = 0; i < array->used; i++) { in print_nid_array() 56 if (item->nid == nid) { in print_nid_array() 57 kctl = item->kctl; in print_nid_array() 60 kctl->id.name, kctl->id.index + item->index, in print_nid_array() [all …]
|