Searched +full:jd +full:- +full:invert (Results 1 – 12 of 12) sorted by relevance
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause3 ---5 $schema: http://devicetree.org/meta-schemas/core.yaml#10 - patches@opensource.cirrus.com20 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 …]
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 s73 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 large110 strings are merged. If a longer string ends-with the same value as a[all …]
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 …]
1 // SPDX-License-Identifier: GPL-2.03 // rt711.c -- rt711 ALSA SoC audio driver24 #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 …]
1 // SPDX-License-Identifier: GPL-2.0-or-later3 * extcon-arizona.c - Extcon driver Wolfson Arizona devices5 * Copyright (C) 2012-2014 Wolfson Microelectronics plc26 #include <dt-bindings/mfd/arizona.h>33 * The hardware supports 8 ranges / buttons, but the snd-jack interface34 * 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 …]
1 // SPDX-License-Identifier: GPL-2.0-only3 // rt722-sdca.c -- rt722 SDCA ALSA SoC audio driver23 #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 …]
1 // SPDX-License-Identifier: GPL-2.0-only3 * rt5645.c -- RT5645 ALSA SoC audio codec driver26 #include <sound/soc-dapm.h>41 static unsigned int quirk = -1;426 /* Invert JD1_1 status polarity */428 /* Invert HP detect status polarity */434 /* Some (package) variants have the headset-mic pin not-connected */666 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0);667 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -6525, 75, 0);668 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0);[all …]
1 // SPDX-License-Identifier: GPL-2.0-only3 * rt5640.c -- RT5640/RT5639 ALSA SoC audio codec driver27 #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 …]
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause3 ---5 $schema: http://devicetree.org/meta-schemas/core.yaml#10 - patches@opensource.cirrus.com17 - $ref: /schemas/spi/spi-peripheral-props.yaml18 - $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 …]
1 // SPDX-License-Identifier: GPL-2.0+4 * Comedi driver for National Instruments PCI-65xx static dio boards6 * Copyright (C) 2006 Jon Grierson <jd@renko.co.uk>9 * COMEDI - Linux Control and Measurement Device Interface16 * 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 …]
1 // SPDX-License-Identifier: GPL-2.0-only3 * byt_cr_dpcm_rt5640.c - ASoc Machine driver for Intel Byt CR platform30 #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 …]
... line-size icache-nlines icache-associativity ecache-line-size ecache-nlines ecache-associativity ncaches