• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/sound/pci/ali5451/

Lines Matching refs:dwVal

348 	unsigned int dwVal;
363 dwVal = (unsigned int) (reg & 0xff);
364 dwVal |= 0x8000 | (val << 16);
366 dwVal |= 0x0080;
368 dwVal |= 0x0100;
370 snd_ali_5451_poke(codec, port, dwVal);
379 unsigned int dwVal;
394 dwVal = (unsigned int) (reg & 0xff);
395 dwVal |= 0x8000; /* bit 15*/
397 dwVal |= 0x0080;
399 snd_ali_5451_poke(codec, port, dwVal);
443 unsigned int dwVal;
447 pci_read_config_dword(pci_dev, 0x7c, &dwVal);
448 pci_write_config_dword(pci_dev, 0x7c, dwVal | 0x08000000);
450 pci_read_config_dword(pci_dev, 0x7c, &dwVal);
451 pci_write_config_dword(pci_dev, 0x7c, dwVal & 0xf7ffffff);
456 pci_read_config_dword(pci_dev, 0x44, &dwVal);
457 pci_write_config_dword(pci_dev, 0x44, dwVal | 0x000c0000);
459 pci_read_config_dword(pci_dev, 0x44, &dwVal);
460 pci_write_config_dword(pci_dev, 0x44, dwVal & 0xfffbffff);
482 unsigned int dwVal;
487 pci_read_config_dword(pci_dev, 0x7c, &dwVal);
488 pci_write_config_dword(pci_dev, 0x7c, dwVal | 0x08000000);
490 pci_read_config_dword(pci_dev, 0x7c, &dwVal);
491 pci_write_config_dword(pci_dev, 0x7c, dwVal & 0xf7ffffff);
522 unsigned long dwVal;
524 dwVal = inl(ALI_REG(codec, ALI_GLOBAL_CONTROL));
525 dwVal |= 1 << (channel & 0x0000001f);
526 outl(dwVal, ALI_REG(codec, ALI_GLOBAL_CONTROL));
532 unsigned long dwVal;
534 dwVal = inl(ALI_REG(codec, ALI_GLOBAL_CONTROL));
535 dwVal &= ~(1 << (channel & 0x0000001f));
536 outl(dwVal, ALI_REG(codec, ALI_GLOBAL_CONTROL));
772 unsigned int dwVal;
774 dwVal = inl(ALI_REG(codec, ALI_GLOBAL_CONTROL));
775 dwVal |= ALI_SPDIF_IN_SUPPORT;
776 outl(dwVal, ALI_REG(codec, ALI_GLOBAL_CONTROL));
778 dwVal = inb(ALI_REG(codec, ALI_SPDIF_CTRL));
779 dwVal |= 0x02;
780 outb(dwVal, ALI_REG(codec, ALI_SPDIF_CTRL));
787 unsigned int dwVal;
789 dwVal = inl(ALI_REG(codec, ALI_GLOBAL_CONTROL));
790 dwVal &= ~ALI_SPDIF_IN_SUPPORT;
791 outl(dwVal, ALI_REG(codec, ALI_GLOBAL_CONTROL));