| /linux/Documentation/sound/hd-audio/ |
| H A D | models.rst | 2 HD-Audio Codec-Specific Models 8 3-jack in back and a headphone out 9 3stack-digout 10 3-jack in back, a HP out and a SPDIF out 12 5-jack in back, 2-jack in front 13 5stack-digout 14 5-jack in back, 2-jack in front, a SPDIF out 16 6-jack in back, 2-jack in front 17 6stack-digout 18 6-jack with a SPDIF out [all …]
|
| /linux/sound/mips/ |
| H A 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 */ 38 ad1843_RMGE = { 2, 4, 1 }, /* Right ADC Mic Gain Enable */ 41 ad1843_LMGE = { 2, 12, 1 }, /* Left ADC Mic Gain Enable */ 44 ad1843_RD2MM = { 3, 7, 1 }, /* Right DAC 2 Mix Mute */ 46 ad1843_LD2MM = { 3, 15, 1 }, /* Left DAC 2 Mix Mute */ 48 ad1843_RX1MM = { 4, 7, 1 }, /* Right Aux 1 Mix Mute */ 50 ad1843_LX1MM = { 4, 15, 1 }, /* Left Aux 1 Mix Mute */ 52 ad1843_RX2MM = { 5, 7, 1 }, /* Right Aux 2 Mix Mute */ [all …]
|
| /linux/sound/soc/renesas/rcar/ |
| H A D | dvc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Renesas R-Car DVC support 15 * Playback Mute 16 * amixer set "DVC Out Mute" on 18 * Capture Mute 19 * amixer set "DVC In Mute" on 39 struct rsnd_kctrl_cfg_m mute; member 40 struct rsnd_kctrl_cfg_s ren; /* Ramp Enable */ 45 #define rsnd_dvc_get(priv, id) ((struct rsnd_dvc *)(priv->dvc) + id) 46 #define rsnd_dvc_nr(priv) ((priv)->dvc_nr) [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | configfs-usb-gadget-uac1 | 1 What: /config/usb-gadget/gadget/functions/uac1.name 9 c_srate list of capture sampling rates (comma-separated) 11 c_mute_present capture mute control enable 12 c_volume_present capture volume control enable 20 p_srate list of playback sampling rates (comma-separated) 22 p_mute_present playback mute control enable 23 p_volume_present playback volume control enable 30 req_number the number of pre-allocated requests 36 p_fu_vol_name playback mute/volume functional unit name 40 c_fu_vol_name capture mute/volume functional unit name
|
| H A D | configfs-usb-gadget-uac2 | 1 What: /config/usb-gadget/gadget/functions/uac2.name 9 c_srate list of capture sampling rates (comma-separated) 11 c_hs_bint capture bInterval for HS/SS (1-4: fixed, 0: auto) 14 c_mute_present capture mute control enable 15 c_volume_present capture volume control enable 24 p_srate list of playback sampling rates (comma-separated) 26 p_hs_bint playback bInterval for HS/SS (1-4: fixed, 0: auto) 27 p_mute_present playback mute control enable 28 p_volume_present playback volume control enable 35 req_number the number of pre-allocated requests [all …]
|
| /linux/drivers/ps3/ |
| H A D | ps3av_cmd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 213 int ps3av_cmd_av_video_mute(int num_of_port, u32 *port, u32 mute) in ps3av_cmd_av_video_mute() argument 219 return -EINVAL; in ps3av_cmd_av_video_mute() 223 av_video_mute.mute[i].avport = port[i]; in ps3av_cmd_av_video_mute() 224 av_video_mute.mute[i].mute = mute; in ps3av_cmd_av_video_mute() 264 int ps3av_cmd_av_tv_mute(u32 avport, u32 mute) in ps3av_cmd_av_tv_mute() argument 271 tv_mute.mute = mute; in ps3av_cmd_av_tv_mute() 333 if (video_vid == -1) in ps3av_cmd_set_av_video_cs() 335 if (cs_out == -1) in ps3av_cmd_set_av_video_cs() 337 if (aspect == -1) in ps3av_cmd_set_av_video_cs() [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | ab8500-codec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2012 8 * for ST-Ericsson. 14 * for ST-Ericsson. 29 #include <linux/mfd/abx500/ab8500-sysctrl.h> 30 #include <linux/mfd/abx500/ab8500-codec.h> 39 #include <sound/soc-dapm.h> 42 #include "ab8500-codec.h" 56 /* Nr of FIR/IIR-coeff banks in ANC-block */ 114 /* Private data for AB8500 device-driver */ [all …]
|
| H A D | ssm2602.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 51 #define LINVOL_LIN_ENABLE_MUTE 0x080 /* Left Channel Input Mute … 56 #define RINVOL_RIN_ENABLE_MUTE 0x080 /* Right Channel Input Mute … 61 #define LOUT1V_ENABLE_LZC 0x080 /* Left Channel Zero cross detect enable … 66 #define ROUT1V_ENABLE_RZC 0x080 /* Right Channel Zero cross detect enable … 71 #define APANA_ENABLE_MIC_MUTE 0x002 /* Microphone Mute Control … 75 #define APANA_ENABLE_SIDETONE 0x020 /* Enable/Disable Side Tone … 80 #define APDIGI_ENABLE_ADC_HPF 0x001 /* Enable/Disable ADC Highpass Filter … 81 #define APDIGI_DE_EMPHASIS 0x006 /* De-Emphasis Control … 82 #define APDIGI_ENABLE_DAC_MUTE 0x008 /* DAC Mute Control … [all …]
|
| H A D | tpa6130a2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 38 static int tpa6130a2_power(struct tpa6130a2_data *data, bool enable) in tpa6130a2_power() argument 42 if (enable) { in tpa6130a2_power() 43 ret = regulator_enable(data->supply); in tpa6130a2_power() 45 dev_err(data->dev, in tpa6130a2_power() 46 "Failed to enable supply: %d\n", ret); in tpa6130a2_power() 50 gpiod_set_value(data->power_gpio, 1); in tpa6130a2_power() 53 regcache_cache_only(data->regmap, false); in tpa6130a2_power() 54 ret = regcache_sync(data->regmap); in tpa6130a2_power() 56 dev_err(data->dev, in tpa6130a2_power() [all …]
|
| H A D | rk3328_codec.c | 1 // SPDX-License-Identifier: GPL-2.0 22 * 0: -39dB 34 struct gpio_desc *mute; member 58 regmap_write(rk3328->regmap, CODEC_RESET, 0x00); in rk3328_codec_reset() 60 regmap_write(rk3328->regmap, CODEC_RESET, 0x03); in rk3328_codec_reset() 68 snd_soc_component_get_drvdata(dai->component); in rk3328_set_dai_fmt() 79 return -EINVAL; in rk3328_set_dai_fmt() 82 regmap_update_bits(rk3328->regmap, DAC_INIT_CTRL1, in rk3328_set_dai_fmt() 100 return -EINVAL; in rk3328_set_dai_fmt() 103 regmap_update_bits(rk3328->regmap, DAC_INIT_CTRL2, in rk3328_set_dai_fmt() [all …]
|
| H A D | tda7419.c | 1 // SPDX-License-Identifier: GPL-2.0-only 136 if (tvc->reg == tvc->rreg) in tda7419_vol_is_stereo() 146 (struct tda7419_vol_control *)kcontrol->private_value; in tda7419_vol_info() 148 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in tda7419_vol_info() 149 uinfo->count = tda7419_vol_is_stereo(tvc) ? 2 : 1; in tda7419_vol_info() 150 uinfo->value.integer.min = tvc->min; in tda7419_vol_info() 151 uinfo->value.integer.max = tvc->max; in tda7419_vol_info() 163 val = 0 - val; in tda7419_vol_get_value() 166 val = val - thresh; in tda7419_vol_get_value() 168 val = thresh - val; in tda7419_vol_get_value() [all …]
|
| H A D | twl4030.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/mfd/twl4030-audio.h> 64 u8 ctl_cache[TWL4030_REG_PRECKR_CTL - TWL4030_REG_EAR_CTL + 1]; 76 twl4030->ctl_cache[i - TWL4030_REG_EAR_CTL] = byte; in tw4030_init_ctl_cache() 86 return -EIO; in twl4030_read() 95 value = twl4030->ctl_cache[reg - TWL4030_REG_EAR_CTL]; in twl4030_read() 113 if (twl4030->earpiece_enabled) in twl4030_can_write_to_chip() 117 if (twl4030->predrivel_enabled) in twl4030_can_write_to_chip() 121 if (twl4030->predriver_enabled) in twl4030_can_write_to_chip() 125 if (twl4030->carkitl_enabled) in twl4030_can_write_to_chip() [all …]
|
| /linux/Documentation/driver-api/media/drivers/ |
| H A D | radiotrack.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 ---------------- 24 ------------------ 26 I have a RadioTrack card from back when I ran an MS-Windows platform. After 27 converting to Linux, I found Gideon le Grange's command-line software for 29 comfortable X-windows interface, and added a scanning feature. For hack 32 broadcast TV channels, situated just below and above the 87.0-109.0 MHz range. 40 -------------------- 42 The RadioTrack card is an ISA 8-bit FM radio card. The radio frequency (RF) 54 -------------------------------- [all …]
|
| /linux/sound/pci/ice1712/ |
| H A D | maya44.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 83 snd_vt1724_write_i2c(ice, wm->addr, in wm8776_write() 86 wm->regs[reg] = val; in wm8776_write() 96 val |= wm->regs[reg] & ~mask; in wm8776_write_bits() 97 if (val != wm->regs[reg]) { in wm8776_write_bits() 113 unsigned short offset; /* zero-valu 114 unsigned short mute; /* mute bit */ global() member [all...] |
| H A D | psc724.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (c) 2012 Ondrej Zary <linux@rainbow-software.org> 34 * VT1722 (Envy24GT) - 6 outputs, 4 inputs (only 2 used), 24-bit/96kHz 42 * AC-Link configuration ICE_EEP2_ACLINK=0x80 46 * I2S codec has no volume/mute control feature (bug!) 51 * Enable integrated S/PDIF transmitter 60 * 2-channel DAC used for main output and stereo ADC (with 10-channel MUX) 63 * MODE (pin16) -- GND 64 * CE (pin17) -- GND I2C mode (address=0x34) 65 * DI (pin18) -- SDA (VT1722 pin70) [all …]
|
| /linux/Documentation/devicetree/bindings/regulator/ |
| H A D | richtek,rt5190a-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/richtek,rt5190a-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <cy_huang@richtek.com> 17 It also supports mute AC OFF depop sound and quick setting storage while 23 - richtek,rt5190a 31 vin2-supply: 34 vin3-supply: 37 vin4-supply: [all …]
|
| /linux/Documentation/admin-guide/laptops/ |
| H A D | thinkpad-acpi.rst | 9 - Borislav Deianov <borislav@users.sf.net> 10 - Henrique de Moraes Holschuh <hmh@hmh.eng.br> 12 http://ibm-acpi.sf.net/ 19 This driver used to be named ibm-acpi until kernel 2.6.21 and release 20 0.13-20070314. It used to be in the drivers/acpi tree, but it was 21 moved to the drivers/misc tree and renamed to thinkpad-acpi for kernel 25 The driver is named "thinkpad-acpi". In some places, like module 29 "tpacpi" is used as a shorthand where "thinkpad-acpi" would be too 33 ------ 38 - Fn key combinations [all …]
|
| /linux/Documentation/devicetree/bindings/iio/frequency/ |
| H A D | adi,adf4350.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <michael.hennerich@analog.com> 15 - adi,adf4350 16 - adi,adf4351 21 spi-max-frequency: 28 clock-names: 31 '#clock-cells': 34 clock-output-names: [all …]
|
| /linux/arch/powerpc/include/asm/ |
| H A D | ps3av.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 65 #define PS3AV_MUTE_PORT_MAX 1 /* num of ports in mute pkt */ 76 /* mute */ 218 /* audio_ctrl_data[0] de-emphasis */ 439 /* backend: enable/disable event */ 458 /* backend: video mute */ 461 u16 mute; /* in: mute on/off */ member 466 struct ps3av_av_mute mute[PS3AV_MUTE_PORT_MAX]; member 503 u8 enable; /* in: audio enable */ member 516 struct ps3av_av_mute mute[PS3AV_MUTE_PORT_MAX]; member [all …]
|
| /linux/sound/pci/ |
| H A D | ad1889.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (C) 2004, Kyle McMartin <kyle@parisc-linux.org> 10 #define AD_DS_WSMC_SYEN 0x0004 /* synthesis channel enable */ 14 #define AD_DS_WSMC_WAEN 0x0400 /* wave channel enable */ 20 #define AD_DS_RAMC_ADEN 0x0004 /* ADC channel enable */ 22 #define AD_DS_RAMC_REEN 0x0400 /* resampler channel enable */ 26 #define AD_DS_WADA_RWAM 0x0080 /* right wave mute */ 28 #define AD_DS_WADA_LWAM 0x8000 /* left wave mute */ 32 #define AD_DS_SYDA_RSYM 0x0080 /* right synthesis mute */ 34 #define AD_DS_SYDA_LSYM 0x8000 /* left synthesis mute */ [all …]
|
| /linux/sound/soc/intel/atom/ |
| H A D | sst-atom-controls.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * sst-atom-controls.c - Intel MID Platform driver DPCM ALSA controls for Mrfld 5 * Copyright (C) 2013-14 Intel Corp 20 #include "sst-mfld-platform.h" 21 #include "sst-atom-controls.h" 28 struct snd_sst_bytes_v2 *byte_data = drv->byte_stream; in sst_fill_byte_control() 30 byte_data->type = SST_CMD_BYTES_SET; in sst_fill_byte_control() 31 byte_data->ipc_msg = ipc_msg; in sst_fill_byte_control() 32 byte_data->block = block; in sst_fill_byte_control() 33 byte_data->task_id = task_id; in sst_fill_byte_control() [all …]
|
| /linux/drivers/platform/x86/lenovo/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 31 such as LED control for audio/mic mute event for Ideapad, YOGA, XiaoXin, 44 will be called lenovo-wmi-camera. 75 support for Fn-Fx key combinations, Bluetooth control, video 78 <file:Documentation/admin-guide/laptops/thinkpad-acpi.rst> and 79 <http://ibm-acpi.sf.net/> . 81 This driver was formerly known as ibm-acpi. 85 Note that if you want ThinkPad-ACPI to be built-in instead of 86 modular, ALSA and rfkill will also have to be built-in. 97 Enables monitoring of the built-in console audio output control [all …]
|
| /linux/sound/hda/codecs/ |
| H A D | generic.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Generic BIOS auto-parser helper functions for HD-audio 16 /* table entry for multi-io paths */ 18 hda_nid_t pin; /* multi-io widget pin NID */ 20 unsigned int ctl_in; /* cached input-pin control value */ 25 * For output, stored in the order of DAC -> ... -> pin, 26 * for input, pin -> ... -> ADC. 30 * multi[] indicates whether it's a selector widget with multi-connectors 56 /* mic/line-in auto switching entry */ 62 int idx; /* imux index, -1 = invalid */ [all …]
|
| /linux/sound/pci/ca0106/ |
| H A D | ca0106.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk> 22 * Enable S32_LE format support. 24 …* Enable playback 48000 and 96000 rates. (Rates other that these do not work, even with "plug:f… 46 * Added I2C and SPI registers. Filled in interrupt enable. 50 * Implement support for Line-in capture on SB Live 24bit. 52 * Add support for mute control on SB Live 24bit (cards w/ SPI DAC) 73 #define IPR_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */ 74 #define IPR_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */ 87 #define IPR_MIDI_RX_A 0x00000004 /* MIDI UART-A Receive buffer non-empty */ [all …]
|
| /linux/sound/sparc/ |
| H A D | cs4231.c | 1 // SPDX-License-Identifier: GPL-2.0-only 41 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 43 /* Enable this card */ 44 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; variable 50 module_param_array(enable, bool, NULL, 0444); 51 MODULE_PARM_DESC(enable, "Enable Su 68 void (*enable)(struct cs4231_dma_control *dma_cont, int on); global() member 565 snd_cs4231_calibrate_mute(struct snd_cs4231 * chip,int mute) snd_cs4231_calibrate_mute() argument [all...] |