Lines Matching refs:dwVal
341 unsigned int dwVal; in snd_ali_codec_poke() local
357 dwVal = (unsigned int) (reg & 0xff); in snd_ali_codec_poke()
358 dwVal |= 0x8000 | (val << 16); in snd_ali_codec_poke()
360 dwVal |= 0x0080; in snd_ali_codec_poke()
362 dwVal |= 0x0100; in snd_ali_codec_poke()
364 snd_ali_5451_poke(codec, port, dwVal); in snd_ali_codec_poke()
373 unsigned int dwVal; in snd_ali_codec_peek() local
389 dwVal = (unsigned int) (reg & 0xff); in snd_ali_codec_peek()
390 dwVal |= 0x8000; /* bit 15*/ in snd_ali_codec_peek()
392 dwVal |= 0x0080; in snd_ali_codec_peek()
394 snd_ali_5451_poke(codec, port, dwVal); in snd_ali_codec_peek()
438 unsigned int dwVal; in snd_ali_reset_5451() local
442 pci_read_config_dword(pci_dev, 0x7c, &dwVal); in snd_ali_reset_5451()
443 pci_write_config_dword(pci_dev, 0x7c, dwVal | 0x08000000); in snd_ali_reset_5451()
445 pci_read_config_dword(pci_dev, 0x7c, &dwVal); in snd_ali_reset_5451()
446 pci_write_config_dword(pci_dev, 0x7c, dwVal & 0xf7ffffff); in snd_ali_reset_5451()
451 pci_read_config_dword(pci_dev, 0x44, &dwVal); in snd_ali_reset_5451()
452 pci_write_config_dword(pci_dev, 0x44, dwVal | 0x000c0000); in snd_ali_reset_5451()
454 pci_read_config_dword(pci_dev, 0x44, &dwVal); in snd_ali_reset_5451()
455 pci_write_config_dword(pci_dev, 0x44, dwVal & 0xfffbffff); in snd_ali_reset_5451()
478 unsigned long dwVal; in snd_ali_enable_special_channel() local
480 dwVal = inl(ALI_REG(codec, ALI_GLOBAL_CONTROL)); in snd_ali_enable_special_channel()
481 dwVal |= 1 << (channel & 0x0000001f); in snd_ali_enable_special_channel()
482 outl(dwVal, ALI_REG(codec, ALI_GLOBAL_CONTROL)); in snd_ali_enable_special_channel()
488 unsigned long dwVal; in snd_ali_disable_special_channel() local
490 dwVal = inl(ALI_REG(codec, ALI_GLOBAL_CONTROL)); in snd_ali_disable_special_channel()
491 dwVal &= ~(1 << (channel & 0x0000001f)); in snd_ali_disable_special_channel()
492 outl(dwVal, ALI_REG(codec, ALI_GLOBAL_CONTROL)); in snd_ali_disable_special_channel()
727 unsigned int dwVal; in snd_ali_enable_spdif_in() local
729 dwVal = inl(ALI_REG(codec, ALI_GLOBAL_CONTROL)); in snd_ali_enable_spdif_in()
730 dwVal |= ALI_SPDIF_IN_SUPPORT; in snd_ali_enable_spdif_in()
731 outl(dwVal, ALI_REG(codec, ALI_GLOBAL_CONTROL)); in snd_ali_enable_spdif_in()
733 dwVal = inb(ALI_REG(codec, ALI_SPDIF_CTRL)); in snd_ali_enable_spdif_in()
734 dwVal |= 0x02; in snd_ali_enable_spdif_in()
735 outb(dwVal, ALI_REG(codec, ALI_SPDIF_CTRL)); in snd_ali_enable_spdif_in()
742 unsigned int dwVal; in snd_ali_disable_spdif_in() local
744 dwVal = inl(ALI_REG(codec, ALI_GLOBAL_CONTROL)); in snd_ali_disable_spdif_in()
745 dwVal &= ~ALI_SPDIF_IN_SUPPORT; in snd_ali_disable_spdif_in()
746 outl(dwVal, ALI_REG(codec, ALI_GLOBAL_CONTROL)); in snd_ali_disable_spdif_in()