Home
last modified time | relevance | path

Searched refs:hwip (Results 1 – 25 of 26) sorted by relevance

12

/linux/drivers/gpu/drm/amd/amdgpu/
H A Dsoc15.h38 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 Dsoc15_common.h40 #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 Damdgpu_aca.c186 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 Damdgpu_virt.h374 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 Damdgpu_aca.h152 enum aca_hwip_type hwip; member
187 enum aca_hwip_type hwip; member
H A Damdgpu_imu.h42 u32 hwip; member
H A Damdgpu_virt.c970 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 Damdgpu_ras.h383 #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 Dsoc15.c422 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 Dsoc24.c178 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 Dimu_v11_0_3.c117 reg = adev->reg_offset[entry->hwip][entry->instance][entry->segment] + entry->reg; in program_rlc_ram_register_setting()
H A Dsoc21.c317 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 Dnv.c396 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 Dimu_v12_0.c261 reg = adev->reg_offset[entry->hwip][entry->instance][entry->segment] + entry->reg; in program_imu_rlc_ram_old()
H A Dimu_v11_0.c327 reg = adev->reg_offset[entry->hwip][entry->instance][entry->segment] + entry->reg; in program_imu_rlc_ram()
H A Dumc_v12_0.c500 .hwip = ACA_HWIP_TYPE_UMC,
H A Dmmhub_v1_8.c772 .hwip = ACA_HWIP_TYPE_SMU,
H A Damdgpu_ras.c4418 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 Damdgpu_xgmi.c1087 .hwip = ACA_HWIP_TYPE_PCS_XGMI,
H A Damdgpu.h148 u32 hwip; member
H A Dgfx_v9_4_3.c917 .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 Dsdma_v4_4_2.c2350 .hwip = ACA_HWIP_TYPE_SMU,
H A Dgfx_v9_0.c5163 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 Dcommon_baco.h47 uint32_t hwip; member
H A Dcommon_baco.c112 reg = adev->reg_offset[entry[i].hwip][entry[i].inst][entry[i].seg] in soc15_baco_program_registers()

12