Home
last modified time | relevance | path

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

/kernel/linux/linux-4.19/Documentation/devicetree/bindings/extcon/
Dextcon-arizona.txt11 - wlf,hpdet-channel : Headphone detection channel.
12 ARIZONA_ACCDET_MODE_HPL or 1 - Headphone detect mode is set to HPDETL
13 ARIZONA_ACCDET_MODE_HPR or 2 - Headphone detect mode is set to HPDETR
17 - wlf,use-jd2 : Use the additional JD input along with JD1 for dual pin jack
19 - wlf,use-jd2-nopull : Internal pull on JD2 is disabled when used for
21 - wlf,jd-invert : Invert the polarity of the jack detection switch
23 - wlf,micd-software-compare : Use a software comparison to determine mic
25 - wlf,micd-detect-debounce : Additional software microphone detection
27 - wlf,micd-pol-gpio : GPIO specifier for the GPIO controlling the headset
29 - wlf,micd-bias-start-time : Time allowed for MICBIAS to startup prior to
[all …]
/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-4.19/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 …]
Drt5640.c2 * rt5640.c -- RT5640/RT5639 ALSA SoC audio codec driver
31 #include <sound/soc-dapm.h>
344 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0);
345 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -65625, 375, 0);
346 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0);
347 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -17625, 375, 0);
455 * set_dmic_clk - Set parameter of dmic.
465 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_dmic_clk()
469 rate = rt5640->sysclk / rl6231_get_pre_div(rt5640->regmap, in set_dmic_clk()
473 dev_err(component->dev, "Failed to set DMIC clock\n"); in set_dmic_clk()
[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-4.19/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-4.19/drivers/extcon/
Dextcon-arizona.c2 * extcon-arizona.c - Extcon driver Wolfson Arizona devices
4 * Copyright (C) 2012-2014 Wolfson Microelectronics plc
30 #include <linux/extcon-provider.h>
37 #include <dt-bindings/mfd/arizona.h>
154 struct arizona *arizona = info->arizona; in arizona_extcon_hp_clamp()
159 switch (arizona->type) { in arizona_extcon_hp_clamp()
176 ret = regmap_update_bits(arizona->regmap, in arizona_extcon_hp_clamp()
181 dev_warn(arizona->dev, in arizona_extcon_hp_clamp()
191 snd_soc_dapm_mutex_lock(arizona->dapm); in arizona_extcon_hp_clamp()
193 arizona->hpdet_clamp = clamp; in arizona_extcon_hp_clamp()
[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-4.19/tools/perf/pmu-events/
Djevents.c100 strncat(*dst, map + bt->start, blen); in addfield()
114 --e; in fixdesc()
116 --e; in fixdesc()
175 { "Invert", "inv=" },
189 for (i = newval->start; i < newval->end; i++) { in cut_comma()
191 newval->end = i; in cut_comma()
201 for (f = fields; f->field; f++) in match_field()
202 if (json_streq(map, field, f->field) && nz) { in match_field()
204 addfield(map, event, ",", f->kernel, &newval); in match_field()
223 json_len(val), map + val->start); in lookup_msr()
[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 …]