/openbmc/linux/sound/pci/mixart/ |
H A D | mixart_mixer.c | 1117 err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip)); in snd_mixart_create_mixer() 1121 err = snd_ctl_add(chip->card, snd_ctl_new1(&mixart_control_output_switch, chip)); in snd_mixart_create_mixer() 1130 err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip)); in snd_mixart_create_mixer() 1139 err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip)); in snd_mixart_create_mixer() 1146 err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip)); in snd_mixart_create_mixer() 1154 err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip)); in snd_mixart_create_mixer() 1161 err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip)); in snd_mixart_create_mixer() 1168 err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip)); in snd_mixart_create_mixer() 1175 err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip)); in snd_mixart_create_mixer() 1181 err = snd_ctl_add(chip->card, snd_ctl_new1(&mixart_control_monitor_vol, chip)); in snd_mixart_create_mixer() [all …]
|
/openbmc/linux/sound/pci/pcxhr/ |
H A D | pcxhr_mixer.c | 1124 snd_ctl_new1(&temp, chip)); in pcxhr_create_mixer() 1130 snd_ctl_new1(&pcxhr_control_output_switch, in pcxhr_create_mixer() 1140 snd_ctl_new1(&temp, chip)); in pcxhr_create_mixer() 1145 snd_ctl_new1(&pcxhr_control_pcm_switch, chip)); in pcxhr_create_mixer() 1157 snd_ctl_new1(&pcxhr_control_playback_iec958, in pcxhr_create_mixer() 1173 snd_ctl_new1(&temp, chip)); in pcxhr_create_mixer() 1183 snd_ctl_new1(&temp, chip)); in pcxhr_create_mixer() 1189 snd_ctl_new1(&pcxhr_control_audio_src, chip)); in pcxhr_create_mixer() 1201 snd_ctl_new1(&pcxhr_control_capture_iec958, in pcxhr_create_mixer() 1229 snd_ctl_new1(&pcxhr_control_clock_type, mgr)); in pcxhr_create_mixer() [all …]
|
/openbmc/linux/sound/drivers/vx/ |
H A D | vx_mixer.c | 913 err = snd_ctl_add(card, snd_ctl_new1(&temp, chip)); in snd_vx_mixer_new() 925 err = snd_ctl_add(card, snd_ctl_new1(&temp, chip)); in snd_vx_mixer_new() 931 err = snd_ctl_add(card, snd_ctl_new1(&temp, chip)); in snd_vx_mixer_new() 937 err = snd_ctl_add(card, snd_ctl_new1(&temp, chip)); in snd_vx_mixer_new() 943 err = snd_ctl_add(card, snd_ctl_new1(&temp, chip)); in snd_vx_mixer_new() 952 err = snd_ctl_add(card, snd_ctl_new1(&temp, chip)); in snd_vx_mixer_new() 958 err = snd_ctl_add(card, snd_ctl_new1(&vx_control_audio_src, chip)); in snd_vx_mixer_new() 969 err = snd_ctl_add(card, snd_ctl_new1(&vx_control_iec958, chip)); in snd_vx_mixer_new() 981 err = snd_ctl_add(card, snd_ctl_new1(&temp, chip)); in snd_vx_mixer_new() 990 err = snd_ctl_add(card, snd_ctl_new1(&temp, chip)); in snd_vx_mixer_new() [all …]
|
/openbmc/linux/sound/aoa/codecs/ |
H A D | tas.c | 825 err = aoa_snd_ctl_add(snd_ctl_new1(&volume_control, tas)); in tas_init_codec() 829 err = aoa_snd_ctl_add(snd_ctl_new1(&mute_control, tas)); in tas_init_codec() 833 err = aoa_snd_ctl_add(snd_ctl_new1(&pcm1_control, tas)); in tas_init_codec() 837 err = aoa_snd_ctl_add(snd_ctl_new1(&monitor_control, tas)); in tas_init_codec() 841 err = aoa_snd_ctl_add(snd_ctl_new1(&capture_source_control, tas)); in tas_init_codec() 845 err = aoa_snd_ctl_add(snd_ctl_new1(&drc_range_control, tas)); in tas_init_codec() 849 err = aoa_snd_ctl_add(snd_ctl_new1(&drc_switch_control, tas)); in tas_init_codec() 853 err = aoa_snd_ctl_add(snd_ctl_new1(&treble_control, tas)); in tas_init_codec() 857 err = aoa_snd_ctl_add(snd_ctl_new1(&bass_control, tas)); in tas_init_codec()
|
/openbmc/linux/sound/pcmcia/vx/ |
H A D | vxp_mixer.c | 127 err = snd_ctl_add(_chip->card, snd_ctl_new1(&vx_control_mic_level, chip)); in vxp_add_mic_controls() 132 err = snd_ctl_add(_chip->card, snd_ctl_new1(&vx_control_mic_boost, chip)); in vxp_add_mic_controls()
|
/openbmc/linux/sound/aoa/fabrics/ |
H A D | layout.c | 912 ctl = snd_ctl_new1(&master_ctl, codec->gpio); in layout_attached_codec() 920 ctl = snd_ctl_new1(&speakers_ctl, codec->gpio); in layout_attached_codec() 927 ctl = snd_ctl_new1(&headphone_ctl, codec->gpio); in layout_attached_codec() 937 ctl = snd_ctl_new1(&headphone_detect_choice, in layout_attached_codec() 940 ctl = snd_ctl_new1(&headphone_detected, in layout_attached_codec() 949 ctl = snd_ctl_new1(&lineout_ctl, codec->gpio); in layout_attached_codec() 962 ctl = snd_ctl_new1(&lineout_detect_choice, in layout_attached_codec() 969 ctl = snd_ctl_new1(&lineout_detected, in layout_attached_codec()
|
/openbmc/linux/sound/pci/emu10k1/ |
H A D | emumixer.c | 36 err = snd_ctl_add(emu->card, snd_ctl_new1(&kctl, emu)); in add_ctls() 2230 kctl = emu->ctl_attn = snd_ctl_new1(&snd_emu10k1_attn_control, emu); in snd_emu10k1_mixer() 2264 kctl = snd_ctl_new1(&snd_emu10k1_spdif_mask_control, emu); in snd_emu10k1_mixer() 2272 kctl = snd_ctl_new1(&snd_emu10k1_spdif_control, emu); in snd_emu10k1_mixer() 2285 kctl = snd_ctl_new1(&snd_audigy_shared_spdif, emu); in snd_emu10k1_mixer() 2292 kctl = snd_ctl_new1(&snd_audigy_spdif_output_rate, emu); in snd_emu10k1_mixer() 2301 kctl = snd_ctl_new1(&snd_emu10k1_shared_spdif, emu); in snd_emu10k1_mixer() 2333 snd_ctl_new1(&snd_emu1010_clock_fallback, emu)); in snd_emu10k1_mixer() 2348 snd_ctl_new1(&snd_emu1010_optical_out, emu)); in snd_emu10k1_mixer() 2352 snd_ctl_new1(&snd_emu1010_optical_in, emu)); in snd_emu10k1_mixer() [all …]
|
/openbmc/linux/sound/mips/ |
H A D | sgio2audio.c | 303 snd_ctl_new1(&sgio2audio_ctrl_pcm0, chip)); in snd_sgio2audio_new_mixer() 308 snd_ctl_new1(&sgio2audio_ctrl_pcm1, chip)); in snd_sgio2audio_new_mixer() 313 snd_ctl_new1(&sgio2audio_ctrl_reclevel, chip)); in snd_sgio2audio_new_mixer() 318 snd_ctl_new1(&sgio2audio_ctrl_recsource, chip)); in snd_sgio2audio_new_mixer() 322 snd_ctl_new1(&sgio2audio_ctrl_line, chip)); in snd_sgio2audio_new_mixer() 327 snd_ctl_new1(&sgio2audio_ctrl_cd, chip)); in snd_sgio2audio_new_mixer() 332 snd_ctl_new1(&sgio2audio_ctrl_mic, chip)); in snd_sgio2audio_new_mixer()
|
/openbmc/linux/sound/ppc/ |
H A D | awacs.c | 709 err = snd_ctl_add(chip->card, snd_ctl_new1(&mixers[i], chip)); in build_mixers() 989 (master_vol = snd_ctl_new1(snd_pmac_awacs_mixers_pmac5500, in snd_pmac_awacs_init() 997 (master_vol = snd_ctl_new1(snd_pmac_screamer_mixers_lo, in snd_pmac_awacs_init() 1014 chip->master_sw_ctl = snd_ctl_new1((pm7500 || imac || g4agp || lombard) in snd_pmac_awacs_init() 1035 chip->master_sw_ctl = snd_ctl_new1(&snd_pmac_awacs_amp_hp_sw, in snd_pmac_awacs_init() 1040 chip->speaker_sw_ctl = snd_ctl_new1(&snd_pmac_awacs_amp_spk_sw, in snd_pmac_awacs_init() 1050 (speaker_vol = snd_ctl_new1(snd_pmac_awacs_speaker_vol, in snd_pmac_awacs_init() 1054 chip->speaker_sw_ctl = snd_ctl_new1(imac1 in snd_pmac_awacs_init()
|
H A D | burgundy.c | 672 snd_ctl_new1(&snd_pmac_burgundy_mixers[i], chip)); in snd_pmac_burgundy_init() 679 snd_ctl_new1(imac ? &snd_pmac_burgundy_mixers_imac[i] in snd_pmac_burgundy_init() 684 chip->master_sw_ctl = snd_ctl_new1(imac in snd_pmac_burgundy_init() 690 chip->master_sw_ctl = snd_ctl_new1(imac in snd_pmac_burgundy_init() 697 chip->master_sw_ctl = snd_ctl_new1( in snd_pmac_burgundy_init() 703 chip->speaker_sw_ctl = snd_ctl_new1(imac in snd_pmac_burgundy_init()
|
/openbmc/linux/sound/i2c/other/ |
H A D | ak4xxx-adda.c | 626 err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak)); in build_dac_controls() 704 err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak)); in build_dac_controls() 754 err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak)); in build_adc_controls() 773 err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak)); in build_adc_controls() 794 err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak)); in build_adc_controls() 842 err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak)); in build_deemphasis()
|
H A D | pt2258.c | 193 err = snd_ctl_add(pt->card, snd_ctl_new1(&knew, pt)); in snd_pt2258_build_controls() 205 err = snd_ctl_add(pt->card, snd_ctl_new1(&knew, pt)); in snd_pt2258_build_controls()
|
/openbmc/linux/sound/pci/ice1712/ |
H A D | delta.c | 778 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_delta1010_wordclock_select, ice)); in snd_ice1712_delta_add_controls() 781 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_delta1010_wordclock_status, ice)); in snd_ice1712_delta_add_controls() 786 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_deltadio2496_spdif_in_select, ice)); in snd_ice1712_delta_add_controls() 792 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_delta1010lt_wordclock_select, ice)); in snd_ice1712_delta_add_controls() 795 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_delta1010lt_wordclock_status, ice)); in snd_ice1712_delta_add_controls() 819 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_delta_spdif_in_status, ice)); in snd_ice1712_delta_add_controls()
|
H A D | ice1712.c | 1413 err = snd_ctl_add(card, snd_ctl_new1(&tmp, ice)); in snd_ice1712_build_pro_mixer() 1425 err = snd_ctl_add(card, snd_ctl_new1(&tmp, ice)); in snd_ice1712_build_pro_mixer() 1483 snd_ctl_new1(&snd_ice1712_mixer_digmix_route_ac97, in snd_ice1712_ac97_mixer() 2374 kctl = snd_ctl_new1(&snd_ice1712_spdif_default, ice); in snd_ice1712_spdif_build_controls() 2379 kctl = snd_ctl_new1(&snd_ice1712_spdif_maskc, ice); in snd_ice1712_spdif_build_controls() 2384 kctl = snd_ctl_new1(&snd_ice1712_spdif_maskp, ice); in snd_ice1712_spdif_build_controls() 2389 kctl = snd_ctl_new1(&snd_ice1712_spdif_stream, ice); in snd_ice1712_spdif_build_controls() 2403 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_eeprom, ice)); in snd_ice1712_build_controls() 2416 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_pro_rate_reset, ice)); in snd_ice1712_build_controls() 2423 err = snd_ctl_add(ice->card, snd_ctl_new1(&tmp, ice)); in snd_ice1712_build_controls() [all …]
|
/openbmc/linux/sound/pci/echoaudio/ |
H A D | echoaudio.c | 2030 err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_vmixer, chip)); in __snd_echo_probe() 2035 snd_ctl_new1(&snd_echo_line_output_gain, chip)); in __snd_echo_probe() 2041 snd_ctl_new1(&snd_echo_pcm_output_gain, chip)); in __snd_echo_probe() 2047 err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_line_input_gain, chip)); in __snd_echo_probe() 2066 err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_vumeters_switch, chip)); in __snd_echo_probe() 2070 err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_vumeters, chip)); in __snd_echo_probe() 2076 err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_monitor_mixer, chip)); in __snd_echo_probe() 2082 err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_automute_switch, chip)); in __snd_echo_probe() 2087 err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_channels_info, chip)); in __snd_echo_probe() 2111 chip->clock_src_ctl = snd_ctl_new1(&snd_echo_clock_source_switch, chip); in __snd_echo_probe() [all …]
|
/openbmc/linux/sound/isa/ |
H A D | es18xx.c | 1778 kctl = snd_ctl_new1(&snd_es18xx_base_controls[idx], chip); in snd_es18xx_mixer() 1797 err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_pcm2_controls[idx], chip)); in snd_es18xx_mixer() 1803 err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_pcm1_controls[idx], chip)); in snd_es18xx_mixer() 1818 err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_micpre1_control, chip)); in snd_es18xx_mixer() 1824 err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_micpre2_control, chip)); in snd_es18xx_mixer() 1839 kctl = snd_ctl_new1(&snd_es18xx_hw_volume_controls[idx], chip); in snd_es18xx_mixer() 1854 err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_opt_speaker, in snd_es18xx_mixer() 1862 snd_ctl_new1(&snd_es18xx_opt_1869[idx], in snd_es18xx_mixer() 1868 err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_opt_1878, in snd_es18xx_mixer() 1875 snd_ctl_new1(&snd_es18xx_opt_1879[idx], in snd_es18xx_mixer() [all …]
|
/openbmc/linux/sound/isa/gus/ |
H A D | gus_mixer.c | 165 err = snd_ctl_add(card, snd_ctl_new1(&snd_gf1_controls[idx], gus)); in snd_gf1_new_mixer() 171 err = snd_ctl_add(card, snd_ctl_new1(&snd_ics_controls[idx], gus)); in snd_gf1_new_mixer()
|
/openbmc/linux/sound/pci/oxygen/ |
H A D | oxygen.c | 617 return snd_ctl_add(chip->card, snd_ctl_new1(&rolloff_control, chip)); in generic_mixer_init() 627 err = snd_ctl_add(chip->card, snd_ctl_new1(&hpf_control, chip)); in generic_wm8785_mixer_init() 641 snd_ctl_new1(&meridian_dig_source_control, chip)); in meridian_mixer_init() 655 snd_ctl_new1(&claro_dig_source_control, chip)); in claro_mixer_init() 669 snd_ctl_new1(&claro_dig_source_control, chip)); in claro_halo_mixer_init()
|
H A D | xonar_pcm179x.c | 1063 snd_ctl_new1(&rolloff_control, chip)); in add_pcm1796_controls() 1067 snd_ctl_new1(&deemph_control, chip)); in add_pcm1796_controls() 1078 err = snd_ctl_add(chip->card, snd_ctl_new1(&alt_switch, chip)); in xonar_d2_mixer_init() 1091 err = snd_ctl_add(chip->card, snd_ctl_new1(&hdav_hdmi_control, chip)); in xonar_hdav_mixer_init() 1107 snd_ctl_new1(&st_controls[i], chip)); in xonar_st_mixer_init() 1124 snd_ctl_new1(&xense_controls[i], chip)); in xonar_xense_mixer_init()
|
/openbmc/linux/sound/firewire/bebob/ |
H A D | bebob_maudio.c | 595 kctl = snd_ctl_new1(&special_clk_ctl, bebob); in add_special_controls() 600 kctl = snd_ctl_new1(&special_sync_ctl, bebob); in add_special_controls() 606 kctl = snd_ctl_new1(&special_dig_in_iface_ctl, bebob); in add_special_controls() 611 kctl = snd_ctl_new1(&special_dig_out_iface_ctl, bebob); in add_special_controls()
|
/openbmc/linux/sound/core/ |
H A D | ctljack.c | 67 kctl = snd_ctl_new1(&jack_detect_kctl, NULL); in snd_kctl_jack_new()
|
/openbmc/linux/sound/isa/opti9xx/ |
H A D | miro.c | 725 err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_controls[idx], miro)); in snd_miro_mixer() 733 err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_line_control[0], miro)); in snd_miro_mixer() 736 err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_amp_control[0], miro)); in snd_miro_mixer() 744 err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_preamp_control[0], miro)); in snd_miro_mixer() 748 err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_capture_control[0], miro)); in snd_miro_mixer() 756 err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_radio_control[0], miro)); in snd_miro_mixer() 760 err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_eq_controls[idx], miro)); in snd_miro_mixer()
|
/openbmc/linux/sound/drivers/opl4/ |
H A D | opl4_mixer.c | 77 err = snd_ctl_add(card, snd_ctl_new1(&snd_opl4_controls[i], opl4)); in snd_opl4_create_mixer()
|
/openbmc/linux/drivers/media/pci/cx88/ |
H A D | cx88-alsa.c | 944 err = snd_ctl_add(card, snd_ctl_new1(&snd_cx88_volume, chip)); in cx88_audio_initdev() 947 err = snd_ctl_add(card, snd_ctl_new1(&snd_cx88_dac_switch, chip)); in cx88_audio_initdev() 950 err = snd_ctl_add(card, snd_ctl_new1(&snd_cx88_source_switch, chip)); in cx88_audio_initdev() 956 err = snd_ctl_add(card, snd_ctl_new1(&snd_cx88_alc_switch, chip)); in cx88_audio_initdev()
|
/openbmc/linux/sound/pci/ca0106/ |
H A D | ca0106_mixer.c | 723 _err = snd_ctl_add(card, snd_ctl_new1(&ctls[i], emu)); \ 808 err = snd_ctl_add(card, snd_ctl_new1(&snd_ca0106_capture_mic_line_in, emu)); in snd_ca0106_mixer() 810 err = snd_ctl_add(card, snd_ctl_new1(&snd_ca0106_capture_line_in_side_out, emu)); in snd_ca0106_mixer() 821 err = snd_ctl_add(card, snd_ctl_new1(&ctl, emu)); in snd_ca0106_mixer()
|