Lines Matching refs:dwVal
327 unsigned int dwVal; in snd_ali_codec_poke() local
343 dwVal = (unsigned int) (reg & 0xff); in snd_ali_codec_poke()
344 dwVal |= 0x8000 | (val << 16); in snd_ali_codec_poke()
346 dwVal |= 0x0080; in snd_ali_codec_poke()
348 dwVal |= 0x0100; in snd_ali_codec_poke()
350 snd_ali_5451_poke(codec, port, dwVal); in snd_ali_codec_poke()
359 unsigned int dwVal; in snd_ali_codec_peek() local
375 dwVal = (unsigned int) (reg & 0xff); in snd_ali_codec_peek()
376 dwVal |= 0x8000; /* bit 15*/ in snd_ali_codec_peek()
378 dwVal |= 0x0080; in snd_ali_codec_peek()
380 snd_ali_5451_poke(codec, port, dwVal); in snd_ali_codec_peek()
424 unsigned int dwVal; in snd_ali_reset_5451() local
428 pci_read_config_dword(pci_dev, 0x7c, &dwVal); in snd_ali_reset_5451()
429 pci_write_config_dword(pci_dev, 0x7c, dwVal | 0x08000000); in snd_ali_reset_5451()
431 pci_read_config_dword(pci_dev, 0x7c, &dwVal); in snd_ali_reset_5451()
432 pci_write_config_dword(pci_dev, 0x7c, dwVal & 0xf7ffffff); in snd_ali_reset_5451()
437 pci_read_config_dword(pci_dev, 0x44, &dwVal); in snd_ali_reset_5451()
438 pci_write_config_dword(pci_dev, 0x44, dwVal | 0x000c0000); in snd_ali_reset_5451()
440 pci_read_config_dword(pci_dev, 0x44, &dwVal); in snd_ali_reset_5451()
441 pci_write_config_dword(pci_dev, 0x44, dwVal & 0xfffbffff); in snd_ali_reset_5451()
464 unsigned long dwVal; in snd_ali_enable_special_channel() local
466 dwVal = inl(ALI_REG(codec, ALI_GLOBAL_CONTROL)); in snd_ali_enable_special_channel()
467 dwVal |= 1 << (channel & 0x0000001f); in snd_ali_enable_special_channel()
468 outl(dwVal, ALI_REG(codec, ALI_GLOBAL_CONTROL)); in snd_ali_enable_special_channel()
474 unsigned long dwVal; in snd_ali_disable_special_channel() local
476 dwVal = inl(ALI_REG(codec, ALI_GLOBAL_CONTROL)); in snd_ali_disable_special_channel()
477 dwVal &= ~(1 << (channel & 0x0000001f)); in snd_ali_disable_special_channel()
478 outl(dwVal, ALI_REG(codec, ALI_GLOBAL_CONTROL)); in snd_ali_disable_special_channel()
713 unsigned int dwVal; in snd_ali_enable_spdif_in() local
715 dwVal = inl(ALI_REG(codec, ALI_GLOBAL_CONTROL)); in snd_ali_enable_spdif_in()
716 dwVal |= ALI_SPDIF_IN_SUPPORT; in snd_ali_enable_spdif_in()
717 outl(dwVal, ALI_REG(codec, ALI_GLOBAL_CONTROL)); in snd_ali_enable_spdif_in()
719 dwVal = inb(ALI_REG(codec, ALI_SPDIF_CTRL)); in snd_ali_enable_spdif_in()
720 dwVal |= 0x02; in snd_ali_enable_spdif_in()
721 outb(dwVal, ALI_REG(codec, ALI_SPDIF_CTRL)); in snd_ali_enable_spdif_in()
728 unsigned int dwVal; in snd_ali_disable_spdif_in() local
730 dwVal = inl(ALI_REG(codec, ALI_GLOBAL_CONTROL)); in snd_ali_disable_spdif_in()
731 dwVal &= ~ALI_SPDIF_IN_SUPPORT; in snd_ali_disable_spdif_in()
732 outl(dwVal, ALI_REG(codec, ALI_GLOBAL_CONTROL)); in snd_ali_disable_spdif_in()