/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | soc15.h | 38 u32 hwip; member 47 u32 hwip; member 54 uint32_t hwip; member 61 uint32_t hwip; member 71 uint32_t hwip; member 80 uint32_t hwip; member 94 #define SOC15_REG_ENTRY_OFFSET(entry) (adev->reg_offset[entry.hwip][entry.inst][entry.seg] + entry.… 98 (adev->reg_offset[entry.hwip][inst][entry.seg] + entry.reg_offset)
|
H A D | soc15_common.h | 40 #define __WREG32_SOC15_RLC__(reg, value, flag, hwip, inst) \ argument 42 amdgpu_sriov_wreg(adev, reg, value, flag, hwip, inst) : \ 45 #define __RREG32_SOC15_RLC__(reg, flag, hwip, inst) \ argument 47 amdgpu_sriov_rreg(adev, reg, flag, hwip, inst) : \ 145 #define WREG32_RLC_NO_KIQ(reg, value, hwip) \ argument 146 __WREG32_SOC15_RLC__(reg, value, AMDGPU_REGS_NO_KIQ | AMDGPU_REGS_RLC, hwip, 0) 148 #define RREG32_RLC_NO_KIQ(reg, hwip) \ argument 149 __RREG32_SOC15_RLC__(reg, AMDGPU_REGS_NO_KIQ | AMDGPU_REGS_RLC, hwip, 0)
|
H A D | amdgpu_aca.c | 186 struct aca_hwip *hwip; in aca_bank_hwip_is_matched() local 193 hwip = &aca_hwid_mcatypes[type]; in aca_bank_hwip_is_matched() 194 if (!hwip->hwid) in aca_bank_hwip_is_matched() 201 return hwip->hwid == hwid && hwip->mcatype == mcatype; in aca_bank_hwip_is_matched() 208 if (!aca_bank_hwip_is_matched(bank, handle->hwip)) in aca_bank_is_valid() 595 handle->hwip = ras_info->hwip; in add_aca_handle()
|
H A D | amdgpu_virt.h | 374 u32 acc_flags, u32 hwip, u32 xcc_id); 376 u32 offset, u32 acc_flags, u32 hwip, u32 xcc_id); 383 u32 acc_flags, u32 hwip,
|
H A D | amdgpu_aca.h | 152 enum aca_hwip_type hwip; member 187 enum aca_hwip_type hwip; member
|
H A D | amdgpu_imu.h | 42 u32 hwip; member
|
H A D | amdgpu_virt.c | 970 u32 acc_flags, u32 hwip, in amdgpu_virt_get_rlcg_reg_access_flag() argument 975 switch (hwip) { in amdgpu_virt_get_rlcg_reg_access_flag() 1100 u32 acc_flags, u32 hwip, u32 xcc_id) in amdgpu_sriov_wreg() argument 1108 amdgpu_virt_get_rlcg_reg_access_flag(adev, acc_flags, hwip, true, &rlcg_flag)) { in amdgpu_sriov_wreg() 1120 u32 offset, u32 acc_flags, u32 hwip, u32 xcc_id) in amdgpu_sriov_rreg() argument 1128 amdgpu_virt_get_rlcg_reg_access_flag(adev, acc_flags, hwip, false, &rlcg_flag)) in amdgpu_sriov_rreg()
|
H A D | amdgpu_ras.h | 383 #define AMDGPU_RAS_REG_ENTRY_OFFSET(hwip, ip_inst, segment, reg) \ argument 384 (adev->reg_offset[hwip][ip_inst][segment] + (reg)) 394 uint32_t hwip; member
|
H A D | soc15.c | 422 if (!adev->reg_offset[en->hwip][en->inst]) in soc15_read_register() 424 else if (reg_offset != (adev->reg_offset[en->hwip][en->inst][en->seg] in soc15_read_register() 458 reg = adev->reg_offset[entry->hwip][entry->instance][entry->segment] + entry->reg; in soc15_program_register_sequence() 463 tmp = (entry->hwip == GC_HWIP) ? in soc15_program_register_sequence() 476 (entry->hwip == GC_HWIP) ? in soc15_program_register_sequence()
|
H A D | soc24.c | 178 if (!adev->reg_offset[en->hwip][en->inst]) in soc24_read_register() 180 else if (reg_offset != (adev->reg_offset[en->hwip][en->inst][en->seg] in soc24_read_register()
|
H A D | imu_v11_0_3.c | 117 reg = adev->reg_offset[entry->hwip][entry->instance][entry->segment] + entry->reg; in program_rlc_ram_register_setting()
|
H A D | soc21.c | 317 if (!adev->reg_offset[en->hwip][en->inst]) in soc21_read_register() 319 else if (reg_offset != (adev->reg_offset[en->hwip][en->inst][en->seg] in soc21_read_register()
|
H A D | nv.c | 396 if (!adev->reg_offset[en->hwip][en->inst]) in nv_read_register() 398 else if (reg_offset != (adev->reg_offset[en->hwip][en->inst][en->seg] in nv_read_register()
|
H A D | imu_v12_0.c | 261 reg = adev->reg_offset[entry->hwip][entry->instance][entry->segment] + entry->reg; in program_imu_rlc_ram_old()
|
H A D | imu_v11_0.c | 327 reg = adev->reg_offset[entry->hwip][entry->instance][entry->segment] + entry->reg; in program_imu_rlc_ram()
|
H A D | umc_v12_0.c | 500 .hwip = ACA_HWIP_TYPE_UMC,
|
H A D | mmhub_v1_8.c | 772 .hwip = ACA_HWIP_TYPE_SMU,
|
H A D | amdgpu_ras.c | 4418 AMDGPU_RAS_REG_ENTRY_OFFSET(reg_entry->hwip, instance, in amdgpu_ras_inst_get_memory_id_field() 4442 AMDGPU_RAS_REG_ENTRY_OFFSET(reg_entry->hwip, instance, in amdgpu_ras_inst_get_err_cnt_field() 4519 AMDGPU_RAS_REG_ENTRY_OFFSET(reg_list[i].hwip, instance, in amdgpu_ras_inst_reset_ras_error_count() 4522 AMDGPU_RAS_REG_ENTRY_OFFSET(reg_list[i].hwip, instance, in amdgpu_ras_inst_reset_ras_error_count()
|
H A D | amdgpu_xgmi.c | 1087 .hwip = ACA_HWIP_TYPE_PCS_XGMI,
|
H A D | amdgpu.h | 148 u32 hwip; member
|
H A D | gfx_v9_4_3.c | 917 .hwip = ACA_HWIP_TYPE_SMU, 1679 adev, entry->hwip, entry->instance) : in gfx_v9_4_3_check_rlcg_range() 1681 reg = adev->reg_offset[entry->hwip][inst][entry->segment] + in gfx_v9_4_3_check_rlcg_range()
|
H A D | sdma_v4_4_2.c | 2350 .hwip = ACA_HWIP_TYPE_SMU,
|
H A D | gfx_v9_0.c | 5163 reg = adev->reg_offset[entry->hwip][entry->instance][entry->segment] + entry->reg; in gfx_v9_0_check_rlcg_range()
|
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | common_baco.h | 47 uint32_t hwip; member
|
H A D | common_baco.c | 112 reg = adev->reg_offset[entry[i].hwip][entry[i].inst][entry[i].seg] in soc15_baco_program_registers()
|