Lines Matching refs:MXoptionReg
115 mx = hw->MXoptionReg | 0x00000004; in DAC1064_setmclk()
161 hw->MXoptionReg = mx; in DAC1064_setmclk()
566 hw->MXoptionReg &= ~0x2000; in MGAG100_init()
689 hw->MXoptionReg &= 0xC0000100; in MGA1064_preinit()
690 hw->MXoptionReg |= 0x00094E20; in MGA1064_preinit()
692 hw->MXoptionReg &= ~0x00000100; in MGA1064_preinit()
694 hw->MXoptionReg &= ~0x40000000; in MGA1064_preinit()
696 hw->MXoptionReg |= 0x20000000; in MGA1064_preinit()
697 pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, hw->MXoptionReg); in MGA1064_preinit()
720 pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, minfo->hw.MXoptionReg | 4); in g450_mclk_init()
722 pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, minfo->hw.MXoptionReg); in g450_mclk_init()
740 pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, minfo->hw.MXoptionReg | 4); in g450_mclk_init()
742 pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, minfo->hw.MXoptionReg); in g450_mclk_init()
749 minfo->hw.MXoptionReg &= ~0x001F8000; in g450_memory_init()
750 pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, minfo->hw.MXoptionReg); in g450_memory_init()
753 minfo->hw.MXoptionReg &= ~0x00207E00; in g450_memory_init()
754 minfo->hw.MXoptionReg |= 0x00207E00 & minfo->values.reg.opt; in g450_memory_init()
755 pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, minfo->hw.MXoptionReg); in g450_memory_init()
776 minfo->hw.MXoptionReg |= 0x001F8000 & minfo->values.reg.opt; in g450_memory_init()
777 pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, minfo->hw.MXoptionReg); in g450_memory_init()
796 minfo->hw.MXoptionReg &= 0xC0000100; in g450_preinit()
797 minfo->hw.MXoptionReg |= 0x00000020; in g450_preinit()
799 minfo->hw.MXoptionReg &= ~0x00000100; in g450_preinit()
801 minfo->hw.MXoptionReg &= ~0x40000000; in g450_preinit()
803 minfo->hw.MXoptionReg |= 0x20000000; in g450_preinit()
804 minfo->hw.MXoptionReg |= minfo->values.reg.opt & 0x03400040; in g450_preinit()
805 pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, minfo->hw.MXoptionReg); in g450_preinit()
893 hw->MXoptionReg &= 0xC0000100; in MGAG100_preinit()
894 hw->MXoptionReg |= 0x00000020; in MGAG100_preinit()
896 hw->MXoptionReg &= ~0x00000100; in MGAG100_preinit()
898 hw->MXoptionReg &= ~0x40000000; in MGAG100_preinit()
900 hw->MXoptionReg |= 0x20000000; in MGAG100_preinit()
901 pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, hw->MXoptionReg); in MGAG100_preinit()
909 hw->MXoptionReg |= 0x1080; in MGAG100_preinit()
910 pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, hw->MXoptionReg); in MGAG100_preinit()
932 hw->MXoptionReg &= ~0x1000; in MGAG100_preinit()
935 hw->MXoptionReg |= 0x00078020; in MGAG100_preinit()
942 hw->MXoptionReg |= minfo->values.reg.opt & 0x1C00; in MGAG100_preinit()
944 hw->MXoptionReg |= (minfo->devflags.memtype & 7) << 10; in MGAG100_preinit()
946 hw->MXoptionReg |= 0x4000; in MGAG100_preinit()
954 hw->MXoptionReg |= 0x00078020; in MGAG100_preinit()
962 hw->MXoptionReg |= minfo->values.reg.opt & 0x1C00; in MGAG100_preinit()
964 hw->MXoptionReg |= (minfo->devflags.memtype & 7) << 10; in MGAG100_preinit()
966 hw->MXoptionReg |= 0x4000; in MGAG100_preinit()
974 hw->MXoptionReg |= 0x00040020; in MGAG100_preinit()
976 pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, hw->MXoptionReg); in MGAG100_preinit()
1002 hw->MXoptionReg |= 0x40; /* FIXME... */ in MGAG100_reset()
1003 pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, hw->MXoptionReg); in MGAG100_reset()
1049 pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, hw->MXoptionReg); in MGA1064_restore()
1076 pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, hw->MXoptionReg); in MGAG100_restore()