/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | psp_v12_0.c | 96 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_36, in psp_v12_0_bootloader_load_sysdrv() 99 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_35, in psp_v12_0_bootloader_load_sysdrv() 135 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_36, in psp_v12_0_bootloader_load_sos() 138 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_35, in psp_v12_0_bootloader_load_sos() 160 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_69, 3); in psp_v12_0_reroute_ih() 161 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_70, tmp); in psp_v12_0_reroute_ih() 172 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_69, 4); in psp_v12_0_reroute_ih() 173 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_70, tmp); in psp_v12_0_reroute_ih() 200 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_101, in psp_v12_0_ring_create() 244 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_101, in psp_v12_0_ring_stop() [all …]
|
H A D | nbio_v4_3.c | 34 WREG32_SOC15(NBIO, 0, regBIF_BX0_REMAP_HDP_MEM_FLUSH_CNTL, in nbio_v4_3_remap_hdp_registers() 53 WREG32_SOC15(NBIO, 0, regBIF_BX0_BIF_FB_EN, in nbio_v4_3_mc_access_enable() 57 WREG32_SOC15(NBIO, 0, regBIF_BX0_BIF_FB_EN, 0); in nbio_v4_3_mc_access_enable() 265 WREG32_SOC15(NBIO, 0, regCPM_CONTROL, data); in nbio_v4_3_update_medium_grain_clock_gating() 285 WREG32_SOC15(NBIO, 0, regPCIE_CNTL2, data); in nbio_v4_3_update_medium_grain_light_sleep() 404 WREG32_SOC15(NBIO, 0, regPCIE_LC_CNTL, data); in nbio_v4_3_program_aspm() 409 WREG32_SOC15(NBIO, 0, regPCIE_LC_CNTL7, data); in nbio_v4_3_program_aspm() 414 WREG32_SOC15(NBIO, 0, regPCIE_LC_CNTL3, data); in nbio_v4_3_program_aspm() 444 WREG32_SOC15(NBIO, 0, regPCIE_LC_CNTL4, data); in nbio_v4_3_program_aspm() 469 WREG32_SOC15(NBIO, 0, regPCIE_LC_CNTL, data); in nbio_v4_3_program_aspm() [all …]
|
H A D | psp_v3_1.c | 102 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_36, in psp_v3_1_bootloader_load_sysdrv() 105 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_35, in psp_v3_1_bootloader_load_sysdrv() 141 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_36, in psp_v3_1_bootloader_load_sos() 144 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_35, in psp_v3_1_bootloader_load_sos() 165 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_69, 3); in psp_v3_1_reroute_ih() 166 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_70, tmp); in psp_v3_1_reroute_ih() 177 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_69, 4); in psp_v3_1_reroute_ih() 178 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_70, tmp); in psp_v3_1_reroute_ih() 259 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_101, in psp_v3_1_ring_stop() 262 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_64, in psp_v3_1_ring_stop() [all …]
|
H A D | gfxhub_v2_1.c | 159 WREG32_SOC15(GC, 0, mmGCMC_VM_AGP_BASE, 0); in gfxhub_v2_1_init_system_aperture_regs() 203 WREG32_SOC15(GC, 0, mmGCMC_VM_MX_L1_TLB_CNTL, tmp); in gfxhub_v2_1_init_tlb_regs() 228 WREG32_SOC15(GC, 0, mmGCVM_L2_CNTL, tmp); in gfxhub_v2_1_init_cache_regs() 233 WREG32_SOC15(GC, 0, mmGCVM_L2_CNTL2, tmp); in gfxhub_v2_1_init_cache_regs() 245 WREG32_SOC15(GC, 0, mmGCVM_L2_CNTL3, tmp); in gfxhub_v2_1_init_cache_regs() 250 WREG32_SOC15(GC, 0, mmGCVM_L2_CNTL4, tmp); in gfxhub_v2_1_init_cache_regs() 254 WREG32_SOC15(GC, 0, mmGCVM_L2_CNTL5, tmp); in gfxhub_v2_1_init_cache_regs() 266 WREG32_SOC15(GC, 0, mmGCVM_CONTEXT0_CNTL, tmp); in gfxhub_v2_1_enable_system_domain() 362 WREG32_SOC15(GC, 0, mmGCMC_VM_FB_LOCATION_BASE, in gfxhub_v2_1_gart_enable() 364 WREG32_SOC15(GC, 0, mmGCMC_VM_FB_LOCATION_TOP, in gfxhub_v2_1_gart_enable() [all …]
|
H A D | lsdma_v6_0.c | 47 WREG32_SOC15(LSDMA, 0, regLSDMA_PIO_SRC_ADDR_LO, lower_32_bits(src_addr)); in lsdma_v6_0_copy_mem() 48 WREG32_SOC15(LSDMA, 0, regLSDMA_PIO_SRC_ADDR_HI, upper_32_bits(src_addr)); in lsdma_v6_0_copy_mem() 50 WREG32_SOC15(LSDMA, 0, regLSDMA_PIO_DST_ADDR_LO, lower_32_bits(dst_addr)); in lsdma_v6_0_copy_mem() 51 WREG32_SOC15(LSDMA, 0, regLSDMA_PIO_DST_ADDR_HI, upper_32_bits(dst_addr)); in lsdma_v6_0_copy_mem() 53 WREG32_SOC15(LSDMA, 0, regLSDMA_PIO_CONTROL, 0x0); in lsdma_v6_0_copy_mem() 63 WREG32_SOC15(LSDMA, 0, regLSDMA_PIO_COMMAND, tmp); in lsdma_v6_0_copy_mem() 80 WREG32_SOC15(LSDMA, 0, regLSDMA_PIO_CONSTFILL_DATA, data); in lsdma_v6_0_fill_mem() 85 WREG32_SOC15(LSDMA, 0, regLSDMA_PIO_CONTROL, 0x0); in lsdma_v6_0_fill_mem() 95 WREG32_SOC15(LSDMA, 0, regLSDMA_PIO_COMMAND, tmp); in lsdma_v6_0_fill_mem() 111 WREG32_SOC15(LSDMA, 0, regLSDMA_MEM_POWER_CTRL, tmp); in lsdma_v6_0_update_memory_power_gating() [all …]
|
H A D | vcn_v1_0.c | 802 WREG32_SOC15(UVD, 0, mmUVD_STATUS, tmp); in vcn_v1_0_start_spg_mode() 842 WREG32_SOC15(UVD, 0, mmUVD_MPC_SET_MUX, in vcn_v1_0_start_spg_mode() 908 WREG32_SOC15(UVD, 0, mmUVD_STATUS, tmp); in vcn_v1_0_start_spg_mode() 935 WREG32_SOC15(UVD, 0, mmUVD_SCRATCH2, 0); in vcn_v1_0_start_spg_mode() 938 WREG32_SOC15(UVD, 0, mmUVD_RBC_RB_WPTR, in vcn_v1_0_start_spg_mode() 1093 WREG32_SOC15(UVD, 0, mmUVD_SCRATCH2, 0); in vcn_v1_0_start_dpg_mode() 1096 WREG32_SOC15(UVD, 0, mmUVD_RBC_RB_WPTR, in vcn_v1_0_start_dpg_mode() 1159 WREG32_SOC15(UVD, 0, mmUVD_STATUS, 0); in vcn_v1_0_stop_spg_mode() 1415 WREG32_SOC15(UVD, 0, mmUVD_SCRATCH2, in vcn_v1_0_dec_ring_set_wptr() 1627 WREG32_SOC15(UVD, 0, mmUVD_RB_WPTR, in vcn_v1_0_enc_ring_set_wptr() [all …]
|
H A D | mmhub_v2_3.c | 156 WREG32_SOC15(MMHUB, 0, mmMMMC_VM_AGP_BASE, 0); in mmhub_v2_3_init_system_aperture_regs() 220 WREG32_SOC15(MMHUB, 0, mmMMVM_L2_CNTL, tmp); in mmhub_v2_3_init_cache_regs() 225 WREG32_SOC15(MMHUB, 0, mmMMVM_L2_CNTL2, tmp); in mmhub_v2_3_init_cache_regs() 237 WREG32_SOC15(MMHUB, 0, mmMMVM_L2_CNTL3, tmp); in mmhub_v2_3_init_cache_regs() 242 WREG32_SOC15(MMHUB, 0, mmMMVM_L2_CNTL4, tmp); in mmhub_v2_3_init_cache_regs() 263 WREG32_SOC15(MMHUB, 0, in mmhub_v2_3_disable_identity_aperture() 266 WREG32_SOC15(MMHUB, 0, in mmhub_v2_3_disable_identity_aperture() 270 WREG32_SOC15(MMHUB, 0, in mmhub_v2_3_disable_identity_aperture() 272 WREG32_SOC15(MMHUB, 0, in mmhub_v2_3_disable_identity_aperture() 395 WREG32_SOC15(MMHUB, 0, mmMMVM_L2_CNTL, tmp); in mmhub_v2_3_gart_disable() [all …]
|
H A D | psp_v11_0_8.c | 39 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_101, in psp_v11_0_8_ring_stop() 48 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_64, in psp_v11_0_8_ring_stop() 77 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_102, psp_ring_reg); in psp_v11_0_8_ring_create() 83 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_101, in psp_v11_0_8_ring_create() 104 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_69, psp_ring_reg); in psp_v11_0_8_ring_create() 107 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_70, psp_ring_reg); in psp_v11_0_8_ring_create() 110 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_71, psp_ring_reg); in psp_v11_0_8_ring_create() 114 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_64, psp_ring_reg); in psp_v11_0_8_ring_create() 163 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_102, value); in psp_v11_0_8_ring_set_wptr() 164 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_101, in psp_v11_0_8_ring_set_wptr() [all …]
|
H A D | gfxhub_v3_0.c | 155 WREG32_SOC15(GC, 0, regGCMC_VM_AGP_BASE, 0); in gfxhub_v3_0_init_system_aperture_regs() 227 WREG32_SOC15(GC, 0, regGCVM_L2_CNTL, tmp); in gfxhub_v3_0_init_cache_regs() 232 WREG32_SOC15(GC, 0, regGCVM_L2_CNTL2, tmp); in gfxhub_v3_0_init_cache_regs() 244 WREG32_SOC15(GC, 0, regGCVM_L2_CNTL3, tmp); in gfxhub_v3_0_init_cache_regs() 249 WREG32_SOC15(GC, 0, regGCVM_L2_CNTL4, tmp); in gfxhub_v3_0_init_cache_regs() 253 WREG32_SOC15(GC, 0, regGCVM_L2_CNTL5, tmp); in gfxhub_v3_0_init_cache_regs() 265 WREG32_SOC15(GC, 0, regGCVM_CONTEXT0_CNTL, tmp); in gfxhub_v3_0_enable_system_domain() 361 WREG32_SOC15(GC, 0, regGCMC_VM_FB_LOCATION_BASE, in gfxhub_v3_0_gart_enable() 363 WREG32_SOC15(GC, 0, regGCMC_VM_FB_LOCATION_TOP, in gfxhub_v3_0_gart_enable() 401 WREG32_SOC15(GC, 0, regGCVM_L2_CNTL3, 0); in gfxhub_v3_0_gart_disable() [all …]
|
H A D | mmhub_v3_0.c | 181 WREG32_SOC15(MMHUB, 0, regMMMC_VM_AGP_BASE, 0); in mmhub_v3_0_init_system_aperture_regs() 253 WREG32_SOC15(MMHUB, 0, regMMVM_L2_CNTL, tmp); in mmhub_v3_0_init_cache_regs() 258 WREG32_SOC15(MMHUB, 0, regMMVM_L2_CNTL2, tmp); in mmhub_v3_0_init_cache_regs() 270 WREG32_SOC15(MMHUB, 0, regMMVM_L2_CNTL3, tmp); in mmhub_v3_0_init_cache_regs() 275 WREG32_SOC15(MMHUB, 0, regMMVM_L2_CNTL4, tmp); in mmhub_v3_0_init_cache_regs() 302 WREG32_SOC15(MMHUB, 0, in mmhub_v3_0_disable_identity_aperture() 305 WREG32_SOC15(MMHUB, 0, in mmhub_v3_0_disable_identity_aperture() 309 WREG32_SOC15(MMHUB, 0, in mmhub_v3_0_disable_identity_aperture() 311 WREG32_SOC15(MMHUB, 0, in mmhub_v3_0_disable_identity_aperture() 420 WREG32_SOC15(MMHUB, 0, regMMVM_L2_CNTL, tmp); in mmhub_v3_0_gart_disable() [all …]
|
H A D | mmhub_v3_0_1.c | 175 WREG32_SOC15(MMHUB, 0, regMMMC_VM_AGP_BASE, 0); in mmhub_v3_0_1_init_system_aperture_regs() 246 WREG32_SOC15(MMHUB, 0, regMMVM_L2_CNTL, tmp); in mmhub_v3_0_1_init_cache_regs() 251 WREG32_SOC15(MMHUB, 0, regMMVM_L2_CNTL2, tmp); in mmhub_v3_0_1_init_cache_regs() 263 WREG32_SOC15(MMHUB, 0, regMMVM_L2_CNTL3, tmp); in mmhub_v3_0_1_init_cache_regs() 268 WREG32_SOC15(MMHUB, 0, regMMVM_L2_CNTL4, tmp); in mmhub_v3_0_1_init_cache_regs() 289 WREG32_SOC15(MMHUB, 0, in mmhub_v3_0_1_disable_identity_aperture() 292 WREG32_SOC15(MMHUB, 0, in mmhub_v3_0_1_disable_identity_aperture() 296 WREG32_SOC15(MMHUB, 0, in mmhub_v3_0_1_disable_identity_aperture() 298 WREG32_SOC15(MMHUB, 0, in mmhub_v3_0_1_disable_identity_aperture() 407 WREG32_SOC15(MMHUB, 0, regMMVM_L2_CNTL, tmp); in mmhub_v3_0_1_gart_disable() [all …]
|
H A D | mmhub_v3_0_2.c | 166 WREG32_SOC15(MMHUB, 0, regMMMC_VM_AGP_BASE, 0); in mmhub_v3_0_2_init_system_aperture_regs() 245 WREG32_SOC15(MMHUB, 0, regMMVM_L2_CNTL, tmp); in mmhub_v3_0_2_init_cache_regs() 250 WREG32_SOC15(MMHUB, 0, regMMVM_L2_CNTL2, tmp); in mmhub_v3_0_2_init_cache_regs() 262 WREG32_SOC15(MMHUB, 0, regMMVM_L2_CNTL3, tmp); in mmhub_v3_0_2_init_cache_regs() 267 WREG32_SOC15(MMHUB, 0, regMMVM_L2_CNTL4, tmp); in mmhub_v3_0_2_init_cache_regs() 294 WREG32_SOC15(MMHUB, 0, in mmhub_v3_0_2_disable_identity_aperture() 297 WREG32_SOC15(MMHUB, 0, in mmhub_v3_0_2_disable_identity_aperture() 301 WREG32_SOC15(MMHUB, 0, in mmhub_v3_0_2_disable_identity_aperture() 303 WREG32_SOC15(MMHUB, 0, in mmhub_v3_0_2_disable_identity_aperture() 412 WREG32_SOC15(MMHUB, 0, regMMVM_L2_CNTL, tmp); in mmhub_v3_0_2_gart_disable() [all …]
|
H A D | gfxhub_v2_0.c | 157 WREG32_SOC15(GC, 0, mmGCMC_VM_AGP_BASE, 0); in gfxhub_v2_0_init_system_aperture_regs() 162 WREG32_SOC15(GC, 0, mmGCMC_VM_SYSTEM_APERTURE_LOW_ADDR, in gfxhub_v2_0_init_system_aperture_regs() 202 WREG32_SOC15(GC, 0, mmGCMC_VM_MX_L1_TLB_CNTL, tmp); in gfxhub_v2_0_init_tlb_regs() 225 WREG32_SOC15(GC, 0, mmGCVM_L2_CNTL, tmp); in gfxhub_v2_0_init_cache_regs() 230 WREG32_SOC15(GC, 0, mmGCVM_L2_CNTL2, tmp); in gfxhub_v2_0_init_cache_regs() 242 WREG32_SOC15(GC, 0, mmGCVM_L2_CNTL3, tmp); in gfxhub_v2_0_init_cache_regs() 247 WREG32_SOC15(GC, 0, mmGCVM_L2_CNTL4, tmp); in gfxhub_v2_0_init_cache_regs() 251 WREG32_SOC15(GC, 0, mmGCVM_L2_CNTL5, tmp); in gfxhub_v2_0_init_cache_regs() 263 WREG32_SOC15(GC, 0, mmGCVM_CONTEXT0_CNTL, tmp); in gfxhub_v2_0_enable_system_domain() 377 WREG32_SOC15(GC, 0, mmGCMC_VM_MX_L1_TLB_CNTL, tmp); in gfxhub_v2_0_gart_disable() [all …]
|
H A D | gfxhub_v3_0_3.c | 161 WREG32_SOC15(GC, 0, regGCMC_VM_AGP_BASE, 0); in gfxhub_v3_0_3_init_system_aperture_regs() 166 WREG32_SOC15(GC, 0, regGCMC_VM_SYSTEM_APERTURE_LOW_ADDR, in gfxhub_v3_0_3_init_system_aperture_regs() 207 WREG32_SOC15(GC, 0, regGCMC_VM_MX_L1_TLB_CNTL, tmp); in gfxhub_v3_0_3_init_tlb_regs() 232 WREG32_SOC15(GC, 0, regGCVM_L2_CNTL, tmp); in gfxhub_v3_0_3_init_cache_regs() 237 WREG32_SOC15(GC, 0, regGCVM_L2_CNTL2, tmp); in gfxhub_v3_0_3_init_cache_regs() 249 WREG32_SOC15(GC, 0, regGCVM_L2_CNTL3, tmp); in gfxhub_v3_0_3_init_cache_regs() 254 WREG32_SOC15(GC, 0, regGCVM_L2_CNTL4, tmp); in gfxhub_v3_0_3_init_cache_regs() 258 WREG32_SOC15(GC, 0, regGCVM_L2_CNTL5, tmp); in gfxhub_v3_0_3_init_cache_regs() 270 WREG32_SOC15(GC, 0, regGCVM_CONTEXT0_CNTL, tmp); in gfxhub_v3_0_3_enable_system_domain() 390 WREG32_SOC15(GC, 0, regGCMC_VM_MX_L1_TLB_CNTL, tmp); in gfxhub_v3_0_3_gart_disable() [all …]
|
H A D | mmhub_v1_8.c | 95 WREG32_SOC15(MMHUB, i, in mmhub_v1_8_init_gart_aperture_regs() 98 WREG32_SOC15(MMHUB, i, in mmhub_v1_8_init_gart_aperture_regs() 102 WREG32_SOC15(MMHUB, i, in mmhub_v1_8_init_gart_aperture_regs() 105 WREG32_SOC15(MMHUB, i, in mmhub_v1_8_init_gart_aperture_regs() 110 WREG32_SOC15(MMHUB, i, in mmhub_v1_8_init_gart_aperture_regs() 113 WREG32_SOC15(MMHUB, i, in mmhub_v1_8_init_gart_aperture_regs() 117 WREG32_SOC15(MMHUB, i, in mmhub_v1_8_init_gart_aperture_regs() 120 WREG32_SOC15(MMHUB, i, in mmhub_v1_8_init_gart_aperture_regs() 161 WREG32_SOC15(MMHUB, i, in mmhub_v1_8_init_system_aperture_regs() 176 WREG32_SOC15(MMHUB, i, in mmhub_v1_8_init_system_aperture_regs() [all …]
|
H A D | gfxhub_v1_0.c | 74 WREG32_SOC15(GC, 0, mmVM_CONTEXT0_PAGE_TABLE_END_ADDR_LO32, in gfxhub_v1_0_init_gart_aperture_regs() 76 WREG32_SOC15(GC, 0, mmVM_CONTEXT0_PAGE_TABLE_END_ADDR_HI32, in gfxhub_v1_0_init_gart_aperture_regs() 84 WREG32_SOC15(GC, 0, mmVM_CONTEXT0_PAGE_TABLE_END_ADDR_LO32, in gfxhub_v1_0_init_gart_aperture_regs() 86 WREG32_SOC15(GC, 0, mmVM_CONTEXT0_PAGE_TABLE_END_ADDR_HI32, in gfxhub_v1_0_init_gart_aperture_regs() 145 WREG32_SOC15(GC, 0, mmMC_VM_FB_LOCATION_TOP, 0); in gfxhub_v1_0_init_system_aperture_regs() 146 WREG32_SOC15(GC, 0, mmMC_VM_FB_LOCATION_BASE, 0x00FFFFFF); in gfxhub_v1_0_init_system_aperture_regs() 147 WREG32_SOC15(GC, 0, mmMC_VM_AGP_TOP, 0); in gfxhub_v1_0_init_system_aperture_regs() 148 WREG32_SOC15(GC, 0, mmMC_VM_AGP_BOT, 0xFFFFFF); in gfxhub_v1_0_init_system_aperture_regs() 230 WREG32_SOC15(GC, 0, mmVM_CONTEXT0_CNTL, tmp); in gfxhub_v1_0_enable_system_domain() 367 WREG32_SOC15(GC, 0, mmVM_L2_CNTL3, 0); in gfxhub_v1_0_gart_disable() [all …]
|
H A D | vcn_v2_0.c | 505 WREG32_SOC15(VCN, 0, mmUVD_CGC_CTRL, data); in vcn_v2_0_disable_clock_gating() 917 WREG32_SOC15(UVD, 0, mmUVD_SCRATCH2, 0); in vcn_v2_0_start_dpg_mode() 920 WREG32_SOC15(UVD, 0, mmUVD_RBC_RB_WPTR, in vcn_v2_0_start_dpg_mode() 948 WREG32_SOC15(UVD, 0, mmUVD_STATUS, tmp); in vcn_v2_0_start() 963 WREG32_SOC15(UVD, 0, mmUVD_LMI_CTRL, tmp | in vcn_v2_0_start() 976 WREG32_SOC15(UVD, 0, mmUVD_MPC_SET_MUXA0, in vcn_v2_0_start() 983 WREG32_SOC15(UVD, 0, mmUVD_MPC_SET_MUXB0, in vcn_v2_0_start() 990 WREG32_SOC15(UVD, 0, mmUVD_MPC_SET_MUX, in vcn_v2_0_start() 1078 WREG32_SOC15(UVD, 0, mmUVD_RBC_RB_WPTR, in vcn_v2_0_start() 1189 WREG32_SOC15(VCN, 0, mmUVD_STATUS, 0); in vcn_v2_0_stop() [all …]
|
H A D | mmhub_v1_0.c | 91 WREG32_SOC15(MMHUB, 0, mmMC_VM_AGP_BASE, 0); in mmhub_v1_0_init_system_aperture_regs() 174 WREG32_SOC15(MMHUB, 0, mmVM_L2_CNTL, tmp); in mmhub_v1_0_init_cache_regs() 179 WREG32_SOC15(MMHUB, 0, mmVM_L2_CNTL2, tmp); in mmhub_v1_0_init_cache_regs() 191 WREG32_SOC15(MMHUB, 0, mmVM_L2_CNTL3, tmp); in mmhub_v1_0_init_cache_regs() 196 WREG32_SOC15(MMHUB, 0, mmVM_L2_CNTL4, tmp); in mmhub_v1_0_init_cache_regs() 208 WREG32_SOC15(MMHUB, 0, mmVM_CONTEXT0_CNTL, tmp); in mmhub_v1_0_enable_system_domain() 221 WREG32_SOC15(MMHUB, 0, in mmhub_v1_0_disable_identity_aperture() 223 WREG32_SOC15(MMHUB, 0, in mmhub_v1_0_disable_identity_aperture() 323 WREG32_SOC15(MMHUB, 0, mmMC_VM_FB_LOCATION_TOP, in mmhub_v1_0_gart_enable() 365 WREG32_SOC15(MMHUB, 0, mmVM_L2_CNTL, tmp); in mmhub_v1_0_gart_disable() [all …]
|
H A D | psp_v13_0_4.c | 116 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_36, in psp_v13_0_4_bootloader_load_component() 119 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_35, in psp_v13_0_4_bootloader_load_component() 179 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_36, in psp_v13_0_4_bootloader_load_sos() 182 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_35, in psp_v13_0_4_bootloader_load_sos() 202 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_101, in psp_v13_0_4_ring_stop() 211 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_64, in psp_v13_0_4_ring_stop() 246 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_101, in psp_v13_0_4_ring_create() 267 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_69, psp_ring_reg); in psp_v13_0_4_ring_create() 326 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_102, value); in psp_v13_0_4_ring_set_wptr() 327 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_101, in psp_v13_0_4_ring_set_wptr() [all …]
|
H A D | nbio_v7_7.c | 33 WREG32_SOC15(NBIO, 0, regBIF_BX0_REMAP_HDP_MEM_FLUSH_CNTL, in nbio_v7_7_remap_hdp_registers() 35 WREG32_SOC15(NBIO, 0, regBIF_BX0_REMAP_HDP_REG_FLUSH_CNTL, in nbio_v7_7_remap_hdp_registers() 53 WREG32_SOC15(NBIO, 0, regBIF_BX1_BIF_FB_EN, in nbio_v7_7_mc_access_enable() 57 WREG32_SOC15(NBIO, 0, regBIF_BX1_BIF_FB_EN, 0); in nbio_v7_7_mc_access_enable() 133 WREG32_SOC15(NBIO, 0, in nbio_v7_7_enable_doorbell_selfring_aperture() 136 WREG32_SOC15(NBIO, 0, in nbio_v7_7_enable_doorbell_selfring_aperture() 165 WREG32_SOC15(NBIO, 0, regGDC0_BIF_IH_DOORBELL_RANGE, in nbio_v7_7_ih_doorbell_range() 174 WREG32_SOC15(NBIO, 0, regBIF_BX1_INTERRUPT_CNTL2, in nbio_v7_7_ih_control() 248 WREG32_SOC15(NBIO, 0, regBIF0_PCIE_MST_CTRL_3, data); in nbio_v7_7_init_registers() 278 WREG32_SOC15(NBIO, 0, regBIF0_CPM_CONTROL, data); in nbio_v7_7_update_medium_grain_clock_gating() [all …]
|
H A D | vcn_v3_0.c | 1118 WREG32_SOC15(VCN, i, mmUVD_STATUS, tmp); in vcn_v3_0_start() 1142 WREG32_SOC15(VCN, i, mmUVD_LMI_CTRL, tmp | in vcn_v3_0_start() 1152 WREG32_SOC15(VCN, i, mmUVD_MPC_CNTL, tmp); in vcn_v3_0_start() 1155 WREG32_SOC15(VCN, i, mmUVD_MPC_SET_MUXA0, in vcn_v3_0_start() 1162 WREG32_SOC15(VCN, i, mmUVD_MPC_SET_MUXB0, in vcn_v3_0_start() 1169 WREG32_SOC15(VCN, i, mmUVD_MPC_SET_MUX, in vcn_v3_0_start() 1249 WREG32_SOC15(VCN, i, mmUVD_RBC_RB_RPTR, 0); in vcn_v3_0_start() 1251 WREG32_SOC15(VCN, i, mmUVD_SCRATCH2, 0); in vcn_v3_0_start() 1253 WREG32_SOC15(VCN, i, mmUVD_RBC_RB_WPTR, in vcn_v3_0_start() 1454 WREG32_SOC15(VCN, 0, mmMMSCH_VF_VMID, tmp); in vcn_v3_0_start_sriov() [all …]
|
H A D | vcn_v2_5.c | 588 WREG32_SOC15(VCN, i, mmUVD_CGC_CTRL, data); in vcn_v2_5_disable_clock_gating() 612 WREG32_SOC15(VCN, i, mmUVD_CGC_GATE, data); in vcn_v2_5_disable_clock_gating() 637 WREG32_SOC15(VCN, i, mmUVD_CGC_CTRL, data); in vcn_v2_5_disable_clock_gating() 753 WREG32_SOC15(VCN, i, mmUVD_CGC_CTRL, data); in vcn_v2_5_enable_clock_gating() 986 WREG32_SOC15(VCN, i, mmUVD_STATUS, tmp); in vcn_v2_5_start() 1019 WREG32_SOC15(VCN, i, mmUVD_MPC_CNTL, tmp); in vcn_v2_5_start() 1022 WREG32_SOC15(VCN, i, mmUVD_MPC_SET_MUXA0, in vcn_v2_5_start() 1029 WREG32_SOC15(VCN, i, mmUVD_MPC_SET_MUXB0, in vcn_v2_5_start() 1036 WREG32_SOC15(VCN, i, mmUVD_MPC_SET_MUX, in vcn_v2_5_start() 1130 WREG32_SOC15(VCN, i, mmUVD_RBC_RB_WPTR, in vcn_v2_5_start() [all …]
|
H A D | mmhub_v2_0.c | 296 WREG32_SOC15(MMHUB, 0, mmMMVM_L2_CNTL, tmp); in mmhub_v2_0_init_cache_regs() 301 WREG32_SOC15(MMHUB, 0, mmMMVM_L2_CNTL2, tmp); in mmhub_v2_0_init_cache_regs() 313 WREG32_SOC15(MMHUB, 0, mmMMVM_L2_CNTL3, tmp); in mmhub_v2_0_init_cache_regs() 318 WREG32_SOC15(MMHUB, 0, mmMMVM_L2_CNTL4, tmp); in mmhub_v2_0_init_cache_regs() 322 WREG32_SOC15(MMHUB, 0, mmMMVM_L2_CNTL5, tmp); in mmhub_v2_0_init_cache_regs() 345 WREG32_SOC15(MMHUB, 0, in mmhub_v2_0_disable_identity_aperture() 348 WREG32_SOC15(MMHUB, 0, in mmhub_v2_0_disable_identity_aperture() 352 WREG32_SOC15(MMHUB, 0, in mmhub_v2_0_disable_identity_aperture() 354 WREG32_SOC15(MMHUB, 0, in mmhub_v2_0_disable_identity_aperture() 463 WREG32_SOC15(MMHUB, 0, mmMMVM_L2_CNTL, tmp); in mmhub_v2_0_gart_disable() [all …]
|
H A D | gfx_v11_0.c | 761 WREG32_SOC15(GC, 0, regSQ_IND_INDEX, in wave_read_ind() 771 WREG32_SOC15(GC, 0, regSQ_IND_INDEX, in wave_read_regs() 1783 WREG32_SOC15(GC, 0, regRLC_CNTL, tmp); in gfx_v11_0_rlc_stop() 3135 WREG32_SOC15(GC, 0, regCP_MAX_CONTEXT, in gfx_v11_0_cp_gfx_start() 3249 WREG32_SOC15(GC, 0, regCP_RB_VMID, 0); in gfx_v11_0_cp_gfx_resume() 3905 WREG32_SOC15(GC, 0, regCP_HQD_PQ_RPTR, in gfx_v11_0_kiq_init_register() 3920 WREG32_SOC15(GC, 0, regCP_MQD_CONTROL, in gfx_v11_0_kiq_init_register() 3924 WREG32_SOC15(GC, 0, regCP_HQD_PQ_BASE, in gfx_v11_0_kiq_init_register() 3969 WREG32_SOC15(GC, 0, regCP_HQD_ACTIVE, in gfx_v11_0_kiq_init_register() 5182 WREG32_SOC15(GC, 0, regCP_RB0_WPTR, in gfx_v11_0_ring_set_wptr_gfx() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
H A D | smu9_smumgr.c | 99 WREG32_SOC15(MP1, 0, mmMP1_SMN_C2PMSG_101, msg); in smu9_send_msg_to_smc_without_waiting() 101 WREG32_SOC15(MP1, 0, mmMP1_SMN_C2PMSG_66, msg); in smu9_send_msg_to_smc_without_waiting() 121 WREG32_SOC15(MP1, 0, mmMP1_SMN_C2PMSG_103, 0); in smu9_send_msg_to_smc() 123 WREG32_SOC15(MP1, 0, mmMP1_SMN_C2PMSG_90, 0); in smu9_send_msg_to_smc() 150 WREG32_SOC15(MP1, 0, mmMP1_SMN_C2PMSG_103, 0); in smu9_send_msg_to_smc_with_parameter() 151 WREG32_SOC15(MP1, 0, mmMP1_SMN_C2PMSG_102, parameter); in smu9_send_msg_to_smc_with_parameter() 153 WREG32_SOC15(MP1, 0, mmMP1_SMN_C2PMSG_90, 0); in smu9_send_msg_to_smc_with_parameter() 154 WREG32_SOC15(MP1, 0, mmMP1_SMN_C2PMSG_82, parameter); in smu9_send_msg_to_smc_with_parameter()
|