Home
last modified time | relevance | path

Searched +full:int +full:- +full:comp +full:- +full:resistor (Results 1 – 8 of 8) sorted by relevance

/linux/Documentation/devicetree/bindings/iio/proximity/
H A Dsemtech,sx9324.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Gwendal Grignou <gwendal@chromium.org>
11 - Daniel Campello <campello@chromium.org>
17 - $ref: /schemas/iio/iio.yaml#
32 vdd-supply:
35 svdd-supply:
38 "#io-channel-cells":
41 semtech,ph0-pin:
[all …]
/linux/sound/soc/codecs/
H A Dmax98090.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * max98090.c -- MAX98090 ALSA SoC Audio driver
5 * Copyright 2011-2012 Maxim Integrated Products
250 static bool max98090_volatile_register(struct device *dev, unsigned int reg) in max98090_volatile_register()
263 static bool max98090_readable_register(struct device *dev, unsigned int reg) in max98090_readable_register()
275 static int max98090_reset(struct max98090_priv *max98090) in max98090_reset()
277 int ret; in max98090_reset()
279 /* Reset the codec by writing to this write-only reset register */ in max98090_reset()
280 ret = regmap_write(max98090->regmap, M98090_REG_SOFTWARE_RESET, in max98090_reset()
283 dev_err(max98090->component->dev, in max98090_reset()
[all …]
H A Dwcd934x.c1 // SPDX-License-Identifier: GPL-2.0
6 #include <linux/clk-provider.h>
21 #include <sound/soc-dapm.h>
23 #include "wcd-clsh-v2.h"
24 #include "wcd-mbhc-v2.h"
154 {"RX INT" #id "_1 MIX1 INP0", "RX0", "SLIM RX0"}, \
155 {"RX INT" #id "_1 MIX1 INP0", "RX1", "SLIM RX1"}, \
156 {"RX INT" #id "_1 MIX1 INP0", "RX2", "SLIM RX2"}, \
157 {"RX INT" #id "_1 MIX1 INP0", "RX3", "SLIM RX3"}, \
158 {"RX INT" #id "_1 MIX1 INP0", "RX4", "SLIM RX4"}, \
[all …]
H A Dwcd938x.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
21 #include <sound/soc-dapm.h>
24 #include "wcd-clsh-v2.h"
25 #include "wcd-mbhc-v2.h"
176 int flyback_cur_det_disable;
177 int ear_rx_path;
178 int variant;
179 int reset_gpio;
185 int hphr_pdm_wd_int;
[all …]
H A Dwcd937x.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved.
19 #include <sound/soc-dapm.h>
23 #include "wcd-clsh-v2.h"
24 #include "wcd-mbhc-v2.h"
100 int ear_rx_path;
104 int hphr_pdm_wd_int;
105 int hphl_pdm_wd_int;
106 int aux_pdm_wd_int;
117 static const SNDRV_CTL_TLVD_DECLARE_DB_MINMAX(ear_pa_gain, 600, -1800);
[all …]
H A Dwcd939x.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2018-2021, The Linux Foundation. All rights reserved.
4 * Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. All rights reserved.
26 #include <sound/soc-dapm.h>
31 #include "wcd-clsh-v2.h"
32 #include "wcd-mbhc-v2.h"
203 int variant;
204 int reset_gpio;
209 int hphr_pdm_wd_int;
210 int hphl_pdm_wd_int;
[all …]
H A Dmt6359-accdet.c1 // SPDX-License-Identifier: GPL-2.0
3 // mt6359-accdet.c -- ALSA SoC mt6359 accdet driver
27 #include "mt6359-accdet.h"
31 #define REGISTER_VAL(x) ((x) - 1)
58 static void accdet_set_debounce(struct mt6359_accdet *priv, int state,
59 unsigned int debounce);
60 static unsigned int adjust_eint_analog_setting(struct mt6359_accdet *priv);
64 static unsigned int mt6359_accdet_jd_setting(struct mt6359_accdet *priv);
71 static unsigned int adjust_eint_analog_setting(struct mt6359_accdet *priv) in adjust_eint_analog_setting()
73 if (priv->data->eint_detect_mode == 0x3 || in adjust_eint_analog_setting()
[all …]
/linux/drivers/iio/proximity/
H A Dsx9324.c1 // SPDX-License-Identifier: GPL-2.0
182 unsigned int val; in sx9324_phase_configuration_show()
183 int i, ret, pin_idx; in sx9324_phase_configuration_show()
186 ret = regmap_read(data->regmap, SX9324_REG_AFE_PH0 + chan->channel, &val); in sx9324_phase_configuration_show()
195 buf[len - 1] = '\n'; in sx9324_phase_configuration_show()
246 int val;
247 int val2;
283 static const unsigned int sx9324_scan_period_table[] = {
315 regmap_reg_range(SX9324_REG_IRQ_CFG2 + 1, SX9324_REG_GNRL_CTRL0 - 1),
316 regmap_reg_range(SX9324_REG_GNRL_CTRL1 + 1, SX9324_REG_AFE_CTRL0 - 1),
[all …]