Home
last modified time | relevance | path

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

123456

/linux-2.6.39/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-2.6.39/sound/pci/emu10k1/
Demumixer.c1927 if ((kctl = emu->ctl_send_routing = snd_ctl_new1(&snd_emu10k1_send_routing_control, emu)) == NULL) in snd_emu10k1_mixer()
1932 if ((kctl = emu->ctl_send_volume = snd_ctl_new1(&snd_emu10k1_send_volume_control, emu)) == NULL) in snd_emu10k1_mixer()
1937 if ((kctl = emu->ctl_attn = snd_ctl_new1(&snd_emu10k1_attn_control, emu)) == NULL) in snd_emu10k1_mixer()
1943 …if ((kctl = emu->ctl_efx_send_routing = snd_ctl_new1(&snd_emu10k1_efx_send_routing_control, emu)) … in snd_emu10k1_mixer()
1949 …if ((kctl = emu->ctl_efx_send_volume = snd_ctl_new1(&snd_emu10k1_efx_send_volume_control, emu)) ==… in snd_emu10k1_mixer()
1955 if ((kctl = emu->ctl_efx_attn = snd_ctl_new1(&snd_emu10k1_efx_attn_control, emu)) == NULL) in snd_emu10k1_mixer()
2005 if ((kctl = snd_ctl_new1(&snd_emu10k1_spdif_mask_control, emu)) == NULL) in snd_emu10k1_mixer()
2011 if ((kctl = snd_ctl_new1(&snd_emu10k1_spdif_control, emu)) == NULL) in snd_emu10k1_mixer()
2022 if ((kctl = snd_ctl_new1(&snd_audigy_shared_spdif, emu)) == NULL) in snd_emu10k1_mixer()
2027 if ((kctl = snd_ctl_new1(&snd_audigy_spdif_output_rate, emu)) == NULL) in snd_emu10k1_mixer()
[all …]
/linux-2.6.39/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-2.6.39/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-2.6.39/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-2.6.39/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-2.6.39/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-2.6.39/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.c1464 err = snd_ctl_add(card, snd_ctl_new1(&snd_ice1712_multi_playback_ctrls[idx], ice)); in snd_ice1712_build_pro_mixer()
1472 err = snd_ctl_add(card, snd_ctl_new1(&tmp, ice)); in snd_ice1712_build_pro_mixer()
1477 err = snd_ctl_add(card, snd_ctl_new1(&snd_ice1712_multi_capture_spdif_switch, ice)); in snd_ice1712_build_pro_mixer()
1484 err = snd_ctl_add(card, snd_ctl_new1(&tmp, ice)); in snd_ice1712_build_pro_mixer()
1489 err = snd_ctl_add(card, snd_ctl_new1(&snd_ice1712_multi_capture_spdif_volume, ice)); in snd_ice1712_build_pro_mixer()
1540 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_mixer_digmix_route_ac97, ice)); in snd_ice1712_ac97_mixer()
2443 err = snd_ctl_add(ice->card, kctl = snd_ctl_new1(&snd_ice1712_spdif_default, ice)); in snd_ice1712_spdif_build_controls()
2447 err = snd_ctl_add(ice->card, kctl = snd_ctl_new1(&snd_ice1712_spdif_maskc, ice)); in snd_ice1712_spdif_build_controls()
2451 err = snd_ctl_add(ice->card, kctl = snd_ctl_new1(&snd_ice1712_spdif_maskp, ice)); in snd_ice1712_spdif_build_controls()
2455 err = snd_ctl_add(ice->card, kctl = snd_ctl_new1(&snd_ice1712_spdif_stream, ice)); in snd_ice1712_spdif_build_controls()
[all …]
Dews.c997 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_ewx2496_controls[idx], ice)); in snd_ice1712_ews_add_controls()
1006 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_ews88mt_input_sense, ice)); in snd_ice1712_ews_add_controls()
1009 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_ews88mt_output_sense, ice)); in snd_ice1712_ews_add_controls()
1015 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_ews88d_controls[idx], ice)); in snd_ice1712_ews_add_controls()
1022 err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_6fire_controls[idx], ice)); in snd_ice1712_ews_add_controls()
/linux-2.6.39/sound/mips/
Dsgio2audio.c324 snd_ctl_new1(&sgio2audio_ctrl_pcm0, chip)); in snd_sgio2audio_new_mixer()
329 snd_ctl_new1(&sgio2audio_ctrl_pcm1, chip)); in snd_sgio2audio_new_mixer()
334 snd_ctl_new1(&sgio2audio_ctrl_reclevel, chip)); in snd_sgio2audio_new_mixer()
339 snd_ctl_new1(&sgio2audio_ctrl_recsource, chip)); in snd_sgio2audio_new_mixer()
343 snd_ctl_new1(&sgio2audio_ctrl_line, chip)); in snd_sgio2audio_new_mixer()
348 snd_ctl_new1(&sgio2audio_ctrl_cd, chip)); in snd_sgio2audio_new_mixer()
353 snd_ctl_new1(&sgio2audio_ctrl_mic, chip)); in snd_sgio2audio_new_mixer()
/linux-2.6.39/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-2.6.39/sound/pci/echoaudio/
Dechoaudio.c2100 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_vmixer, chip))) < 0) in snd_echo_probe()
2104 snd_ctl_new1(&snd_echo_line_output_gain, chip)); in snd_echo_probe()
2110 snd_ctl_new1(&snd_echo_pcm_output_gain, chip)); in snd_echo_probe()
2116 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_line_input_gain, chip))) < 0) in snd_echo_probe()
2122 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_intput_nominal_level, chip))) < 0) in snd_echo_probe()
2127 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_output_nominal_level, chip))) < 0) in snd_echo_probe()
2131 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_vumeters_switch, chip))) < 0) in snd_echo_probe()
2134 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_vumeters, chip))) < 0) in snd_echo_probe()
2139 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_monitor_mixer, chip))) < 0) in snd_echo_probe()
2144 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_automute_switch, chip))) < 0) in snd_echo_probe()
[all …]
/linux-2.6.39/sound/i2c/other/
Dpt2258.c206 err = snd_ctl_add(pt->card, snd_ctl_new1(&knew, pt)); in snd_pt2258_build_controls()
218 err = snd_ctl_add(pt->card, snd_ctl_new1(&knew, pt)); in snd_pt2258_build_controls()
Dak4xxx-adda.c655 err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak)); in build_dac_controls()
733 err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak)); in build_dac_controls()
783 err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak)); in build_adc_controls()
802 err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak)); in build_adc_controls()
822 err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak)); in build_adc_controls()
870 err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak)); in build_deemphasis()
/linux-2.6.39/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-2.6.39/sound/pci/hda/
Dhda_generic.c700 snd_ctl_new1(&knew, codec)); in create_mixer()
711 snd_ctl_new1(&knew, codec)); in create_mixer()
726 snd_ctl_new1(&knew, codec)); in create_mixer()
735 snd_ctl_new1(&knew, codec)); in create_mixer()
835 snd_ctl_new1(&cap_sel, codec)); in build_input_controls()
854 snd_ctl_new1(&knew, codec)); in build_input_controls()
/linux-2.6.39/sound/pci/oxygen/
Doxygen.c628 return snd_ctl_add(chip->card, snd_ctl_new1(&rolloff_control, chip)); in generic_mixer_init()
638 err = snd_ctl_add(chip->card, snd_ctl_new1(&hpf_control, chip)); in generic_wm8785_mixer_init()
652 snd_ctl_new1(&meridian_dig_source_control, chip)); in meridian_mixer_init()
666 snd_ctl_new1(&claro_dig_source_control, chip)); in claro_mixer_init()
680 snd_ctl_new1(&claro_dig_source_control, chip)); in claro_halo_mixer_init()
/linux-2.6.39/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-2.6.39/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-2.6.39/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-2.6.39/sound/usb/
Dmixer_quirks.c243 snd_ctl_new1(&snd_audigy2nx_controls[i], mixer)); in snd_audigy2nx_controls_create()
342 snd_ctl_new1(&snd_xonar_u1_output_switch, mixer)); in snd_xonar_u1_controls_create()
474 c = snd_ctl_new1(&template, mixer); in snd_nativeinstruments_create_mixer()
/linux-2.6.39/drivers/staging/line6/
Dtoneport.c362 snd_ctl_new1(&toneport_control_monitor, in toneport_try_init()
373 snd_ctl_new1(&toneport_control_source, in toneport_try_init()
/linux-2.6.39/drivers/media/video/cx88/
Dcx88-alsa.c907 err = snd_ctl_add(card, snd_ctl_new1(&snd_cx88_volume, chip)); in cx88_audio_initdev()
910 err = snd_ctl_add(card, snd_ctl_new1(&snd_cx88_dac_switch, chip)); in cx88_audio_initdev()
913 err = snd_ctl_add(card, snd_ctl_new1(&snd_cx88_source_switch, chip)); in cx88_audio_initdev()
919 snd_ctl_add(card, snd_ctl_new1(&snd_cx88_alc_switch, chip)); in cx88_audio_initdev()

123456