Home
last modified time | relevance | path

Searched +full:dmic +full:- +full:data +full:- +full:sel (Results 1 – 13 of 13) sorted by relevance

/linux/Documentation/devicetree/bindings/sound/
H A Ddlg,da7213.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Support Opensource <support.opensource@diasemi.com>
13 - $ref: dai-common.yaml#
18 - dlg,da7212
19 - dlg,da7213
27 clock-names:
30 "#sound-dai-cells":
33 dlg,micbias1-lvl:
[all …]
/linux/sound/soc/samsung/
H A Dspeyside.c1 // SPDX-License-Identifier: GPL-2.0+
8 #include <sound/soc-dapm.h>
27 rtd = snd_soc_get_pcm_runtime(card, &card->dai_link[1]); in speyside_set_bias_level()
30 if (dapm->dev != codec_dai->dev) in speyside_set_bias_level()
63 rtd = snd_soc_get_pcm_runtime(card, &card->dai_link[1]); in speyside_set_bias_level_post()
66 if (dapm->dev != codec_dai->dev) in speyside_set_bias_level_post()
71 if (card->dapm.bias_level == SND_SOC_BIAS_STANDBY) { in speyside_set_bias_level_post()
127 /* Re-run DAPM to make sure we're using the correct mic bias */ in speyside_set_polarity()
146 struct snd_soc_component *component = dai->component; in speyside_wm8996_init()
158 speyside_hpsel_gpio = devm_gpiod_get(rtd->card->dev, in speyside_wm8996_init()
[all …]
/linux/arch/arm64/boot/dts/renesas/
H A Drzg3s-smarc.dtsi1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 * Device Tree Source for the RZ SMARC Carrier-II Board.
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/pinctrl/rzg2l-pinctrl.h>
23 stdout-path = "serial3:115200n8";
27 compatible = "gpio-keys";
29 key-1 {
30 interrupts-extended = <&pinctrl RZG2L_GPIO(18, 0) IRQ_TYPE_EDGE_FALLING>;
33 wakeup-source;
[all …]
H A Dwhite-hawk-ard-audio-da7212.dtso1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for White Hawk (Single) board with ARD-AUDIO-DA7212 board
5 * You can find and buy "ARD-AUDIO-DA7212" at Digi-Key
7 * https://www.digikey.jp/en/products/detail/ARD-AUDIO-DA7212/1564-1021-ND/5456357
14 * White Hawk ARD-AUDIO-DA7212
15 * +----------------------------+
19 * | AUDIO_CLKIN_V pin1 |<--\ +---------------+
20 * |(*) GP1_25/SL_SW2_V pin2 |<--/ |J2 |
21 * | AUDIO_CLKOUT_V pin5 |<----->| pin7 MCLK |
22 * | SSI_SCK_V pin9 |<----->| pin1 BCLK |
[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
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()
300 -600, 600, 0);
303 0, 3, TLV_DB_SCALE_ITEM(-600, 300, 0),
308 static const DECLARE_TLV_DB_SCALE(max98090_av_tlv, -1200, 100, 0);
311 static const DECLARE_TLV_DB_SCALE(max98090_dv_tlv, -1500, 100, 0);
[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-common.h"
25 #include "wcd-mbhc-v
2258 wcd934x_slim_irq_handler(int irq,void * data) wcd934x_slim_irq_handler() argument
2993 struct wcd934x_ddata *data = dev_get_drvdata(component->dev->parent); wcd934x_mbhc_init() local
3223 int sel; wcd934x_compander_set() local
4696 wcd934x_get_dmic_sample_rate(struct snd_soc_component * comp,unsigned int dmic,struct wcd934x_codec * wcd) wcd934x_get_dmic_sample_rate() argument
4800 unsigned int dmic; wcd934x_codec_enable_dmic() local
5801 wcd934x_codec_set_jack(struct snd_soc_component * comp,struct snd_soc_jack * jack,void * data) wcd934x_codec_set_jack() argument
5877 struct wcd934x_ddata *data = dev_get_drvdata(dev->parent); wcd934x_codec_probe() local
[all...]
H A Dwcd9335.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
3 // Copyright (c) 2017-2018, Linaro Limited
19 #include <sound/soc-dapm.h>
26 #include "wcd-clsh-v2.h"
28 #include <dt-bindings/sound/qcom,wcd9335.h>
99 #define WCD9335_CALCULATE_VOUT_D(req_mv) (((req_mv - 650) * 10) / 25)
147 {"ADC MUX" #id, "DMIC", "DMIC MUX" #id}, \
149 {"DMIC MUX" #id, "DMIC0", "DMIC0"}, \
150 {"DMIC MUX" #id, "DMIC1", "DMIC1"}, \
[all …]
H A Drt5665.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * rt5665.c -- RT5665/RT5658 ALSA SoC audio codec driver
26 #include <sound/soc-dapm.h>
884 static const DECLARE_TLV_DB_SCALE(hp_vol_tlv, -2250, 150, 0);
885 static const DECLARE_TLV_DB_SCALE(mono_vol_tlv, -1400, 150, 0);
886 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0);
887 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -65625, 375, 0);
888 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0);
889 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -17625, 375, 0);
891 static const DECLARE_TLV_DB_SCALE(in_bst_tlv, -1200, 75, 0);
[all …]
H A Dda7213.c1 // SPDX-License-Identifier: GPL-2.0-or-later
34 /* -54dB */
35 0x0, 0x11, TLV_DB_SCALE_ITEM(-5400, 0, 0),
36 /* -52.5dB to 15dB */
37 0x12, 0x3f, TLV_DB_SCALE_ITEM(-5250, 150, 0)
42 /* -7
2154 da7213_power_off(void * data) da7213_power_off() argument
[all...]
H A Drt5682s.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // rt5682s.c -- RT5682I-VS ALSA SoC audio component driver
25 #include <sound/soc-dapm.h>
38 .dai_clk_names[RT5682S_DAI_WCLK_IDX] = "rt5682-dai-wclk",
39 .dai_clk_names[RT5682S_DAI_BCLK_IDX] = "rt5682-dai-bclk",
46 [RT5682S_SUPPLY_LDO1_IN] = "LDO1-IN",
69 ret = regmap_multi_reg_write(rt5682s->regmap, patch_list, ARRAY_SIZE(patch_list)); in rt5682s_apply_patch_list()
624 regmap_write(rt5682s->regmap, RT5682S_RESET, 0); in rt5682s_reset()
634 dev_dbg(component->dev, "%s btn_type=%x\n", __func__, btn_type); in rt5682s_button_detect()
651 mutex_lock(&rt5682s->sar_mutex); in rt5682s_sar_power_mode()
[all …]
H A Dda7218.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * da7218.c - DA7218 ALSA SoC Codec Driver
22 #include <sound/soc-dapm.h>
37 static const DECLARE_TLV_DB_SCALE(da7218_mic_gain_tlv, -600, 600, 0);
38 static const DECLARE_TLV_DB_SCALE(da7218_mixin_gain_tlv, -450, 150, 0);
39 static const DECLARE_TLV_DB_SCALE(da7218_in_dig_gain_tlv, -8325, 75, 0);
40 static const DECLARE_TLV_DB_SCALE(da7218_ags_trigger_tlv, -9000, 600, 0);
42 static const DECLARE_TLV_DB_SCALE(da7218_alc_threshold_tlv, -9450, 150, 0);
47 static const DECLARE_TLV_DB_SCALE(da7218_dmix_gain_tlv, -4200, 150, 0);
50 static const DECLARE_TLV_DB_SCALE(da7218_dgs_trigger_tlv, -9450, 150, 0);
[all …]
/linux/sound/hda/codecs/
H A Dca0132.c1 // SPDX-License-Identifier: GPL-2.0-or-later
74 #define DESKTOP_EFX_FILE "ctefx-desktop.bin"
75 #define R3DI_EFX_FILE "ctefx-r3di.bin"
115 #define VNODES_COUNT (VNODE_END_NID - VNODE_START_NID)
126 #define OUT_EFFECTS_COUNT (OUT_EFFECT_END_NID - OUT_EFFECT_START_NID)
134 #define IN_EFFECTS_COUNT (IN_EFFECT_END_NID - IN_EFFECT_START_NI
1558 chipio_send(struct hda_codec * codec,unsigned int reg,unsigned int data) chipio_send() argument
1605 chipio_write_data(struct hda_codec * codec,unsigned int data) chipio_write_data() argument
1630 chipio_write_data_multiple(struct hda_codec * codec,const u32 * data,unsigned int count) chipio_write_data_multiple() argument
1650 chipio_read_data(struct hda_codec * codec,unsigned int * data) chipio_read_data() argument
1682 chipio_write(struct hda_codec * codec,unsigned int chip_addx,const unsigned int data) chipio_write() argument
1708 chipio_write_no_mutex(struct hda_codec * codec,unsigned int chip_addx,const unsigned int data) chipio_write_no_mutex() argument
1732 chipio_write_multiple(struct hda_codec * codec,u32 chip_addx,const u32 * data,unsigned int count) chipio_write_multiple() argument
1755 chipio_read(struct hda_codec * codec,unsigned int chip_addx,unsigned int * data) chipio_read() argument
1923 chipio_8051_write_direct(struct hda_codec * codec,unsigned int addr,unsigned int data) chipio_8051_write_direct() argument
1954 chipio_8051_set_data(struct hda_codec * codec,unsigned int data) chipio_8051_set_data() argument
1968 chipio_8051_set_data_pll(struct hda_codec * codec,unsigned int data) chipio_8051_set_data_pll() argument
1976 chipio_8051_write_exram(struct hda_codec * codec,unsigned int addr,unsigned int data) chipio_8051_write_exram() argument
1989 chipio_8051_write_exram_no_mutex(struct hda_codec * codec,unsigned int addr,unsigned int data) chipio_8051_write_exram_no_mutex() argument
1997 chipio_8051_read_exram(struct hda_codec * codec,unsigned int addr,unsigned int * data) chipio_8051_read_exram() argument
2004 chipio_8051_write_pll_pmu(struct hda_codec * codec,unsigned int addr,unsigned int data) chipio_8051_write_pll_pmu() argument
2017 chipio_8051_write_pll_pmu_no_mutex(struct hda_codec * codec,unsigned int addr,unsigned int data) chipio_8051_write_pll_pmu_no_mutex() argument
2043 dspio_send(struct hda_codec * codec,unsigned int reg,unsigned int data) dspio_send() argument
2131 dspio_read(struct hda_codec * codec,unsigned int * data) dspio_read() argument
2240 unsigned int data[SCP_MAX_DATA_WORDS]; global() member
2258 unsigned int data = 0; dspio_get_response_data() local
2370 dspio_scp(struct hda_codec * codec,int mod_id,int src_id,int req,int dir,const void * data,unsigned int len,void * reply,unsigned int * reply_len) dspio_scp() argument
2452 dspio_set_param(struct hda_codec * codec,int mod_id,int src_id,int req,const void * data,unsigned int len) dspio_set_param() argument
2459 dspio_set_uint_param(struct hda_codec * codec,int mod_id,int req,const unsigned int data) dspio_set_uint_param() argument
3097 dma_xfer(struct dma_engine * dma,const unsigned int * data,unsigned int count) dma_xfer() argument
3123 u32 data[]; global() member
3169 const u32 *data; dspxfr_hci_write() local
3215 const unsigned int *data; dspxfr_one_seg() local
3611 unsigned int data = 0; dspload_is_loaded() local
5821 int sel = ucontrol->value.enumerated.item[0]; ca0132_alt_mic_boost_put() local
5875 int sel = ucontrol->value.enumerated.item[0]; ae5_headphone_gain_put() local
5928 int sel = ucontrol->value.enumerated.item[0]; ae5_sound_filter_put() local
5978 int sel = ucontrol->value.enumerated.item[0]; ca0132_alt_input_source_put() local
6030 int sel = ucontrol->value.enumerated.item[0]; ca0132_alt_output_select_put() local
6081 int sel = ucontrol->value.enumerated.item[0]; ca0132_alt_speaker_channel_cfg_put() local
6134 int sel = ucontrol->value.enumerated.item[0]; ca0132_alt_svm_setting_put() local
6199 int sel = ucontrol->value.enumerated.item[0]; ca0132_alt_eq_preset_put() local
6256 int sel = ucontrol->value.enumerated.item[0]; ca0132_voicefx_put() local
8099 static const unsigned int data[] = { ae7_post_dsp_pll_setup() local
8114 static const unsigned int data[] = { ae7_post_dsp_asi_setup_ports() local
8926 sbz_gpio_shutdown_commands(struct hda_codec * codec,int dir,int mask,int data) sbz_gpio_shutdown_commands() argument
9212 static const unsigned int data[] = { 0x08, 0x0c, 0x0b, 0x07, 0x0d }; zxr_pre_dsp_setup() local
9286 const unsigned int *addr, *data; ca0132_mmio_init_sbz() local
9335 const unsigned int *addr, *data; ca0132_mmio_init_ae5() local
9402 const unsigned char *data = ca0132_ae5_register_set_data; ae5_register_set() local
[all...]
H A Dsigmatel.c1 // SPDX-License-Identifier: GPL-2.0-or-later
59 STAC_92HD73XX_NO_JD, /* no jack-detection */
149 STAC_D965_REF_NO_JD, /* no jack-detection */
175 unsigned int headset_jack:1; /* 4-pin headset jack (hp + mono mic) */
176 unsigned int volknob_init:1; /* special volume-knob initialization */
188 unsigned int vref_mute_led_nid; /* pin NID for mute-LED vref control */
214 /* SPDIF-out mux */
246 struct sigmatel_spec *spec = codec->spec; in stac_playback_pcm_hook()
247 if (action == HDA_GEN_PCM_ACT_OPEN && spec->stream_delay) in stac_playback_pcm_hook()
248 msleep(spec->stream_delay); in stac_playback_pcm_hook()
[all …]