Lines Matching refs:OUTREG

551 	OUTREG( MC_IND_INDEX, indx | MC_IND_INDEX__MC_IND_WR_EN);	  in OUTMC()
552 OUTREG( MC_IND_DATA, value); in OUTMC()
557 OUTREG( MC_IND_INDEX, indx); in INMC()
702 OUTREG(SURFACE_CNTL, rinfo->save_regs[29]); in radeon_pm_restore_regs()
703 OUTREG(MC_FB_LOCATION, rinfo->save_regs[30]); in radeon_pm_restore_regs()
704 OUTREG(DISPLAY_BASE_ADDR, rinfo->save_regs[31]); in radeon_pm_restore_regs()
705 OUTREG(MC_AGP_LOCATION, rinfo->save_regs[32]); in radeon_pm_restore_regs()
706 OUTREG(CRTC2_DISPLAY_BASE_ADDR, rinfo->save_regs[33]); in radeon_pm_restore_regs()
707 OUTREG(CNFG_MEMSIZE, rinfo->video_ram); in radeon_pm_restore_regs()
709 OUTREG(DISP_MISC_CNTL, rinfo->save_regs[9]); in radeon_pm_restore_regs()
710 OUTREG(DISP_PWR_MAN, rinfo->save_regs[10]); in radeon_pm_restore_regs()
711 OUTREG(LVDS_GEN_CNTL, rinfo->save_regs[11]); in radeon_pm_restore_regs()
712 OUTREG(LVDS_PLL_CNTL,rinfo->save_regs[12]); in radeon_pm_restore_regs()
713 OUTREG(TV_DAC_CNTL, rinfo->save_regs[13]); in radeon_pm_restore_regs()
714 OUTREG(BUS_CNTL1, rinfo->save_regs[14]); in radeon_pm_restore_regs()
715 OUTREG(CRTC_OFFSET_CNTL, rinfo->save_regs[15]); in radeon_pm_restore_regs()
716 OUTREG(AGP_CNTL, rinfo->save_regs[16]); in radeon_pm_restore_regs()
717 OUTREG(CRTC_GEN_CNTL, rinfo->save_regs[17]); in radeon_pm_restore_regs()
718 OUTREG(CRTC2_GEN_CNTL, rinfo->save_regs[18]); in radeon_pm_restore_regs()
721 OUTREG(GPIOPAD_A, rinfo->save_regs[19]); in radeon_pm_restore_regs()
722 OUTREG(GPIOPAD_EN, rinfo->save_regs[20]); in radeon_pm_restore_regs()
723 OUTREG(GPIOPAD_MASK, rinfo->save_regs[21]); in radeon_pm_restore_regs()
724 OUTREG(ZV_LCDPAD_A, rinfo->save_regs[22]); in radeon_pm_restore_regs()
725 OUTREG(ZV_LCDPAD_EN, rinfo->save_regs[23]); in radeon_pm_restore_regs()
726 OUTREG(ZV_LCDPAD_MASK, rinfo->save_regs[24]); in radeon_pm_restore_regs()
727 OUTREG(GPIO_VGA_DDC, rinfo->save_regs[25]); in radeon_pm_restore_regs()
728 OUTREG(GPIO_DVI_DDC, rinfo->save_regs[26]); in radeon_pm_restore_regs()
729 OUTREG(GPIO_MONID, rinfo->save_regs[27]); in radeon_pm_restore_regs()
730 OUTREG(GPIO_CRT2_DDC, rinfo->save_regs[28]); in radeon_pm_restore_regs()
735 OUTREG(GPIOPAD_MASK, 0x0001ffff); in radeon_pm_disable_iopad()
736 OUTREG(GPIOPAD_EN, 0x00000400); in radeon_pm_disable_iopad()
737 OUTREG(GPIOPAD_A, 0x00000000); in radeon_pm_disable_iopad()
738 OUTREG(ZV_LCDPAD_MASK, 0x00000000); in radeon_pm_disable_iopad()
739 OUTREG(ZV_LCDPAD_EN, 0x00000000); in radeon_pm_disable_iopad()
740 OUTREG(ZV_LCDPAD_A, 0x00000000); in radeon_pm_disable_iopad()
741 OUTREG(GPIO_VGA_DDC, 0x00030000); in radeon_pm_disable_iopad()
742 OUTREG(GPIO_DVI_DDC, 0x00000000); in radeon_pm_disable_iopad()
743 OUTREG(GPIO_MONID, 0x00030000); in radeon_pm_disable_iopad()
744 OUTREG(GPIO_CRT2_DDC, 0x00000000); in radeon_pm_disable_iopad()
788 OUTREG(BUS_CNTL1, reg); in radeon_pm_low_current()
802 OUTREG(TV_DAC_CNTL, reg); in radeon_pm_low_current()
806 OUTREG(TMDS_TRANSMITTER_CNTL, reg); in radeon_pm_low_current()
810 OUTREG(DAC_CNTL, reg); in radeon_pm_low_current()
814 OUTREG(DAC_CNTL2, reg); in radeon_pm_low_current()
818 OUTREG(TV_DAC_CNTL, reg); in radeon_pm_low_current()
910 OUTREG(LVDS_GEN_CNTL, INREG(LVDS_GEN_CNTL) & in radeon_pm_setup_for_suspend()
963 OUTREG(BUS_CNTL1, INREG(BUS_CNTL1) | BUS_CNTL1__AGPCLK_VALID); in radeon_pm_setup_for_suspend()
964 OUTREG(BUS_CNTL1, in radeon_pm_setup_for_suspend()
968 OUTREG(BUS_CNTL1, INREG(BUS_CNTL1)); in radeon_pm_setup_for_suspend()
969 OUTREG(BUS_CNTL1, (INREG(BUS_CNTL1) & ~0x4000) | 0x8000); in radeon_pm_setup_for_suspend()
974 OUTREG(CRTC_OFFSET_CNTL, (INREG(CRTC_OFFSET_CNTL) in radeon_pm_setup_for_suspend()
982 OUTREG(AGP_CNTL, in radeon_pm_setup_for_suspend()
1007 OUTREG(DISP_MISC_CNTL, disp_mis_cntl); in radeon_pm_setup_for_suspend()
1029 OUTREG(DISP_PWR_MAN, disp_pwr_man); in radeon_pm_setup_for_suspend()
1047 OUTREG(DISP_PWR_MAN, disp_pwr_man); in radeon_pm_setup_for_suspend()
1050 OUTREG( CRTC_GEN_CNTL, (INREG( CRTC_GEN_CNTL) & ~CRTC_GEN_CNTL__CRTC_EN) in radeon_pm_setup_for_suspend()
1052 OUTREG( CRTC2_GEN_CNTL, (INREG( CRTC2_GEN_CNTL) & ~CRTC2_GEN_CNTL__CRTC2_EN) in radeon_pm_setup_for_suspend()
1109 OUTREG( MEM_SDRAM_MODE_REG, mem_sdram_mode); in radeon_pm_program_mode_reg()
1114 OUTREG( MEM_SDRAM_MODE_REG, mem_sdram_mode); in radeon_pm_program_mode_reg()
1119 OUTREG( MEM_SDRAM_MODE_REG, mem_sdram_mode); in radeon_pm_program_mode_reg()
1260 OUTREG( CRTC_MORE_CNTL, 0); in radeon_pm_full_reset_sdram()
1261 OUTREG( FP_GEN_CNTL, 0); in radeon_pm_full_reset_sdram()
1262 OUTREG( FP2_GEN_CNTL,0); in radeon_pm_full_reset_sdram()
1264 OUTREG( CRTC_GEN_CNTL, (crtcGenCntl | CRTC_GEN_CNTL__CRTC_DISP_REQ_EN_B) ); in radeon_pm_full_reset_sdram()
1265 OUTREG( CRTC2_GEN_CNTL, (crtcGenCntl2 | CRTC2_GEN_CNTL__CRTC2_DISP_REQ_EN_B) ); in radeon_pm_full_reset_sdram()
1287 OUTREG( MEM_REFRESH_CNTL, memRefreshCntl in radeon_pm_full_reset_sdram()
1308 OUTREG(MEM_SDRAM_MODE_REG, sdram_mode_reg); in radeon_pm_full_reset_sdram()
1318 OUTREG(MEM_SDRAM_MODE_REG, sdram_mode_reg); in radeon_pm_full_reset_sdram()
1324 OUTREG(MEM_REFRESH_CNTL, memRefreshCntl); in radeon_pm_full_reset_sdram()
1333 OUTREG(MEM_REFRESH_CNTL, memRefreshCntl in radeon_pm_full_reset_sdram()
1338 OUTREG(MEM_SDRAM_MODE_REG, in radeon_pm_full_reset_sdram()
1345 OUTREG(MEM_SDRAM_MODE_REG, in radeon_pm_full_reset_sdram()
1348 OUTREG( MEM_REFRESH_CNTL, memRefreshCntl); in radeon_pm_full_reset_sdram()
1355 OUTREG( EXT_MEM_CNTL, memRefreshCntl | (1 << 20)); in radeon_pm_full_reset_sdram()
1358 OUTREG( MEM_SDRAM_MODE_REG, in radeon_pm_full_reset_sdram()
1376 OUTREG( MEM_SDRAM_MODE_REG, in radeon_pm_full_reset_sdram()
1379 OUTREG(EXT_MEM_CNTL, memRefreshCntl); in radeon_pm_full_reset_sdram()
1387 OUTREG( MEM_REFRESH_CNTL, memRefreshCntl in radeon_pm_full_reset_sdram()
1391 OUTREG( MEM_SDRAM_MODE_REG, in radeon_pm_full_reset_sdram()
1417 OUTREG( MEM_SDRAM_MODE_REG, in radeon_pm_full_reset_sdram()
1420 OUTREG( MEM_REFRESH_CNTL, memRefreshCntl); in radeon_pm_full_reset_sdram()
1423 OUTREG( CRTC_GEN_CNTL, crtcGenCntl); in radeon_pm_full_reset_sdram()
1424 OUTREG( CRTC2_GEN_CNTL, crtcGenCntl2); in radeon_pm_full_reset_sdram()
1425 OUTREG( FP_GEN_CNTL, fp_gen_cntl); in radeon_pm_full_reset_sdram()
1426 OUTREG( FP2_GEN_CNTL, fp2_gen_cntl); in radeon_pm_full_reset_sdram()
1428 OUTREG( CRTC_MORE_CNTL, crtc_more_cntl); in radeon_pm_full_reset_sdram()
1441 OUTREG(PAD_CTLR_STRENGTH, INREG(PAD_CTLR_STRENGTH) & ~PAD_MANUAL_OVERRIDE); in radeon_pm_reset_pad_ctlr_strength()
1562 OUTREG(VGA_DDA_ON_OFF, r2ec); in radeon_pm_m10_disable_spread_spectrum()
1576 OUTREG(VGA_DDA_ON_OFF, r2ec); in radeon_pm_m10_disable_spread_spectrum()
1589 OUTREG(VGA_DDA_ON_OFF, r2ec); in radeon_pm_m10_enable_lvds_spread_spectrum()
1608 OUTREG(VGA_DDA_ON_OFF, r2ec); in radeon_pm_m10_enable_lvds_spread_spectrum()
1613 OUTREG(LVDS_GEN_CNTL, tmp | LVDS_EN); in radeon_pm_m10_enable_lvds_spread_spectrum()
1619 OUTREG(LVDS_PLL_CNTL, tmp); in radeon_pm_m10_enable_lvds_spread_spectrum()
1691 OUTREG(MC_CNTL, rinfo->save_regs[46]); in radeon_pm_m10_reconfigure_mc()
1692 OUTREG(MC_INIT_GFX_LAT_TIMER, rinfo->save_regs[47]); in radeon_pm_m10_reconfigure_mc()
1693 OUTREG(MC_INIT_MISC_LAT_TIMER, rinfo->save_regs[48]); in radeon_pm_m10_reconfigure_mc()
1694 OUTREG(MEM_SDRAM_MODE_REG, in radeon_pm_m10_reconfigure_mc()
1696 OUTREG(MC_TIMING_CNTL, rinfo->save_regs[49]); in radeon_pm_m10_reconfigure_mc()
1697 OUTREG(MEM_REFRESH_CNTL, rinfo->save_regs[42]); in radeon_pm_m10_reconfigure_mc()
1698 OUTREG(MC_READ_CNTL_AB, rinfo->save_regs[50]); in radeon_pm_m10_reconfigure_mc()
1699 OUTREG(MC_CHIP_IO_OE_CNTL_AB, rinfo->save_regs[52]); in radeon_pm_m10_reconfigure_mc()
1700 OUTREG(MC_IOPAD_CNTL, rinfo->save_regs[51]); in radeon_pm_m10_reconfigure_mc()
1701 OUTREG(MC_DEBUG, rinfo->save_regs[53]); in radeon_pm_m10_reconfigure_mc()
1719 OUTREG(MC_IND_INDEX, 0); in radeon_pm_m10_reconfigure_mc()
1727 OUTREG(MC_AGP_LOCATION, rinfo->save_regs[32]); in radeon_reinitialize_M10()
1728 OUTREG(DISPLAY_BASE_ADDR, rinfo->save_regs[31]); in radeon_reinitialize_M10()
1729 OUTREG(CRTC2_DISPLAY_BASE_ADDR, rinfo->save_regs[33]); in radeon_reinitialize_M10()
1730 OUTREG(MC_FB_LOCATION, rinfo->save_regs[30]); in radeon_reinitialize_M10()
1731 OUTREG(OV0_BASE_ADDR, rinfo->save_regs[80]); in radeon_reinitialize_M10()
1732 OUTREG(CNFG_MEMSIZE, rinfo->video_ram); in radeon_reinitialize_M10()
1733 OUTREG(BUS_CNTL, rinfo->save_regs[36]); in radeon_reinitialize_M10()
1734 OUTREG(BUS_CNTL1, rinfo->save_regs[14]); in radeon_reinitialize_M10()
1735 OUTREG(MPP_TB_CONFIG, rinfo->save_regs[37]); in radeon_reinitialize_M10()
1736 OUTREG(FCP_CNTL, rinfo->save_regs[38]); in radeon_reinitialize_M10()
1737 OUTREG(RBBM_CNTL, rinfo->save_regs[39]); in radeon_reinitialize_M10()
1738 OUTREG(DAC_CNTL, rinfo->save_regs[40]); in radeon_reinitialize_M10()
1739 OUTREG(DAC_MACRO_CNTL, (INREG(DAC_MACRO_CNTL) & ~0x6) | 8); in radeon_reinitialize_M10()
1740 OUTREG(DAC_MACRO_CNTL, (INREG(DAC_MACRO_CNTL) & ~0x6) | 8); in radeon_reinitialize_M10()
1743 OUTREG(DAC_CNTL2, INREG(DAC_CNTL2) | DAC2_EXPAND_MODE); in radeon_reinitialize_M10()
1756 OUTREG(SURFACE_CNTL, 0); in radeon_reinitialize_M10()
1763 OUTREG(TV_DAC_CNTL, tmp); in radeon_reinitialize_M10()
1767 OUTREG(TV_DAC_CNTL, tmp); in radeon_reinitialize_M10()
1770 OUTREG(AGP_CNTL, rinfo->save_regs[16]); in radeon_reinitialize_M10()
1771 OUTREG(HOST_PATH_CNTL, rinfo->save_regs[41]); in radeon_reinitialize_M10()
1772 OUTREG(DISP_MISC_CNTL, rinfo->save_regs[9]); in radeon_reinitialize_M10()
1780 OUTREG(PAD_CTLR_MISC, rinfo->save_regs[56]); in radeon_reinitialize_M10()
1781 OUTREG(FW_CNTL, rinfo->save_regs[57]); in radeon_reinitialize_M10()
1782 OUTREG(HDP_DEBUG, rinfo->save_regs[96]); in radeon_reinitialize_M10()
1783 OUTREG(PAMAC0_DLY_CNTL, rinfo->save_regs[54]); in radeon_reinitialize_M10()
1784 OUTREG(PAMAC1_DLY_CNTL, rinfo->save_regs[55]); in radeon_reinitialize_M10()
1785 OUTREG(PAMAC2_DLY_CNTL, rinfo->save_regs[79]); in radeon_reinitialize_M10()
1791 OUTREG(CRTC_GEN_CNTL, INREG(CRTC_GEN_CNTL) in radeon_reinitialize_M10()
1793 OUTREG(CRTC2_GEN_CNTL, INREG(CRTC2_GEN_CNTL) in radeon_reinitialize_M10()
1798 OUTREG(MEM_REFRESH_CNTL, INREG(MEM_REFRESH_CNTL) in radeon_reinitialize_M10()
1897 OUTREG(DAC_CNTL2, INREG(DAC_CNTL2) | 0x20); in radeon_reinitialize_M10()
1899 OUTREG(PALETTE_30_DATA, 0x15555555); in radeon_reinitialize_M10()
1900 OUTREG(DAC_CNTL2, INREG(DAC_CNTL2) & ~20); in radeon_reinitialize_M10()
1903 OUTREG(PALETTE_30_DATA, 0x15555555); in radeon_reinitialize_M10()
1905 OUTREG(DAC_CNTL2, INREG(DAC_CNTL2) & ~0x20); in radeon_reinitialize_M10()
1909 OUTREG(FP_GEN_CNTL, rinfo->save_regs[82]); in radeon_reinitialize_M10()
1910 OUTREG(FP2_GEN_CNTL, rinfo->save_regs[83]); in radeon_reinitialize_M10()
1913 OUTREG(LVDS_GEN_CNTL, rinfo->save_regs[11] & in radeon_reinitialize_M10()
1915 OUTREG(LVDS_PLL_CNTL, (rinfo->save_regs[12] & ~0xf0000) | 0x20000); in radeon_reinitialize_M10()
1917 OUTREG(DISP_OUTPUT_CNTL, rinfo->save_regs[86]); in radeon_reinitialize_M10()
1920 OUTREG(GPIOPAD_A, rinfo->save_regs[19]); in radeon_reinitialize_M10()
1921 OUTREG(GPIOPAD_EN, rinfo->save_regs[20]); in radeon_reinitialize_M10()
1922 OUTREG(GPIOPAD_MASK, rinfo->save_regs[21]); in radeon_reinitialize_M10()
1929 OUTREG(LVDS_GEN_CNTL, INREG(LVDS_GEN_CNTL) | LVDS_DIGON | LVDS_ON); in radeon_reinitialize_M10()
1933 OUTREG(GRPH_BUFFER_CNTL, rinfo->save_regs[94]); in radeon_reinitialize_M10()
1934 OUTREG(GRPH2_BUFFER_CNTL, rinfo->save_regs[95]); in radeon_reinitialize_M10()
1952 OUTREG(MC_CNTL, rinfo->save_regs[46]); in radeon_pm_m9p_reconfigure_mc()
1953 OUTREG(MC_INIT_GFX_LAT_TIMER, rinfo->save_regs[47]); in radeon_pm_m9p_reconfigure_mc()
1954 OUTREG(MC_INIT_MISC_LAT_TIMER, rinfo->save_regs[48]); in radeon_pm_m9p_reconfigure_mc()
1955 OUTREG(MEM_SDRAM_MODE_REG, in radeon_pm_m9p_reconfigure_mc()
1957 OUTREG(MC_TIMING_CNTL, rinfo->save_regs[49]); in radeon_pm_m9p_reconfigure_mc()
1958 OUTREG(MC_READ_CNTL_AB, rinfo->save_regs[50]); in radeon_pm_m9p_reconfigure_mc()
1959 OUTREG(MEM_REFRESH_CNTL, rinfo->save_regs[42]); in radeon_pm_m9p_reconfigure_mc()
1960 OUTREG(MC_IOPAD_CNTL, rinfo->save_regs[51]); in radeon_pm_m9p_reconfigure_mc()
1961 OUTREG(MC_DEBUG, rinfo->save_regs[53]); in radeon_pm_m9p_reconfigure_mc()
1962 OUTREG(MC_CHIP_IO_OE_CNTL_AB, rinfo->save_regs[52]); in radeon_pm_m9p_reconfigure_mc()
1970 OUTREG(MC_IND_INDEX, 0); in radeon_pm_m9p_reconfigure_mc()
1971 OUTREG(CNFG_MEMSIZE, rinfo->video_ram); in radeon_pm_m9p_reconfigure_mc()
1981 OUTREG(SURFACE_CNTL, rinfo->save_regs[29]); in radeon_reinitialize_M9P()
1982 OUTREG(MC_AGP_LOCATION, rinfo->save_regs[32]); in radeon_reinitialize_M9P()
1983 OUTREG(DISPLAY_BASE_ADDR, rinfo->save_regs[31]); in radeon_reinitialize_M9P()
1984 OUTREG(CRTC2_DISPLAY_BASE_ADDR, rinfo->save_regs[33]); in radeon_reinitialize_M9P()
1985 OUTREG(MC_FB_LOCATION, rinfo->save_regs[30]); in radeon_reinitialize_M9P()
1986 OUTREG(OV0_BASE_ADDR, rinfo->save_regs[80]); in radeon_reinitialize_M9P()
1987 OUTREG(BUS_CNTL, rinfo->save_regs[36]); in radeon_reinitialize_M9P()
1988 OUTREG(BUS_CNTL1, rinfo->save_regs[14]); in radeon_reinitialize_M9P()
1989 OUTREG(MPP_TB_CONFIG, rinfo->save_regs[37]); in radeon_reinitialize_M9P()
1990 OUTREG(FCP_CNTL, rinfo->save_regs[38]); in radeon_reinitialize_M9P()
1991 OUTREG(RBBM_CNTL, rinfo->save_regs[39]); in radeon_reinitialize_M9P()
1993 OUTREG(DAC_CNTL, rinfo->save_regs[40]); in radeon_reinitialize_M9P()
1994 OUTREG(DAC_CNTL2, INREG(DAC_CNTL2) | DAC2_EXPAND_MODE); in radeon_reinitialize_M9P()
2007 OUTREG(SURFACE_CNTL, 0); in radeon_reinitialize_M9P()
2014 OUTREG(TV_DAC_CNTL, tmp); in radeon_reinitialize_M9P()
2018 OUTREG(TV_DAC_CNTL, tmp); in radeon_reinitialize_M9P()
2022 OUTREG(PAMAC0_DLY_CNTL, rinfo->save_regs[54]); in radeon_reinitialize_M9P()
2023 OUTREG(PAMAC1_DLY_CNTL, rinfo->save_regs[55]); in radeon_reinitialize_M9P()
2024 OUTREG(PAMAC2_DLY_CNTL, rinfo->save_regs[79]); in radeon_reinitialize_M9P()
2026 OUTREG(AGP_CNTL, rinfo->save_regs[16]); in radeon_reinitialize_M9P()
2027 OUTREG(HOST_PATH_CNTL, rinfo->save_regs[41]); /* MacOS sets that to 0 !!! */ in radeon_reinitialize_M9P()
2028 OUTREG(DISP_MISC_CNTL, rinfo->save_regs[9]); in radeon_reinitialize_M9P()
2035 OUTREG(FW_CNTL, rinfo->save_regs[57]); in radeon_reinitialize_M9P()
2038 OUTREG(MEM_REFRESH_CNTL, INREG(MEM_REFRESH_CNTL) in radeon_reinitialize_M9P()
2113 OUTREG(CRTC_GEN_CNTL, 0x04000000); in radeon_reinitialize_M9P()
2114 OUTREG(CRTC2_GEN_CNTL, 0x04000000); in radeon_reinitialize_M9P()
2115 OUTREG(FP_GEN_CNTL, 0x00004008); in radeon_reinitialize_M9P()
2116 OUTREG(FP2_GEN_CNTL, 0x00000008); in radeon_reinitialize_M9P()
2117 OUTREG(LVDS_GEN_CNTL, 0x08000008); in radeon_reinitialize_M9P()
2129 OUTREG(DAC_CNTL2, INREG(DAC_CNTL2) | 0x20); in radeon_reinitialize_M9P()
2131 OUTREG(PALETTE_30_DATA, 0x15555555); in radeon_reinitialize_M9P()
2132 OUTREG(DAC_CNTL2, INREG(DAC_CNTL2) & ~20); in radeon_reinitialize_M9P()
2135 OUTREG(PALETTE_30_DATA, 0x15555555); in radeon_reinitialize_M9P()
2137 OUTREG(DAC_CNTL2, INREG(DAC_CNTL2) & ~0x20); in radeon_reinitialize_M9P()
2141 OUTREG(TV_MASTER_CNTL, rinfo->save_regs[88]); in radeon_reinitialize_M9P()
2142 OUTREG(TV_DAC_CNTL, rinfo->save_regs[13] | 0x07000000); in radeon_reinitialize_M9P()
2149 OUTREG(GPIOPAD_A, rinfo->save_regs[19]); in radeon_reinitialize_M9P()
2150 OUTREG(GPIOPAD_EN, rinfo->save_regs[20]); in radeon_reinitialize_M9P()
2151 OUTREG(GPIOPAD_MASK, rinfo->save_regs[21]); in radeon_reinitialize_M9P()
2166 OUTREG(LVDS_GEN_CNTL, rinfo->save_regs[11] & in radeon_reinitialize_M9P()
2168 OUTREG(LVDS_GEN_CNTL, INREG(LVDS_GEN_CNTL) | LVDS_BLON); in radeon_reinitialize_M9P()
2169 OUTREG(LVDS_PLL_CNTL, (rinfo->save_regs[12] & ~0xf0000) | 0x20000); in radeon_reinitialize_M9P()
2176 OUTREG(0x2ec, 0x6332a020); in radeon_reinitialize_M9P()
2191 OUTREG(0x2ec, 0x6332a3f0); in radeon_reinitialize_M9P()
2198 OUTREG(LVDS_GEN_CNTL, INREG(LVDS_GEN_CNTL) | LVDS_DIGON | LVDS_ON); in radeon_reinitialize_M9P()
2202 OUTREG(GRPH_BUFFER_CNTL, rinfo->save_regs[94]); in radeon_reinitialize_M9P()
2203 OUTREG(GRPH2_BUFFER_CNTL, rinfo->save_regs[95]); in radeon_reinitialize_M9P()
2220 OUTREG(MC_AGP_LOCATION, rinfo->save_regs[32]);
2221 OUTREG(DISPLAY_BASE_ADDR, rinfo->save_regs[31]);
2222 OUTREG(CRTC2_DISPLAY_BASE_ADDR, rinfo->save_regs[33]);
2223 OUTREG(MC_FB_LOCATION, rinfo->save_regs[30]);
2224 OUTREG(BUS_CNTL, rinfo->save_regs[36]);
2225 OUTREG(RBBM_CNTL, rinfo->save_regs[39]);
2228 OUTREG(PAD_CTLR_STRENGTH, INREG(PAD_CTLR_STRENGTH) & ~0x10000);
2234 OUTREG(DISP_TEST_DEBUG_CNTL, INREG(DISP_TEST_DEBUG_CNTL) | 0x10000000);
2235 OUTREG(OV0_FLAG_CNTRL, INREG(OV0_FLAG_CNTRL) | 0x100);
2236 OUTREG(CRTC_GEN_CNTL, INREG(CRTC_GEN_CNTL));
2237 OUTREG(DAC_CNTL, 0xff00410a);
2238 OUTREG(CRTC2_GEN_CNTL, INREG(CRTC2_GEN_CNTL));
2239 OUTREG(DAC_CNTL2, INREG(DAC_CNTL2) | 0x4000);
2241 OUTREG(SURFACE_CNTL, rinfo->save_regs[29]);
2242 OUTREG(AGP_CNTL, rinfo->save_regs[16]);
2243 OUTREG(HOST_PATH_CNTL, rinfo->save_regs[41]);
2244 OUTREG(DISP_MISC_CNTL, rinfo->save_regs[9]);
2247 OUTREG(MC_IND_INDEX, 0);
2249 OUTREG(MC_IND_INDEX, 0);
2251 OUTREG(CRTC_MORE_CNTL, INREG(CRTC_MORE_CNTL));
2345 OUTREG(MC_IND_INDEX, 0);
2347 OUTREG(MC_IND_INDEX, 0);
2350 OUTREG(MC_IND_INDEX, 0);
2352 OUTREG(MC_IND_INDEX, 0);
2358 OUTREG(MEM_CNTL, 0x29002901);
2359 OUTREG(MEM_SDRAM_MODE_REG, 0x45320032); /* XXX use save_regs[35]? */
2360 OUTREG(EXT_MEM_CNTL, 0x1a394333);
2361 OUTREG(MEM_IO_CNTL_A1, 0x0aac0aac);
2362 OUTREG(MEM_INIT_LATENCY_TIMER, 0x34444444);
2363 OUTREG(MEM_REFRESH_CNTL, 0x1f1f7218); /* XXX or save_regs[42]? */
2364 OUTREG(MC_DEBUG, 0);
2365 OUTREG(MEM_IO_OE_CNTL, 0x04300430);
2368 OUTREG(MC_IND_INDEX, 0);
2370 OUTREG(MC_IND_INDEX, 0);
2372 OUTREG(CNFG_MEMSIZE, rinfo->video_ram);
2377 OUTREG(TMDS_CNTL, 0x01000000); /* XXX ? */
2380 OUTREG(FP_GEN_CNTL, tmp);
2384 OUTREG(DISP_OUTPUT_CNTL, tmp);
2397 OUTREG(CRTC_MORE_CNTL, 0);
2400 OUTREG(CRTC_PITCH, 32);
2413 OUTREG(FP_GEN_CNTL, tmp);
2415 OUTREG(FP_GEN_CNTL, tmp);
2417 OUTREG(TMDS_TRANSMITTER_CNTL, tmp2);
2418 OUTREG(CRTC_MORE_CNTL, 0);
2422 OUTREG(CRTC_MORE_CNTL, tmp);
2428 OUTREG(CRTC_H_SYNC_STRT_WID, 0x008e0580);
2429 OUTREG(CRTC_H_TOTAL_DISP, 0x009f00d2);
2434 OUTREG(CRTC_V_SYNC_STRT_WID, 0x00830403);
2435 OUTREG(CRTC_V_TOTAL_DISP, 0x03ff0429);
2436 OUTREG(FP_CRTC_H_TOTAL_DISP, 0x009f0033);
2437 OUTREG(FP_H_SYNC_STRT_WID, 0x008e0080);
2438 OUTREG(CRT_CRTC_H_SYNC_STRT_WID, 0x008e0080);
2439 OUTREG(FP_CRTC_V_TOTAL_DISP, 0x03ff002a);
2440 OUTREG(FP_V_SYNC_STRT_WID, 0x00830004);
2441 OUTREG(CRT_CRTC_V_SYNC_STRT_WID, 0x00830004);
2442 OUTREG(FP_HORZ_VERT_ACTIVE, 0x009f03ff);
2443 OUTREG(FP_HORZ_STRETCH, 0);
2444 OUTREG(FP_VERT_STRETCH, 0);
2445 OUTREG(OVR_CLR, 0);
2446 OUTREG(OVR_WID_LEFT_RIGHT, 0);
2447 OUTREG(OVR_WID_TOP_BOTTOM, 0);
2461 OUTREG(CLOCK_CNTL_INDEX, tmp & 0xff);
2482 OUTREG(CRTC2_GEN_CNTL, c2gc);
2484 OUTREG(CRTC_GEN_CNTL, cgc);
2485 OUTREG(CRTC_EXT_CNTL, cec);
2486 OUTREG(CRTC_PITCH, 0xa0);
2487 OUTREG(CRTC_OFFSET, 0);
2488 OUTREG(CRTC_OFFSET_CNTL, 0);
2490 OUTREG(GRPH_BUFFER_CNTL, 0x20117c7c);
2491 OUTREG(GRPH2_BUFFER_CNTL, 0x00205c5c);
2495 OUTREG(0x2a8, 0x0000061b);
2497 OUTREG(TMDS_TRANSMITTER_CNTL, tmp);
2500 OUTREG(TMDS_TRANSMITTER_CNTL, tmp);
2503 OUTREG(FP_GEN_CNTL, tmp2);
2506 OUTREG(FP_GEN_CNTL, tmp2);
2508 OUTREG(CUR_HORZ_VERT_OFF, CUR_LOCK | 1);
2510 OUTREG(CUR_HORZ_VERT_POSN, 0xbfff0fff);
2512 OUTREG(CUR_OFFSET, 0);
2680 OUTREG(LVDS_GEN_CNTL, INREG(LVDS_GEN_CNTL) & ~(LVDS_BL_MOD_EN)); in radeonfb_pci_suspend_late()
2682 OUTREG(LVDS_GEN_CNTL, INREG(LVDS_GEN_CNTL) & ~(LVDS_EN | LVDS_ON)); in radeonfb_pci_suspend_late()
2683 OUTREG(LVDS_PLL_CNTL, (INREG(LVDS_PLL_CNTL) & ~30000) | 0x20000); in radeonfb_pci_suspend_late()
2685 OUTREG(LVDS_GEN_CNTL, INREG(LVDS_GEN_CNTL) & ~(LVDS_DIGON)); in radeonfb_pci_suspend_late()
2902 OUTREG(TV_DAC_CNTL, INREG(TV_DAC_CNTL) | 0x07000000); in radeonfb_pm_init()