/linux/Documentation/devicetree/bindings/sound/ |
H A D | samsung,midas-audio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/samsung,midas-audio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sylwester Nawrocki <s.nawrocki@samsung.com> 13 - $ref: sound-card-common.yaml# 17 const: samsung,midas-audio 23 sound-dai: 27 - sound-dai 33 sound-dai: [all …]
|
H A D | dialog,da7219.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - David Rau <David.Rau.opensource@dm.renesas.com> 13 The DA7219 is an ultra low-power audio codec with 14 in-built advanced accessory detection (AAD) for mobile 16 sample rates up to 96 kHz at 24-bit resolution. 28 VDD-supply: 32 VDDMIC-supply: 36 VDDIO-supply: [all …]
|
/linux/drivers/mux/ |
H A D | adg792a.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Multiplexer driver for Analog Devices ADG792A/G Triple 4:1 mux 36 struct i2c_client *i2c = to_i2c_client(mux->chip->dev.parent); in adg792a_set() 39 if (mux->chip->controllers == 1) { in adg792a_set() 63 struct device *dev = &i2c->dev; in adg792a_probe() 70 if (!i2c_check_functionality(i2c->adapter, I2C_FUNC_SMBUS_BYTE_DATA)) in adg792a_probe() 71 return -ENODEV; in adg792a_probe() 73 ret = device_property_read_u32(dev, "#mux-control-cells", &cells); in adg792a_probe() 77 return -EINVAL; in adg792a_probe() 83 mux_chip->ops = &adg792a_ops; in adg792a_probe() [all …]
|
/linux/drivers/leds/ |
H A D | leds-pca963x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Author: Peter Meerwald <p.meerwald@bct-electronic.com> 9 * Based on leds-pca955x.c 11 * LED driver for the PCA9633 I2C LED driver (7-bit slave address 0x62) 12 * LED driver for the PCA9634/5 I2C LED driver (7-bit slave address set by hw.) 22 * or by adding the 'nxp,hw-blink' property to the DTS. 43 #define PCA963X_MODE2_OUTDRV 0x04 /* Open-drain or totem pole */ 70 .n_leds = 4, 121 struct i2c_client *client = led->chip->client; in pca963x_brightness() 122 struct pca963x_chipdef *chipdef = led->chip->chipdef; in pca963x_brightness() [all …]
|
/linux/include/uapi/asm-generic/ |
H A D | statfs.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 9 * Most 64-bit platforms use 'long', while most 32-bit platforms use '__u32'. 11 * Special cases can override it for themselves -- except for S390x, which 13 * with a 10' pole. 35 __statfs_word f_spare[4]; 39 * ARM needs to avoid the 32-bit padding at the end, for consistency 58 __statfs_word f_spare[4]; 62 * IA64 and x86_64 need to avoid the 32-bit padding at the end, 81 __u32 f_spare[4];
|
/linux/sound/soc/samsung/ |
H A D | midas_wm1811.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 #include <linux/input-event-codes.h> 17 #include <sound/soc-dapm.h> 77 struct midas_priv *priv = snd_soc_card_get_drvdata(codec->card); in headset_jack_check() 81 if (!gpiod_get_value_cansleep(priv->gpio_headset_detect)) in headset_jack_check() 85 ret = snd_soc_dapm_force_enable_pin(dapm, "headset-mic-bias"); in headset_jack_check() 96 ret = iio_read_channel_processed(priv->adc_headset_detect, &adc); in headset_jack_check() 105 jack_type = snd_soc_jack_get_type(&priv->headset_jack, adc); in headset_jack_check() 108 ret = snd_soc_dapm_disable_pin(dapm, "headset-mic-bias"); in headset_jack_check() 120 struct midas_priv *priv = snd_soc_card_get_drvdata(codec->card); in headset_key_check() [all …]
|
H A D | aries_wm8994.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 #include <linux/input-event-codes.h> 98 if (!gpiod_get_value(priv->gpio_headset_detect)) { in headset_det_irq_thread() 101 gpiod_set_value(priv->gpio_earpath_sel, 0); in headset_det_irq_thread() 105 time_left_ms -= 20; in headset_det_irq_thread() 109 ret = regulator_enable(priv->reg_headset_micbias); in headset_det_irq_thread() 113 gpiod_set_value(priv->gpio_earpath_sel, 1); in headset_det_irq_thread() 115 ret = iio_read_channel_processed(priv->adc, &adc); in headset_det_irq_thread() 127 ret = regulator_disable(priv->reg_headset_micbias); in headset_det_irq_thread() 133 gpiod_set_value(priv->gpio_earpath_sel, 0); in headset_det_irq_thread() [all …]
|
/linux/drivers/gpio/ |
H A D | gpio-ge.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 * Configuration of output modes (totem-pole/open-drain). 14 * Interrupt configuration - interrupts are always generated, the FPGA relies 39 .compatible = "gef,sbc610-gpio", 42 .compatible = "gef,sbc310-gpio", 45 .compatible = "ge,imp3a-gpio", 54 struct device *dev = &pdev->dev; in gef_gpio_probe() 61 return -ENOMEM; in gef_gpio_probe() 67 ret = bgpio_init(gc, dev, 4, regs + GEF_GPIO_IN, regs + GEF_GPIO_OUT, in gef_gpio_probe() 74 gc->label = devm_kasprintf(dev, GFP_KERNEL, "%pfw", dev_fwnode(dev)); in gef_gpio_probe() [all …]
|
/linux/drivers/misc/echo/ |
H A D | echo.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * SpanDSP - a series of DSP components for telephony 5 * echo.c - A line echo canceller. This code is being developed 30 especially for double talk - there were always cases where my DTD 50 on 4 real-world samples. 54 on the real-world samples. I have no idea why, perhaps a scaling 59 dot product) compared to the current sample-by-sample update. 66 Path Models", IEEE Transactions on communications, COM-25, 80 [4] The source code http://svn.rowetel.com/software/oslec/ 87 Thanks to Steve Underwood, Jean-Marc Valin, and Ramakrishnan [all …]
|
/linux/sound/soc/codecs/ |
H A D | da7219-aad.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * da7219-aad.c - Dialog DA7219 ALSA SoC AAD Driver 24 #include "da7219-aad.h" 35 da7219->aad->jack = jack; in da7219_aad_jack_det() 36 da7219->aad->jack_inserted = false; in da7219_aad_jack_det() 55 struct snd_soc_component *component = da7219_aad->component; in da7219_aad_btn_det_work() 83 dev_warn(component->dev, "Mic bias status check timed out"); in da7219_aad_btn_det_work() 85 da7219->micbias_on_event = true; in da7219_aad_btn_det_work() 91 if (da7219_aad->micbias_pulse_lvl && da7219_aad->micbias_pulse_time) { in da7219_aad_btn_det_work() 96 da7219_aad->micbias_pulse_lvl); in da7219_aad_btn_det_work() [all …]
|
H A D | msm8916-wcd-analog.c | 1 // SPDX-License-Identifier: GPL-2.0 26 #define MBHC_BUTTON_RELEASE_DET BIT(4) 41 #define ANA_CLK_CTL_SPKR_CLK_EN_MASK BIT(4) 42 #define ANA_CLK_CTL_SPKR_CLK_EN BIT(4) 51 #define DIG_CLK_CTL_TXD_CLK_EN BIT(4) 102 #define MICB_1_EN_PULL_UP_EN_MASK BIT(4) 109 #define MICB_VOLTAGE_REGVAL(v) (((v - MICB_MIN_VAL)/MICB_STEP_SIZE) << 3) 131 #define MICB_1_INT_TX2_INT_RBIAS_EN_MASK BIT(4) 132 #define MICB_1_INT_TX2_INT_RBIAS_EN_ENABLE BIT(4) 158 #define CDC_A_MBHC_DET_CTL_MIC_CLAMP_CTL_AUTO BIT(4) [all …]
|
/linux/sound/pci/ca0106/ |
H A D | ca0106.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk> 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 */ 107 #define INTE_MIDI_RX_A 0x00000004 /* MIDI UART-A Receive buffer non-empty */ [all …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | am3874-iceboard.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 * Antarctica (the South Pole Telescope), Chile (POLARBEAR), and at the DRAO 12 * Copyright (c) 2019 Three-Speed Logic, Inc. <gsmecher@threespeedlogic.com> 15 /dts-v1/; 18 #include <dt-bindings/interrupt-controller/irq.h> 25 stdout-path = "serial1:115200n8"; 35 compatible = "regulator-fixed"; 36 regulator-name = "vmmcsd_fixed"; 37 regulator-min-microvolt = <3300000>; 38 regulator-max-microvolt = <3300000>; [all …]
|
/linux/drivers/input/keyboard/ |
H A D | imx_keypad.c | 1 // SPDX-License-Identifier: GPL-2.0 71 * -stable: achieved after a complete debounce process. 72 * -unstable: used in the debouncing process. 86 if ((keypad->cols_en_mask & (1 << col)) == 0) in imx_keypad_scan_matrix() 91 * 3. configure columns as totem-pole to discharge capacitance. in imx_keypad_scan_matrix() 92 * 4. configure columns as open-drain. in imx_keypad_scan_matrix() 94 reg_val = readw(keypad->mmio_base + KPDR); in imx_keypad_scan_matrix() 96 writew(reg_val, keypad->mmio_base + KPDR); in imx_keypad_scan_matrix() 98 reg_val = readw(keypad->mmio_base + KPCR); in imx_keypad_scan_matrix() 99 reg_val &= ~((keypad->cols_en_mask & 0xff) << 8); in imx_keypad_scan_matrix() [all …]
|
/linux/drivers/pcmcia/ |
H A D | tcic.c | 3 Device driver for Databook TCIC-2 PCMCIA controller 55 MODULE_DESCRIPTION("Databook TCIC-2 PCMCIA socket driver"); 62 /* The base port address of the TCIC-2 chip */ 66 static int ignore = -1; 76 /* The card status change interrupt -- 0 means autoselect */ 79 /* Poll status interval -- 0 means default to interrupt */ 82 /* Delay for card status double-checking */ 195 return 2*(ns-14)/cycle_time; in to_cycles() 214 return -1; in try_irq() 218 return -1; in try_irq() [all …]
|
/linux/drivers/scsi/sym53c8xx_2/ |
H A D | sym_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * of PCI-SCSI IO processors. 6 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr> 9 * Copyright (C) 1998-2000 Gerard Roudier 12 * a port of the FreeBSD ncr driver to Linux-1.2.13. 16 * Stefan Esser <se@mi.Uni-Koeln.de> 24 *----------------------------------------------------------------------------- 31 #define SYM_DRIVER_NAME "sym-" SYM_VERSION 40 u_char burst_max; /* log-base-2 of max burst */ 48 #define FE_ULTRA2 (1<<3) /* Ultra 2 - 40 Mtrans/sec */ [all …]
|
H A D | sym_glue.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * of PCI-SCSI IO processors. 6 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr> 7 * Copyright (c) 2003-2005 Matthew Wilcox <matthew@wil.cx> 10 * Copyright (C) 1998-2000 Gerard Roudier 13 * a port of the FreeBSD ncr driver to Linux-1.2.13. 17 * Stefan Esser <se@mi.Uni-Koeln.de> 25 *----------------------------------------------------------------------------- 66 MODULE_PARM_DESC(irqm, "0 for open drain, 1 to leave alone, 2 for totem pole"); 122 #define SYM_SOFTC_PTR(cmd) sym_get_hcb(cmd->device->host) [all …]
|
H A D | sym_hipd.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * of PCI-SCSI IO processors. 6 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr> 7 * Copyright (c) 2003-2005 Matthew Wilcox <matthew@wil.cx> 10 * Copyright (C) 1998-2000 Gerard Roudier 13 * a port of the FreeBSD ncr driver to Linux-1.2.13. 17 * Stefan Esser <se@mi.Uni-Koeln.de> 25 *----------------------------------------------------------------------------- 55 while (n-- > 0) in sym_printl_hex() 62 sym_print_addr(cp->cmd, "%s: ", label); in sym_print_msg() [all …]
|
/linux/Documentation/scsi/ |
H A D | sym53c8xx_2.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 SYM-2 driver 11 95170 DEUIL LA BARRE - FRANCE 15 2004-10-09 24 4. Memory mapped I/O versus normal I/O 44 10.2.4 Differential mode 67 This driver supports the whole SYM53C8XX family of PCI-SCSI controllers. 68 It also support the subset of LSI53C10XX PCI-SCSI controllers that are based 72 with the FreeBSD SYM-2 driver. The 'glue' that allows this driver to work 81 - Wolfgang Stanglmeier <wolf@cologne.de> [all …]
|
H A D | ncr53c8xx.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 95170 DEUIL LA BARRE - FRANCE 22 4. Memory mapped I/O versus normal I/O 44 10.2.4 Special features 64 10.4 PCI configuration fix-up boot option 81 16.1 Synchronous timings for 53C875 and 53C860 Ultra-SCSI controllers 82 16.2 Synchronous timings for fast SCSI-2 53C8XX controllers 97 - Gerard Roudier <groudier@free.fr> 101 - Wolfgang Stanglmeier <wolf@cologne.de> 102 - Stefan Esser <se@mi.Uni-Koeln.de> [all …]
|
/linux/drivers/scsi/ |
H A D | ncr53c8xx.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 ** Device driver for the PCI-SCSI NCR538XX controller family. 6 ** Copyright (C) 1998-2001 Gerard Roudier <groudier@free.fr> 9 **----------------------------------------------------------------------------- 23 ** Stefan Esser <se@mi.Uni-Koeln.de> 62 /* --------------------------------------------------------------------- 65 ** --------------------------------------------------------------------- 143 * Disallow disconnections at boot-up 179 * Settle time after reset at boot-up 184 ** Bridge quirks work-around option defaulted to 1. [all …]
|
H A D | advansys.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * advansys.c - Linux Host Driver for AdvanSys SCSI Adapters 5 * Copyright (c) 1995-2000 Advanced System Products, Inc. 6 * Copyright (c) 2000-2001 ConnectCom Solutions, Inc. 34 #include <linux/dma-mapping.h> 109 #define ASC_CHIP_LATEST_VER_EISA ((ASC_CHIP_MIN_VER_EISA - 1) + 3) 125 * Narrow boards only support 12-byte commands, while wide boards 126 * extend to 16-byte commands. 194 #define ASC_SCSIQ_CPY_BEG 4 200 #define ASC_SCSIQ_B_CNTL 4 [all …]
|
/linux/ |
H A D | CREDITS | 1 This is at least a partial credits-file of people that have 4 scripts. The fields are: name (N), email (E), web-address 6 snail-mail address (S). 10 ---------- 47 D: in-kernel DRM Maintainer 72 E: tim_alpaerts@toyota-motor-europe.com 76 S: B-2610 Wilrijk-Antwerpen 81 W: http://www-stu.christs.cam.ac.uk/~aia21/ 102 D: Maintainer of ide-cd and Uniform CD-ROM driver, 103 D: ATAPI CD-Changer support, Major 2.1.x CD-ROM update. [all …]
|
/linux/drivers/net/ethernet/sfc/ |
H A D | mcdi_pcol.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2009-2018 Solarflare Communications Inc. 5 * Copyright 2019-2020 Xilinx Inc. 13 /* Power-on reset state */ 19 #define MC_FW_STATE_BOOTING (4) 35 /* The 'doorbell' addresses are hard-wired to alert the MC when written */ 38 /* The rest of these are firmware-defined */ 46 /* Values to be written to the per-port status dword in shared 71 * | | \--- Response 72 * | \------- Error [all …]
|