Home
last modified time | relevance | path

Searched +full:jd +full:- +full:invert (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/extcon/
Dwlf,arizona.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
20 wlf,hpdet-channel:
30 wlf,use-jd2:
32 Use the additional JD input along with JD1 for dual pin jack detection.
35 wlf,use-jd2-nopull:
40 wlf,jd-invert:
42 Invert the polarity of the jack detection switch.
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Drt5631.h1 /* SPDX-License-Identifier: GPL-2.0 */
363 /* 0:Normal 1:Invert */
365 /* 0:Normal 1:Invert */
589 /* De-POP function Control 1(0x54) */
602 /* De-POP Fnction Control(0x56) */
612 /* JD trigger enable for HP */
617 /* JD trigger enable for speaker LP/LN */
622 /* JD trigger enable for speaker RP/RN */
627 /* JD trigger enable for monoout */
632 /* JD trigger enable for Lout */
[all …]
Drt711.c1 // SPDX-License-Identifier: GPL-2.0
3 // rt711.c -- rt711 ALSA SoC audio driver
23 #include <sound/soc-dapm.h>
88 struct regmap *regmap = rt711->regmap; in rt711_calibration()
91 mutex_lock(&rt711->calibrate_mutex); in rt711_calibration()
92 regmap_write(rt711->regmap, in rt711_calibration()
112 pr_err("%s, calibration time-out!\n", in rt711_calibration()
114 ret = -ETIMEDOUT; in rt711_calibration()
128 regmap_write(rt711->regmap, in rt711_calibration()
130 mutex_unlock(&rt711->calibrate_mutex); in rt711_calibration()
[all …]
Drt5640.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * rt5640.c -- RT5640/RT5639 ALSA SoC audio codec driver
28 #include <sound/soc-dapm.h>
341 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0);
342 static const DECLARE_TLV_DB_MINMAX(dac_vol_tlv, -6562, 0);
343 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0);
344 static const DECLARE_TLV_DB_MINMAX(adc_vol_tlv, -1762, 3000);
452 * set_dmic_clk - Set parameter of dmic.
462 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_dmic_clk()
466 rate = rt5640->sysclk / rl6231_get_pre_div(rt5640->regmap, in set_dmic_clk()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dwlf,arizona.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
17 - $ref: /schemas/sound/wlf,arizona.yaml#
18 - $ref: /schemas/regulator/wlf,arizona.yaml#
19 - $ref: /schemas/extcon/wlf,arizona.yaml#
20 - if:
25 - cirrus,cs47l24
26 - wlf,wm1831
[all …]
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Dni_65xx.c1 // SPDX-License-Identifier: GPL-2.0+
4 * Comedi driver for National Instruments PCI-65xx static dio boards
6 * Copyright (C) 2006 Jon Grierson <jd@renko.co.uk>
9 * COMEDI - Linux Control and Measurement Device Interface
16 * Author: Jon Grierson <jd@renko.co.uk>,
19 * Devices: [National Instruments] PCI-6509 (pci-6509), PXI-6509 (pxi-6509),
20 * PCI-6510 (pci-6510), PCI-6511 (pci-6511), PXI-6511 (pxi-6511),
21 * PCI-6512 (pci-6512), PXI-6512 (pxi-6512), PCI-6513 (pci-6513),
22 * PXI-6513 (pxi-6513), PCI-6514 (pci-6514), PXI-6514 (pxi-6514),
23 * PCI-6515 (pxi-6515), PXI-6515 (pxi-6515), PCI-6516 (pci-6516),
[all …]
/kernel/linux/linux-5.10/drivers/extcon/
Dextcon-arizona.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * extcon-arizona.c - Extcon driver Wolfson Arizona devices
5 * Copyright (C) 2012-2014 Wolfson Microelectronics plc
21 #include <linux/extcon-provider.h>
28 #include <dt-bindings/mfd/arizona.h>
143 struct arizona *arizona = info->arizona; in arizona_extcon_hp_clamp()
148 switch (arizona->type) { in arizona_extcon_hp_clamp()
165 ret = regmap_update_bits(arizona->regmap, in arizona_extcon_hp_clamp()
170 dev_warn(arizona->dev, in arizona_extcon_hp_clamp()
180 snd_soc_dapm_mutex_lock(arizona->dapm); in arizona_extcon_hp_clamp()
[all …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/
Djevents.c51 #include "pmu-events.h"
80 return -1; in convert()
124 strncat(*dst, map + bt->start, blen); in addfield()
138 --e; in fixdesc()
140 --e; in fixdesc()
199 { "Invert", "inv=" },
213 for (i = newval->start; i < newval->end; i++) { in cut_comma()
215 newval->end = i; in cut_comma()
225 for (f = fields; f->field; f++) in match_field()
226 if (json_streq(map, field, f->field) && nz) { in match_field()
[all …]