Lines Matching refs:RREG32
79 if (RREG32(RADEON_CRTC_STATUS) & RADEON_CRTC_VBLANK_CUR) in r100_is_in_vblank()
84 if (RREG32(RADEON_CRTC2_STATUS) & RADEON_CRTC2_VBLANK_CUR) in r100_is_in_vblank()
96 vline1 = (RREG32(RADEON_CRTC_VLINE_CRNT_VLINE) >> 16) & RADEON_CRTC_V_TOTAL; in r100_is_counter_moving()
97 vline2 = (RREG32(RADEON_CRTC_VLINE_CRNT_VLINE) >> 16) & RADEON_CRTC_V_TOTAL; in r100_is_counter_moving()
99 vline1 = (RREG32(RADEON_CRTC2_VLINE_CRNT_VLINE) >> 16) & RADEON_CRTC_V_TOTAL; in r100_is_counter_moving()
100 vline2 = (RREG32(RADEON_CRTC2_VLINE_CRNT_VLINE) >> 16) & RADEON_CRTC_V_TOTAL; in r100_is_counter_moving()
124 if (!(RREG32(RADEON_CRTC_GEN_CNTL) & RADEON_CRTC_EN)) in r100_wait_for_vblank()
127 if (!(RREG32(RADEON_CRTC2_GEN_CNTL) & RADEON_CRTC2_EN)) in r100_wait_for_vblank()
183 if (RREG32(RADEON_CRTC_OFFSET + radeon_crtc->crtc_offset) & RADEON_CRTC_OFFSET__GUI_TRIG_OFFSET) in r100_page_flip()
209 return !!(RREG32(RADEON_CRTC_OFFSET + radeon_crtc->crtc_offset) & in r100_page_flip_pending()
369 tmp = RREG32(voltage->gpio.reg); in r100_pm_misc()
378 tmp = RREG32(voltage->gpio.reg); in r100_pm_misc()
470 tmp = RREG32(RADEON_CRTC2_GEN_CNTL); in r100_pm_prepare()
474 tmp = RREG32(RADEON_CRTC_GEN_CNTL); in r100_pm_prepare()
501 tmp = RREG32(RADEON_CRTC2_GEN_CNTL); in r100_pm_finish()
505 tmp = RREG32(RADEON_CRTC_GEN_CNTL); in r100_pm_finish()
523 if (RREG32(RADEON_RBBM_STATUS) & RADEON_RBBM_ACTIVE) in r100_gui_idle()
545 if (RREG32(RADEON_FP_GEN_CNTL) & RADEON_FP_DETECT_SENSE) in r100_hpd_sense()
549 if (RREG32(RADEON_FP2_GEN_CNTL) & RADEON_FP2_DETECT_SENSE) in r100_hpd_sense()
574 tmp = RREG32(RADEON_FP_GEN_CNTL); in r100_hpd_set_polarity()
582 tmp = RREG32(RADEON_FP2_GEN_CNTL); in r100_hpd_set_polarity()
674 tmp = RREG32(RADEON_AIC_CNTL) | RADEON_DIS_OUT_OF_PCI_GART_ACCESS; in r100_pci_gart_enable()
681 tmp = RREG32(RADEON_AIC_CNTL) | RADEON_PCIGART_TRANSLATE_EN; in r100_pci_gart_enable()
696 tmp = RREG32(RADEON_AIC_CNTL) | RADEON_DIS_OUT_OF_PCI_GART_ACCESS; in r100_pci_gart_disable()
750 RREG32(RADEON_GEN_INT_CNTL); in r100_irq_set()
762 tmp = RREG32(R_000044_GEN_INT_STATUS); in r100_irq_disable()
768 uint32_t irqs = RREG32(RADEON_GEN_INT_STATUS); in r100_irq_ack()
831 msi_rearm = RREG32(RADEON_AIC_CNTL) & ~RS400_MSI_REARM; in r100_irq_process()
846 return RREG32(RADEON_CRTC_CRNT_FRAME); in r100_get_vblank_counter()
848 return RREG32(RADEON_CRTC2_CRNT_FRAME); in r100_get_vblank_counter()
982 tmp = RREG32(R_000E40_RBBM_STATUS); in r100_cp_wait_for_idle()
1079 rptr = RREG32(RADEON_CP_RB_RPTR); in r100_gfx_get_rptr()
1087 return RREG32(RADEON_CP_RB_WPTR); in r100_gfx_get_wptr()
1094 (void)RREG32(RADEON_CP_RB_WPTR); in r100_gfx_set_wptr()
2482 tmp = RREG32(RADEON_RBBM_STATUS) & RADEON_RBBM_FIFOCNT_MASK; in r100_rbbm_fifo_wait_for_entry()
2500 tmp = RREG32(RADEON_RBBM_STATUS); in r100_gui_wait_for_idle()
2516 tmp = RREG32(RADEON_MC_STATUS); in r100_mc_wait_for_idle()
2529 rbbm_status = RREG32(R_000E40_RBBM_STATUS); in r100_gpu_is_lockup()
2542 tmp = RREG32(RADEON_BUS_CNTL) & ~RADEON_BUS_MASTER_DIS; in r100_enable_bm()
2551 tmp = RREG32(R_000030_BUS_CNTL); in r100_bm_disable()
2557 tmp = RREG32(RADEON_BUS_CNTL); in r100_bm_disable()
2569 status = RREG32(R_000E40_RBBM_STATUS); in r100_asic_reset()
2574 status = RREG32(R_000E40_RBBM_STATUS); in r100_asic_reset()
2578 tmp = RREG32(RADEON_CP_RB_CNTL); in r100_asic_reset()
2591 RREG32(R_0000F0_RBBM_SOFT_RESET); in r100_asic_reset()
2595 status = RREG32(R_000E40_RBBM_STATUS); in r100_asic_reset()
2599 RREG32(R_0000F0_RBBM_SOFT_RESET); in r100_asic_reset()
2603 status = RREG32(R_000E40_RBBM_STATUS); in r100_asic_reset()
2664 u32 disp_hw_debug = RREG32(RADEON_DISP_HW_DEBUG); in r100_set_common_regs()
2665 u32 tv_dac_cntl = RREG32(RADEON_TV_DAC_CNTL); in r100_set_common_regs()
2666 u32 dac2_cntl = RREG32(RADEON_DAC_CNTL2); in r100_set_common_regs()
2712 else if (RREG32(RADEON_MEM_SDRAM_MODE_REG) & RADEON_MEM_CFG_TYPE_DDR) in r100_vram_get_type()
2717 tmp = RREG32(RADEON_MEM_CNTL); in r100_vram_get_type()
2728 tmp = RREG32(RADEON_MEM_CNTL); in r100_vram_get_type()
2745 aper_size = RREG32(RADEON_CONFIG_APER_SIZE); in r100_get_accessible_vram()
2773 if (RREG32(RADEON_HOST_PATH_CNTL) & RADEON_HDP_APER_CNTL) in r100_get_accessible_vram()
2789 config_aper_size = RREG32(RADEON_CONFIG_APER_SIZE); in r100_vram_init_sizes()
2793 tom = RREG32(RADEON_NB_TOM); in r100_vram_init_sizes()
2798 rdev->mc.real_vram_size = RREG32(RADEON_CONFIG_MEMSIZE); in r100_vram_init_sizes()
2823 temp = RREG32(RADEON_CONFIG_CNTL); in r100_vga_set_state()
2841 base = (RREG32(RADEON_NB_TOM) & 0xffff) << 16; in r100_mc_init()
2856 (void)RREG32(RADEON_CLOCK_CNTL_DATA); in r100_pll_errata_after_index()
2857 (void)RREG32(RADEON_CRTC_GEN_CNTL); in r100_pll_errata_after_index()
2878 save = RREG32(RADEON_CLOCK_CNTL_INDEX); in r100_pll_errata_after_data()
2881 tmp = RREG32(RADEON_CLOCK_CNTL_DATA); in r100_pll_errata_after_data()
2894 data = RREG32(RADEON_CLOCK_CNTL_DATA); in r100_pll_rreg()
2935 seq_printf(m, "RBBM_STATUS 0x%08x\n", RREG32(RADEON_RBBM_STATUS)); in r100_debugfs_rbbm_info_show()
2936 seq_printf(m, "RBBM_CMDFIFO_STAT 0x%08x\n", RREG32(0xE7C)); in r100_debugfs_rbbm_info_show()
2937 seq_printf(m, "CP_STAT 0x%08x\n", RREG32(RADEON_CP_STAT)); in r100_debugfs_rbbm_info_show()
2940 reg = (RREG32(RADEON_RBBM_CMDFIFO_DATA) - 1) >> 2; in r100_debugfs_rbbm_info_show()
2942 value = RREG32(RADEON_RBBM_CMDFIFO_DATA); in r100_debugfs_rbbm_info_show()
2956 rdp = RREG32(RADEON_CP_RB_RPTR); in r100_debugfs_cp_ring_info_show()
2957 wdp = RREG32(RADEON_CP_RB_WPTR); in r100_debugfs_cp_ring_info_show()
2959 seq_printf(m, "CP_STAT 0x%08x\n", RREG32(RADEON_CP_STAT)); in r100_debugfs_cp_ring_info_show()
2981 seq_printf(m, "CP_STAT 0x%08x\n", RREG32(RADEON_CP_STAT)); in r100_debugfs_cp_csq_fifo_show()
2982 seq_printf(m, "CP_CSQ_MODE 0x%08x\n", RREG32(RADEON_CP_CSQ_MODE)); in r100_debugfs_cp_csq_fifo_show()
2983 csq_stat = RREG32(RADEON_CP_CSQ_STAT); in r100_debugfs_cp_csq_fifo_show()
2984 csq2_stat = RREG32(RADEON_CP_CSQ2_STAT); in r100_debugfs_cp_csq_fifo_show()
3004 tmp = RREG32(RADEON_CP_CSQ_DATA); in r100_debugfs_cp_csq_fifo_show()
3010 tmp = RREG32(RADEON_CP_CSQ_DATA); in r100_debugfs_cp_csq_fifo_show()
3016 tmp = RREG32(RADEON_CP_CSQ_DATA); in r100_debugfs_cp_csq_fifo_show()
3027 tmp = RREG32(RADEON_CONFIG_MEMSIZE); in r100_debugfs_mc_info_show()
3029 tmp = RREG32(RADEON_MC_FB_LOCATION); in r100_debugfs_mc_info_show()
3031 tmp = RREG32(RADEON_BUS_CNTL); in r100_debugfs_mc_info_show()
3033 tmp = RREG32(RADEON_MC_AGP_LOCATION); in r100_debugfs_mc_info_show()
3035 tmp = RREG32(RADEON_AGP_BASE); in r100_debugfs_mc_info_show()
3037 tmp = RREG32(RADEON_HOST_PATH_CNTL); in r100_debugfs_mc_info_show()
3039 tmp = RREG32(0x01D0); in r100_debugfs_mc_info_show()
3041 tmp = RREG32(RADEON_AIC_LO_ADDR); in r100_debugfs_mc_info_show()
3043 tmp = RREG32(RADEON_AIC_HI_ADDR); in r100_debugfs_mc_info_show()
3045 tmp = RREG32(0x01E4); in r100_debugfs_mc_info_show()
3243 uint32_t mc_init_misc_lat_timer = RREG32(R300_MC_INIT_MISC_LAT_TIMER); in r100_bandwidth_update()
3289 temp = RREG32(RADEON_MEM_TIMING_CNTL); in r100_bandwidth_update()
3329 temp = RREG32(RADEON_MEM_SDRAM_MODE_REG); in r100_bandwidth_update()
3350 temp = RREG32(RADEON_MEM_CNTL); in r100_bandwidth_update()
3354 temp = RREG32(R300_MC_IND_INDEX); in r100_bandwidth_update()
3358 temp = RREG32(R300_MC_IND_DATA); in r100_bandwidth_update()
3361 temp = RREG32(R300_MC_READ_CNTL_AB); in r100_bandwidth_update()
3365 temp = RREG32(R300_MC_READ_CNTL_AB); in r100_bandwidth_update()
3501 temp = RREG32(RADEON_GRPH_BUFFER_CNTL); in r100_bandwidth_update()
3524 temp = RREG32(RS400_DISP1_REG_CNTL); in r100_bandwidth_update()
3530 temp = RREG32(RS400_DMIF_MEM_CNTL1); in r100_bandwidth_update()
3541 (unsigned int)RREG32(RADEON_GRPH_BUFFER_CNTL)); in r100_bandwidth_update()
3557 grph2_cntl = RREG32(RADEON_GRPH2_BUFFER_CNTL); in r100_bandwidth_update()
3616 temp = RREG32(RS400_DISP2_REQ_CNTL1); in r100_bandwidth_update()
3622 temp = RREG32(RS400_DISP2_REQ_CNTL2); in r100_bandwidth_update()
3636 (unsigned int)RREG32(RADEON_GRPH2_BUFFER_CNTL)); in r100_bandwidth_update()
3670 tmp = RREG32(scratch); in r100_ring_test()
3747 tmp = RREG32(scratch); in r100_ib_test()
3777 save->CRTC_EXT_CNTL = RREG32(R_000054_CRTC_EXT_CNTL); in r100_mc_stop()
3778 save->CRTC_GEN_CNTL = RREG32(R_000050_CRTC_GEN_CNTL); in r100_mc_stop()
3779 save->CUR_OFFSET = RREG32(R_000260_CUR_OFFSET); in r100_mc_stop()
3781 save->CRTC2_GEN_CNTL = RREG32(R_0003F8_CRTC2_GEN_CNTL); in r100_mc_stop()
3782 save->CUR2_OFFSET = RREG32(R_000360_CUR2_OFFSET); in r100_mc_stop()
3795 C_000420_OV0_OVERLAY_EN & RREG32(R_000420_OV0_SCALE_CNTL)); in r100_mc_stop()
3915 rdev->config.r100.hdp_cntl = RREG32(RADEON_HOST_PATH_CNTL); in r100_startup()
3944 RREG32(R_000E40_RBBM_STATUS), in r100_resume()
3945 RREG32(R_0007C0_CP_STAT)); in r100_resume()
4002 tmp = RREG32(RADEON_CP_CSQ_CNTL); in r100_restore_sanity()
4006 tmp = RREG32(RADEON_CP_RB_CNTL); in r100_restore_sanity()
4010 tmp = RREG32(RADEON_SCRATCH_UMSK); in r100_restore_sanity()
4048 RREG32(R_000E40_RBBM_STATUS), in r100_init()
4049 RREG32(R_0007C0_CP_STAT)); in r100_init()