Home
last modified time | relevance | path

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

123456

/linux-3.4.99/sound/pci/mixart/
Dmixart_mixer.c1122 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) in snd_mixart_create_mixer()
1125 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&mixart_control_output_switch, chip))) < 0) in snd_mixart_create_mixer()
1133 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, 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()
1147 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) in snd_mixart_create_mixer()
1154 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) in snd_mixart_create_mixer()
1160 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) in snd_mixart_create_mixer()
1166 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(&temp, chip))) < 0) in snd_mixart_create_mixer()
1177 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&mixart_control_monitor_vol, chip))) < 0) in snd_mixart_create_mixer()
[all …]
/linux-3.4.99/sound/pci/emu10k1/
Demumixer.c1933 if ((kctl = emu->ctl_send_routing = snd_ctl_new1(&snd_emu10k1_send_routing_control, emu)) == NULL) in snd_emu10k1_mixer()
1938 if ((kctl = emu->ctl_send_volume = snd_ctl_new1(&snd_emu10k1_send_volume_control, emu)) == NULL) in snd_emu10k1_mixer()
1943 if ((kctl = emu->ctl_attn = snd_ctl_new1(&snd_emu10k1_attn_control, emu)) == NULL) in snd_emu10k1_mixer()
1949 …if ((kctl = emu->ctl_efx_send_routing = snd_ctl_new1(&snd_emu10k1_efx_send_routing_control, emu)) … in snd_emu10k1_mixer()
1955 …if ((kctl = emu->ctl_efx_send_volume = snd_ctl_new1(&snd_emu10k1_efx_send_volume_control, emu)) ==… in snd_emu10k1_mixer()
1961 if ((kctl = emu->ctl_efx_attn = snd_ctl_new1(&snd_emu10k1_efx_attn_control, emu)) == NULL) in snd_emu10k1_mixer()
2011 if ((kctl = snd_ctl_new1(&snd_emu10k1_spdif_mask_control, emu)) == NULL) in snd_emu10k1_mixer()
2017 if ((kctl = snd_ctl_new1(&snd_emu10k1_spdif_control, emu)) == NULL) in snd_emu10k1_mixer()
2028 if ((kctl = snd_ctl_new1(&snd_audigy_shared_spdif, emu)) == NULL) in snd_emu10k1_mixer()
2033 if ((kctl = snd_ctl_new1(&snd_audigy_spdif_output_rate, emu)) == NULL) in snd_emu10k1_mixer()
[all …]
/linux-3.4.99/sound/pci/pcxhr/
Dpcxhr_mixer.c1148 snd_ctl_new1(&temp, chip)); in pcxhr_create_mixer()
1154 snd_ctl_new1(&pcxhr_control_output_switch, in pcxhr_create_mixer()
1164 snd_ctl_new1(&temp, chip)); in pcxhr_create_mixer()
1169 snd_ctl_new1(&pcxhr_control_pcm_switch, chip)); in pcxhr_create_mixer()
1175 snd_ctl_new1(&pcxhr_control_playback_iec958_mask, in pcxhr_create_mixer()
1181 snd_ctl_new1(&pcxhr_control_playback_iec958, in pcxhr_create_mixer()
1197 snd_ctl_new1(&temp, chip)); in pcxhr_create_mixer()
1207 snd_ctl_new1(&temp, chip)); in pcxhr_create_mixer()
1213 snd_ctl_new1(&pcxhr_control_audio_src, chip)); in pcxhr_create_mixer()
1219 snd_ctl_new1(&pcxhr_control_capture_iec958_mask, in pcxhr_create_mixer()
[all …]
/linux-3.4.99/sound/drivers/vx/
Dvx_mixer.c949 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(&temp, chip))) < 0) in snd_vx_mixer_new()
970 if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) in snd_vx_mixer_new()
975 if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) in snd_vx_mixer_new()
983 if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) in snd_vx_mixer_new()
988 if ((err = snd_ctl_add(card, snd_ctl_new1(&vx_control_audio_src, chip))) < 0) in snd_vx_mixer_new()
991 if ((err = snd_ctl_add(card, snd_ctl_new1(&vx_control_clock_mode, chip))) < 0) in snd_vx_mixer_new()
994 if ((err = snd_ctl_add(card, snd_ctl_new1(&vx_control_iec958_mask, chip))) < 0) in snd_vx_mixer_new()
996 if ((err = snd_ctl_add(card, snd_ctl_new1(&vx_control_iec958, chip))) < 0) in snd_vx_mixer_new()
[all …]
/linux-3.4.99/sound/aoa/codecs/
Dtas.c833 err = aoa_snd_ctl_add(snd_ctl_new1(&volume_control, tas)); in tas_init_codec()
837 err = aoa_snd_ctl_add(snd_ctl_new1(&mute_control, tas)); in tas_init_codec()
841 err = aoa_snd_ctl_add(snd_ctl_new1(&pcm1_control, tas)); in tas_init_codec()
845 err = aoa_snd_ctl_add(snd_ctl_new1(&monitor_control, tas)); in tas_init_codec()
849 err = aoa_snd_ctl_add(snd_ctl_new1(&capture_source_control, tas)); in tas_init_codec()
853 err = aoa_snd_ctl_add(snd_ctl_new1(&drc_range_control, tas)); in tas_init_codec()
857 err = aoa_snd_ctl_add(snd_ctl_new1(&drc_switch_control, tas)); in tas_init_codec()
861 err = aoa_snd_ctl_add(snd_ctl_new1(&treble_control, tas)); in tas_init_codec()
865 err = aoa_snd_ctl_add(snd_ctl_new1(&bass_control, tas)); in tas_init_codec()
/linux-3.4.99/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-3.4.99/sound/aoa/fabrics/
Dlayout.c898 ctl = snd_ctl_new1(&master_ctl, codec->gpio); in layout_attached_codec()
906 ctl = snd_ctl_new1(&speakers_ctl, codec->gpio); in layout_attached_codec()
913 ctl = snd_ctl_new1(&headphone_ctl, codec->gpio); in layout_attached_codec()
923 ctl = snd_ctl_new1(&headphone_detect_choice, in layout_attached_codec()
926 ctl = snd_ctl_new1(&headphone_detected, in layout_attached_codec()
935 ctl = snd_ctl_new1(&lineout_ctl, codec->gpio); in layout_attached_codec()
948 ctl = snd_ctl_new1(&lineout_detect_choice, in layout_attached_codec()
955 ctl = snd_ctl_new1(&lineout_detected, in layout_attached_codec()
/linux-3.4.99/sound/pci/ice1712/
Ddelta.c737 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_delta1010_wordclock_select, ice)); in snd_ice1712_delta_add_controls()
740 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_delta1010_wordclock_status, ice)); in snd_ice1712_delta_add_controls()
745 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_deltadio2496_spdif_in_select, ice)); in snd_ice1712_delta_add_controls()
751 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_delta1010lt_wordclock_select, ice)); in snd_ice1712_delta_add_controls()
754 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_delta1010lt_wordclock_status, ice)); in snd_ice1712_delta_add_controls()
778 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_delta_spdif_in_status, ice)); in snd_ice1712_delta_add_controls()
Dice1712.c1469 err = snd_ctl_add(card, snd_ctl_new1(&snd_ice1712_multi_playback_ctrls[idx], ice)); in snd_ice1712_build_pro_mixer()
1477 err = snd_ctl_add(card, snd_ctl_new1(&tmp, ice)); in snd_ice1712_build_pro_mixer()
1482 err = snd_ctl_add(card, snd_ctl_new1(&snd_ice1712_multi_capture_spdif_switch, ice)); in snd_ice1712_build_pro_mixer()
1489 err = snd_ctl_add(card, snd_ctl_new1(&tmp, ice)); in snd_ice1712_build_pro_mixer()
1494 err = snd_ctl_add(card, snd_ctl_new1(&snd_ice1712_multi_capture_spdif_volume, ice)); in snd_ice1712_build_pro_mixer()
1545 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_mixer_digmix_route_ac97, ice)); in snd_ice1712_ac97_mixer()
2448 err = snd_ctl_add(ice->card, kctl = snd_ctl_new1(&snd_ice1712_spdif_default, ice)); in snd_ice1712_spdif_build_controls()
2452 err = snd_ctl_add(ice->card, kctl = snd_ctl_new1(&snd_ice1712_spdif_maskc, ice)); in snd_ice1712_spdif_build_controls()
2456 err = snd_ctl_add(ice->card, kctl = snd_ctl_new1(&snd_ice1712_spdif_maskp, ice)); in snd_ice1712_spdif_build_controls()
2460 err = snd_ctl_add(ice->card, kctl = snd_ctl_new1(&snd_ice1712_spdif_stream, ice)); in snd_ice1712_spdif_build_controls()
[all …]
/linux-3.4.99/sound/mips/
Dsgio2audio.c325 snd_ctl_new1(&sgio2audio_ctrl_pcm0, chip)); in snd_sgio2audio_new_mixer()
330 snd_ctl_new1(&sgio2audio_ctrl_pcm1, chip)); in snd_sgio2audio_new_mixer()
335 snd_ctl_new1(&sgio2audio_ctrl_reclevel, chip)); in snd_sgio2audio_new_mixer()
340 snd_ctl_new1(&sgio2audio_ctrl_recsource, chip)); in snd_sgio2audio_new_mixer()
344 snd_ctl_new1(&sgio2audio_ctrl_line, chip)); in snd_sgio2audio_new_mixer()
349 snd_ctl_new1(&sgio2audio_ctrl_cd, chip)); in snd_sgio2audio_new_mixer()
354 snd_ctl_new1(&sgio2audio_ctrl_mic, chip)); in snd_sgio2audio_new_mixer()
/linux-3.4.99/sound/ppc/
Dburgundy.c684 snd_ctl_new1(&snd_pmac_burgundy_mixers[i], chip)); in snd_pmac_burgundy_init()
691 snd_ctl_new1(imac ? &snd_pmac_burgundy_mixers_imac[i] in snd_pmac_burgundy_init()
696 chip->master_sw_ctl = snd_ctl_new1(imac in snd_pmac_burgundy_init()
702 chip->master_sw_ctl = snd_ctl_new1(imac in snd_pmac_burgundy_init()
709 chip->master_sw_ctl = snd_ctl_new1( in snd_pmac_burgundy_init()
715 chip->speaker_sw_ctl = snd_ctl_new1(imac in snd_pmac_burgundy_init()
Dawacs.c721 err = snd_ctl_add(chip->card, snd_ctl_new1(&mixers[i], chip)); in build_mixers()
1000 (master_vol = snd_ctl_new1(snd_pmac_awacs_mixers_pmac5500, in snd_pmac_awacs_init()
1008 (master_vol = snd_ctl_new1(snd_pmac_screamer_mixers_lo, in snd_pmac_awacs_init()
1025 chip->master_sw_ctl = snd_ctl_new1((pm7500 || imac || g4agp || lombard) in snd_pmac_awacs_init()
1046 chip->master_sw_ctl = snd_ctl_new1(&snd_pmac_awacs_amp_hp_sw, in snd_pmac_awacs_init()
1051 chip->speaker_sw_ctl = snd_ctl_new1(&snd_pmac_awacs_amp_spk_sw, in snd_pmac_awacs_init()
1061 (speaker_vol = snd_ctl_new1(snd_pmac_awacs_speaker_vol, in snd_pmac_awacs_init()
1065 chip->speaker_sw_ctl = snd_ctl_new1(imac1 in snd_pmac_awacs_init()
/linux-3.4.99/sound/pci/echoaudio/
Dechoaudio.c2102 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_vmixer, chip))) < 0) in snd_echo_probe()
2106 snd_ctl_new1(&snd_echo_line_output_gain, chip)); in snd_echo_probe()
2112 snd_ctl_new1(&snd_echo_pcm_output_gain, chip)); in snd_echo_probe()
2118 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_line_input_gain, chip))) < 0) in snd_echo_probe()
2124 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_intput_nominal_level, chip))) < 0) in snd_echo_probe()
2129 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_output_nominal_level, chip))) < 0) in snd_echo_probe()
2133 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_vumeters_switch, chip))) < 0) in snd_echo_probe()
2136 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_vumeters, chip))) < 0) in snd_echo_probe()
2141 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_monitor_mixer, chip))) < 0) in snd_echo_probe()
2146 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_automute_switch, chip))) < 0) in snd_echo_probe()
[all …]
/linux-3.4.99/sound/core/
Dctljack.c38 kctl = snd_ctl_new1(&jack_detect_kctl, private_data); in snd_kctl_jack_new()
/linux-3.4.99/sound/i2c/other/
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()
Dak4xxx-adda.c656 err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak)); in build_dac_controls()
734 err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak)); in build_dac_controls()
784 err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak)); in build_adc_controls()
803 err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak)); in build_adc_controls()
823 err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak)); in build_adc_controls()
871 err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak)); in build_deemphasis()
/linux-3.4.99/sound/isa/gus/
Dgus_mixer.c183 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_gf1_controls[idx], gus))) < 0) in snd_gf1_new_mixer()
188 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_ics_controls[idx], gus))) < 0) in snd_gf1_new_mixer()
/linux-3.4.99/sound/pci/hda/
Dhda_generic.c701 snd_ctl_new1(&knew, codec)); in create_mixer()
712 snd_ctl_new1(&knew, codec)); in create_mixer()
727 snd_ctl_new1(&knew, codec)); in create_mixer()
736 snd_ctl_new1(&knew, codec)); in create_mixer()
836 snd_ctl_new1(&cap_sel, codec)); in build_input_controls()
855 snd_ctl_new1(&knew, codec)); in build_input_controls()
Dpatch_ca0132.c284 return snd_hda_ctl_add(codec, nid, snd_ctl_new1(&knew, codec)); in _add_switch()
299 return snd_hda_ctl_add(codec, nid, snd_ctl_new1(&knew, codec)); in _add_volume()
861 return snd_hda_ctl_add(codec, nid, snd_ctl_new1(&knew, codec)); in add_hp_switch()
871 return snd_hda_ctl_add(codec, nid, snd_ctl_new1(&knew, codec)); in add_hp_volume()
881 return snd_hda_ctl_add(codec, nid, snd_ctl_new1(&knew, codec)); in add_speaker_switch()
/linux-3.4.99/sound/pci/oxygen/
Doxygen.c629 return snd_ctl_add(chip->card, snd_ctl_new1(&rolloff_control, chip)); in generic_mixer_init()
639 err = snd_ctl_add(chip->card, snd_ctl_new1(&hpf_control, chip)); in generic_wm8785_mixer_init()
653 snd_ctl_new1(&meridian_dig_source_control, chip)); in meridian_mixer_init()
667 snd_ctl_new1(&claro_dig_source_control, chip)); in claro_mixer_init()
681 snd_ctl_new1(&claro_dig_source_control, chip)); in claro_halo_mixer_init()
/linux-3.4.99/sound/usb/
Dmixer_quirks.c263 snd_ctl_new1(&snd_audigy2nx_controls[i], mixer)); in snd_audigy2nx_controls_create()
372 snd_ctl_new1(&snd_xonar_u1_output_switch, mixer)); in snd_xonar_u1_controls_create()
516 c = snd_ctl_new1(&template, mixer); in snd_nativeinstruments_create_mixer()
552 kctl = snd_ctl_new1(snd_usb_feature_unit_ctl, cval); in snd_maudio_ftu_create_ctl()
/linux-3.4.99/sound/isa/
Des18xx.c1852 kctl = snd_ctl_new1(&snd_es18xx_base_controls[idx], chip); in snd_es18xx_mixer()
1870 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_pcm2_controls[idx], chip))) < 0) in snd_es18xx_mixer()
1875 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_pcm1_controls[idx], chip))) < 0) in snd_es18xx_mixer()
1882 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_recmix_controls[idx], chip))) < 0) in snd_es18xx_mixer()
1888 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_micpre1_control, chip))) < 0) in snd_es18xx_mixer()
1893 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_micpre2_control, chip))) < 0) in snd_es18xx_mixer()
1899 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_spatializer_controls[idx], chip))) < 0) in snd_es18xx_mixer()
1906 kctl = snd_ctl_new1(&snd_es18xx_hw_volume_controls[idx], chip); in snd_es18xx_mixer()
1920 err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_opt_speaker, in snd_es18xx_mixer()
1928 snd_ctl_new1(&snd_es18xx_opt_1869[idx], in snd_es18xx_mixer()
[all …]
/linux-3.4.99/sound/isa/opti9xx/
Dmiro.c737 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_controls[idx], miro))) < 0) in snd_miro_mixer()
744 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_line_control[0], miro))) < 0) in snd_miro_mixer()
746 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_amp_control[0], miro))) < 0) in snd_miro_mixer()
753 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_preamp_control[0], miro))) < 0) in snd_miro_mixer()
756 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_capture_control[0], miro))) < 0) in snd_miro_mixer()
762 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_radio_control[0], miro))) < 0) in snd_miro_mixer()
765 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_eq_controls[idx], miro))) < 0) in snd_miro_mixer()
/linux-3.4.99/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-3.4.99/drivers/staging/line6/
Dtoneport.c360 snd_ctl_new1(&toneport_control_monitor, in toneport_try_init()
373 snd_ctl_new1(&toneport_control_source, in toneport_try_init()

123456