Searched refs:spdif_enable (Results 1 – 5 of 5) sorted by relevance
1753 unsigned int spdif_enable; in snd_ali5451_spdif_get() local1755 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() local1783 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 …]
81 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()
700 int spdif_enable; member
1492 chip->spdif_enable = 0; /* Set digital SPDIF output off */ in ca0106_init_chip()
2436 DEFINE_BIT_SWITCH_ARG(spdif_enable, CM_REG_LEGACY_CTRL, CM_ENSPDOUT, 0, 0);