/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | psp_v11_0_8.c | 64 unsigned int psp_ring_reg = 0; in psp_v11_0_8_ring_create() local 76 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v11_0_8_ring_create() 79 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v11_0_8_ring_create() 103 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); 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() 106 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); 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() 109 psp_ring_reg = ring->ring_size; 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() 112 psp_ring_reg = ring_type; in psp_v11_0_8_ring_create() [all …]
|
H A D | psp_v10_0.c | 73 unsigned int psp_ring_reg = 0; in psp_v10_0_ring_create() local 78 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v10_0_ring_create() 79 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_69, psp_ring_reg); in psp_v10_0_ring_create() 81 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v10_0_ring_create() 82 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_70, psp_ring_reg); in psp_v10_0_ring_create() 84 psp_ring_reg = ring->ring_size; in psp_v10_0_ring_create() 85 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_71, psp_ring_reg); in psp_v10_0_ring_create() 87 psp_ring_reg = ring_type; in psp_v10_0_ring_create() 88 psp_ring_reg = psp_ring_reg << 16; in psp_v10_0_ring_create() 105 unsigned int psp_ring_reg = 0; in psp_v10_0_ring_stop() local [all …]
|
H A D | psp_v3_1.c | 190 unsigned int psp_ring_reg = 0; in psp_v3_1_ring_create() local 205 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v3_1_ring_create() 208 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v3_1_ring_create() 212 psp_ring_reg = ring_type; in psp_v3_1_ring_create() 213 psp_ring_reg = psp_ring_reg << 16; in psp_v3_1_ring_create() 226 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v3_1_ring_create() 227 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_69, psp_ring_reg); in psp_v3_1_ring_create() 229 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v3_1_ring_create() 232 psp_ring_reg = ring->ring_size; in psp_v3_1_ring_create() 235 psp_ring_reg = ring_type; in psp_v3_1_ring_create() [all …]
|
H A D | psp_v13_0_4.c | 227 unsigned int psp_ring_reg = 0; in psp_v13_0_4_ring_create() local 239 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v13_0_4_ring_create() 242 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v13_0_4_ring_create() 266 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); 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() 269 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v13_0_4_ring_create() 270 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_70, psp_ring_reg); in psp_v13_0_4_ring_create() 272 psp_ring_reg = ring->ring_size; in psp_v13_0_4_ring_create() 273 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_71, psp_ring_reg); in psp_v13_0_4_ring_create() 275 psp_ring_reg = ring_type; in psp_v13_0_4_ring_create() [all …]
|
H A D | psp_v12_0.c | 185 unsigned int psp_ring_reg = 0; in psp_v12_0_ring_create() local 193 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v12_0_ring_create() 196 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v12_0_ring_create() 212 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v12_0_ring_create() 213 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_69, psp_ring_reg); in psp_v12_0_ring_create() 215 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v12_0_ring_create() 216 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_70, psp_ring_reg); in psp_v12_0_ring_create() 218 psp_ring_reg = ring->ring_size; in psp_v12_0_ring_create() 219 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_71, psp_ring_reg); in psp_v12_0_ring_create() 221 psp_ring_reg = ring_type; in psp_v12_0_ring_create() [all …]
|
H A D | psp_v11_0.c | 292 unsigned int psp_ring_reg = 0; in psp_v11_0_ring_create() local 305 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v11_0_ring_create() 308 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v11_0_ring_create() 332 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v11_0_ring_create() 333 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_69, psp_ring_reg); in psp_v11_0_ring_create() 335 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v11_0_ring_create() 336 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_70, psp_ring_reg); in psp_v11_0_ring_create() 338 psp_ring_reg = ring->ring_size; in psp_v11_0_ring_create() 339 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_71, psp_ring_reg); in psp_v11_0_ring_create() 341 psp_ring_reg = ring_type; in psp_v11_0_ring_create() [all …]
|
H A D | psp_v13_0.c | 341 unsigned int psp_ring_reg = 0; in psp_v13_0_ring_create() local 353 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v13_0_ring_create() 356 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v13_0_ring_create() 380 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v13_0_ring_create() 381 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_69, psp_ring_reg); in psp_v13_0_ring_create() 383 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v13_0_ring_create() 384 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_70, psp_ring_reg); in psp_v13_0_ring_create() 386 psp_ring_reg = ring->ring_size; in psp_v13_0_ring_create() 387 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_71, psp_ring_reg); in psp_v13_0_ring_create() 389 psp_ring_reg = ring_type; in psp_v13_0_ring_create() [all …]
|