Searched +full:jd +full:- +full:invert (Results 1 – 12 of 12) sorted by relevance
/linux/Documentation/devicetree/bindings/extcon/ |
H A D | wlf,arizona.yaml | 1 # 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 …]
|
/linux/tools/perf/pmu-events/ |
H A D | jevents.py | 2 # SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 63 def removesuffix(s: str, suffix: str) -> str: 69 return s[0:-len(suffix)] if s.endswith(suffix) else s 73 dirname: str) -> str: 79 return tblname.replace('-', '_') 82 def c_len(s: str) -> int: 94 utf = s.encode(encoding='utf-8',errors='strict') 98 return len(utf) - utf.count(b'\\') + utf.count(b'\\\\') - (utf.count(b'\\000') * 2) 103 Generating a large number of stand-alone C strings creates a large 110 strings are merged. If a longer string ends-with the same value as a [all …]
|
/linux/sound/soc/codecs/ |
H A D | rt5631.h | 1 /* 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 …]
|
H A D | rt711.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // rt711.c -- rt711 ALSA SoC audio driver 24 #include <sound/soc-dapm.h> 89 struct regmap *regmap = rt711->regmap; in rt711_calibration() 92 mutex_lock(&rt711->calibrate_mutex); in rt711_calibration() 93 regmap_write(rt711->regmap, in rt711_calibration() 113 pr_err("%s, calibration time-out!\n", in rt711_calibration() 115 ret = -ETIMEDOUT; in rt711_calibration() 129 regmap_write(rt711->regmap, in rt711_calibration() 131 mutex_unlock(&rt711->calibrate_mutex); in rt711_calibration() [all …]
|
H A D | rt712-sdca.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // rt712-sdca.c -- rt712 SDCA ALSA SoC audio driver 23 #include <sound/soc-dapm.h> 25 #include "rt712-sdca.h" 31 struct regmap *regmap = rt712->mbq_regmap; in rt712_sdca_index_write() 36 dev_err(&rt712->slave->dev, in rt712_sdca_index_write() 47 struct regmap *regmap = rt712->mbq_regmap; in rt712_sdca_index_read() 52 dev_err(&rt712->slave->dev, in rt712_sdca_index_read() 77 struct regmap *regmap = rt712->regmap; in rt712_sdca_calibration() 81 mutex_lock(&rt712->calibrate_mutex); in rt712_sdca_calibration() [all …]
|
H A D | arizona-jack.c | 1 // 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 26 #include <dt-bindings/mfd/arizona.h> 33 * The hardware supports 8 ranges / buttons, but the snd-jack interface 34 * only supports 6 buttons (button 0-5). 100 struct arizona *arizona = info->arizona; in arizona_extcon_hp_clamp() 105 switch (arizona->type) { in arizona_extcon_hp_clamp() 122 ret = regmap_update_bits(arizona->regmap, in arizona_extcon_hp_clamp() 127 dev_warn(arizona->dev, "Failed to set TST_CAP_SEL: %d\n", ret); in arizona_extcon_hp_clamp() [all …]
|
H A D | rt722-sdca.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // rt722-sdca.c -- rt722 SDCA ALSA SoC audio driver 23 #include <sound/soc-dapm.h> 26 #include "rt722-sdca.h" 31 struct regmap *regmap = rt722->mbq_regmap; in rt722_sdca_index_write() 37 dev_err(&rt722->slave->dev, in rt722_sdca_index_write() 48 struct regmap *regmap = rt722->mbq_regmap; in rt722_sdca_index_read() 53 dev_err(&rt722->slave->dev, in rt722_sdca_index_read() 99 ret = regmap_read(rt722->regmap, in rt722_sdca_button_detect() 110 ret = regmap_read(rt722->regmap, in rt722_sdca_button_detect() [all …]
|
H A D | rt5645.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5645.c -- RT5645 ALSA SoC audio codec driver 26 #include <sound/soc-dapm.h> 41 static unsigned int quirk = -1; 427 /* Invert JD1_1 status polarity */ 429 /* Invert H [all...] |
H A D | rt5640.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5640.c -- RT5640/RT5639 ALSA SoC audio codec driver 27 #include <sound/soc-dapm.h> 340 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0); 341 static const DECLARE_TLV_DB_MINMAX(dac_vol_tlv, -6562, 0); 342 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0); 343 static const DECLARE_TLV_DB_MINMAX(adc_vol_tlv, -1762, 3000); 451 * set_dmic_clk - Set parameter of dmic. 461 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_dmic_clk() 465 rate = rt5640->sysclk / rl6231_get_pre_div(rt5640->regmap, in set_dmic_clk() [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | wlf,arizona.yaml | 1 # 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/spi/spi-peripheral-props.yaml 18 - $ref: /schemas/sound/wlf,arizona.yaml# 19 - $ref: /schemas/regulator/wlf,arizona.yaml# 20 - $ref: /schemas/extcon/wlf,arizona.yaml# 21 - if: 26 - cirrus,cs47l24 [all …]
|
/linux/drivers/comedi/drivers/ |
H A D | ni_65xx.c | 1 // 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 …]
|
/linux/sound/soc/intel/boards/ |
H A D | bytcr_rt5640.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * byt_cr_dpcm_rt5640.c - ASoc Machine driver for Intel Byt CR platform 30 #include <sound/soc-acpi.h> 31 #include <dt-bindings/sound/rt5640.h> 33 #include "../atom/sst-atom-controls.h" 34 #include "../common/soc-intel-quirks.h" 36 #define BYT_RT5640_FALLBACK_CODEC_DEV_NAME "i2c-rt5640" 77 #define BYT_RT5640_DIFF_MIC BIT(18) /* default is single-ended */ 98 /* in-diff or dmic-pin + jdsrc + ovcd-th + -sf + jd-inv + terminating entry */ 112 static int quirk_override = -1; [all …]
|