/linux/drivers/char/ |
H A D | nsc_gpio.c | 23 void nsc_gpio_dump(struct nsc_gpio_ops *amp, unsigned index) in nsc_gpio_dump() argument 26 u32 config = amp->gpio_config(index, ~0, 0); in nsc_gpio_dump() 29 dev_info(amp->dev, "io%02u: 0x%04x %s %s %s %s %s %s %s\tio:%d/%d\n", in nsc_gpio_dump() 39 amp->gpio_get(index), amp->gpio_current(index)); in nsc_gpio_dump() 46 struct nsc_gpio_ops *amp = file->private_data; in nsc_gpio_write() local 47 struct device *dev = amp->dev; in nsc_gpio_write() 57 amp->gpio_set(m, 0); in nsc_gpio_write() 60 amp->gpio_set(m, 1); in nsc_gpio_write() 64 amp->gpio_config(m, ~1, 1); in nsc_gpio_write() 68 amp->gpio_config(m, ~1, 0); in nsc_gpio_write() [all …]
|
/linux/sound/ppc/ |
H A D | awacs.c | 267 static void awacs_amp_set_tone(struct awacs_amp *amp, int bass, int treble) in awacs_amp_set_tone() argument 269 amp->amp_tone[0] = bass; in awacs_amp_set_tone() 270 amp->amp_tone[1] = treble; in awacs_amp_set_tone() 281 static int awacs_amp_set_vol(struct awacs_amp *amp, int index, in awacs_amp_set_vol() argument 284 if (do_check && amp->amp_vol[index][0] == lvol && in awacs_amp_set_vol() 285 amp->amp_vol[index][1] == rvol) in awacs_amp_set_vol() 289 amp->amp_vol[index][0] = lvol; in awacs_amp_set_vol() 290 amp->amp_vol[index][1] = rvol; in awacs_amp_set_vol() 297 static void awacs_amp_set_master(struct awacs_amp *amp, int vol) in awacs_amp_set_master() argument 299 amp->amp_master = vol; in awacs_amp_set_master() [all …]
|
/linux/sound/soc/codecs/ |
H A D | mc13783.c | 419 SOC_DAPM_ENUM("Speaker Amp Source MUX", speaker_amp_source); 428 SOC_DAPM_ENUM("Headset Amp Source MUX", headset_amp_source); 463 SND_SOC_DAPM_SWITCH("MC1L Amp", MC13783_AUDIO_TX, 7, 0, &mc1l_amp_ctl), 464 SND_SOC_DAPM_SWITCH("MC1R Amp", MC13783_AUDIO_TX, 5, 0, &mc1r_amp_ctl), 465 SND_SOC_DAPM_SWITCH("MC2 Amp", MC13783_AUDIO_TX, 9, 0, &mc2_amp_ctl), 466 SND_SOC_DAPM_SWITCH("TXIN Amp", MC13783_AUDIO_TX, 11, 0, &atx_amp_ctl), 473 SND_SOC_DAPM_MUX("Speaker Amp Source MUX", SND_SOC_NOPM, 0, 0, 476 SND_SOC_DAPM_MUX("Headset Amp Source MUX", SND_SOC_NOPM, 0, 0, 503 SND_SOC_DAPM_SWITCH("Speaker Amp Switch", MC13783_AUDIO_RX0, 3, 0, 505 SND_SOC_DAPM_SWITCH("Loudspeaker Amp", SND_SOC_NOPM, 0, 0, &lamp_ctl), [all …]
|
H A D | alc5623.c | 55 /* to power-on/off class-d amp generators/speaker */ in amp_mixer_event() 311 SND_SOC_DAPM_PGA("MIC1 Pre Amp", ALC5623_PWR_MANAG_ADD3, 1, 0, NULL, 0), 312 SND_SOC_DAPM_PGA("MIC2 Pre Amp", ALC5623_PWR_MANAG_ADD3, 0, 0, NULL, 0), 330 static const char *alc5623_amp_names[] = {"AB Amp", "D Amp"}; 338 SND_SOC_DAPM_PGA_E("D Amp", ALC5623_PWR_MANAG_ADD2, 14, 0, NULL, 0, 340 SND_SOC_DAPM_PGA("AB Amp", ALC5623_PWR_MANAG_ADD2, 15, 0, NULL, 0), 341 SND_SOC_DAPM_MUX("AB-D Amp Mux", SND_SOC_NOPM, 0, 0, 386 {"Left Capture Mix", "Mic1 Capture Switch", "MIC1 Pre Amp"}, 387 {"Left Capture Mix", "Mic2 Capture Switch", "MIC2 Pre Amp"}, 395 {"Right Capture Mix", "Mic1 Capture Switch", "MIC1 Pre Amp"}, [all …]
|
H A D | alc5632.c | 118 /* to power-on/off class-d amp generators/speaker */ in amp_mixer_event() 329 static const char *alc5632_amp_names[] = {"AB Amp", "D Amp"}; 334 SOC_DAPM_ENUM("AB-D Amp Mux", alc5632_amp_enum); 432 SND_SOC_DAPM_PGA("MIC1 Pre Amp", ALC5632_PWR_MANAG_ADD3, 1, 0, NULL, 0), 433 SND_SOC_DAPM_PGA("MIC2 Pre Amp", ALC5632_PWR_MANAG_ADD3, 0, 0, NULL, 0), 437 SND_SOC_DAPM_PGA_E("D Amp", ALC5632_PWR_MANAG_ADD2, 14, 0, NULL, 0, 439 SND_SOC_DAPM_PGA("AB Amp", ALC5632_PWR_MANAG_ADD2, 15, 0, NULL, 0), 440 SND_SOC_DAPM_MUX("AB-D Amp Mux", ALC5632_PWR_MANAG_ADD1, 10, 0, 514 {"Left Capture Mix", "MIC12REC_L Capture Switch", "MIC1 Pre Amp"}, 515 {"Left Capture Mix", "MIC22REC_L Capture Switch", "MIC2 Pre Amp"}, [all …]
|
H A D | ak4535.c | 174 SND_SOC_DAPM_PGA("Spk Amp", AK4535_PM2, 3, 0, NULL, 0), 175 SND_SOC_DAPM_PGA("HP R Amp", AK4535_PM2, 1, 0, NULL, 0), 176 SND_SOC_DAPM_PGA("HP L Amp", AK4535_PM2, 2, 0, NULL, 0), 221 {"Left HP Enable", "Switch", "HP L Amp"}, 222 {"HP L Amp", NULL, "Stereo Mixer"}, 226 {"Right HP Enable", "Switch", "HP R Amp"}, 227 {"HP R Amp", NULL, "Stereo Mixer"}, 232 {"Speaker Enable", "Switch", "Spk Amp"}, 233 {"Spk Amp", NULL, "MIN"},
|
H A D | cs42l52.c | 68 { CS42L52_MICA_CTL, 0x00 }, /* r10 MICA Amp Ctl */ 69 { CS42L52_MICB_CTL, 0x00 }, /* r11 MICB Amp Ctl */ 549 SND_SOC_DAPM_SWITCH("HP Left Amp", SND_SOC_NOPM, 0, 0, &hpl_ctl), 550 SND_SOC_DAPM_SWITCH("HP Right Amp", SND_SOC_NOPM, 0, 0, &hpr_ctl), 552 SND_SOC_DAPM_SWITCH("SPK Left Amp", SND_SOC_NOPM, 0, 0, &spkl_ctl), 553 SND_SOC_DAPM_SWITCH("SPK Right Amp", SND_SOC_NOPM, 0, 0, &spkr_ctl), 605 {"HPOUTA", NULL, "HP Left Amp"}, 606 {"HPOUTB", NULL, "HP Right Amp"}, 607 {"HP Left Amp", NULL, "Bypass Left"}, 608 {"HP Right Amp", NULL, "Bypass Right"}, [all …]
|
/linux/include/sound/ |
H A D | hda_regmap.h | 13 #define AC_AMP_FAKE_MUTE 0x10 /* fake mute bit set to amp verbs */ 42 * snd_hdac_regmap_encode_amp - encode the AMP verb to a pseudo register 76 * For writing an amp value, use snd_hdac_regmap_update_amp(). 94 * For updating an amp value, use snd_hdac_regmap_update_amp(). 112 * For reading an amp value, use snd_hda_regmap_get_amp(). 124 * snd_hdac_regmap_get_amp - Read AMP value 126 * @nid: NID to read the AMP value 132 * Read AMP value. The volume is between 0 to 0x7f, 0x80 = mute bit. 147 * snd_hdac_regmap_update_amp - update the AMP value 149 * @nid: NID to read the AMP value [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | ti,tlv320dac3100.yaml | 16 * SPL, devices with stereo speaker amp 17 * SPR, devices with stereo speaker amp 18 * SPK, devices with mono speaker amp 33 - ti,tlv320aic310x # - Generic TLV320AIC31xx with mono speaker amp 34 - ti,tlv320aic311x # - Generic TLV320AIC31xx with stereo speaker amp 35 - ti,tlv320aic3100 # - TLV320AIC3100 (mono speaker amp, no MiniDSP) 36 - ti,tlv320aic3110 # - TLV320AIC3110 (stereo speaker amp, no MiniDSP) 37 - ti,tlv320aic3120 # - TLV320AIC3120 (mono speaker amp, MiniDSP) 38 - ti,tlv320aic3111 # - TLV320AIC3111 (stereo speaker amp, MiniDSP) 39 - ti,tlv320dac3100 # - TLV320DAC3100 (no ADC, mono speaker amp, no MiniDSP) [all …]
|
H A D | fsl,imx-audio-es8328.yaml | 32 audio-amp-supply: 48 * audio-amp 83 - audio-amp-supply 99 audio-amp-supply = <®_audio_amp>; 103 "Speaker", "audio-amp",
|
H A D | ti,tas2781.yaml | 17 Instruments Smart Amp speaker protection algorithm. The 44 I2C address, in multiple-AMP case, all the i2c address 74 I2C address, in multiple-AMP case, all the i2c address 92 I2C address, in multiple-AMP case, all the i2c address
|
H A D | da7218.txt | 32 - dlg,mic1-amp-in-sel : Mic1 input source type 34 - dlg,mic2-amp-in-sel : Mic2 input source type 86 dlg,mic1-amp-in-sel = "diff"; 87 dlg,mic2-amp-in-sel = "diff";
|
/linux/sound/soc/sunxi/ |
H A D | sun50i-codec-analog.c | 208 /* Microphone Amp boost gain */ 218 /* Microphone Amp boost gain */ 345 SND_SOC_DAPM_OUT_DRV("Left Headphone Amp", 347 SND_SOC_DAPM_OUT_DRV("Right Headphone Amp", 349 SND_SOC_DAPM_SUPPLY("Headphone Amp", SUN50I_ADDA_HP_CTRL, 368 SND_SOC_DAPM_OUT_DRV("Earpiece Amp", SUN50I_ADDA_EARPIECE_CTRL1, 454 { "Left Headphone Amp", NULL, "Left Headphone Switch" }, 455 { "Left Headphone Amp", NULL, "Headphone Amp" }, 456 { "HP", NULL, "Left Headphone Amp" }, 461 { "Right Headphone Amp", NULL, "Right Headphone Switch" }, [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8916-wingtech-wt86528.dts | 20 sound-name-prefix = "Speaker Amp L"; 32 sound-name-prefix = "Speaker Amp R"; 101 audio-routing = "Speaker", "Speaker Amp L OUT", 102 "Speaker", "Speaker Amp R OUT", 103 "Speaker Amp L IN", "HPH_L", 104 "Speaker Amp R IN", "HPH_R",
|
H A D | msm8916-wingtech-wt88047.dts | 33 sound-name-prefix = "Speaker Amp"; 231 "Speaker", "Speaker Amp OUTL", 232 "Speaker", "Speaker Amp OUTR", 233 "Speaker Amp INL", "HPH_R", 234 "Speaker Amp INR", "HPH_R", 305 speaker_amp_default: speaker-amp-default-state {
|
H A D | msm8916-wingtech-wt86518.dts | 19 sound-name-prefix = "Speaker Amp"; 60 audio-routing = "Speaker", "Speaker Amp OUT", 61 "Speaker Amp IN", "HPH_R",
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3566-anbernic-rg353ps.dts | 55 "Internal Speakers", "Speaker Amp OUTL", 56 "Internal Speakers", "Speaker Amp OUTR", 57 "Speaker Amp INL", "HPOL", 58 "Speaker Amp INR", "HPOR"; 75 sound-name-prefix = "Speaker Amp"; 102 spk_amp_enable_h: spk-amp-enable-h {
|
H A D | rk3566-anbernic-rg353p.dts | 56 "Internal Speakers", "Speaker Amp OUTL", 57 "Internal Speakers", "Speaker Amp OUTR", 58 "Speaker Amp INL", "HPOL", 59 "Speaker Amp INR", "HPOR"; 76 sound-name-prefix = "Speaker Amp"; 114 spk_amp_enable_h: spk-amp-enable-h {
|
H A D | rk3399-roc-pc-plus.dts | 50 "Headphone Amp INL", "LOUT2", 51 "Headphone Amp INR", "ROUT2", 52 "Headphones", "Headphone Amp OUTL", 53 "Headphones", "Headphone Amp OUTR"; 77 headphones_amp: headphones-amp { 82 sound-name-prefix = "Headphone Amp";
|
H A D | rk3566-anbernic-rg-arc.dtsi | 54 "Internal Speakers", "Speaker Amp OUTL", 55 "Internal Speakers", "Speaker Amp OUTR", 56 "Speaker Amp INL", "HPOL", 57 "Speaker Amp INR", "HPOR"; 74 sound-name-prefix = "Speaker Amp"; 198 spk_amp_enable_h: spk-amp-enable-h {
|
H A D | rk3566-anbernic-rg503.dts | 145 "Internal Speakers", "Speaker Amp OUTL", 146 "Internal Speakers", "Speaker Amp OUTR", 147 "Speaker Amp INL", "HPOL", 148 "Speaker Amp INR", "HPOR"; 165 sound-name-prefix = "Speaker Amp"; 260 spk_amp_enable_h: spk-amp-enable-h {
|
H A D | rk3588-orangepi-5-plus.dts | 59 sound-name-prefix = "Speaker Amp"; 65 sound-name-prefix = "Headphones Amp"; 140 "Headphones", "Headphones Amp OUTL", 141 "Headphones", "Headphones Amp OUTR", 142 "Headphones Amp INL", "LOUT1", 143 "Headphones Amp INR", "ROUT1", 145 "Speaker", "Speaker Amp OUTL", 146 "Speaker", "Speaker Amp OUTR", 147 "Speaker Amp INL", "LOUT2", 148 "Speaker Amp INR", "ROUT2",
|
/linux/arch/mips/boot/dts/ingenic/ |
H A D | gcw0.dts | 57 sound-name-prefix = "Headphones Amp"; 65 sound-name-prefix = "Speaker Amp"; 79 "Headphones Amp INL", "LHPOUT", 80 "Headphones Amp INR", "RHPOUT", 81 "Headphones", "Headphones Amp OUTL", 82 "Headphones", "Headphones Amp OUTR", 83 "Speaker Amp INL", "LOUT", 84 "Speaker Amp INR", "ROUT", 85 "Speaker", "Speaker Amp OUTL", 86 "Speaker", "Speaker Amp OUTR",
|
/linux/include/net/bluetooth/ |
H A D | bluetooth.h | 95 * AMP controllers cannot be used. 97 * If the L2CAP channel is currently using AMP, move the channel to BR/EDR. 102 * Allow use of AMP controllers. 103 * If the L2CAP channel is currently on AMP, move it to BR/EDR. 108 /* AMP Preferred 109 * Allow use of AMP controllers 110 * If the L2CAP channel is currently on BR/EDR and AMP controller 111 * resources are available, initiate a channel move to AMP. 114 * and configure the channel directly on an AMP controller rather
|
/linux/sound/soc/intel/common/ |
H A D | soc-acpi-intel-ssp-common.c | 71 * Only put components that can serve as both the amp and the codec below this line. 72 * This will ensure that if the part is used just as a codec and there is an amp as well 73 * then the amp will be selected properly. 104 dev_dbg(dev, "amp %s found\n", amps[i].name); in snd_soc_acpi_intel_detect_amp_type()
|