sh_num 553 drivers/gpu/drm/amd/amdgpu/amdgpu.h u32 sh_num, u32 reg_offset, u32 *value); sh_num 189 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h u32 sh_num, u32 instance); sh_num 633 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c unsigned sh_num = (info->read_mmr_reg.instance >> sh_num 641 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c if (sh_num == AMDGPU_INFO_MMR_SH_INDEX_MASK) sh_num 642 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c sh_num = 0xffffffff; sh_num 654 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c if (amdgpu_asic_read_register(adev, se_num, sh_num, sh_num 1029 drivers/gpu/drm/amd/amdgpu/cik.c u32 sh_num, u32 reg_offset) sh_num 1034 drivers/gpu/drm/amd/amdgpu/cik.c unsigned sh_idx = (sh_num == 0xffffffff) ? 0 : sh_num; sh_num 1048 drivers/gpu/drm/amd/amdgpu/cik.c if (se_num != 0xffffffff || sh_num != 0xffffffff) sh_num 1049 drivers/gpu/drm/amd/amdgpu/cik.c amdgpu_gfx_select_se_sh(adev, se_num, sh_num, 0xffffffff); sh_num 1053 drivers/gpu/drm/amd/amdgpu/cik.c if (se_num != 0xffffffff || sh_num != 0xffffffff) sh_num 1124 drivers/gpu/drm/amd/amdgpu/cik.c u32 sh_num, u32 reg_offset, u32 *value) sh_num 1135 drivers/gpu/drm/amd/amdgpu/cik.c *value = cik_get_register_value(adev, indexed, se_num, sh_num, sh_num 246 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c u32 sh_num, u32 instance); sh_num 1496 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c u32 sh_num, u32 instance) sh_num 1513 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (sh_num == 0xffffffff) sh_num 1517 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c data = REG_SET_FIELD(data, GRBM_GFX_INDEX, SA_INDEX, sh_num); sh_num 1302 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c u32 sh_num, u32 instance) sh_num 1311 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c if ((se_num == 0xffffffff) && (sh_num == 0xffffffff)) sh_num 1316 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c (sh_num << GRBM_GFX_INDEX__SH_INDEX__SHIFT); sh_num 1317 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c else if (sh_num == 0xffffffff) sh_num 1321 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c data |= (sh_num << GRBM_GFX_INDEX__SH_INDEX__SHIFT) | sh_num 1589 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c u32 se_num, u32 sh_num, u32 instance) sh_num 1598 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c if ((se_num == 0xffffffff) && (sh_num == 0xffffffff)) sh_num 1603 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c (sh_num << GRBM_GFX_INDEX__SH_INDEX__SHIFT); sh_num 1604 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c else if (sh_num == 0xffffffff) sh_num 1608 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c data |= (sh_num << GRBM_GFX_INDEX__SH_INDEX__SHIFT) | sh_num 3449 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c u32 se_num, u32 sh_num, u32 instance) sh_num 3463 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (sh_num == 0xffffffff) sh_num 3466 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c data = REG_SET_FIELD(data, GRBM_GFX_INDEX, SH_INDEX, sh_num); sh_num 732 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c static void gfx_v9_0_select_se_sh(struct amdgpu_device *adev, u32 se_num, u32 sh_num, u32 instance); sh_num 2378 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c static void gfx_v9_0_select_se_sh(struct amdgpu_device *adev, u32 se_num, u32 sh_num, u32 instance) sh_num 2392 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (sh_num == 0xffffffff) sh_num 2395 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c data = REG_SET_FIELD(data, GRBM_GFX_INDEX, SH_INDEX, sh_num); sh_num 29 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.h void gfx_v9_0_select_se_sh(struct amdgpu_device *adev, u32 se_num, u32 sh_num); sh_num 185 drivers/gpu/drm/amd/amdgpu/nv.c u32 sh_num, u32 reg_offset) sh_num 190 drivers/gpu/drm/amd/amdgpu/nv.c if (se_num != 0xffffffff || sh_num != 0xffffffff) sh_num 191 drivers/gpu/drm/amd/amdgpu/nv.c amdgpu_gfx_select_se_sh(adev, se_num, sh_num, 0xffffffff); sh_num 195 drivers/gpu/drm/amd/amdgpu/nv.c if (se_num != 0xffffffff || sh_num != 0xffffffff) sh_num 203 drivers/gpu/drm/amd/amdgpu/nv.c u32 sh_num, u32 reg_offset) sh_num 206 drivers/gpu/drm/amd/amdgpu/nv.c return nv_read_indexed_register(adev, se_num, sh_num, reg_offset); sh_num 215 drivers/gpu/drm/amd/amdgpu/nv.c u32 sh_num, u32 reg_offset, u32 *value) sh_num 229 drivers/gpu/drm/amd/amdgpu/nv.c se_num, sh_num, reg_offset); sh_num 1019 drivers/gpu/drm/amd/amdgpu/si.c u32 sh_num, u32 reg_offset) sh_num 1024 drivers/gpu/drm/amd/amdgpu/si.c unsigned sh_idx = (sh_num == 0xffffffff) ? 0 : sh_num; sh_num 1036 drivers/gpu/drm/amd/amdgpu/si.c if (se_num != 0xffffffff || sh_num != 0xffffffff) sh_num 1037 drivers/gpu/drm/amd/amdgpu/si.c amdgpu_gfx_select_se_sh(adev, se_num, sh_num, 0xffffffff); sh_num 1041 drivers/gpu/drm/amd/amdgpu/si.c if (se_num != 0xffffffff || sh_num != 0xffffffff) sh_num 1093 drivers/gpu/drm/amd/amdgpu/si.c u32 sh_num, u32 reg_offset, u32 *value) sh_num 1104 drivers/gpu/drm/amd/amdgpu/si.c *value = si_get_register_value(adev, indexed, se_num, sh_num, sh_num 372 drivers/gpu/drm/amd/amdgpu/soc15.c u32 sh_num, u32 reg_offset) sh_num 377 drivers/gpu/drm/amd/amdgpu/soc15.c if (se_num != 0xffffffff || sh_num != 0xffffffff) sh_num 378 drivers/gpu/drm/amd/amdgpu/soc15.c amdgpu_gfx_select_se_sh(adev, se_num, sh_num, 0xffffffff); sh_num 382 drivers/gpu/drm/amd/amdgpu/soc15.c if (se_num != 0xffffffff || sh_num != 0xffffffff) sh_num 390 drivers/gpu/drm/amd/amdgpu/soc15.c u32 sh_num, u32 reg_offset) sh_num 393 drivers/gpu/drm/amd/amdgpu/soc15.c return soc15_read_indexed_register(adev, se_num, sh_num, reg_offset); sh_num 404 drivers/gpu/drm/amd/amdgpu/soc15.c u32 sh_num, u32 reg_offset, u32 *value) sh_num 418 drivers/gpu/drm/amd/amdgpu/soc15.c se_num, sh_num, reg_offset); sh_num 553 drivers/gpu/drm/amd/amdgpu/vi.c u32 sh_num, u32 reg_offset) sh_num 558 drivers/gpu/drm/amd/amdgpu/vi.c unsigned sh_idx = (sh_num == 0xffffffff) ? 0 : sh_num; sh_num 572 drivers/gpu/drm/amd/amdgpu/vi.c if (se_num != 0xffffffff || sh_num != 0xffffffff) sh_num 573 drivers/gpu/drm/amd/amdgpu/vi.c amdgpu_gfx_select_se_sh(adev, se_num, sh_num, 0xffffffff); sh_num 577 drivers/gpu/drm/amd/amdgpu/vi.c if (se_num != 0xffffffff || sh_num != 0xffffffff) sh_num 648 drivers/gpu/drm/amd/amdgpu/vi.c u32 sh_num, u32 reg_offset, u32 *value) sh_num 659 drivers/gpu/drm/amd/amdgpu/vi.c *value = vi_get_register_value(adev, indexed, se_num, sh_num, sh_num 3040 drivers/gpu/drm/radeon/cik.c u32 se_num, u32 sh_num) sh_num 3044 drivers/gpu/drm/radeon/cik.c if ((se_num == 0xffffffff) && (sh_num == 0xffffffff)) sh_num 3047 drivers/gpu/drm/radeon/cik.c data |= SE_BROADCAST_WRITES | SH_INDEX(sh_num); sh_num 3048 drivers/gpu/drm/radeon/cik.c else if (sh_num == 0xffffffff) sh_num 3051 drivers/gpu/drm/radeon/cik.c data |= SH_INDEX(sh_num) | SE_INDEX(se_num); sh_num 2952 drivers/gpu/drm/radeon/si.c u32 se_num, u32 sh_num) sh_num 2956 drivers/gpu/drm/radeon/si.c if ((se_num == 0xffffffff) && (sh_num == 0xffffffff)) sh_num 2959 drivers/gpu/drm/radeon/si.c data |= SE_BROADCAST_WRITES | SH_INDEX(sh_num); sh_num 2960 drivers/gpu/drm/radeon/si.c else if (sh_num == 0xffffffff) sh_num 2963 drivers/gpu/drm/radeon/si.c data |= SH_INDEX(sh_num) | SE_INDEX(se_num);