/Linux-v5.10/drivers/char/ |
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-v5.10/sound/ppc/ |
D | awacs.c | 266 static void awacs_amp_set_tone(struct awacs_amp *amp, int bass, int treble) in awacs_amp_set_tone() argument 268 amp->amp_tone[0] = bass; in awacs_amp_set_tone() 269 amp->amp_tone[1] = treble; in awacs_amp_set_tone() 280 static int awacs_amp_set_vol(struct awacs_amp *amp, int index, in awacs_amp_set_vol() argument 283 if (do_check && amp->amp_vol[index][0] == lvol && in awacs_amp_set_vol() 284 amp->amp_vol[index][1] == rvol) in awacs_amp_set_vol() 288 amp->amp_vol[index][0] = lvol; in awacs_amp_set_vol() 289 amp->amp_vol[index][1] = rvol; in awacs_amp_set_vol() 296 static void awacs_amp_set_master(struct awacs_amp *amp, int vol) in awacs_amp_set_master() argument 298 amp->amp_master = vol; in awacs_amp_set_master() [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/sound/ |
D | tlv320aic31xx.txt | 8 "ti,tlv320aic310x" - Generic TLV320AIC31xx with mono speaker amp 9 "ti,tlv320aic311x" - Generic TLV320AIC31xx with stereo speaker amp 10 "ti,tlv320aic3100" - TLV320AIC3100 (mono speaker amp, no MiniDSP) 11 "ti,tlv320aic3110" - TLV320AIC3110 (stereo speaker amp, no MiniDSP) 12 "ti,tlv320aic3120" - TLV320AIC3120 (mono speaker amp, MiniDSP) 13 "ti,tlv320aic3111" - TLV320AIC3111 (stereo speaker amp, MiniDSP) 14 "ti,tlv320dac3100" - TLV320DAC3100 (no ADC, mono speaker amp, no MiniDSP) 15 "ti,tlv320dac3101" - TLV320DAC3101 (no ADC, stereo speaker amp, no MiniDSP) 45 * SPL, devices with stereo speaker amp 46 * SPR, devices with stereo speaker amp [all …]
|
D | imx-audio-es8328.txt | 8 - audio-amp-supply : Power regulator for speaker amps 17 * audio-amp 48 audio-amp-supply = <®_audio_amp>; 52 "Speaker", "audio-amp",
|
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";
|
D | tfa9879.txt | 17 amp: amp@6c {
|
/Linux-v5.10/sound/soc/codecs/ |
D | mc13783.c | 420 SOC_DAPM_ENUM("Speaker Amp Source MUX", speaker_amp_source); 429 SOC_DAPM_ENUM("Headset Amp Source MUX", headset_amp_source); 464 SND_SOC_DAPM_SWITCH("MC1L Amp", MC13783_AUDIO_TX, 7, 0, &mc1l_amp_ctl), 465 SND_SOC_DAPM_SWITCH("MC1R Amp", MC13783_AUDIO_TX, 5, 0, &mc1r_amp_ctl), 466 SND_SOC_DAPM_SWITCH("MC2 Amp", MC13783_AUDIO_TX, 9, 0, &mc2_amp_ctl), 467 SND_SOC_DAPM_SWITCH("TXIN Amp", MC13783_AUDIO_TX, 11, 0, &atx_amp_ctl), 474 SND_SOC_DAPM_MUX("Speaker Amp Source MUX", SND_SOC_NOPM, 0, 0, 477 SND_SOC_DAPM_MUX("Headset Amp Source MUX", SND_SOC_NOPM, 0, 0, 504 SND_SOC_DAPM_SWITCH("Speaker Amp Switch", MC13783_AUDIO_RX0, 3, 0, 506 SND_SOC_DAPM_SWITCH("Loudspeaker Amp", SND_SOC_NOPM, 0, 0, &lamp_ctl), [all …]
|
D | sirf-audio-codec.c | 194 SND_SOC_DAPM_SWITCH("Left dac to hp left amp", SND_SOC_NOPM, 0, 0, 196 SND_SOC_DAPM_SWITCH("Left dac to hp right amp", SND_SOC_NOPM, 0, 0, 198 SND_SOC_DAPM_SWITCH("Right dac to hp left amp", SND_SOC_NOPM, 0, 0, 200 SND_SOC_DAPM_SWITCH("Right dac to hp right amp", SND_SOC_NOPM, 0, 0, 202 SND_SOC_DAPM_OUT_DRV("HP amp left driver", AUDIO_IC_CODEC_CTRL0, 3, 0, 204 SND_SOC_DAPM_OUT_DRV("HP amp right driver", AUDIO_IC_CODEC_CTRL0, 3, 0, 211 SND_SOC_DAPM_OUT_DRV("Speaker amp driver", AUDIO_IC_CODEC_CTRL0, 4, 0, 243 {"Speaker Driver", NULL, "Speaker amp driver"}, 244 {"Speaker amp driver", NULL, "Left dac to speaker lineout"}, 245 {"Speaker amp driver", NULL, "Right dac to speaker lineout"}, [all …]
|
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 …]
|
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 …]
|
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"},
|
D | max9877.c | 3 * max9877.c -- amp driver for max9877 68 SOC_SINGLE_TLV("MAX9877 Amp Speaker Playback Volume", 70 SOC_DOUBLE_R_TLV("MAX9877 Amp HP Playback Volume", 170 MODULE_DESCRIPTION("ASoC MAX9877 amp driver");
|
D | cs42l52.c | 68 { CS42L52_MICA_CTL, 0x00 }, /* r10 MICA Amp Ctl */ 69 { CS42L52_MICB_CTL, 0x00 }, /* r11 MICB Amp Ctl */ 547 SND_SOC_DAPM_SWITCH("HP Left Amp", SND_SOC_NOPM, 0, 0, &hpl_ctl), 548 SND_SOC_DAPM_SWITCH("HP Right Amp", SND_SOC_NOPM, 0, 0, &hpr_ctl), 550 SND_SOC_DAPM_SWITCH("SPK Left Amp", SND_SOC_NOPM, 0, 0, &spkl_ctl), 551 SND_SOC_DAPM_SWITCH("SPK Right Amp", SND_SOC_NOPM, 0, 0, &spkr_ctl), 603 {"HPOUTA", NULL, "HP Left Amp"}, 604 {"HPOUTB", NULL, "HP Right Amp"}, 605 {"HP Left Amp", NULL, "Bypass Left"}, 606 {"HP Right Amp", NULL, "Bypass Right"}, [all …]
|
/Linux-v5.10/include/sound/ |
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-v5.10/sound/soc/pxa/ |
D | e740_wm9705.c | 63 SND_SOC_DAPM_PGA_E("Output Amp", SND_SOC_NOPM, 0, 0, NULL, 0, 66 SND_SOC_DAPM_PGA_E("Mic Amp", SND_SOC_NOPM, 0, 0, NULL, 0, 72 {"Output Amp", NULL, "LOUT"}, 73 {"Output Amp", NULL, "ROUT"}, 74 {"Output Amp", NULL, "MONOOUT"}, 76 {"Speaker", NULL, "Output Amp"}, 77 {"Headphone Jack", NULL, "Output Amp"}, 79 {"MIC1", NULL, "Mic Amp"}, 80 {"Mic Amp", NULL, "Mic (Internal)"}, 120 { GPIO_E740_MIC_ON, GPIOF_OUT_INIT_LOW, "Mic amp" }, [all …]
|
D | e750_wm9705.c | 47 SND_SOC_DAPM_PGA_E("Headphone Amp", SND_SOC_NOPM, 0, 0, NULL, 0, 50 SND_SOC_DAPM_PGA_E("Speaker Amp", SND_SOC_NOPM, 0, 0, NULL, 0, 56 {"Headphone Amp", NULL, "HPOUTL"}, 57 {"Headphone Amp", NULL, "HPOUTR"}, 58 {"Headphone Jack", NULL, "Headphone Amp"}, 60 {"Speaker Amp", NULL, "MONOOUT"}, 61 {"Speaker", NULL, "Speaker Amp"}, 104 { GPIO_E750_HP_AMP_OFF, GPIOF_OUT_INIT_HIGH, "Headphone amp" }, 105 { GPIO_E750_SPK_AMP_OFF, GPIOF_OUT_INIT_HIGH, "Speaker amp" },
|
D | e800_wm9712.c | 47 SND_SOC_DAPM_PGA_E("Headphone Amp", SND_SOC_NOPM, 0, 0, NULL, 0, 50 SND_SOC_DAPM_PGA_E("Speaker Amp", SND_SOC_NOPM, 0, 0, NULL, 0, 58 {"Headphone Jack", NULL, "Headphone Amp"}, 60 {"Speaker Amp", NULL, "MONOOUT"}, 61 {"Speaker", NULL, "Speaker Amp"}, 104 { GPIO_E800_SPK_AMP_ON, GPIOF_OUT_INIT_HIGH, "Headphone amp" }, 105 { GPIO_E800_HP_AMP_OFF, GPIOF_OUT_INIT_HIGH, "Speaker amp" },
|
/Linux-v5.10/drivers/staging/pi433/Documentation/ |
D | pi433.txt | 96 ramp3400 - amp ramps up in 3.4ms 97 ramp2000 - amp ramps up in 2.0ms 98 ramp1000 - amp ramps up in 1ms 99 ramp500 - amp ramps up in 500us 100 ramp250 - amp ramps up in 250us 101 ramp125 - amp ramps up in 125us 102 ramp100 - amp ramps up in 100us 103 ramp62 - amp ramps up in 62us 104 ramp50 - amp ramps up in 50us 105 ramp40 - amp ramps up in 40us [all …]
|
/Linux-v5.10/sound/soc/samsung/ |
D | s3c24xx_simtec.c | 27 * Read the value for the AMP gain control. 37 * speaker_gain_set - set the value of the speaker amp gain 54 * Note, if the speaker amp is muted, then we do not set a gain value 97 * Read the value for the AMP gain control. 135 pr_debug("%s: adding amp routes\n", __func__); in simtec_audio_init() 142 pr_debug("%s: adding amp controls\n", __func__); in simtec_audio_init() 226 /* attach gpio amp gain (if any) */ in attach_gpio_amp() 228 ret = gpio_request(pd->amp_gain[0], "gpio-amp-gain0"); in attach_gpio_amp() 230 dev_err(dev, "cannot get amp gpio gain0\n"); in attach_gpio_amp() 234 ret = gpio_request(pd->amp_gain[1], "gpio-amp-gain1"); in attach_gpio_amp() [all …]
|
/Linux-v5.10/sound/soc/sunxi/ |
D | sun50i-codec-analog.c | 201 /* Microphone Amp boost gain */ 211 /* Microphone Amp boost gain */ 325 SND_SOC_DAPM_OUT_DRV("Left Headphone Amp", 327 SND_SOC_DAPM_OUT_DRV("Right Headphone Amp", 329 SND_SOC_DAPM_SUPPLY("Headphone Amp", SUN50I_ADDA_HP_CTRL, 348 SND_SOC_DAPM_OUT_DRV("Earpiece Amp", SUN50I_ADDA_EARPIECE_CTRL1, 433 { "Left Headphone Amp", NULL, "Left Headphone Switch" }, 434 { "Left Headphone Amp", NULL, "Headphone Amp" }, 435 { "HP", NULL, "Left Headphone Amp" }, 440 { "Right Headphone Amp", NULL, "Right Headphone Switch" }, [all …]
|
/Linux-v5.10/include/net/bluetooth/ |
D | bluetooth.h | 92 * AMP controllers cannot be used. 94 * If the L2CAP channel is currently using AMP, move the channel to BR/EDR. 99 * Allow use of AMP controllers. 100 * If the L2CAP channel is currently on AMP, move it to BR/EDR. 105 /* AMP Preferred 106 * Allow use of AMP controllers 107 * If the L2CAP channel is currently on BR/EDR and AMP controller 108 * resources are available, initiate a channel move to AMP. 111 * and configure the channel directly on an AMP controller rather
|
/Linux-v5.10/arch/mips/boot/dts/ingenic/ |
D | gcw0.dts | 57 sound-name-prefix = "Headphones Amp"; 65 sound-name-prefix = "Speaker Amp"; 80 "Headphones Amp INL", "LHPOUT", 81 "Headphones Amp INR", "RHPOUT", 82 "Headphones", "Headphones Amp OUTL", 83 "Headphones", "Headphones Amp OUTR", 84 "Speaker Amp INL", "LOUT", 85 "Speaker Amp INR", "ROUT", 86 "Speaker", "Speaker Amp OUTL", 87 "Speaker", "Speaker Amp OUTR",
|
/Linux-v5.10/drivers/bluetooth/ |
D | hci_vhci.c | 30 static bool amp; variable 85 /* bits 0-1 are dev_type (Primary or AMP) */ in __vhci_create_device() 305 vhci_create_device(data, amp ? HCI_AMP : HCI_PRIMARY); in vhci_open_timeout() 368 module_param(amp, bool, 0644); 369 MODULE_PARM_DESC(amp, "Create AMP controller device");
|
/Linux-v5.10/net/bluetooth/ |
D | amp.c | 14 #include "amp.h" 16 /* Remote AMP Controllers interface */ 127 /* AMP crypto key generation interface */ 199 /* Derive Generic AMP Link Key (gamp) */ in phylink_gen_key() 202 bt_dev_err(hdev, "could not derive Generic AMP Key: err %d", err); in phylink_gen_key() 207 BT_DBG("Use Generic AMP Key (gamp)"); in phylink_gen_key() 212 /* Derive Dedicated AMP Link Key: "802b" is 802.11 PAL keyID */ in phylink_gen_key() 306 /* Read Local AMP Assoc final link information data */ in amp_read_loc_assoc_final_data() 328 /* Write AMP Assoc data fragments, returns true with last fragment written*/
|
/Linux-v5.10/Documentation/devicetree/bindings/input/ |
D | pwm-beeper.txt | 10 - amp-supply: phandle to a regulator that acts as an amplifier for the beeper 23 amp-supply = <&beeper_amp>;
|