Home
last modified time | relevance | path

Searched +full:4 +full:- +full:pole (Results 1 – 25 of 46) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/mux/
Dadg792a.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/mux/
Dadg792a.c1 // 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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dda7219.txt8 - compatible : Should be "dlg,da7219"
9 - reg: Specifies the I2C slave address
11 - interrupts : IRQ line info for DA7219.
12 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for
15 - VDD-supply: VDD power supply for the device
16 - VDDMIC-supply: VDDMIC power supply for the device
17 - VDDIO-supply: VDDIO power supply for the device
22 - interrupt-names : Name associated with interrupt line. Should be "wakeup" if
24 - wakeup-source: Flag to indicate this device can wake system (suspend/resume).
26 - #clock-cells : Should be set to '<1>', two clock sources provided;
[all …]
/kernel/linux/linux-5.10/drivers/leds/
Dleds-pca963x.c1 // 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.
42 #define PCA963X_MODE2_OUTDRV 0x04 /* Open-drain or totem pole */
69 .n_leds = 4,
119 struct i2c_client *client = led->chip->client; in pca963x_brightness()
120 struct pca963x_chipdef *chipdef = led->chip->chipdef; in pca963x_brightness()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
Ddialog,da7219.yaml1 # 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 …]
/kernel/linux/linux-6.6/drivers/leds/
Dleds-pca963x.c1 // 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.
42 #define PCA963X_MODE2_OUTDRV 0x04 /* Open-drain or totem pole */
69 .n_leds = 4,
120 struct i2c_client *client = led->chip->client; in pca963x_brightness()
121 struct pca963x_chipdef *chipdef = led->chip->chipdef; in pca963x_brightness()
[all …]
/kernel/linux/linux-6.6/include/uapi/asm-generic/
Dstatfs.h1 /* 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];
/kernel/linux/linux-5.10/include/uapi/asm-generic/
Dstatfs.h1 /* 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];
/kernel/linux/linux-5.10/sound/soc/codecs/
Dda7219-aad.c1 // 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()
56 struct snd_soc_component *component = da7219_aad->component; in da7219_aad_btn_det_work()
84 dev_warn(component->dev, "Mic bias status check timed out"); in da7219_aad_btn_det_work()
86 da7219->micbias_on_event = true; in da7219_aad_btn_det_work()
92 if (da7219_aad->micbias_pulse_lvl && da7219_aad->micbias_pulse_time) { in da7219_aad_btn_det_work()
97 da7219_aad->micbias_pulse_lvl); in da7219_aad_btn_det_work()
[all …]
Dmsm8916-wcd-analog.c1 // SPDX-License-Identifier: GPL-2.0
27 #define MBHC_BUTTON_RELEASE_DET BIT(4)
42 #define ANA_CLK_CTL_SPKR_CLK_EN_MASK BIT(4)
43 #define ANA_CLK_CTL_SPKR_CLK_EN BIT(4)
52 #define DIG_CLK_CTL_TXD_CLK_EN BIT(4)
103 #define MICB_1_EN_PULL_UP_EN_MASK BIT(4)
110 #define MICB_VOLTAGE_REGVAL(v) (((v - MICB_MIN_VAL)/MICB_STEP_SIZE) << 3)
132 #define MICB_1_INT_TX2_INT_RBIAS_EN_MASK BIT(4)
133 #define MICB_1_INT_TX2_INT_RBIAS_EN_ENABLE BIT(4)
159 #define CDC_A_MBHC_DET_CTL_MIC_CLAMP_CTL_AUTO BIT(4)
[all …]
/kernel/linux/linux-6.6/drivers/gpio/
Dgpio-ge.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/misc/echo/
Decho.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/misc/echo/
Decho.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-ge.c15 * Configuration of output modes (totem-pole/open-drain)
16 * Interrupt configuration - interrupts are always generated the FPGA relies on
40 .compatible = "gef,sbc610-gpio",
43 .compatible = "gef,sbc310-gpio",
46 .compatible = "ge,imp3a-gpio",
59 gc = devm_kzalloc(&pdev->dev, sizeof(*gc), GFP_KERNEL); in gef_gpio_probe()
61 return -ENOMEM; in gef_gpio_probe()
63 regs = of_iomap(pdev->dev.of_node, 0); in gef_gpio_probe()
65 return -ENOMEM; in gef_gpio_probe()
67 ret = bgpio_init(gc, &pdev->dev, 4, regs + GEF_GPIO_IN, in gef_gpio_probe()
[all …]
/kernel/linux/linux-6.6/sound/soc/codecs/
Dda7219-aad.c1 // 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 …]
Dmsm8916-wcd-analog.c1 // 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 …]
/kernel/linux/linux-6.6/sound/pci/ca0106/
Dca0106.h1 /* 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 …]
/kernel/linux/linux-5.10/sound/pci/ca0106/
Dca0106.h1 /* 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 …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/ti/omap/
Dam3874-iceboard.dts1 // 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 …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dam3874-iceboard.dts1 // 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 …]
/kernel/linux/linux-5.10/drivers/input/keyboard/
Dimx_keypad.c1 // SPDX-License-Identifier: GPL-2.0
70 * -stable: achieved after a complete debounce process.
71 * -unstable: used in the debouncing process.
85 if ((keypad->cols_en_mask & (1 << col)) == 0) in imx_keypad_scan_matrix()
90 * 3. configure columns as totem-pole to discharge capacitance. in imx_keypad_scan_matrix()
91 * 4. configure columns as open-drain. in imx_keypad_scan_matrix()
93 reg_val = readw(keypad->mmio_base + KPDR); in imx_keypad_scan_matrix()
95 writew(reg_val, keypad->mmio_base + KPDR); in imx_keypad_scan_matrix()
97 reg_val = readw(keypad->mmio_base + KPCR); in imx_keypad_scan_matrix()
98 reg_val &= ~((keypad->cols_en_mask & 0xff) << 8); in imx_keypad_scan_matrix()
[all …]
/kernel/linux/linux-6.6/drivers/input/keyboard/
Dimx_keypad.c1 // 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 …]
/kernel/linux/linux-5.10/sound/soc/samsung/
Daries_wm8994.c1 // SPDX-License-Identifier: GPL-2.0+
5 #include <linux/input-event-codes.h>
100 if (!gpiod_get_value(priv->gpio_headset_detect)) { in headset_det_irq_thread()
103 gpiod_set_value(priv->gpio_earpath_sel, 0); in headset_det_irq_thread()
107 time_left_ms -= 20; in headset_det_irq_thread()
111 ret = regulator_enable(priv->reg_headset_micbias); in headset_det_irq_thread()
115 gpiod_set_value(priv->gpio_earpath_sel, 1); in headset_det_irq_thread()
117 ret = iio_read_channel_processed(priv->adc, &adc); in headset_det_irq_thread()
129 ret = regulator_disable(priv->reg_headset_micbias); in headset_det_irq_thread()
135 gpiod_set_value(priv->gpio_earpath_sel, 0); in headset_det_irq_thread()
[all …]
/kernel/linux/linux-6.6/sound/soc/samsung/
Daries_wm8994.c1 // SPDX-License-Identifier: GPL-2.0+
4 #include <linux/input-event-codes.h>
99 if (!gpiod_get_value(priv->gpio_headset_detect)) { in headset_det_irq_thread()
102 gpiod_set_value(priv->gpio_earpath_sel, 0); in headset_det_irq_thread()
106 time_left_ms -= 20; in headset_det_irq_thread()
110 ret = regulator_enable(priv->reg_headset_micbias); in headset_det_irq_thread()
114 gpiod_set_value(priv->gpio_earpath_sel, 1); in headset_det_irq_thread()
116 ret = iio_read_channel_processed(priv->adc, &adc); in headset_det_irq_thread()
128 ret = regulator_disable(priv->reg_headset_micbias); in headset_det_irq_thread()
134 gpiod_set_value(priv->gpio_earpath_sel, 0); in headset_det_irq_thread()
[all …]
/kernel/linux/linux-6.6/drivers/pcmcia/
Dtcic.c3 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 …]

12