| /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 | 259 static void awacs_amp_set_tone(struct awacs_amp *amp, int bass, int treble) in awacs_amp_set_tone() argument 261 amp->amp_tone[0] = bass; in awacs_amp_set_tone() 262 amp->amp_tone[1] = treble; in awacs_amp_set_tone() 273 static int awacs_amp_set_vol(struct awacs_amp *amp, int index, in awacs_amp_set_vol() argument 276 if (do_check && amp->amp_vol[index][0] == lvol && in awacs_amp_set_vol() 277 amp->amp_vol[index][1] == rvol) in awacs_amp_set_vol() 281 amp->amp_vol[index][0] = lvol; in awacs_amp_set_vol() 282 amp->amp_vol[index][1] = rvol; in awacs_amp_set_vol() 289 static void awacs_amp_set_master(struct awacs_amp *amp, int vol) in awacs_amp_set_master() argument 291 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 | 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 | 85 { CS42L52_MICA_CTL, 0x00 }, /* r10 MICA Amp Ctl */ 86 { CS42L52_MICB_CTL, 0x00 }, /* r11 MICB Amp Ctl */ 566 SND_SOC_DAPM_SWITCH("HP Left Amp", SND_SOC_NOPM, 0, 0, &hpl_ctl), 567 SND_SOC_DAPM_SWITCH("HP Right Amp", SND_SOC_NOPM, 0, 0, &hpr_ctl), 569 SND_SOC_DAPM_SWITCH("SPK Left Amp", SND_SOC_NOPM, 0, 0, &spkl_ctl), 570 SND_SOC_DAPM_SWITCH("SPK Right Amp", SND_SOC_NOPM, 0, 0, &spkr_ctl), 622 {"HPOUTA", NULL, "HP Left Amp"}, 623 {"HPOUTB", NULL, "HP Right Amp"}, 624 {"HP Left Amp", NULL, "Bypass Left"}, 625 {"HP Right Amp", NUL [all...] |
| H A 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", 169 MODULE_DESCRIPTION("ASoC MAX9877 amp driver");
|
| H A D | cs42l73.c | 624 SND_SOC_DAPM_SWITCH_E("HP Amp", CS42L73_PWRCTL3, 0, 1, 627 SND_SOC_DAPM_SWITCH("LO Amp", CS42L73_PWRCTL3, 1, 1, 629 SND_SOC_DAPM_SWITCH_E("SPK Amp", CS42L73_PWRCTL3, 2, 1, 632 SND_SOC_DAPM_SWITCH_E("EAR Amp", CS42L73_PWRCTL3, 3, 1, 635 SND_SOC_DAPM_SWITCH_E("SPKLO Amp", CS42L73_PWRCTL3, 4, 1, 651 {"EAROUT", NULL, "EAR Amp"}, 652 {"SPKLINEOUT", NULL, "SPKLO Amp"}, 654 {"EAR Amp", "Switch", "ESL DAC"}, 655 {"SPKLO Amp", "Switch", "ESL DAC"}, 676 {"SPKOUT", NULL, "SPK Amp"}, [all...] |
| H A D | cx20442.c | 45 SND_SOC_DAPM_PGA("TELOUT Amp", CX20442_PM, CX20442_TELOUT, 0, NULL, 0), 46 SND_SOC_DAPM_PGA("SPKOUT Amp", CX20442_PM, CX20442_SPKOUT, 0, NULL, 0), 65 {"TELOUT", NULL, "TELOUT Amp"}, 68 {"SPKOUT Mixer", NULL, "SPKOUT Amp"}, 70 {"TELOUT Amp", NULL, "DAC"}, 71 {"SPKOUT Amp", NULL, "DAC"},
|
| H A D | cs35l36.c | 490 SOC_SINGLE("Amp Gain Zero-Cross Switch", CS35L36_AMP_GAIN_CTRL, 655 SND_SOC_DAPM_OUT_DRV_E("Main AMP", CS35L36_PWR_CTRL2, 0, 0, NULL, 0, 660 SND_SOC_DAPM_SWITCH("AMP Enable", SND_SOC_NOPM, 0, 1, &_enable_ctrl), 733 {"AMP Capture", NULL, "ASPTX1"}, 734 {"AMP Capture", NULL, "ASPTX2"}, 735 {"AMP Capture", NULL, "ASPTX3"}, 736 {"AMP Capture", NULL, "ASPTX4"}, 737 {"AMP Capture", NULL, "ASPTX5"}, 738 {"AMP Capture", NULL, "ASPTX6"}, 740 {"AMP Enabl [all...] |
| H A D | rt9123p.c | 75 SND_SOC_DAPM_OUT_DRV_E("Amp Drv", SND_SOC_NOPM, 0, 0, NULL, 0, rt9123p_enable_event, 80 {"Amp Drv", NULL, "HiFi Playback"}, 81 {"SPK", NULL, "Amp Drv"},
|
| H A D | cs35l41.c | 354 SOC_SINGLE("Amp Gain ZC Switch", CS35L41_AMP_GAIN_CTRL, 427 dev_crit_ratelimited(cs35l41->dev, "Amp short error\n"); in cs35l41_irq() 578 SND_SOC_DAPM_OUT_DRV_E("Main AMP", CS35L41_PWR_CTRL2, 0, 0, NULL, 0, 637 {"AMP Capture", NULL, "ASPTX1"}, 638 {"AMP Capture", NULL, "ASPTX2"}, 639 {"AMP Capture", NULL, "ASPTX3"}, 640 {"AMP Capture", NULL, "ASPTX4"}, 663 {"ASPRX1", NULL, "AMP Playback"}, 664 {"ASPRX2", NULL, "AMP Playback"}, 666 {"Main AMP", NUL [all...] |
| H A D | idt821034.c | 439 struct idt821034_amp *amp; in idt821034_kctrl_gain_put() 463 amp = &idt821034->amps.ch[ch].amp_out; in idt821034_kctrl_gain_put() 466 amp = &idt821034->amps.ch[ch].amp_in; in idt821034_kctrl_gain_put() 470 if (amp->gain == val) in idt821034_kctrl_gain_put() 473 if (!amp->is_muted) { in idt821034_kctrl_gain_put() 479 amp->gain = val; in idt821034_kctrl_gain_put() 512 struct idt821034_amp *amp; in idt821034_kctrl_mute_put() 524 amp = &idt821034->amps.ch[ch].amp_out; in idt821034_kctrl_mute_put() 527 amp = &idt821034->amps.ch[ch].amp_in; in idt821034_kctrl_mute_put() 531 if (amp in idt821034_kctrl_mute_put() 438 struct idt821034_amp *amp; idt821034_kctrl_gain_put() local 515 struct idt821034_amp *amp; idt821034_kctrl_mute_put() local [all...] |
| /linux/sound/soc/sunxi/ |
| H A D | sun50i-codec-analog.c | 207 /* Microphone Amp boost gain */ 217 /* Microphone Amp boost gain */ 344 SND_SOC_DAPM_OUT_DRV("Left Headphone Amp", 346 SND_SOC_DAPM_OUT_DRV("Right Headphone Amp", 348 SND_SOC_DAPM_SUPPLY("Headphone Amp", SUN50I_ADDA_HP_CTRL, 367 SND_SOC_DAPM_OUT_DRV("Earpiece Amp", SUN50I_ADDA_EARPIECE_CTRL1, 453 { "Left Headphone Amp", NULL, "Left Headphone Switch" }, 454 { "Left Headphone Amp", NULL, "Headphone Amp" }, 455 { "HP", NULL, "Left Headphone Amp" }, 460 { "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"; 234 "Speaker", "Speaker Amp OUTL", 235 "Speaker", "Speaker Amp OUTR", 236 "Speaker Amp INL", "HPH_R", 237 "Speaker Amp INR", "HPH_R", 308 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/Documentation/devicetree/bindings/sound/ |
| 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 | 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/intel/common/ |
| H A D | soc-acpi-intel-ssp-common.c | 74 * Only put components that can serve as both the amp and the codec below this line. 75 * This will ensure that if the part is used just as a codec and there is an amp as well 76 * then the amp will be selected properly. 107 dev_dbg(dev, "amp %s found\n", amps[i].name); in snd_soc_acpi_intel_detect_amp_type()
|
| /linux/drivers/clk/ |
| H A D | clk-si521xx.c | 223 unsigned int amp; in si521xx_get_common_config() local 231 &); in si521xx_get_common_config() 233 if (amp < SI521XX_REG_DA_AMP_MIN || amp > SI521XX_REG_DA_AMP_MAX || in si521xx_get_common_config() 234 amp % SI521XX_REG_DA_AMP_STEP) { in si521xx_get_common_config() 238 si->pll_amplitude = SI521XX_REG_DA_AMP(amp); in si521xx_get_common_config()
|
| H A D | clk-renesas-pcie.c | 205 unsigned int amp, ssc; in rs9_get_common_config() local 214 &); in rs9_get_common_config() 216 if (amp == 600000) /* 0.6V */ in rs9_get_common_config() 218 else if (amp == 700000) /* 0.7V (default) */ in rs9_get_common_config() 220 else if (amp == 800000) /* 0.8V */ in rs9_get_common_config() 222 else if (amp == 900000) /* 0.9V */ in rs9_get_common_config()
|
| /linux/include/linux/ssb/ |
| H A D | ssb_regs.h | 361 #define SSB_SPROM4_2G_PA_0 0x02 /* 2 GHz power amp */ 373 #define SSB_SPROM4_5G_PA_0 0x0E /* 5.3 GHz power amp */ 377 #define SSB_SPROM4_5GL_PA_0 0x16 /* 5.2 GHz power amp */ 381 #define SSB_SPROM4_5GH_PA_0 0x1E /* 5.8 GHz power amp */ 546 #define SSB_SROM8_2G_PA_0 0x02 /* 2GHz power amp settings */ 557 #define SSB_SROM8_5G_PA_0 0x0C /* 5.3GHz power amp settings */ 560 #define SSB_SROM8_5GL_PA_0 0x12 /* 5.2GHz power amp settings */ 563 #define SSB_SROM8_5GH_PA_0 0x18 /* 5.8GHz power amp settings */ 572 #define SSB_SPROM8_PA0B0 0x00C2 /* 2GHz power amp settings */ 583 #define SSB_SPROM8_PA1B0 0x00CC /* 5.3GHz power amp settings */ [all …]
|
| /linux/sound/pci/ice1712/ |
| H A D | amp.h | 13 #define AMP_AUDIO2000_DEVICE_DESC "{AMP Ltd,AUDIO2000},"\ 19 #define VT1724_SUBDEVICE_AUDIO2000 0x00030003 /* a dummy ID for AMP Audio2000 */
|
| /linux/Documentation/devicetree/bindings/input/ |
| H A D | pwm-beeper.yaml | 19 amp-supply: 39 amp-supply = <&beeper_amp>;
|
| /linux/sound/soc/sof/intel/ |
| H A D | hda.c | 69 dev_err(dev, "%s widget not found, check amp link num in the topology\n", in sdw_params_stream() 1218 /* Assume all amp are aggregated */ in find_acpi_adr_device() 1249 /* For non-amp codecs, get name_prefix from codec_info_list[] */ in find_acpi_adr_device() 1256 * And we need to give a unique name_prefix for each amp and should be backwards in find_acpi_adr_device() 1258 * For the common name_prefix, we append the amp index to it. However, for the in find_acpi_adr_device() 1259 * "Left" name_prefix, we convert the second amp name_prefix to "Right" and in find_acpi_adr_device() 1260 * for the third and further amps, we set the name_prefix to "AMP<amp_index>". in find_acpi_adr_device() 1273 /* Set the name_fix to AMP<amp_index> if there are more than 2 amps */ in find_acpi_adr_device() 1275 "AMP", *amp_index); in find_acpi_adr_device() 1278 } else if (!strcmp(name_prefix, "AMP")) { in find_acpi_adr_device() [all...] |