/Linux-v5.10/Documentation/devicetree/bindings/sound/ |
D | cs35l32.txt | 5 - compatible : "cirrus,cs35l32" 7 - reg : the I2C address of the device for I2C. Address is determined by the level 10 - VA-supply, VP-supply : power supplies for the device, 15 - reset-gpios : a GPIO spec for the reset pin. If specified, it will be 18 - cirrus,boost-manager : Boost voltage control. 19 0 = Automatically managed. Boost-converter output voltage is the higher 21 1 = Automatically managed irrespective of audio, adapting for low-power 22 dissipation when LEDs are ON, and operating in Fixed-Boost Bypass Mode 24 2 = (Default) Boost voltage fixed in Bypass Mode (VBST = VP). 25 3 = Boost voltage fixed at 5 V. [all …]
|
/Linux-v5.10/sound/soc/codecs/ |
D | adau1373.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 25 #include "adau-utils.h" 324 0, 7, TLV_DB_SCALE_ITEM(-7900, 400, 1), 325 8, 15, TLV_DB_SCALE_ITEM(-4700, 300, 0), 326 16, 23, TLV_DB_SCALE_ITEM(-2300, 200, 0), 327 24, 31, TLV_DB_SCALE_ITEM(-700, 100, 0) 330 static const DECLARE_TLV_DB_MINMAX(adau1373_digital_tlv, -9563, 0); 331 static const DECLARE_TLV_DB_SCALE(adau1373_in_pga_tlv, -1300, 100, 1); 332 static const DECLARE_TLV_DB_SCALE(adau1373_ep_tlv, -600, 600, 1); [all …]
|
D | wm8990.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm8990.c -- WM8990 ALSA Soc Audio driver 37 static const DECLARE_TLV_DB_SCALE(in_pga_tlv, -1650, 3000, 0); 39 static const DECLARE_TLV_DB_SCALE(out_mix_tlv, 0, -2100, 0); 41 static const DECLARE_TLV_DB_SCALE(out_pga_tlv, -7300, 600, 0); 43 static const DECLARE_TLV_DB_SCALE(out_dac_tlv, -7163, 0, 0); 45 static const DECLARE_TLV_DB_SCALE(in_adc_tlv, -7163, 1763, 0); 47 static const DECLARE_TLV_DB_SCALE(out_sidetone_tlv, -3600, 0, 0); 54 (struct soc_mixer_control *)kcontrol->private_value; in wm899x_outpga_put_volsw_vu() 55 int reg = mc->reg; in wm899x_outpga_put_volsw_vu() [all …]
|
D | nau8810.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * nau8810.c -- NAU8810 ALSA Soc Audio driver 169 struct soc_bytes_ext *params = (void *)kcontrol->private_value; in nau8810_eq_get() 173 val = (u16 *)ucontrol->value.bytes.data; in nau8810_eq_get() 175 for (i = 0; i < params->max / sizeof(u16); i++) { in nau8810_eq_get() 176 regmap_read(nau8810->regmap, reg + i, ®_val); in nau8810_eq_get() 177 /* conversion of 16-bit integers between native CPU format in nau8810_eq_get() 189 * cut-off frequency, bandwidth control, and equalizer path. 200 struct soc_bytes_ext *params = (void *)kcontrol->private_value; in nau8810_eq_put() 205 data = kmemdup(ucontrol->value.bytes.data, in nau8810_eq_put() [all …]
|
D | wm8940.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8940.c -- WM8940 ALSA Soc Audio driver 143 { 0x2f, 0x0002 }, /* ADC Boost Control */ 153 static const char *wm8940_companding[] = { "Off", "NC", "u-law", "A-law" }; 171 static DECLARE_TLV_DB_SCALE(wm8940_spk_vol_tlv, -5700, 100, 1); 172 static DECLARE_TLV_DB_SCALE(wm8940_att_tlv, -1000, 1000, 0); 173 static DECLARE_TLV_DB_SCALE(wm8940_pga_vol_tlv, -1200, 75, 0); 174 static DECLARE_TLV_DB_SCALE(wm8940_alc_min_tlv, -1200, 600, 0); 176 static DECLARE_TLV_DB_SCALE(wm8940_alc_tar_tlv, -2250, 50, 0); 178 static DECLARE_TLV_DB_SCALE(wm8940_lim_thresh_tlv, -600, 100, 0); [all …]
|
D | wm8400.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm8400.c -- WM8400 ALSA Soc Audio driver 5 * Copyright 2008-11 Wolfson Microelectronics PLC. 18 #include <linux/mfd/wm8400-audio.h> 19 #include <linux/mfd/wm8400-private.h> 67 wm8400_reset_codec_reg_cache(wm8400->wm8400); in wm8400_component_reset() 70 static const DECLARE_TLV_DB_SCALE(in_pga_tlv, -1650, 3000, 0); 72 static const DECLARE_TLV_DB_SCALE(out_mix_tlv, -2100, 0, 0); 74 static const DECLARE_TLV_DB_SCALE(out_pga_tlv, -7300, 600, 0); 76 static const DECLARE_TLV_DB_SCALE(out_dac_tlv, -7163, 0, 0); [all …]
|
D | wm8991.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm8991.c -- WM8991 ALSA Soc Audio driver 5 * Copyright 2007-2010 Wolfson Microelectronics PLC. 23 #include <sound/soc-dapm.h> 36 { 1, 0x0000 }, /* R1 - Power Management (1) */ 37 { 2, 0x6000 }, /* R2 - Power Management (2) */ 38 { 3, 0x0000 }, /* R3 - Power Management (3) */ 39 { 4, 0x4050 }, /* R4 - Audio Interface (1) */ 40 { 5, 0x4000 }, /* R5 - Audio Interface (2) */ 41 { 6, 0x01C8 }, /* R6 - Clocking (1) */ [all …]
|
D | wm8510.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8510.c -- WM8510 ALSA Soc Audio driver 113 static const char *wm8510_companding[] = { "Off", "NC", "u-law", "A-law" }; 131 SOC_ENUM("Playback De-emphasis", wm8510_enum[2]), 147 SOC_SINGLE("DAC Playback Limiter Boost", WM8510_DACLIM2, 0, 15, 0), 170 SOC_SINGLE("Speaker Boost", WM8510_OUTPUT, 2, 1, 0), 172 SOC_SINGLE("Capture Boost(+20dB)", WM8510_ADCBOOST, 8, 1, 0), 178 SOC_DAPM_SINGLE("Line Bypass Switch", WM8510_SPKMIX, 1, 1, 0), 185 SOC_DAPM_SINGLE("Line Bypass Switch", WM8510_MONOMIX, 1, 1, 0), 219 SND_SOC_DAPM_MIXER("Boost Mixer", WM8510_POWER2, 4, 0, [all …]
|
D | wm9712.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm9712.c -- ALSA Soc WM9712 codec support 5 * Copyright 2006-12 Wolfson Microelectronics PLC. 106 static const char *wm9712_base[] = {"Linear Control", "Adaptive Boost"}; 115 static const DECLARE_TLV_DB_SCALE(main_tlv, -3450, 150, 0); 166 SOC_SINGLE("PCBeep Bypass Headphone Volume", AC97_PC_BEEP, 12, 7, 1), 167 SOC_SINGLE("PCBeep Bypass Speaker Volume", AC97_PC_BEEP, 8, 7, 1), 168 SOC_SINGLE("PCBeep Bypass Phone Volume", AC97_PC_BEEP, 4, 7, 1), 177 SOC_SINGLE_TLV("Capture Boost Switch", AC97_REC_SEL, 14, 1, 0, boost_tlv), 178 SOC_SINGLE_TLV("Capture to Phone Boost Switch", AC97_REC_SEL, 11, 1, 1, [all …]
|
D | wm8960.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8960.c -- WM8960 ALSA SoC Audio driver 5 * Copyright 2007-11 Wolfson Microelectronics, plc 28 /* R25 - Power 1 */ 32 /* R26 - Power 2 */ 37 /* R28 - Anti-pop 1 */ 44 /* R29 - Anti-pop 2 */ 176 if (wm8960->deemph) { in wm8960_set_deemph() 179 if (abs(deemph_settings[i] - wm8960->lrclk) < in wm8960_set_deemph() 180 abs(deemph_settings[best] - wm8960->lrclk)) in wm8960_set_deemph() [all …]
|
D | wm8974.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8974.c -- WM8974 ALSA Soc Audio driver 5 * Copyright 2006-2009 Wolfson Microelectronics PLC. 55 static const char *wm8974_companding[] = {"Off", "NC", "u-law", "A-law" }; 91 static const DECLARE_TLV_DB_SCALE(digital_tlv, -12750, 50, 1); 92 static const DECLARE_TLV_DB_SCALE(eq_tlv, -1200, 100, 0); 93 static const DECLARE_TLV_DB_SCALE(inpga_tlv, -1200, 75, 0); 94 static const DECLARE_TLV_DB_SCALE(spk_tlv, -5700, 100, 0); 103 SOC_ENUM("Playback De-emphasis", wm8974_enum[2]), 139 SOC_SINGLE("DAC Playback Limiter Boost", WM8974_DACLIM2, 0, 15, 0), [all …]
|
D | wm8900.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8900.c -- WM8900 ALSA Soc Audio driver 10 * - Tristating. 11 * - TDM. 12 * - Jack detect. 13 * - FLL source configuration, currently only MCLK is supported. 224 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wm8900_hp_event() 286 static const DECLARE_TLV_DB_SCALE(out_pga_tlv, -5700, 100, 0); 288 static const DECLARE_TLV_DB_SCALE(out_mix_tlv, -1500, 300, 0); 290 static const DECLARE_TLV_DB_SCALE(in_boost_tlv, -1200, 600, 0); [all …]
|
D | wm8978.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8978.c -- WM8978 ALSA SoC Audio Codec driver 5 * Copyright (C) 2009-2010 Guennadi Liakhovetski <g.liakhovetski@gmx.de> 7 * Copyright 2006-2009 Wolfson Microelectronics PLC. 106 static const char *wm8978_companding[] = {"Off", "NC", "u-law", "A-law"}; 133 static const DECLARE_TLV_DB_SCALE(digital_tlv, -12750, 50, 1); 134 static const DECLARE_TLV_DB_SCALE(eq_tlv, -1200, 100, 0); 135 static const DECLARE_TLV_DB_SCALE(inpga_tlv, -1200, 75, 0); 136 static const DECLARE_TLV_DB_SCALE(spk_tlv, -5700, 100, 0); 137 static const DECLARE_TLV_DB_SCALE(boost_tlv, -1500, 300, 1); [all …]
|
D | wm8971.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm8971.c -- WM8971 ALSA SoC Audio driver 91 static const char *wm8971_bass[] = { "Linear Control", "Adaptive Boost" }; 142 SOC_DOUBLE_R("Bypass Left Playback Volume", WM8971_LOUTM1, 144 SOC_DOUBLE_R("Bypass Right Playback Volume", WM8971_ROUTM1, 146 SOC_DOUBLE_R("Bypass Mono Playback Volume", WM8971_MOUTM1, 154 SOC_ENUM("Bass Boost", wm8971_enum[0]), 159 SOC_ENUM("Treble Cut-off", wm8971_enum[2]), 180 SOC_ENUM("Playback De-emphasis", wm8971_enum[5]), 184 SOC_DOUBLE_R("Mic Boost", WM8971_LADCIN, WM8971_RADCIN, 4, 3, 0), [all …]
|
D | wm8750.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8750.c -- WM8750 ALSA SoC audio driver 91 static const char *wm8750_bass[] = {"Linear Control", "Adaptive Boost"}; 145 SOC_ENUM("Playback De-emphasis", wm8750_enum[15]), 153 SOC_ENUM("Bass Boost", wm8750_enum[0]), 158 SOC_ENUM("Treble Cut-off", wm8750_enum[2]), 162 SOC_ENUM("3D Lower Cut-off", wm8750_enum[3]), 163 SOC_ENUM("3D Upper Cut-off", wm8750_enum[4]), 186 /* ADCDAC Bit 0 - ADCHPD */ 187 /* ADCDAC Bit 4 - HPOR */ [all …]
|
D | tscs454.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // tscs454.c -- TSCS454 ALSA SoC Audio driver 21 #include <sound/soc-dapm.h> 50 pll->id = id; in pll_init() 51 mutex_init(&pll->lock); in pll_init() 66 aif->id = id; in aif_init() 85 cache[((norm_addrs[i] + 1) * COEFF_SIZE) - 1] = 0x40; in init_coeff_ram_cache() 90 init_coeff_ram_cache(ram->cache); in coeff_ram_init() 91 mutex_init(&ram->lock); in coeff_ram_init() 103 status->streams |= mask; in set_aif_status_active() [all …]
|
D | wm8985.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8985.c -- WM8985 / WM8758 ALSA SoC Audio driver 49 { 1, 0x0000 }, /* R1 - Power management 1 */ 50 { 2, 0x0000 }, /* R2 - Power management 2 */ 51 { 3, 0x0000 }, /* R3 - Power management 3 */ 52 { 4, 0x0050 }, /* R4 - Audio Interface */ 53 { 5, 0x0000 }, /* R5 - Companding control */ 54 { 6, 0x0140 }, /* R6 - Clock Gen control */ 55 { 7, 0x0000 }, /* R7 - Additional control */ 56 { 8, 0x0000 }, /* R8 - GPIO Control */ [all …]
|
D | wm8983.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8983.c -- WM8983 ALSA SoC Audio driver 29 { 0x01, 0x0000 }, /* R1 - Power management 1 */ 30 { 0x02, 0x0000 }, /* R2 - Power management 2 */ 31 { 0x03, 0x0000 }, /* R3 - Power management 3 */ 32 { 0x04, 0x0050 }, /* R4 - Audio Interface */ 33 { 0x05, 0x0000 }, /* R5 - Companding control */ 34 { 0x06, 0x0140 }, /* R6 - Clock Gen control */ 35 { 0x07, 0x0000 }, /* R7 - Additional control */ 36 { 0x08, 0x0000 }, /* R8 - GPIO Control */ [all …]
|
D | wm8988.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8988.c -- WM8988 ALSA SoC audio driver 125 static const char *bass_boost_txt[] = {"Linear Control", "Adaptive Boost"}; 167 static const DECLARE_TLV_DB_SCALE(pga_tlv, -1725, 75, 0); 168 static const DECLARE_TLV_DB_SCALE(adc_tlv, -9750, 50, 1); 169 static const DECLARE_TLV_DB_SCALE(dac_tlv, -12750, 50, 1); 170 static const DECLARE_TLV_DB_SCALE(out_tlv, -12100, 100, 1); 171 static const DECLARE_TLV_DB_SCALE(bypass_tlv, -1500, 300, 0); 175 SOC_ENUM("Bass Boost", bass_boost), 180 SOC_ENUM("Treble Cut-off", treble), [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/regulator/ |
D | qcom,smd-rpm-regulator.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/qcom,smd-rpm-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 resides as a subnode of the SMD. As such, the SMD-RPM regulator requires 18 Please refer to Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml 21 The regulator node houses sub-nodes for each regulator within the device. 22 Each sub-node is identified using the node's name, with valid values listed 57 For pmi8994, s1, s2, s3, boost-bypass 65 - Kathiravan T <kathirav@codeaurora.org> [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/mfd/ |
D | st,stpmic1.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 - pascal Paillet <p.paillet@st.com> 24 "#interrupt-cells": 27 interrupt-controller: true 36 const: st,stpmic1-onkey 40 - description: onkey-falling, happens when onkey is pressed. IT_PONKEY_F of pmic 41 - description: onkey-rising, happens when onkey is released. IT_PONKEY_R of pmic 43 interrupt-names: [all …]
|
/Linux-v5.10/kernel/rcu/ |
D | tree_plugin.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Read-Copy Update mechanism for mutual exclusion (tree-based version) 4 * Internal non-public definitions that provide either classic 31 pr_info("\tCONFIG_RCU_FANOUT set to non-default value of %d.\n", in rcu_bootup_announce_oddness() 36 pr_info("\tRCU dyntick-idle grace-period acceleration is enabled.\n"); in rcu_bootup_announce_oddness() 40 pr_info("\tRCU strict (and thus non-scalable) grace periods enabled.\n"); in rcu_bootup_announce_oddness() 42 pr_info("\tFour(or more)-level hierarchy is enabled.\n"); in rcu_bootup_announce_oddness() 44 pr_info("\tBuild-time adjustment of leaf fanout to %d.\n", in rcu_bootup_announce_oddness() 47 pr_info("\tBoot-time adjustment of leaf fanout to %d.\n", in rcu_bootup_announce_oddness() 56 pr_info("\tBoot-time adjustment of callback invocation limit to %ld.\n", blimit); in rcu_bootup_announce_oddness() [all …]
|
/Linux-v5.10/Documentation/admin-guide/pm/ |
D | cpufreq.rst | 1 .. SPDX-License-Identifier: GPL-2.0 20 Operating Performance Points or P-states (in ACPI terminology). As a rule, 24 time (or the more power is drawn) by the CPU in the given P-state. Therefore 29 as possible and then there is no reason to use any P-states different from the 30 highest one (i.e. the highest-performance frequency/voltage configuration 38 put into different P-states. 41 capacity, so as to decide which P-states to put the CPUs into. Of course, since 64 information on the available P-states (or P-state ranges in some cases) and 65 access platform-specific hardware interfaces to change CPU P-states as requested 70 performance scaling algorithms for P-state selection can be represented in a [all …]
|
/Linux-v5.10/drivers/cpufreq/ |
D | Kconfig.x86 | 1 # SPDX-License-Identifier: GPL-2.0-only 30 <file:Documentation/admin-guide/pm/cpufreq_drivers.rst>. 33 module will be called pcc-cpufreq. 38 tristate "ACPI Processor P-States driver" 47 module will be called acpi-cpufreq. 49 For details, take a look at <file:Documentation/cpu-freq/>. 58 The powernow-k8 driver used to provide a sysfs knob called "cpb" 60 file has now been superseded by the more generic "boost" entry. 63 entry in addition to the new boost ones, for compatibility reasons. 66 tristate "SFI Performance-States driver" [all …]
|
/Linux-v5.10/Documentation/sound/designs/ |
D | control-names.rst | 8 --------------- 18 Bypass Playback one direction 19 Bypass Capture one direction 68 Headset Mic mic part of combined headset jack - 4-pin 70 Headphone Mic mic part of either/or - 3-pin headphone or mic 79 Analog Loopback D/A -> A/D loopback 80 Digital Loopback playback -> capture loopback - 98 ----------------------- 106 Tone Control - Switch 107 Tone Control - Bass [all …]
|