Lines Matching refs:sw
2642 const struct snd_kcontrol_new *sw; in snd_cmipci_mixer_new() local
2670 sw = snd_cmipci_mixer_switches; in snd_cmipci_mixer_new()
2671 for (idx = 0; idx < ARRAY_SIZE(snd_cmipci_mixer_switches); idx++, sw++) { in snd_cmipci_mixer_new()
2672 err = snd_ctl_add(cm->card, snd_ctl_new1(sw, cm)); in snd_cmipci_mixer_new()
2683 sw = snd_cmipci_8738_mixer_switches; in snd_cmipci_mixer_new()
2684 for (idx = 0; idx < ARRAY_SIZE(snd_cmipci_8738_mixer_switches); idx++, sw++) { in snd_cmipci_mixer_new()
2685 err = snd_ctl_add(cm->card, snd_ctl_new1(sw, cm)); in snd_cmipci_mixer_new()
2707 sw = snd_cmipci_old_mixer_switches; in snd_cmipci_mixer_new()
2708 for (idx = 0; idx < ARRAY_SIZE(snd_cmipci_old_mixer_switches); idx++, sw++) { in snd_cmipci_mixer_new()
2709 err = snd_ctl_add(cm->card, snd_ctl_new1(sw, cm)); in snd_cmipci_mixer_new()
2716 sw = snd_cmipci_extra_mixer_switches; in snd_cmipci_mixer_new()
2717 for (idx = 0; idx < ARRAY_SIZE(snd_cmipci_extra_mixer_switches); idx++, sw++) { in snd_cmipci_mixer_new()
2718 err = snd_ctl_add(cm->card, snd_ctl_new1(sw, cm)); in snd_cmipci_mixer_new()