Home
last modified time | relevance | path

Searched refs:sw (Results 1 – 7 of 7) sorted by relevance

/sound/pci/ice1712/
Dquartet.c752 QTET_CONTROL("Analog In 1/2 to Monitor 1/2", sw, IN12_MON12),
753 QTET_CONTROL("Analog In 1/2 to Monitor 3/4", sw, IN12_MON34),
754 QTET_CONTROL("Analog In 3/4 to Monitor 1/2", sw, IN34_MON12),
755 QTET_CONTROL("Analog In 3/4 to Monitor 3/4", sw, IN34_MON34),
756 QTET_CONTROL("Output 1/2 to Monitor 3/4", sw, OUT12_MON34),
757 QTET_CONTROL("Output 3/4 to Monitor 1/2", sw, OUT34_MON12),
/sound/pci/
Dcmipci.c2642 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()
[all …]
Dazt3328.c1174 const struct snd_kcontrol_new *sw; in snd_azf3328_mixer_new() local
1194 sw = snd_azf3328_mixer_controls; in snd_azf3328_mixer_new()
1196 ++idx, ++sw) { in snd_azf3328_mixer_new()
1197 err = snd_ctl_add(chip->card, snd_ctl_new1(sw, chip)); in snd_azf3328_mixer_new()
/sound/pci/emu10k1/
Demumixer.c1650 unsigned int reg, val, sw; in snd_emu10k1_shared_spdif_put() local
1653 sw = ucontrol->value.integer.value[0]; in snd_emu10k1_shared_spdif_put()
1655 sw = !sw; in snd_emu10k1_shared_spdif_put()
1661 val = sw ? A_IOCFG_GPOUT0 : 0; in snd_emu10k1_shared_spdif_put()
1670 val = sw ? HCFG_GPOUT0 : 0; in snd_emu10k1_shared_spdif_put()
Demufx.c1470 #define _A_SWITCH(icode, ptr, dst, src, sw) \ in _snd_emu10k1_audigy_init_efx() argument
1471 A_OP((icode), ptr, iMACINT0, dst, A_C_00000000, src, sw); in _snd_emu10k1_audigy_init_efx()
1472 #define A_SWITCH(icode, ptr, dst, src, sw) \ in _snd_emu10k1_audigy_init_efx() argument
1473 _A_SWITCH(icode, ptr, A_GPR(dst), A_GPR(src), A_GPR(sw)) in _snd_emu10k1_audigy_init_efx()
1747 #define _SWITCH(icode, ptr, dst, src, sw) \ argument
1748 OP((icode), ptr, iMACINT0, dst, C_00000000, src, sw);
1749 #define SWITCH(icode, ptr, dst, src, sw) \ argument
1750 _SWITCH(icode, ptr, GPR(dst), GPR(src), GPR(sw))
1751 #define SWITCH_IN(icode, ptr, dst, src, sw) \ argument
1752 _SWITCH(icode, ptr, GPR(dst), EXTIN(src), GPR(sw))
/sound/ppc/
Dtumbler.c954 struct snd_kcontrol *sw) in check_mute() argument
960 &sw->id); in check_mute()
/sound/pci/hda/
Dhda_generic.c3787 int vol, sw; in create_capture_mixers() local
3789 vol = sw = 0; in create_capture_mixers()
3804 if (!sw) in create_capture_mixers()
3805 sw = path->ctls[NID_PATH_MUTE_CTL]; in create_capture_mixers()
3806 else if (sw != path->ctls[NID_PATH_MUTE_CTL]) { in create_capture_mixers()
3808 if (!same_amp_caps(codec, sw, in create_capture_mixers()
3817 err = create_single_cap_vol_ctl(codec, n, vol, sw, in create_capture_mixers()
3820 err = create_bind_cap_vol_ctl(codec, n, vol, sw); in create_capture_mixers()