internal_offset 106 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c static u32 sdma_v5_0_get_reg_offset(struct amdgpu_device *adev, u32 instance, u32 internal_offset) internal_offset 110 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c if (internal_offset >= SDMA0_HYP_DEC_REG_START && internal_offset 111 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c internal_offset <= SDMA0_HYP_DEC_REG_END) { internal_offset 114 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c internal_offset += SDMA1_HYP_DEC_REG_OFFSET; internal_offset 118 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c internal_offset += SDMA1_REG_OFFSET; internal_offset 121 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c return base + internal_offset;