Home
last modified time | relevance | path

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

/Linux-v5.15/sound/pci/ali5451/
Dali5451.c739 unsigned char bVal; in snd_ali_set_spdif_out_rate() local
748 bVal = inb(ALI_REG(codec, ALI_SPDIF_CTRL)); in snd_ali_set_spdif_out_rate()
749 bVal &= (unsigned char)(~(1<<6)); in snd_ali_set_spdif_out_rate()
751 bVal |= 0x80; /* select right */ in snd_ali_set_spdif_out_rate()
752 outb(bVal, ALI_REG(codec, ALI_SPDIF_CTRL)); in snd_ali_set_spdif_out_rate()
755 bVal &= ~0x80; /* select left */ in snd_ali_set_spdif_out_rate()
756 outb(bVal, ALI_REG(codec, ALI_SPDIF_CTRL)); in snd_ali_set_spdif_out_rate()
763 unsigned char bVal; in snd_ali_enable_spdif_out() local
769 pci_read_config_byte(pci_dev, 0x61, &bVal); in snd_ali_enable_spdif_out()
770 bVal |= 0x40; in snd_ali_enable_spdif_out()
[all …]