| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | da9055.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 59 /* Input - Gain, Select and Filter Registers */ 72 /* Output - Gain, Select and Filter Registers */ 289 0x0, 0x10, TLV_DB_SCALE_ITEM(-5400, 0, 0), 290 /* -54dB to 15dB */ 291 0x11, 0x3f, TLV_DB_SCALE_ITEM(-5400, 150, 0) 296 /* -78dB to 12dB */ 297 0x08, 0x7f, TLV_DB_SCALE_ITEM(-7800, 75, 0) 306 static const DECLARE_TLV_DB_SCALE(mic_vol_tlv, -600, 600, 0); 307 static const DECLARE_TLV_DB_SCALE(mixin_gain_tlv, -450, 150, 0); [all …]
|
| D | da7213.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 33 /* -54dB */ 34 0x0, 0x11, TLV_DB_SCALE_ITEM(-5400, 0, 0), 35 /* -52.5dB to 15dB */ 36 0x12, 0x3f, TLV_DB_SCALE_ITEM(-5250, 150, 0) 41 /* -78dB to 12dB */ 42 0x08, 0x7f, TLV_DB_SCALE_ITEM(-7800, 75, 0) 51 static const DECLARE_TLV_DB_SCALE(mic_vol_tlv, -600, 600, 0); 52 static const DECLARE_TLV_DB_SCALE(mixin_gain_tlv, -450, 150, 0); 53 static const DECLARE_TLV_DB_SCALE(eq_gain_tlv, -1050, 150, 0); [all …]
|
| D | wm9713.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm9713.c -- ALSA Soc WM9713 codec support 5 * Copyright 2006-10 Wolfson Microelectronics PLC. 8 * Features:- 10 * o Support for AC97 Codec, Voice DAC and Aux DAC 76 SOC_ENUM_SINGLE(AC97_PCI_SVID, 14, 4, wm9713_alc_select), /* alc source select 6*/ 82 SOC_ENUM_SINGLE(AC97_REC_GAIN, 2, 4, wm9713_out3_pga), /* out 3 source 12 */ 83 SOC_ENUM_SINGLE(AC97_REC_GAIN, 0, 4, wm9713_out4_pga), /* out 4 source 13 */ 92 static const DECLARE_TLV_DB_SCALE(out_tlv, -4650, 150, 0); 93 static const DECLARE_TLV_DB_SCALE(main_tlv, -3450, 150, 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. 141 u32 fll_out; /* FLL output frequency */ 224 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wm8900_hp_event() 245 /* Enable the output stage */ in wm8900_hp_event() 258 /* Short the output */ in wm8900_hp_event() [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]), 163 SOC_ENUM("Aux Mode", wm8974_auxmode), [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]), 176 /* Speaker Output Mixer */ 179 SOC_DAPM_SINGLE("Aux Playback Switch", WM8510_SPKMIX, 5, 1, 0), 183 /* Mono Output Mixer */ 186 SOC_DAPM_SINGLE("Aux Playback Switch", WM8510_MONOMIX, 2, 1, 0), 192 SOC_DAPM_SINGLE("Aux Volume", WM8510_ADCBOOST, 0, 7, 0), 199 SOC_DAPM_SINGLE("AUX Switch", WM8510_INPUT, 2, 1, 0), [all …]
|
| D | wm8940.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8940.c -- WM8940 ALSA Soc Audio driver 145 { 0x31, 0x0002 }, /* Output 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 | 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 | madera.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2015-2018 Cirrus Logic, Inc. and 14 #include <sound/madera-pdata.h> 27 #define MADERA_FLL_SRC_NONE -1 111 /** Which core triggered, 1-based (1 = DSP1, ...) */ 249 MADERA_MUX(name_str " Aux 1", &name##_aux1_mux), \ 250 MADERA_MUX(name_str " Aux 2", &name##_aux2_mux), \ 251 MADERA_MUX(name_str " Aux 3", &name##_aux3_mux), \ 252 MADERA_MUX(name_str " Aux 4", &name##_aux4_mux), \ 253 MADERA_MUX(name_str " Aux 5", &name##_aux5_mux), \ [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | da9055.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 59 /* Input - Gain, Select and Filter Registers */ 72 /* Output - Gain, Select and Filter Registers */ 289 0x0, 0x10, TLV_DB_SCALE_ITEM(-5400, 0, 0), 290 /* -54dB to 15dB */ 291 0x11, 0x3f, TLV_DB_SCALE_ITEM(-5400, 150, 0) 296 /* -78dB to 12dB */ 297 0x08, 0x7f, TLV_DB_SCALE_ITEM(-7800, 75, 0) 306 static const DECLARE_TLV_DB_SCALE(mic_vol_tlv, -600, 600, 0); 307 static const DECLARE_TLV_DB_SCALE(mixin_gain_tlv, -450, 150, 0); [all …]
|
| D | da7213.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 33 /* -54dB */ 34 0x0, 0x11, TLV_DB_SCALE_ITEM(-5400, 0, 0), 35 /* -52.5dB to 15dB */ 36 0x12, 0x3f, TLV_DB_SCALE_ITEM(-5250, 150, 0) 41 /* -78dB to 12dB */ 42 0x08, 0x7f, TLV_DB_SCALE_ITEM(-7800, 75, 0) 51 static const DECLARE_TLV_DB_SCALE(mic_vol_tlv, -600, 600, 0); 52 static const DECLARE_TLV_DB_SCALE(mixin_gain_tlv, -450, 150, 0); 53 static const DECLARE_TLV_DB_SCALE(eq_gain_tlv, -1050, 150, 0); [all …]
|
| D | wm9713.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm9713.c -- ALSA Soc WM9713 codec support 5 * Copyright 2006-10 Wolfson Microelectronics PLC. 8 * Features:- 10 * o Support for AC97 Codec, Voice DAC and Aux DAC 76 SOC_ENUM_SINGLE(AC97_PCI_SVID, 14, 4, wm9713_alc_select), /* alc source select 6*/ 82 SOC_ENUM_SINGLE(AC97_REC_GAIN, 2, 4, wm9713_out3_pga), /* out 3 source 12 */ 83 SOC_ENUM_SINGLE(AC97_REC_GAIN, 0, 4, wm9713_out4_pga), /* out 4 source 13 */ 92 static const DECLARE_TLV_DB_SCALE(out_tlv, -4650, 150, 0); 93 static const DECLARE_TLV_DB_SCALE(main_tlv, -3450, 150, 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. 141 u32 fll_out; /* FLL output frequency */ 224 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wm8900_hp_event() 245 /* Enable the output stage */ in wm8900_hp_event() 258 /* Short the output */ in wm8900_hp_event() [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]), 163 SOC_ENUM("Aux Mode", wm8974_auxmode), [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]), 176 /* Speaker Output Mixer */ 179 SOC_DAPM_SINGLE("Aux Playback Switch", WM8510_SPKMIX, 5, 1, 0), 183 /* Mono Output Mixer */ 186 SOC_DAPM_SINGLE("Aux Playback Switch", WM8510_MONOMIX, 2, 1, 0), 192 SOC_DAPM_SINGLE("Aux Volume", WM8510_ADCBOOST, 0, 7, 0), 199 SOC_DAPM_SINGLE("AUX Switch", WM8510_INPUT, 2, 1, 0), [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 | madera.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2015-2018 Cirrus Logic, Inc. and 14 #include <sound/madera-pdata.h> 27 #define MADERA_FLL_SRC_NONE -1 111 /** Which core triggered, 1-based (1 = DSP1, ...) */ 249 MADERA_MUX(name_str " Aux 1", &name##_aux1_mux), \ 250 MADERA_MUX(name_str " Aux 2", &name##_aux2_mux), \ 251 MADERA_MUX(name_str " Aux 3", &name##_aux3_mux), \ 252 MADERA_MUX(name_str " Aux 4", &name##_aux4_mux), \ 253 MADERA_MUX(name_str " Aux 5", &name##_aux5_mux), \ [all …]
|
| D | wm8940.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8940.c -- WM8940 ALSA Soc Audio driver 147 { 0x31, 0x0002 }, /* Output Control */ 155 static const char *wm8940_companding[] = { "Off", "NC", "u-law", "A-law" }; 173 static DECLARE_TLV_DB_SCALE(wm8940_spk_vol_tlv, -5700, 100, 1); 174 static DECLARE_TLV_DB_SCALE(wm8940_att_tlv, -1000, 1000, 0); 175 static DECLARE_TLV_DB_SCALE(wm8940_pga_vol_tlv, -1200, 75, 0); 176 static DECLARE_TLV_DB_SCALE(wm8940_alc_min_tlv, -1200, 600, 0); 178 static DECLARE_TLV_DB_SCALE(wm8940_alc_tar_tlv, -2250, 50, 0); 180 static DECLARE_TLV_DB_SCALE(wm8940_lim_thresh_tlv, -600, 100, 0); [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/msm/ |
| D | dp-controller.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/msm/dp-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Kuogee Hsieh <quic_khsieh@quicinc.com> 19 - enum: 20 - qcom,sc7180-dp 21 - qcom,sc7280-dp 22 - qcom,sc7280-edp 23 - qcom,sc8180x-dp [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/clock/ |
| D | cirrus,cs2000-cp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/cirrus,cs2000-cp.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: CIRRUS LOGIC Fractional-N Clock Synthesizer & Clock Multiplier 10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 13 The CS2000-CP is an extremely versatile system clocking device that 21 - cirrus,cs2000-cp 28 clock-names: 30 - const: clk_in [all …]
|
| /kernel/linux/linux-6.6/scripts/basic/ |
| D | fixdep.c | 2 * "Optimize" a list of dependencies as spit out by gcc -MD 18 * To use this list as-is however has the drawback that virtually 21 * If the user re-runs make *config, autoconf.h will be 38 * so most likely only his driver ;-) 47 * The former is handled by using the -MD output, the later by saving 52 * kbuild-devel a long time ago. I don't have a sensibly working 134 struct item *aux = malloc(sizeof(*aux) + len); in add_to_hashtable() local 136 if (!aux) { in add_to_hashtable() 140 memcpy(aux->name, name, len); in add_to_hashtable() 141 aux->len = len; in add_to_hashtable() [all …]
|
| /kernel/linux/linux-6.6/sound/mips/ |
| D | ad1843.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2003 Vivien Chappelier <vivien.chappelier@linux-mips.org> 35 ad1843_PDNO = { 0, 14, 1 }, /* Converter Power-Down Flag */ 39 ad1843_RSS = { 2, 5, 3 }, /* Right ADC Source Select */ 42 ad1843_LSS = { 2, 13, 3 }, /* Left ADC Source Select */ 47 ad1843_RX1M = { 4, 0, 5 }, /* Right Aux 1 Mix Gain/Atten */ 48 ad1843_RX1MM = { 4, 7, 1 }, /* Right Aux 1 Mix Mute */ 49 ad1843_LX1M = { 4, 8, 5 }, /* Left Aux 1 Mix Gain/Atten */ 50 ad1843_LX1MM = { 4, 15, 1 }, /* Left Aux 1 Mix Mute */ 51 ad1843_RX2M = { 5, 0, 5 }, /* Right Aux 2 Mix Gain/Atten */ [all …]
|
| /kernel/linux/linux-5.10/sound/mips/ |
| D | ad1843.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2003 Vivien Chappelier <vivien.chappelier@linux-mips.org> 35 ad1843_PDNO = { 0, 14, 1 }, /* Converter Power-Down Flag */ 39 ad1843_RSS = { 2, 5, 3 }, /* Right ADC Source Select */ 42 ad1843_LSS = { 2, 13, 3 }, /* Left ADC Source Select */ 47 ad1843_RX1M = { 4, 0, 5 }, /* Right Aux 1 Mix Gain/Atten */ 48 ad1843_RX1MM = { 4, 7, 1 }, /* Right Aux 1 Mix Mute */ 49 ad1843_LX1M = { 4, 8, 5 }, /* Left Aux 1 Mix Gain/Atten */ 50 ad1843_LX1MM = { 4, 15, 1 }, /* Left Aux 1 Mix Mute */ 51 ad1843_RX2M = { 5, 0, 5 }, /* Right Aux 2 Mix Gain/Atten */ [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/rtc/ |
| D | rtc-ds1307.txt | 4 - compatible: should be one of: 23 - reg: I2C bus address of the device 26 - interrupts: rtc alarm interrupt. 27 - clock-output-names: From common clock binding to override the default output 29 - wakeup-source: Enables wake up of host system on alarm 30 - trickle-resistor-ohms : ds1339, ds1340 and ds 1388 only 34 - aux-voltage-chargeable: ds1339, ds1340, ds1388 and rx8130 only 40 - trickle-diode-disable : ds1339, ds1340 and ds1388 only 43 (superseded by aux-voltage-chargeable) 49 interrupt-parent = <&gpio4>; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/tegra/ |
| D | nvidia,tegra124-sor.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/tegra/nvidia,tegra124-sor.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVIDIA Tegra SOR Output Encoder 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 14 The Serial Output Resource (SOR) can be used to drive HDMI, LVDS, eDP 19 pattern: "^sor@[0-9a-f]+$" 23 - enum: [all …]
|