Lines Matching refs:values
721 pci_write_config_dword(minfo->pcidev, PCI_OPTION3_REG, minfo->values.reg.opt3 & ~0x00300C03); in g450_mclk_init()
724 if (((minfo->values.reg.opt3 & 0x000003) == 0x000003) || in g450_mclk_init()
725 ((minfo->values.reg.opt3 & 0x000C00) == 0x000C00) || in g450_mclk_init()
726 ((minfo->values.reg.opt3 & 0x300000) == 0x300000)) { in g450_mclk_init()
727 matroxfb_g450_setclk(minfo, minfo->values.pll.video, M_VIDEO_PLL); in g450_mclk_init()
737 matroxfb_g450_setclk(minfo, minfo->values.pll.system, M_SYSTEM_PLL); in g450_mclk_init()
741 pci_write_config_dword(minfo->pcidev, PCI_OPTION3_REG, minfo->values.reg.opt3); in g450_mclk_init()
754 minfo->hw.MXoptionReg |= 0x00207E00 & minfo->values.reg.opt; in g450_memory_init()
756 pci_write_config_dword(minfo->pcidev, PCI_OPTION2_REG, minfo->values.reg.opt2); in g450_memory_init()
758 mga_outl(M_CTLWTST, minfo->values.reg.mctlwtst); in g450_memory_init()
761 pci_write_config_dword(minfo->pcidev, PCI_MEMMISC_REG, minfo->values.reg.memmisc & ~0x80000000U); in g450_memory_init()
762 mga_outl(M_MEMRDBK, minfo->values.reg.memrdbk); in g450_memory_init()
763 mga_outl(M_MACCESS, minfo->values.reg.maccess); in g450_memory_init()
765 pci_write_config_dword(minfo->pcidev, PCI_MEMMISC_REG, minfo->values.reg.memmisc | 0x80000000U); in g450_memory_init()
769 if (minfo->values.memory.ddr && (!minfo->values.memory.emrswen || !minfo->values.memory.dll)) { in g450_memory_init()
770 mga_outl(M_MEMRDBK, minfo->values.reg.memrdbk & ~0x1000); in g450_memory_init()
772 mga_outl(M_MACCESS, minfo->values.reg.maccess | 0x8000); in g450_memory_init()
776 minfo->hw.MXoptionReg |= 0x001F8000 & minfo->values.reg.opt; in g450_memory_init()
783 if (minfo->values.reg.mctlwtst != minfo->values.reg.mctlwtst_core) { in g450_memory_init()
784 mga_outl(M_CTLWTST, minfo->values.reg.mctlwtst_core); in g450_memory_init()
804 minfo->hw.MXoptionReg |= minfo->values.reg.opt & 0x03400040; in g450_preinit()
911 mga_outl(M_CTLWTST, minfo->values.reg.mctlwtst); in MGAG100_preinit()
942 hw->MXoptionReg |= minfo->values.reg.opt & 0x1C00; in MGAG100_preinit()
947 mga_outl(M_CTLWTST, minfo->values.reg.mctlwtst); in MGAG100_preinit()
948 mga_outl(M_MEMRDBK, minfo->values.reg.memrdbk); in MGAG100_preinit()
953 mga_outw(M_MEMRDBK, minfo->values.reg.memrdbk); in MGAG100_preinit()
962 hw->MXoptionReg |= minfo->values.reg.opt & 0x1C00; in MGAG100_preinit()
967 mga_outl(M_CTLWTST, minfo->values.reg.mctlwtst); in MGAG100_preinit()
968 mga_outl(M_MEMRDBK, minfo->values.reg.memrdbk); in MGAG100_preinit()
973 mga_outl(M_MEMRDBK, minfo->values.reg.memrdbk); in MGAG100_preinit()