Home
last modified time | relevance | path

Searched refs:rlcg_flag (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_virt.c971 bool write, u32 *rlcg_flag) in amdgpu_virt_get_rlcg_reg_access_flag() argument
978 *rlcg_flag = in amdgpu_virt_get_rlcg_reg_access_flag()
985 *rlcg_flag = AMDGPU_RLCG_GC_WRITE_LEGACY; in amdgpu_virt_get_rlcg_reg_access_flag()
992 *rlcg_flag = AMDGPU_RLCG_MMHUB_WRITE; in amdgpu_virt_get_rlcg_reg_access_flag()
1102 u32 rlcg_flag; in amdgpu_sriov_wreg() local
1108 amdgpu_virt_get_rlcg_reg_access_flag(adev, acc_flags, hwip, true, &rlcg_flag)) { in amdgpu_sriov_wreg()
1109 amdgpu_virt_rlcg_reg_rw(adev, offset, value, rlcg_flag, xcc_id); in amdgpu_sriov_wreg()
1122 u32 rlcg_flag; in amdgpu_sriov_rreg() local
1128 amdgpu_virt_get_rlcg_reg_access_flag(adev, acc_flags, hwip, false, &rlcg_flag)) in amdgpu_sriov_rreg()
1129 return amdgpu_virt_rlcg_reg_rw(adev, offset, 0, rlcg_flag, xcc_id); in amdgpu_sriov_rreg()
Damdgpu_virt.h384 bool write, u32 *rlcg_flag);
Damdgpu_device.c670 uint32_t ret, rlcg_flag; in amdgpu_device_xcc_rreg() local
681 &rlcg_flag)) { in amdgpu_device_xcc_rreg()
682 ret = amdgpu_virt_rlcg_reg_rw(adev, reg, 0, rlcg_flag, GET_INST(GC, xcc_id)); in amdgpu_device_xcc_rreg()
801 uint32_t rlcg_flag; in amdgpu_device_xcc_wreg() local
812 &rlcg_flag)) { in amdgpu_device_xcc_wreg()
813 amdgpu_virt_rlcg_reg_rw(adev, reg, v, rlcg_flag, GET_INST(GC, xcc_id)); in amdgpu_device_xcc_wreg()