Home
last modified time | relevance | path

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

123456

/sound/pci/emu10k1/
Demumixer.c1994 if ((kctl = emu->ctl_send_routing = snd_ctl_new1(&snd_emu10k1_send_routing_control, emu)) == NULL) in snd_emu10k1_mixer()
1999 if ((kctl = emu->ctl_send_volume = snd_ctl_new1(&snd_emu10k1_send_volume_control, emu)) == NULL) in snd_emu10k1_mixer()
2004 if ((kctl = emu->ctl_attn = snd_ctl_new1(&snd_emu10k1_attn_control, emu)) == NULL) in snd_emu10k1_mixer()
2010 …if ((kctl = emu->ctl_efx_send_routing = snd_ctl_new1(&snd_emu10k1_efx_send_routing_control, emu)) … in snd_emu10k1_mixer()
2016 …if ((kctl = emu->ctl_efx_send_volume = snd_ctl_new1(&snd_emu10k1_efx_send_volume_control, emu)) ==… in snd_emu10k1_mixer()
2022 if ((kctl = emu->ctl_efx_attn = snd_ctl_new1(&snd_emu10k1_efx_attn_control, emu)) == NULL) in snd_emu10k1_mixer()
2072 if ((kctl = snd_ctl_new1(&snd_emu10k1_spdif_mask_control, emu)) == NULL) in snd_emu10k1_mixer()
2078 if ((kctl = snd_ctl_new1(&snd_emu10k1_spdif_control, emu)) == NULL) in snd_emu10k1_mixer()
2089 if ((kctl = snd_ctl_new1(&snd_audigy_shared_spdif, emu)) == NULL) in snd_emu10k1_mixer()
2094 if ((kctl = snd_ctl_new1(&snd_audigy_spdif_output_rate, emu)) == NULL) in snd_emu10k1_mixer()
[all …]
/sound/pci/mixart/
Dmixart_mixer.c1117 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) in snd_mixart_create_mixer()
1120 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&mixart_control_output_switch, chip))) < 0) in snd_mixart_create_mixer()
1128 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) in snd_mixart_create_mixer()
1136 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) in snd_mixart_create_mixer()
1142 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()
1161 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) in snd_mixart_create_mixer()
1167 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) in snd_mixart_create_mixer()
1172 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&mixart_control_monitor_vol, chip))) < 0) in snd_mixart_create_mixer()
[all …]
/sound/pci/pcxhr/
Dpcxhr_mixer.c1124 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()
1151 snd_ctl_new1(&pcxhr_control_playback_iec958_mask, 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()
1195 snd_ctl_new1(&pcxhr_control_capture_iec958_mask, in pcxhr_create_mixer()
[all …]
/sound/drivers/vx/
Dvx_mixer.c913 if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) in snd_vx_mixer_new()
924 if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) in snd_vx_mixer_new()
929 if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) in snd_vx_mixer_new()
934 if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) in snd_vx_mixer_new()
939 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(&vx_control_audio_src, chip))) < 0) in snd_vx_mixer_new()
955 if ((err = snd_ctl_add(card, snd_ctl_new1(&vx_control_clock_mode, chip))) < 0) in snd_vx_mixer_new()
958 if ((err = snd_ctl_add(card, snd_ctl_new1(&vx_control_iec958_mask, chip))) < 0) in snd_vx_mixer_new()
960 if ((err = snd_ctl_add(card, snd_ctl_new1(&vx_control_iec958, chip))) < 0) in snd_vx_mixer_new()
[all …]
/sound/aoa/codecs/
Dtas.c826 err = aoa_snd_ctl_add(snd_ctl_new1(&volume_control, tas)); in tas_init_codec()
830 err = aoa_snd_ctl_add(snd_ctl_new1(&mute_control, tas)); in tas_init_codec()
834 err = aoa_snd_ctl_add(snd_ctl_new1(&pcm1_control, tas)); in tas_init_codec()
838 err = aoa_snd_ctl_add(snd_ctl_new1(&monitor_control, tas)); in tas_init_codec()
842 err = aoa_snd_ctl_add(snd_ctl_new1(&capture_source_control, tas)); in tas_init_codec()
846 err = aoa_snd_ctl_add(snd_ctl_new1(&drc_range_control, tas)); in tas_init_codec()
850 err = aoa_snd_ctl_add(snd_ctl_new1(&drc_switch_control, tas)); in tas_init_codec()
854 err = aoa_snd_ctl_add(snd_ctl_new1(&treble_control, tas)); in tas_init_codec()
858 err = aoa_snd_ctl_add(snd_ctl_new1(&bass_control, tas)); in tas_init_codec()
/sound/aoa/fabrics/
Dlayout.c912 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()
/sound/pcmcia/vx/
Dvxp_mixer.c127 if ((err = snd_ctl_add(_chip->card, snd_ctl_new1(&vx_control_mic_level, chip))) < 0) in vxp_add_mic_controls()
131 if ((err = snd_ctl_add(_chip->card, snd_ctl_new1(&vx_control_mic_boost, chip))) < 0) in vxp_add_mic_controls()
/sound/mips/
Dsgio2audio.c304 snd_ctl_new1(&sgio2audio_ctrl_pcm0, chip)); in snd_sgio2audio_new_mixer()
309 snd_ctl_new1(&sgio2audio_ctrl_pcm1, chip)); in snd_sgio2audio_new_mixer()
314 snd_ctl_new1(&sgio2audio_ctrl_reclevel, chip)); in snd_sgio2audio_new_mixer()
319 snd_ctl_new1(&sgio2audio_ctrl_recsource, chip)); in snd_sgio2audio_new_mixer()
323 snd_ctl_new1(&sgio2audio_ctrl_line, chip)); in snd_sgio2audio_new_mixer()
328 snd_ctl_new1(&sgio2audio_ctrl_cd, chip)); in snd_sgio2audio_new_mixer()
333 snd_ctl_new1(&sgio2audio_ctrl_mic, chip)); in snd_sgio2audio_new_mixer()
/sound/ppc/
Dawacs.c708 err = snd_ctl_add(chip->card, snd_ctl_new1(&mixers[i], chip)); in build_mixers()
988 (master_vol = snd_ctl_new1(snd_pmac_awacs_mixers_pmac5500, in snd_pmac_awacs_init()
996 (master_vol = snd_ctl_new1(snd_pmac_screamer_mixers_lo, in snd_pmac_awacs_init()
1013 chip->master_sw_ctl = snd_ctl_new1((pm7500 || imac || g4agp || lombard) in snd_pmac_awacs_init()
1034 chip->master_sw_ctl = snd_ctl_new1(&snd_pmac_awacs_amp_hp_sw, in snd_pmac_awacs_init()
1039 chip->speaker_sw_ctl = snd_ctl_new1(&snd_pmac_awacs_amp_spk_sw, in snd_pmac_awacs_init()
1049 (speaker_vol = snd_ctl_new1(snd_pmac_awacs_speaker_vol, in snd_pmac_awacs_init()
1053 chip->speaker_sw_ctl = snd_ctl_new1(imac1 in snd_pmac_awacs_init()
Dburgundy.c671 snd_ctl_new1(&snd_pmac_burgundy_mixers[i], chip)); in snd_pmac_burgundy_init()
678 snd_ctl_new1(imac ? &snd_pmac_burgundy_mixers_imac[i] in snd_pmac_burgundy_init()
683 chip->master_sw_ctl = snd_ctl_new1(imac in snd_pmac_burgundy_init()
689 chip->master_sw_ctl = snd_ctl_new1(imac in snd_pmac_burgundy_init()
696 chip->master_sw_ctl = snd_ctl_new1( in snd_pmac_burgundy_init()
702 chip->speaker_sw_ctl = snd_ctl_new1(imac in snd_pmac_burgundy_init()
/sound/pci/echoaudio/
Dechoaudio.c2049 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_vmixer, chip))) < 0) in snd_echo_probe()
2053 snd_ctl_new1(&snd_echo_line_output_gain, chip)); in snd_echo_probe()
2059 snd_ctl_new1(&snd_echo_pcm_output_gain, chip)); in snd_echo_probe()
2065 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_line_input_gain, chip))) < 0) in snd_echo_probe()
2071 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_intput_nominal_level, chip))) < 0) in snd_echo_probe()
2076 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_output_nominal_level, chip))) < 0) in snd_echo_probe()
2080 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_vumeters_switch, chip))) < 0) in snd_echo_probe()
2083 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_vumeters, chip))) < 0) in snd_echo_probe()
2088 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_monitor_mixer, chip))) < 0) in snd_echo_probe()
2093 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_automute_switch, chip))) < 0) in snd_echo_probe()
[all …]
/sound/pci/ice1712/
Ddelta.c776 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_delta1010_wordclock_select, ice)); in snd_ice1712_delta_add_controls()
779 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_delta1010_wordclock_status, ice)); in snd_ice1712_delta_add_controls()
784 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_deltadio2496_spdif_in_select, ice)); in snd_ice1712_delta_add_controls()
790 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_delta1010lt_wordclock_select, ice)); in snd_ice1712_delta_add_controls()
793 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_delta1010lt_wordclock_status, ice)); in snd_ice1712_delta_add_controls()
817 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_delta_spdif_in_status, ice)); in snd_ice1712_delta_add_controls()
Dice1712.c1439 err = snd_ctl_add(card, snd_ctl_new1(&snd_ice1712_multi_playback_ctrls[idx], ice)); in snd_ice1712_build_pro_mixer()
1447 err = snd_ctl_add(card, snd_ctl_new1(&tmp, ice)); in snd_ice1712_build_pro_mixer()
1452 err = snd_ctl_add(card, snd_ctl_new1(&snd_ice1712_multi_capture_spdif_switch, ice)); in snd_ice1712_build_pro_mixer()
1459 err = snd_ctl_add(card, snd_ctl_new1(&tmp, ice)); in snd_ice1712_build_pro_mixer()
1464 err = snd_ctl_add(card, snd_ctl_new1(&snd_ice1712_multi_capture_spdif_volume, ice)); in snd_ice1712_build_pro_mixer()
1517 snd_ctl_new1(&snd_ice1712_mixer_digmix_route_ac97, in snd_ice1712_ac97_mixer()
2408 err = snd_ctl_add(ice->card, kctl = snd_ctl_new1(&snd_ice1712_spdif_default, ice)); in snd_ice1712_spdif_build_controls()
2412 err = snd_ctl_add(ice->card, kctl = snd_ctl_new1(&snd_ice1712_spdif_maskc, ice)); in snd_ice1712_spdif_build_controls()
2416 err = snd_ctl_add(ice->card, kctl = snd_ctl_new1(&snd_ice1712_spdif_maskp, ice)); in snd_ice1712_spdif_build_controls()
2420 err = snd_ctl_add(ice->card, kctl = snd_ctl_new1(&snd_ice1712_spdif_stream, ice)); in snd_ice1712_spdif_build_controls()
[all …]
Dews.c977 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_ewx2496_controls[idx], ice)); in snd_ice1712_ews_add_controls()
986 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_ews88mt_input_sense, ice)); in snd_ice1712_ews_add_controls()
989 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_ews88mt_output_sense, ice)); in snd_ice1712_ews_add_controls()
995 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_ews88d_controls[idx], ice)); in snd_ice1712_ews_add_controls()
1002 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_6fire_controls[idx], ice)); in snd_ice1712_ews_add_controls()
/sound/i2c/other/
Dak4xxx-adda.c626 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()
Dpt2258.c193 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()
/sound/isa/
Des18xx.c1837 kctl = snd_ctl_new1(&snd_es18xx_base_controls[idx], chip); in snd_es18xx_mixer()
1855 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_pcm2_controls[idx], chip))) < 0) in snd_es18xx_mixer()
1860 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_pcm1_controls[idx], chip))) < 0) in snd_es18xx_mixer()
1867 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_recmix_controls[idx], chip))) < 0) in snd_es18xx_mixer()
1873 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_micpre1_control, chip))) < 0) in snd_es18xx_mixer()
1878 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_micpre2_control, chip))) < 0) in snd_es18xx_mixer()
1884 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_spatializer_controls[idx], chip))) < 0) in snd_es18xx_mixer()
1891 kctl = snd_ctl_new1(&snd_es18xx_hw_volume_controls[idx], chip); in snd_es18xx_mixer()
1905 err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_opt_speaker, in snd_es18xx_mixer()
1913 snd_ctl_new1(&snd_es18xx_opt_1869[idx], in snd_es18xx_mixer()
[all …]
/sound/pci/oxygen/
Doxygen.c620 return snd_ctl_add(chip->card, snd_ctl_new1(&rolloff_control, chip)); in generic_mixer_init()
630 err = snd_ctl_add(chip->card, snd_ctl_new1(&hpf_control, chip)); in generic_wm8785_mixer_init()
644 snd_ctl_new1(&meridian_dig_source_control, chip)); in meridian_mixer_init()
658 snd_ctl_new1(&claro_dig_source_control, chip)); in claro_mixer_init()
672 snd_ctl_new1(&claro_dig_source_control, chip)); in claro_halo_mixer_init()
Dxonar_pcm179x.c1063 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()
/sound/isa/gus/
Dgus_mixer.c165 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_gf1_controls[idx], gus))) < 0) in snd_gf1_new_mixer()
170 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_ics_controls[idx], gus))) < 0) in snd_gf1_new_mixer()
/sound/firewire/bebob/
Dbebob_maudio.c595 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()
/sound/isa/opti9xx/
Dmiro.c728 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_controls[idx], miro))) < 0) in snd_miro_mixer()
735 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_line_control[0], miro))) < 0) in snd_miro_mixer()
737 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_amp_control[0], miro))) < 0) in snd_miro_mixer()
744 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_preamp_control[0], miro))) < 0) in snd_miro_mixer()
747 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_capture_control[0], miro))) < 0) in snd_miro_mixer()
753 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_radio_control[0], miro))) < 0) in snd_miro_mixer()
756 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_eq_controls[idx], miro))) < 0) in snd_miro_mixer()
/sound/core/
Dctljack.c67 kctl = snd_ctl_new1(&jack_detect_kctl, NULL); in snd_kctl_jack_new()
/sound/pci/ca0106/
Dca0106_mixer.c733 _err = snd_ctl_add(card, snd_ctl_new1(&ctls[i], emu)); \
828 err = snd_ctl_add(card, snd_ctl_new1(&snd_ca0106_capture_mic_line_in, emu)); in snd_ca0106_mixer()
830 err = snd_ctl_add(card, snd_ctl_new1(&snd_ca0106_capture_line_in_side_out, emu)); in snd_ca0106_mixer()
841 err = snd_ctl_add(card, snd_ctl_new1(&ctl, emu)); in snd_ca0106_mixer()
/sound/drivers/opl4/
Dopl4_mixer.c77 err = snd_ctl_add(card, snd_ctl_new1(&snd_opl4_controls[i], opl4)); in snd_opl4_create_mixer()

123456