Lines Matching refs:WREG32
97 WREG32(mmBIF_FB_EN, 0); in gmc_v7_0_mc_stop()
101 WREG32(mmMC_SHARED_BLACKOUT_CNTL, blackout | 1); in gmc_v7_0_mc_stop()
114 WREG32(mmMC_SHARED_BLACKOUT_CNTL, tmp); in gmc_v7_0_mc_resume()
118 WREG32(mmBIF_FB_EN, tmp); in gmc_v7_0_mc_resume()
200 WREG32(mmMC_SEQ_SUP_CNTL, 0x00000008); in gmc_v7_0_mc_load_microcode()
201 WREG32(mmMC_SEQ_SUP_CNTL, 0x00000010); in gmc_v7_0_mc_load_microcode()
205 WREG32(mmMC_SEQ_IO_DEBUG_INDEX, le32_to_cpup(io_mc_regs++)); in gmc_v7_0_mc_load_microcode()
206 WREG32(mmMC_SEQ_IO_DEBUG_DATA, le32_to_cpup(io_mc_regs++)); in gmc_v7_0_mc_load_microcode()
210 WREG32(mmMC_SEQ_SUP_PGM, le32_to_cpup(fw_data++)); in gmc_v7_0_mc_load_microcode()
213 WREG32(mmMC_SEQ_SUP_CNTL, 0x00000008); in gmc_v7_0_mc_load_microcode()
214 WREG32(mmMC_SEQ_SUP_CNTL, 0x00000004); in gmc_v7_0_mc_load_microcode()
215 WREG32(mmMC_SEQ_SUP_CNTL, 0x00000001); in gmc_v7_0_mc_load_microcode()
261 WREG32((0xb05 + j), 0x00000000); in gmc_v7_0_mc_program()
262 WREG32((0xb06 + j), 0x00000000); in gmc_v7_0_mc_program()
263 WREG32((0xb07 + j), 0x00000000); in gmc_v7_0_mc_program()
264 WREG32((0xb08 + j), 0x00000000); in gmc_v7_0_mc_program()
265 WREG32((0xb09 + j), 0x00000000); in gmc_v7_0_mc_program()
267 WREG32(mmHDP_REG_COHERENCY_FLUSH_CNTL, 0); in gmc_v7_0_mc_program()
276 WREG32(mmVGA_HDP_CONTROL, tmp); in gmc_v7_0_mc_program()
281 WREG32(mmVGA_RENDER_CONTROL, tmp); in gmc_v7_0_mc_program()
284 WREG32(mmMC_VM_SYSTEM_APERTURE_LOW_ADDR, in gmc_v7_0_mc_program()
286 WREG32(mmMC_VM_SYSTEM_APERTURE_HIGH_ADDR, in gmc_v7_0_mc_program()
288 WREG32(mmMC_VM_SYSTEM_APERTURE_DEFAULT_ADDR, in gmc_v7_0_mc_program()
290 WREG32(mmMC_VM_AGP_BASE, 0); in gmc_v7_0_mc_program()
291 WREG32(mmMC_VM_AGP_TOP, 0x0FFFFFFF); in gmc_v7_0_mc_program()
292 WREG32(mmMC_VM_AGP_BOT, 0x0FFFFFFF); in gmc_v7_0_mc_program()
296 WREG32(mmBIF_FB_EN, BIF_FB_EN__FB_READ_EN_MASK | BIF_FB_EN__FB_WRITE_EN_MASK); in gmc_v7_0_mc_program()
300 WREG32(mmHDP_MISC_CNTL, tmp); in gmc_v7_0_mc_program()
303 WREG32(mmHDP_HOST_PATH_CNTL, tmp); in gmc_v7_0_mc_program()
440 WREG32(mmVM_INVALIDATE_REQUEST, 1 << vmid); in gmc_v7_0_flush_gpu_tlb_pasid()
470 WREG32(mmVM_INVALIDATE_REQUEST, 1 << vmid); in gmc_v7_0_flush_gpu_tlb()
534 WREG32(mmVM_CONTEXT1_CNTL, tmp); in gmc_v7_0_set_fault_enable_default()
567 WREG32(mmVM_PRT_CNTL, tmp); in gmc_v7_0_set_prt()
574 WREG32(mmVM_PRT_APERTURE0_LOW_ADDR, low); in gmc_v7_0_set_prt()
575 WREG32(mmVM_PRT_APERTURE1_LOW_ADDR, low); in gmc_v7_0_set_prt()
576 WREG32(mmVM_PRT_APERTURE2_LOW_ADDR, low); in gmc_v7_0_set_prt()
577 WREG32(mmVM_PRT_APERTURE3_LOW_ADDR, low); in gmc_v7_0_set_prt()
578 WREG32(mmVM_PRT_APERTURE0_HIGH_ADDR, high); in gmc_v7_0_set_prt()
579 WREG32(mmVM_PRT_APERTURE1_HIGH_ADDR, high); in gmc_v7_0_set_prt()
580 WREG32(mmVM_PRT_APERTURE2_HIGH_ADDR, high); in gmc_v7_0_set_prt()
581 WREG32(mmVM_PRT_APERTURE3_HIGH_ADDR, high); in gmc_v7_0_set_prt()
583 WREG32(mmVM_PRT_APERTURE0_LOW_ADDR, 0xfffffff); in gmc_v7_0_set_prt()
584 WREG32(mmVM_PRT_APERTURE1_LOW_ADDR, 0xfffffff); in gmc_v7_0_set_prt()
585 WREG32(mmVM_PRT_APERTURE2_LOW_ADDR, 0xfffffff); in gmc_v7_0_set_prt()
586 WREG32(mmVM_PRT_APERTURE3_LOW_ADDR, 0xfffffff); in gmc_v7_0_set_prt()
587 WREG32(mmVM_PRT_APERTURE0_HIGH_ADDR, 0x0); in gmc_v7_0_set_prt()
588 WREG32(mmVM_PRT_APERTURE1_HIGH_ADDR, 0x0); in gmc_v7_0_set_prt()
589 WREG32(mmVM_PRT_APERTURE2_HIGH_ADDR, 0x0); in gmc_v7_0_set_prt()
590 WREG32(mmVM_PRT_APERTURE3_HIGH_ADDR, 0x0); in gmc_v7_0_set_prt()
625 WREG32(mmMC_VM_MX_L1_TLB_CNTL, tmp); in gmc_v7_0_gart_enable()
635 WREG32(mmVM_L2_CNTL, tmp); in gmc_v7_0_gart_enable()
638 WREG32(mmVM_L2_CNTL2, tmp); in gmc_v7_0_gart_enable()
645 WREG32(mmVM_L2_CNTL3, tmp); in gmc_v7_0_gart_enable()
647 WREG32(mmVM_CONTEXT0_PAGE_TABLE_START_ADDR, adev->gmc.gart_start >> 12); in gmc_v7_0_gart_enable()
648 WREG32(mmVM_CONTEXT0_PAGE_TABLE_END_ADDR, adev->gmc.gart_end >> 12); in gmc_v7_0_gart_enable()
649 WREG32(mmVM_CONTEXT0_PAGE_TABLE_BASE_ADDR, table_addr >> 12); in gmc_v7_0_gart_enable()
650 WREG32(mmVM_CONTEXT0_PROTECTION_FAULT_DEFAULT_ADDR, in gmc_v7_0_gart_enable()
652 WREG32(mmVM_CONTEXT0_CNTL2, 0); in gmc_v7_0_gart_enable()
657 WREG32(mmVM_CONTEXT0_CNTL, tmp); in gmc_v7_0_gart_enable()
659 WREG32(0x575, 0); in gmc_v7_0_gart_enable()
660 WREG32(0x576, 0); in gmc_v7_0_gart_enable()
661 WREG32(0x577, 0); in gmc_v7_0_gart_enable()
668 WREG32(mmVM_CONTEXT1_PAGE_TABLE_START_ADDR, 0); in gmc_v7_0_gart_enable()
669 WREG32(mmVM_CONTEXT1_PAGE_TABLE_END_ADDR, adev->vm_manager.max_pfn - 1); in gmc_v7_0_gart_enable()
672 WREG32(mmVM_CONTEXT0_PAGE_TABLE_BASE_ADDR + i, in gmc_v7_0_gart_enable()
675 WREG32(mmVM_CONTEXT8_PAGE_TABLE_BASE_ADDR + i - 8, in gmc_v7_0_gart_enable()
680 WREG32(mmVM_CONTEXT1_PROTECTION_FAULT_DEFAULT_ADDR, in gmc_v7_0_gart_enable()
682 WREG32(mmVM_CONTEXT1_CNTL2, 4); in gmc_v7_0_gart_enable()
688 WREG32(mmVM_CONTEXT1_CNTL, tmp); in gmc_v7_0_gart_enable()
697 WREG32(mmCHUB_CONTROL, tmp); in gmc_v7_0_gart_enable()
736 WREG32(mmVM_CONTEXT0_CNTL, 0); in gmc_v7_0_gart_disable()
737 WREG32(mmVM_CONTEXT1_CNTL, 0); in gmc_v7_0_gart_disable()
743 WREG32(mmMC_VM_MX_L1_TLB_CNTL, tmp); in gmc_v7_0_gart_disable()
747 WREG32(mmVM_L2_CNTL, tmp); in gmc_v7_0_gart_disable()
748 WREG32(mmVM_L2_CNTL2, 0); in gmc_v7_0_gart_disable()
832 WREG32(mc_cg_registers[i], data); in gmc_v7_0_enable_mc_ls()
849 WREG32(mc_cg_registers[i], data); in gmc_v7_0_enable_mc_mgcg()
889 WREG32(mmHDP_HOST_PATH_CNTL, data); in gmc_v7_0_enable_hdp_mgcg()
905 WREG32(mmHDP_MEM_POWER_LS, data); in gmc_v7_0_enable_hdp_ls()
1201 WREG32(mmSRBM_SOFT_RESET, tmp); in gmc_v7_0_soft_reset()
1207 WREG32(mmSRBM_SOFT_RESET, tmp); in gmc_v7_0_soft_reset()
1238 WREG32(mmVM_CONTEXT0_CNTL, tmp); in gmc_v7_0_vm_fault_interrupt_state()
1242 WREG32(mmVM_CONTEXT1_CNTL, tmp); in gmc_v7_0_vm_fault_interrupt_state()
1248 WREG32(mmVM_CONTEXT0_CNTL, tmp); in gmc_v7_0_vm_fault_interrupt_state()
1252 WREG32(mmVM_CONTEXT1_CNTL, tmp); in gmc_v7_0_vm_fault_interrupt_state()