| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | da7218.txt | 8 - compatible : Should be "dlg,da7217" or "dlg,da7218" 9 - reg: Specifies the I2C slave address 11 - VDD-supply: VDD power supply for the device 12 - VDDMIC-supply: VDDMIC power supply for the device 13 - VDDIO-supply: VDDIO power supply for the device 18 - interrupts: IRQ line info for DA7218 chip. 19 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for 21 - interrupt-names : Name associated with interrupt line. Should be "wakeup" if 23 - wakeup-source: Flag to indicate this device can wake system (suspend/resume). 25 - clocks : phandle and clock specifier for codec MCLK. [all …]
|
| H A D | dialog,da7219.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - David Rau <David.Rau.opensource@dm.renesas.com> 13 The DA7219 is an ultra low-power audio codec with 14 in-built advanced accessory detection (AAD) for mobile 16 sample rates up to 96 kHz at 24-bit resolution. 28 VDD-supply: 32 VDDMIC-supply: 36 VDDIO-supply: [all …]
|
| /linux/include/sound/ |
| H A D | sdca_function.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 4 * https://www.mipi.org/mipi-sdca-v1-0-download 20 #define SDCA_NO_INTERRUPT -1 34 * The Cluster IDs are 16-bit, so a maximum of 65535 Clusters per 56 * enum sdca_function_type - SDCA Function Type codes 66 * @SDCA_FUNCTION_TYPE_IMP_DEF: Implementation-defined function. 72 * are NOT defined in SDCA 1.0a, but they were defined in earlier 88 /* Human-readable names used for kernel logs and Function device registration/bind */ 101 * struct sdca_init_write - a single initialization write 111 * define SDCA_CTL_TYPE - create a unique identifier for an SDCA Control [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | da7213.c | 1 // 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 /* -78dB to 12dB */ 43 0x08, 0x7f, TLV_DB_SCALE_ITEM(-7800, 75, 0) 52 static const DECLARE_TLV_DB_SCALE(mic_vol_tlv, -600, 600, 0); 53 static const DECLARE_TLV_DB_SCALE(mixin_gain_tlv, -450, 150, 0); 54 static const DECLARE_TLV_DB_SCALE(eq_gain_tlv, -1050, 150, 0); [all …]
|
| H A D | da7218.c | 1 // 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 …]
|
| H A D | rt5665.c | 1 // 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 D | da7219.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * da7219.c - DA7219 ALSA SoC Codec Driver 13 #include <linux/clk-provider.h> 26 #include <sound/soc-dapm.h> 33 #include "da7219-aad.h" 41 static const DECLARE_TLV_DB_SCALE(da7219_mic_gain_tlv, -600, 600, 0); 42 static const DECLARE_TLV_DB_SCALE(da7219_mixin_gain_tlv, -450, 150, 0); 43 static const DECLARE_TLV_DB_SCALE(da7219_adc_dig_gain_tlv, -8325, 75, 0); 44 static const DECLARE_TLV_DB_SCALE(da7219_alc_threshold_tlv, -9450, 150, 0); 47 static const DECLARE_TLV_DB_SCALE(da7219_sidetone_gain_tlv, -4200, 300, 0); [all …]
|
| /linux/sound/hda/codecs/ |
| H A D | analog.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (c) 2005-2007 Takashi Iwai <tiwai@suse.de> 39 unsigned int beep_amp; /* beep amp value, set via set_beep_amp() */ 53 ((spec)->beep_amp = HDA_COMPOSE_AMP_VAL(nid, 1, idx, dir)) /* mono */ 61 struct ad198x_spec *spec = codec->spec; in create_beep_ctls() 64 if (!spec->beep_am in create_beep_ctls() [all...] |
| H A D | ca0132.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 74 #define DESKTOP_EFX_FILE "ctefx-desktop.bin" 75 #define R3DI_EFX_FILE "ctefx-r3di.bin" 98 static const char *const in_src_str[3] = { "Microphone", "Line In", "Front Microphone" }; 115 #define VNODES_COUNT (VNODE_END_NID - VNODE_START_NID) 126 #define OUT_EFFECTS_COUNT (OUT_EFFECT_END_NID - OUT_EFFECT_START_NI 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 [all...] |
| H A D | sigmatel.c | 1 // 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 */ 193 unsigned int mic_enabled; /* current mic mute state (bitmask) */ 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() [all …]
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3399-gru.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright 2016-2017 Google, Inc 8 #include <dt-bindings/input/input.h> 9 #include "rk3399-op1.dtsi" 18 stdout-path = "serial2:115200n8"; 24 * In general an attempt is made to include all rails called out by 25 * the schematic as long as those rails interact in some way with 27 * - Rails that only connect to the EC (or devices that the EC talks to) 29 * - Rails _are_ included if the rails go to the AP even if the AP 38 * - The EC controls the enable and the EC always enables a rail as [all …]
|
| /linux/sound/pci/ac97/ |
| H A D | ac97_patch.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 33 err = snd_ctl_add(ac97->bus->card, snd_ac97_cnew(&controls[idx], ac97)); in patch_build_controls() 46 kctl = snd_ctl_find_id_mixer(ac97->bus->card, name); in reset_tlv() 47 if (kctl && kctl->tl in reset_tlv() [all...] |