Home
last modified time | relevance | path

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

123456

/sound/pci/emu10k1/
Demumixer.c1997 kctl = emu->ctl_send_routing = snd_ctl_new1(&snd_emu10k1_send_routing_control, emu); in snd_emu10k1_mixer()
2004 kctl = emu->ctl_send_volume = snd_ctl_new1(&snd_emu10k1_send_volume_control, emu); in snd_emu10k1_mixer()
2011 kctl = emu->ctl_attn = snd_ctl_new1(&snd_emu10k1_attn_control, emu); in snd_emu10k1_mixer()
2019 kctl = emu->ctl_efx_send_routing = snd_ctl_new1(&snd_emu10k1_efx_send_routing_control, emu); in snd_emu10k1_mixer()
2027 kctl = emu->ctl_efx_send_volume = snd_ctl_new1(&snd_emu10k1_efx_send_volume_control, emu); in snd_emu10k1_mixer()
2035 kctl = emu->ctl_efx_attn = snd_ctl_new1(&snd_emu10k1_efx_attn_control, emu); in snd_emu10k1_mixer()
2087 kctl = snd_ctl_new1(&snd_emu10k1_spdif_mask_control, emu); in snd_emu10k1_mixer()
2095 kctl = snd_ctl_new1(&snd_emu10k1_spdif_control, emu); in snd_emu10k1_mixer()
2108 kctl = snd_ctl_new1(&snd_audigy_shared_spdif, emu); in snd_emu10k1_mixer()
2115 kctl = snd_ctl_new1(&snd_audigy_spdif_output_rate, emu); in snd_emu10k1_mixer()
[all …]
/sound/pci/mixart/
Dmixart_mixer.c1117 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 …]
/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 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()
962 err = snd_ctl_add(card, snd_ctl_new1(&vx_control_clock_mode, chip)); in snd_vx_mixer_new()
966 err = snd_ctl_add(card, snd_ctl_new1(&vx_control_iec958_mask, chip)); in snd_vx_mixer_new()
969 err = snd_ctl_add(card, snd_ctl_new1(&vx_control_iec958, chip)); in snd_vx_mixer_new()
[all …]
/sound/aoa/codecs/
Dtas.c825 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()
/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 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()
/sound/mips/
Dsgio2audio.c303 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()
/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/ice1712/
Dice1712.c1405 err = snd_ctl_add(card, snd_ctl_new1(&snd_ice1712_multi_playback_ctrls[idx], ice)); in snd_ice1712_build_pro_mixer()
1413 err = snd_ctl_add(card, snd_ctl_new1(&tmp, ice)); in snd_ice1712_build_pro_mixer()
1418 err = snd_ctl_add(card, snd_ctl_new1(&snd_ice1712_multi_capture_spdif_switch, ice)); in snd_ice1712_build_pro_mixer()
1425 err = snd_ctl_add(card, snd_ctl_new1(&tmp, ice)); in snd_ice1712_build_pro_mixer()
1430 err = snd_ctl_add(card, snd_ctl_new1(&snd_ice1712_multi_capture_spdif_volume, ice)); in snd_ice1712_build_pro_mixer()
1483 snd_ctl_new1(&snd_ice1712_mixer_digmix_route_ac97, in snd_ice1712_ac97_mixer()
2374 err = snd_ctl_add(ice->card, kctl = snd_ctl_new1(&snd_ice1712_spdif_default, ice)); in snd_ice1712_spdif_build_controls()
2378 err = snd_ctl_add(ice->card, kctl = snd_ctl_new1(&snd_ice1712_spdif_maskc, ice)); in snd_ice1712_spdif_build_controls()
2382 err = snd_ctl_add(ice->card, kctl = snd_ctl_new1(&snd_ice1712_spdif_maskp, ice)); in snd_ice1712_spdif_build_controls()
2386 err = snd_ctl_add(ice->card, kctl = snd_ctl_new1(&snd_ice1712_spdif_stream, ice)); in snd_ice1712_spdif_build_controls()
[all …]
Ddelta.c778 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()
Dews.c985 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_ewx2496_controls[idx], ice)); in snd_ice1712_ews_add_controls()
994 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_ews88mt_input_sense, ice)); in snd_ice1712_ews_add_controls()
997 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_ews88mt_output_sense, ice)); in snd_ice1712_ews_add_controls()
1003 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_ews88d_controls[idx], ice)); in snd_ice1712_ews_add_controls()
1010 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_6fire_controls[idx], ice)); in snd_ice1712_ews_add_controls()
/sound/pci/echoaudio/
Dechoaudio.c2030 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()
2054 err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_intput_nominal_level, chip)); in __snd_echo_probe()
2061 err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_output_nominal_level, 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()
[all …]
/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.c1781 kctl = snd_ctl_new1(&snd_es18xx_base_controls[idx], chip); in snd_es18xx_mixer()
1800 err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_pcm2_controls[idx], chip)); in snd_es18xx_mixer()
1806 err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_pcm1_controls[idx], chip)); in snd_es18xx_mixer()
1814 err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_recmix_controls[idx], chip)); in snd_es18xx_mixer()
1821 err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_micpre1_control, chip)); in snd_es18xx_mixer()
1827 err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_micpre2_control, chip)); in snd_es18xx_mixer()
1834 err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_spatializer_controls[idx], chip)); in snd_es18xx_mixer()
1842 kctl = snd_ctl_new1(&snd_es18xx_hw_volume_controls[idx], chip); in snd_es18xx_mixer()
1857 err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_opt_speaker, in snd_es18xx_mixer()
1865 snd_ctl_new1(&snd_es18xx_opt_1869[idx], in snd_es18xx_mixer()
[all …]
/sound/pci/oxygen/
Doxygen.c617 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()
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 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()
/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.c725 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()
/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