Home
last modified time | relevance | path

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

/linux-6.1.9/sound/pci/ali5451/
Dali5451.c1694 unsigned int spdif_enable; in snd_ali5451_spdif_get() local
1696 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() local
1724 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 …]
/linux-6.1.9/sound/pci/ca0106/
Dca0106_mixer.c67 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()
Dca0106.h684 int spdif_enable; member
Dca0106_main.c1442 chip->spdif_enable = 0; /* Set digital SPDIF output off */ in ca0106_init_chip()
/linux-6.1.9/sound/pci/
Dcmipci.c2415 DEFINE_BIT_SWITCH_ARG(spdif_enable, CM_REG_LEGACY_CTRL, CM_ENSPDOUT, 0, 0);