/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/sh/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/sound/soc/codecs/ |
H A D | rk817_codec.c | 1 // SPDX-License-Identifier: GPL-2.0 32 * I don't have another implementation to compare from the Rockchip sources. Hard-coding for now. 45 if (rk817->mic_in_differential) { in rk817_init() 61 /* Set the PLL pre-divide value (values not documented). */ in rk817_set_component_pll() 73 * 0db~-95db, 0.375db/step, for example: 75 * 0xff: -95dB 78 static const DECLARE_TLV_DB_MINMAX(rk817_vol_tlv, -9500, 0); 82 * 27db~-18db, 3db/step, for example: 83 * 0x0: -18dB 87 static const DECLARE_TLV_DB_MINMAX(rk817_gain_tlv, -1800, 2700); [all …]
|
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 17 #include <sound/tpa6130a2-plat.h> 40 static int tpa6130a2_power(struct tpa6130a2_data *data, bool enable) in tpa6130a2_power() argument 44 if (enable) { in tpa6130a2_power() 45 ret = regulator_enable(data->supply); in tpa6130a2_power() 47 dev_err(data->dev, in tpa6130a2_power() 48 "Failed to enable supply: %d\n", ret); in tpa6130a2_power() 52 if (data->power_gpio >= 0) in tpa6130a2_power() 53 gpio_set_value(data->power_gpio, 1); in tpa6130a2_power() 56 regcache_cache_only(data->regmap, false); 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 | 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 …]
|
/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/drivers/media/i2c/ |
H A D | wm8775.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm8775 - driver version 0.0.1 10 * - Cleanup 11 * - V4L2 API update 12 * - sound fixes 22 #include <media/v4l2-device.h> 23 #include <media/v4l2-ctrls.h> 32 /* ----------------------------------------------------------------------- */ 41 #define ALC_EN 0x100 /* R17: ALC enable */ 46 struct v4l2_ctrl *mute; member [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/drivers/media/radio/ |
H A D | radio-gemtek.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 * Converted to the radio-isa framework by Hans Verkuil <hans.verkuil@cisco.com> 23 * Fully tested with the Keene USB FM Transmitter and the v4l2-compliance tool. 35 #include <media/v4l2-ioctl.h> 36 #include <media/v4l2-device.h> 37 #include "radio-isa.h" 53 #define CONFIG_RADIO_GEMTEK_PORT -1 64 [1 ... (GEMTEK_MAX - 1)] = -1 }; 65 static int radio_nr[GEMTEK_MAX] = { [0 ... (GEMTEK_MAX - 1)] = -1 }; 68 MODULE_PARM_DESC(probe, "Enable automatic device probing."); [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-value offset */ 114 unsigned short mute; /* mute bit */ member 116 unsigned char mux_bits[2]; /* extra bits for ADC mute */ 125 .mute = 0x00, 126 .update = 0x180, /* update and zero-cross enable */ [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/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/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/pxa/ |
H A D | spitz.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * spitz.c -- SoC audio for Sharp SL-Cxx00 models Spitz, Borzoi and Akita 22 #include <asm/mach-types.h> 24 #include "pxa2xx-i2s.h" 34 /* audio clock in Hz - rounded from 12.235MHz */ 53 /* enable and unmute hp jack, disable mic bias */ in spitz_ext_control() 62 /* enable mic jack and bias, mute hp */ in spitz_ext_control() 71 /* enable line jack, disable mic bias and mute hp */ in spitz_ext_control() 80 /* enable and unmute headset jack enable mic bias, mute L hp */ in spitz_ext_control() 110 spitz_ext_control(&rtd->card->dapm); in spitz_startup() [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/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/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/Documentation/devicetree/bindings/mfd/ |
H A D | twl4030-audio.txt | 7 - compatible : must be "ti,twl4030-audio" 12 - codec { }: Need to be present if the audio functionality is used. Within this 14 - ti,digimic_delay: Delay need after enabling the digimic to reduce artifacts 16 -ti,ramp_delay_value: HS ramp delay configuration to reduce pop noise 17 -ti,hs_extmute: Use external mute for HS pop reduction 18 -ti,hs_extmute_gpio: Use external GPIO to control the external mute 19 -ti,offset_cncl_path: Offset cancellation path selection, refer to TRM for the 23 - ti,enable-vibra: Need to be set to <1> if the vibra functionality is used. if 28 clock-frequency = <2600000>; 33 interrupt-parent = <&intc>; [all …]
|
/linux/sound/pci/hda/ |
H A D | hda_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-pi [all...] |