Home
last modified time | relevance | path

Searched refs:spdif_enable (Results 1 – 5 of 5) sorted by relevance

/linux-2.6.39/sound/pci/ali5451/
Dali5451.c1753 unsigned int spdif_enable; in snd_ali5451_spdif_get() local
1755 spdif_enable = ucontrol->value.integer.value[0] ? 1 : 0; in snd_ali5451_spdif_get()
1760 spdif_enable = (codec->spdif_mask & 0x02) ? 1 : 0; in snd_ali5451_spdif_get()
1763 spdif_enable = ((codec->spdif_mask & 0x02) && in snd_ali5451_spdif_get()
1767 spdif_enable = (codec->spdif_mask & 0x01) ? 1 : 0; in snd_ali5451_spdif_get()
1772 ucontrol->value.integer.value[0] = spdif_enable; in snd_ali5451_spdif_get()
1781 unsigned int change = 0, spdif_enable = 0; in snd_ali5451_spdif_put() local
1783 spdif_enable = ucontrol->value.integer.value[0] ? 1 : 0; in snd_ali5451_spdif_put()
1789 change = change ^ spdif_enable; in snd_ali5451_spdif_put()
1791 if (spdif_enable) { in snd_ali5451_spdif_put()
[all …]
/linux-2.6.39/sound/pci/ca0106/
Dca0106_mixer.c81 if (emu->spdif_enable) { in ca0106_spdif_enable()
165 ucontrol->value.integer.value[0] = emu->spdif_enable; in snd_ca0106_shared_spdif_get()
177 change = (emu->spdif_enable != val); in snd_ca0106_shared_spdif_put()
179 emu->spdif_enable = val; in snd_ca0106_shared_spdif_put()
Dca0106.h700 int spdif_enable; member
Dca0106_main.c1492 chip->spdif_enable = 0; /* Set digital SPDIF output off */ in ca0106_init_chip()
/linux-2.6.39/sound/pci/
Dcmipci.c2436 DEFINE_BIT_SWITCH_ARG(spdif_enable, CM_REG_LEGACY_CTRL, CM_ENSPDOUT, 0, 0);