Searched refs:spdif_enable (Results 1 – 5 of 5) sorted by relevance
1694 unsigned int spdif_enable; in snd_ali5451_spdif_get() local1696 spdif_enable = ucontrol->value.integer.value[0] ? 1 : 0; in snd_ali5451_spdif_get()1701 spdif_enable = (codec->spdif_mask & 0x02) ? 1 : 0; in snd_ali5451_spdif_get()1704 spdif_enable = ((codec->spdif_mask & 0x02) && in snd_ali5451_spdif_get()1708 spdif_enable = (codec->spdif_mask & 0x01) ? 1 : 0; in snd_ali5451_spdif_get()1713 ucontrol->value.integer.value[0] = spdif_enable; in snd_ali5451_spdif_get()1722 unsigned int change = 0, spdif_enable = 0; in snd_ali5451_spdif_put() local1724 spdif_enable = ucontrol->value.integer.value[0] ? 1 : 0; in snd_ali5451_spdif_put()1730 change = change ^ spdif_enable; in snd_ali5451_spdif_put()1732 if (spdif_enable) { in snd_ali5451_spdif_put()[all …]
67 if (emu->spdif_enable) { in ca0106_spdif_enable()151 ucontrol->value.integer.value[0] = emu->spdif_enable; in snd_ca0106_shared_spdif_get()163 change = (emu->spdif_enable != val); in snd_ca0106_shared_spdif_put()165 emu->spdif_enable = val; in snd_ca0106_shared_spdif_put()
684 int spdif_enable; member
1442 chip->spdif_enable = 0; /* Set digital SPDIF output off */ in ca0106_init_chip()
2415 DEFINE_BIT_SWITCH_ARG(spdif_enable, CM_REG_LEGACY_CTRL, CM_ENSPDOUT, 0, 0);