Home
last modified time | relevance | path

Searched refs:snd_ctl_add (Results 1 – 25 of 145) sorted by relevance

123456

/Linux-v4.19/sound/pci/mixart/
Dmixart_mixer.c1130 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) in snd_mixart_create_mixer()
1133 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&mixart_control_output_switch, chip))) < 0) in snd_mixart_create_mixer()
1141 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) in snd_mixart_create_mixer()
1149 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) in snd_mixart_create_mixer()
1155 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) in snd_mixart_create_mixer()
1162 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) in snd_mixart_create_mixer()
1168 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) in snd_mixart_create_mixer()
1174 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) in snd_mixart_create_mixer()
1180 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) in snd_mixart_create_mixer()
1185 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&mixart_control_monitor_vol, chip))) < 0) in snd_mixart_create_mixer()
[all …]
/Linux-v4.19/sound/pci/emu10k1/
Demumixer.c2011 if ((err = snd_ctl_add(card, kctl))) in snd_emu10k1_mixer()
2016 if ((err = snd_ctl_add(card, kctl))) in snd_emu10k1_mixer()
2021 if ((err = snd_ctl_add(card, kctl))) in snd_emu10k1_mixer()
2027 if ((err = snd_ctl_add(card, kctl))) in snd_emu10k1_mixer()
2033 if ((err = snd_ctl_add(card, kctl))) in snd_emu10k1_mixer()
2039 if ((err = snd_ctl_add(card, kctl))) in snd_emu10k1_mixer()
2090 if ((err = snd_ctl_add(card, kctl))) in snd_emu10k1_mixer()
2096 if ((err = snd_ctl_add(card, kctl))) in snd_emu10k1_mixer()
2105 if ((err = snd_ctl_add(card, kctl))) in snd_emu10k1_mixer()
2110 if ((err = snd_ctl_add(card, kctl))) in snd_emu10k1_mixer()
[all …]
/Linux-v4.19/sound/pci/pcxhr/
Dpcxhr_mixer.c1136 err = snd_ctl_add(chip->card, in pcxhr_create_mixer()
1142 err = snd_ctl_add(chip->card, in pcxhr_create_mixer()
1152 err = snd_ctl_add(chip->card, in pcxhr_create_mixer()
1157 err = snd_ctl_add(chip->card, in pcxhr_create_mixer()
1163 err = snd_ctl_add(chip->card, in pcxhr_create_mixer()
1169 err = snd_ctl_add(chip->card, in pcxhr_create_mixer()
1185 err = snd_ctl_add(chip->card, in pcxhr_create_mixer()
1195 err = snd_ctl_add(chip->card, in pcxhr_create_mixer()
1201 err = snd_ctl_add(chip->card, in pcxhr_create_mixer()
1207 err = snd_ctl_add(chip->card, in pcxhr_create_mixer()
[all …]
/Linux-v4.19/sound/drivers/vx/
Dvx_mixer.c926 if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) in snd_vx_mixer_new()
937 if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) in snd_vx_mixer_new()
942 if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) in snd_vx_mixer_new()
947 if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) in snd_vx_mixer_new()
952 if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) in snd_vx_mixer_new()
960 if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) in snd_vx_mixer_new()
965 if ((err = snd_ctl_add(card, snd_ctl_new1(&vx_control_audio_src, chip))) < 0) in snd_vx_mixer_new()
968 if ((err = snd_ctl_add(card, snd_ctl_new1(&vx_control_clock_mode, chip))) < 0) in snd_vx_mixer_new()
971 if ((err = snd_ctl_add(card, snd_ctl_new1(&vx_control_iec958_mask, chip))) < 0) in snd_vx_mixer_new()
973 if ((err = snd_ctl_add(card, snd_ctl_new1(&vx_control_iec958, chip))) < 0) in snd_vx_mixer_new()
[all …]
/Linux-v4.19/sound/pci/ac97/
Dac97_codec.c1220 err = snd_ctl_add(card, kctl); in snd_ac97_cmute_new_stereo()
1282 err = snd_ctl_add(card, kctl); in snd_ac97_cvol_new()
1356 if ((err = snd_ctl_add(card, snd_ac97_cnew(&snd_ac97_controls_center[0], ac97))) < 0) in snd_ac97_mixer_build()
1358 if ((err = snd_ctl_add(card, kctl = snd_ac97_cnew(&snd_ac97_controls_center[1], ac97))) < 0) in snd_ac97_mixer_build()
1370 if ((err = snd_ctl_add(card, snd_ac97_cnew(&snd_ac97_controls_lfe[0], ac97))) < 0) in snd_ac97_mixer_build()
1372 if ((err = snd_ctl_add(card, kctl = snd_ac97_cnew(&snd_ac97_controls_lfe[1], ac97))) < 0) in snd_ac97_mixer_build()
1409 if ((err = snd_ctl_add(card, kctl = snd_ac97_cnew(&snd_ac97_controls_tone[idx], ac97))) < 0) in snd_ac97_mixer_build()
1426 if ((err = snd_ctl_add(card, kctl = snd_ac97_cnew(&snd_ac97_controls_pc_beep[idx], ac97))) < 0) in snd_ac97_mixer_build()
1452 if ((err = snd_ctl_add(card, snd_ac97_cnew(&snd_ac97_controls_mic_boost, ac97))) < 0) in snd_ac97_mixer_build()
1499 … if ((err = snd_ctl_add(card, kctl = snd_ac97_cnew(&snd_ac97_controls_ad18xx_pcm[idx], ac97))) < 0) in snd_ac97_mixer_build()
[all …]
/Linux-v4.19/sound/ppc/
Dawacs.c721 err = snd_ctl_add(chip->card, snd_ctl_new1(&mixers[i], chip)); in build_mixers()
1000 err = snd_ctl_add(chip->card, in snd_pmac_awacs_init()
1008 err = snd_ctl_add(chip->card, in snd_pmac_awacs_init()
1031 err = snd_ctl_add(chip->card, chip->master_sw_ctl); in snd_pmac_awacs_init()
1049 err = snd_ctl_add(chip->card, chip->master_sw_ctl); in snd_pmac_awacs_init()
1054 err = snd_ctl_add(chip->card, chip->speaker_sw_ctl); in snd_pmac_awacs_init()
1061 err = snd_ctl_add(chip->card, in snd_pmac_awacs_init()
1071 err = snd_ctl_add(chip->card, chip->speaker_sw_ctl); in snd_pmac_awacs_init()
1087 err = snd_ctl_add(chip->card, vmaster_sw); in snd_pmac_awacs_init()
1098 err = snd_ctl_add(chip->card, vmaster_vol); in snd_pmac_awacs_init()
Dburgundy.c683 err = snd_ctl_add(chip->card, in snd_pmac_burgundy_init()
690 err = snd_ctl_add(chip->card, in snd_pmac_burgundy_init()
699 err = snd_ctl_add(chip->card, chip->master_sw_ctl); in snd_pmac_burgundy_init()
705 err = snd_ctl_add(chip->card, chip->master_sw_ctl); in snd_pmac_burgundy_init()
711 err = snd_ctl_add(chip->card, chip->master_sw_ctl); in snd_pmac_burgundy_init()
718 err = snd_ctl_add(chip->card, chip->speaker_sw_ctl); in snd_pmac_burgundy_init()
/Linux-v4.19/drivers/staging/vc04_services/bcm2835-audio/
Dbcm2835-ctl.c317 err = snd_ctl_add(chip->card, in snd_bcm2835_new_ctl()
323 err = snd_ctl_add(chip->card, in snd_bcm2835_new_ctl()
365 err = snd_ctl_add(chip->card, in snd_bcm2835_new_headphones_ctl()
408 err = snd_ctl_add(chip->card, in snd_bcm2835_new_hdmi_ctl()
/Linux-v4.19/sound/pcmcia/vx/
Dvxp_mixer.c140 if ((err = snd_ctl_add(_chip->card, snd_ctl_new1(&vx_control_mic_level, chip))) < 0) in vxp_add_mic_controls()
144 if ((err = snd_ctl_add(_chip->card, snd_ctl_new1(&vx_control_mic_boost, chip))) < 0) in vxp_add_mic_controls()
/Linux-v4.19/sound/mips/
Dsgio2audio.c317 err = snd_ctl_add(chip->card, in snd_sgio2audio_new_mixer()
322 err = snd_ctl_add(chip->card, in snd_sgio2audio_new_mixer()
327 err = snd_ctl_add(chip->card, in snd_sgio2audio_new_mixer()
332 err = snd_ctl_add(chip->card, in snd_sgio2audio_new_mixer()
336 err = snd_ctl_add(chip->card, in snd_sgio2audio_new_mixer()
341 err = snd_ctl_add(chip->card, in snd_sgio2audio_new_mixer()
346 err = snd_ctl_add(chip->card, in snd_sgio2audio_new_mixer()
/Linux-v4.19/sound/pci/ca0106/
Dca0106_mixer.c747 _err = snd_ctl_add(card, snd_ctl_new1(&ctls[i], emu)); \
842 err = snd_ctl_add(card, snd_ctl_new1(&snd_ca0106_capture_mic_line_in, emu)); in snd_ca0106_mixer()
844 err = snd_ctl_add(card, snd_ctl_new1(&snd_ca0106_capture_line_in_side_out, emu)); in snd_ca0106_mixer()
855 err = snd_ctl_add(card, snd_ctl_new1(&ctl, emu)); in snd_ca0106_mixer()
866 err = snd_ctl_add(card, vmaster); in snd_ca0106_mixer()
876 err = snd_ctl_add(card, vmaster); in snd_ca0106_mixer()
/Linux-v4.19/sound/pci/ice1712/
Ddelta.c790 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_delta1010_wordclock_select, ice)); in snd_ice1712_delta_add_controls()
793 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_delta1010_wordclock_status, ice)); in snd_ice1712_delta_add_controls()
798 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_deltadio2496_spdif_in_select, ice)); in snd_ice1712_delta_add_controls()
804 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_delta1010lt_wordclock_select, ice)); in snd_ice1712_delta_add_controls()
807 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_delta1010lt_wordclock_status, ice)); in snd_ice1712_delta_add_controls()
831 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_delta_spdif_in_status, ice)); in snd_ice1712_delta_add_controls()
Dice1712.c1453 err = snd_ctl_add(card, snd_ctl_new1(&snd_ice1712_multi_playback_ctrls[idx], ice)); in snd_ice1712_build_pro_mixer()
1461 err = snd_ctl_add(card, snd_ctl_new1(&tmp, ice)); in snd_ice1712_build_pro_mixer()
1466 err = snd_ctl_add(card, snd_ctl_new1(&snd_ice1712_multi_capture_spdif_switch, ice)); in snd_ice1712_build_pro_mixer()
1473 err = snd_ctl_add(card, snd_ctl_new1(&tmp, ice)); in snd_ice1712_build_pro_mixer()
1478 err = snd_ctl_add(card, snd_ctl_new1(&snd_ice1712_multi_capture_spdif_volume, ice)); in snd_ice1712_build_pro_mixer()
1530 return snd_ctl_add(ice->card, in snd_ice1712_ac97_mixer()
2424 err = snd_ctl_add(ice->card, kctl = snd_ctl_new1(&snd_ice1712_spdif_default, ice)); in snd_ice1712_spdif_build_controls()
2428 err = snd_ctl_add(ice->card, kctl = snd_ctl_new1(&snd_ice1712_spdif_maskc, ice)); in snd_ice1712_spdif_build_controls()
2432 err = snd_ctl_add(ice->card, kctl = snd_ctl_new1(&snd_ice1712_spdif_maskp, ice)); in snd_ice1712_spdif_build_controls()
2436 err = snd_ctl_add(ice->card, kctl = snd_ctl_new1(&snd_ice1712_spdif_stream, ice)); in snd_ice1712_spdif_build_controls()
[all …]
/Linux-v4.19/sound/pci/echoaudio/
Dechoaudio.c2058 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_vmixer, chip))) < 0) in snd_echo_probe()
2061 err = snd_ctl_add(chip->card, in snd_echo_probe()
2067 err = snd_ctl_add(chip->card, in snd_echo_probe()
2074 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_line_input_gain, chip))) < 0) in snd_echo_probe()
2080 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_intput_nominal_level, chip))) < 0) in snd_echo_probe()
2085 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_output_nominal_level, chip))) < 0) in snd_echo_probe()
2089 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_vumeters_switch, chip))) < 0) in snd_echo_probe()
2092 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_vumeters, chip))) < 0) in snd_echo_probe()
2097 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_monitor_mixer, chip))) < 0) in snd_echo_probe()
2102 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_automute_switch, chip))) < 0) in snd_echo_probe()
[all …]
/Linux-v4.19/sound/i2c/other/
Dak4xxx-adda.c640 err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak)); in build_dac_controls()
718 err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak)); in build_dac_controls()
768 err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak)); in build_adc_controls()
787 err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak)); in build_adc_controls()
807 err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak)); in build_adc_controls()
855 err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak)); in build_deemphasis()
Dpt2258.c207 err = snd_ctl_add(pt->card, snd_ctl_new1(&knew, pt)); in snd_pt2258_build_controls()
219 err = snd_ctl_add(pt->card, snd_ctl_new1(&knew, pt)); in snd_pt2258_build_controls()
/Linux-v4.19/sound/isa/gus/
Dgus_mixer.c180 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_gf1_controls[idx], gus))) < 0) in snd_gf1_new_mixer()
185 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_ics_controls[idx], gus))) < 0) in snd_gf1_new_mixer()
/Linux-v4.19/sound/isa/
Des18xx.c1867 if ((err = snd_ctl_add(card, kctl)) < 0) in snd_es18xx_mixer()
1872 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_pcm2_controls[idx], chip))) < 0) in snd_es18xx_mixer()
1877 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_pcm1_controls[idx], chip))) < 0) in snd_es18xx_mixer()
1884 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_recmix_controls[idx], chip))) < 0) in snd_es18xx_mixer()
1890 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_micpre1_control, chip))) < 0) in snd_es18xx_mixer()
1895 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_micpre2_control, chip))) < 0) in snd_es18xx_mixer()
1901 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_spatializer_controls[idx], chip))) < 0) in snd_es18xx_mixer()
1914 if ((err = snd_ctl_add(card, kctl)) < 0) in snd_es18xx_mixer()
1922 err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_opt_speaker, in snd_es18xx_mixer()
1929 err = snd_ctl_add(card, in snd_es18xx_mixer()
[all …]
/Linux-v4.19/sound/pci/oxygen/
Doxygen.c632 return snd_ctl_add(chip->card, snd_ctl_new1(&rolloff_control, chip)); in generic_mixer_init()
642 err = snd_ctl_add(chip->card, snd_ctl_new1(&hpf_control, chip)); in generic_wm8785_mixer_init()
655 err = snd_ctl_add(chip->card, in meridian_mixer_init()
669 err = snd_ctl_add(chip->card, in claro_mixer_init()
683 err = snd_ctl_add(chip->card, in claro_halo_mixer_init()
/Linux-v4.19/sound/firewire/bebob/
Dbebob_maudio.c596 err = snd_ctl_add(bebob->card, kctl); in add_special_controls()
601 err = snd_ctl_add(bebob->card, kctl); in add_special_controls()
607 err = snd_ctl_add(bebob->card, kctl); in add_special_controls()
612 err = snd_ctl_add(bebob->card, kctl); in add_special_controls()
/Linux-v4.19/sound/isa/opti9xx/
Dmiro.c741 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_controls[idx], miro))) < 0) in snd_miro_mixer()
748 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_line_control[0], miro))) < 0) in snd_miro_mixer()
750 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_amp_control[0], miro))) < 0) in snd_miro_mixer()
757 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_preamp_control[0], miro))) < 0) in snd_miro_mixer()
760 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_capture_control[0], miro))) < 0) in snd_miro_mixer()
766 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_radio_control[0], miro))) < 0) in snd_miro_mixer()
769 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_eq_controls[idx], miro))) < 0) in snd_miro_mixer()
/Linux-v4.19/sound/aoa/core/
Dalsa.c93 err = snd_ctl_add(aoa_card->alsa_card, control); in aoa_snd_ctl_add()
/Linux-v4.19/sound/drivers/opl4/
Dopl4_mixer.c90 err = snd_ctl_add(card, snd_ctl_new1(&snd_opl4_controls[i], opl4)); in snd_opl4_create_mixer()
/Linux-v4.19/sound/usb/6fire/
Dcontrol.c534 ret = snd_ctl_add(card, vmaster); in usb6fire_control_add_virtual()
543 ret = snd_ctl_add(card, control); in usb6fire_control_add_virtual()
601 ret = snd_ctl_add(chip->card, snd_ctl_new1(&elements[i], rt)); in usb6fire_control_init()
/Linux-v4.19/drivers/media/pci/cx88/
Dcx88-alsa.c954 err = snd_ctl_add(card, snd_ctl_new1(&snd_cx88_volume, chip)); in cx88_audio_initdev()
957 err = snd_ctl_add(card, snd_ctl_new1(&snd_cx88_dac_switch, chip)); in cx88_audio_initdev()
960 err = snd_ctl_add(card, snd_ctl_new1(&snd_cx88_source_switch, chip)); in cx88_audio_initdev()
966 err = snd_ctl_add(card, snd_ctl_new1(&snd_cx88_alc_switch, chip)); in cx88_audio_initdev()

123456