se_num 552 drivers/gpu/drm/amd/amdgpu/amdgpu.h int (*read_register)(struct amdgpu_device *adev, u32 se_num, se_num 188 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h void (*select_se_sh)(struct amdgpu_device *adev, u32 se_num, se_num 630 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c unsigned se_num = (info->read_mmr_reg.instance >> se_num 639 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c if (se_num == AMDGPU_INFO_MMR_SE_INDEX_MASK) se_num 640 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c se_num = 0xffffffff; se_num 654 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c if (amdgpu_asic_read_register(adev, se_num, sh_num, se_num 1028 drivers/gpu/drm/amd/amdgpu/cik.c bool indexed, u32 se_num, se_num 1033 drivers/gpu/drm/amd/amdgpu/cik.c unsigned se_idx = (se_num == 0xffffffff) ? 0 : se_num; se_num 1048 drivers/gpu/drm/amd/amdgpu/cik.c if (se_num != 0xffffffff || sh_num != 0xffffffff) se_num 1049 drivers/gpu/drm/amd/amdgpu/cik.c amdgpu_gfx_select_se_sh(adev, se_num, sh_num, 0xffffffff); se_num 1053 drivers/gpu/drm/amd/amdgpu/cik.c if (se_num != 0xffffffff || sh_num != 0xffffffff) se_num 1123 drivers/gpu/drm/amd/amdgpu/cik.c static int cik_read_register(struct amdgpu_device *adev, u32 se_num, se_num 1135 drivers/gpu/drm/amd/amdgpu/cik.c *value = cik_get_register_value(adev, indexed, se_num, sh_num, se_num 245 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c static void gfx_v10_0_select_se_sh(struct amdgpu_device *adev, u32 se_num, se_num 1495 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c static void gfx_v10_0_select_se_sh(struct amdgpu_device *adev, u32 se_num, se_num 1507 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (se_num == 0xffffffff) se_num 1511 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c data = REG_SET_FIELD(data, GRBM_GFX_INDEX, SE_INDEX, se_num); se_num 1301 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c static void gfx_v6_0_select_se_sh(struct amdgpu_device *adev, u32 se_num, se_num 1311 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c if ((se_num == 0xffffffff) && (sh_num == 0xffffffff)) se_num 1314 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c else if (se_num == 0xffffffff) se_num 1319 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c (se_num << GRBM_GFX_INDEX__SE_INDEX__SHIFT); se_num 1322 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c (se_num << GRBM_GFX_INDEX__SE_INDEX__SHIFT); se_num 1589 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c u32 se_num, u32 sh_num, u32 instance) se_num 1598 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c if ((se_num == 0xffffffff) && (sh_num == 0xffffffff)) se_num 1601 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c else if (se_num == 0xffffffff) se_num 1606 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c (se_num << GRBM_GFX_INDEX__SE_INDEX__SHIFT); se_num 1609 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c (se_num << GRBM_GFX_INDEX__SE_INDEX__SHIFT); se_num 3449 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c u32 se_num, u32 sh_num, u32 instance) se_num 3458 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (se_num == 0xffffffff) se_num 3461 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c data = REG_SET_FIELD(data, GRBM_GFX_INDEX, SE_INDEX, se_num); se_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); se_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) se_num 2387 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (se_num == 0xffffffff) se_num 2390 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c data = REG_SET_FIELD(data, GRBM_GFX_INDEX, SE_INDEX, se_num); se_num 4381 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c for (j = 0; j < sec_ded_counter_registers[i].se_num; j++) { se_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); se_num 184 drivers/gpu/drm/amd/amdgpu/nv.c static uint32_t nv_read_indexed_register(struct amdgpu_device *adev, u32 se_num, se_num 190 drivers/gpu/drm/amd/amdgpu/nv.c if (se_num != 0xffffffff || sh_num != 0xffffffff) se_num 191 drivers/gpu/drm/amd/amdgpu/nv.c amdgpu_gfx_select_se_sh(adev, se_num, sh_num, 0xffffffff); se_num 195 drivers/gpu/drm/amd/amdgpu/nv.c if (se_num != 0xffffffff || sh_num != 0xffffffff) se_num 202 drivers/gpu/drm/amd/amdgpu/nv.c bool indexed, u32 se_num, se_num 206 drivers/gpu/drm/amd/amdgpu/nv.c return nv_read_indexed_register(adev, se_num, sh_num, reg_offset); se_num 214 drivers/gpu/drm/amd/amdgpu/nv.c static int nv_read_register(struct amdgpu_device *adev, u32 se_num, se_num 229 drivers/gpu/drm/amd/amdgpu/nv.c se_num, sh_num, reg_offset); se_num 1018 drivers/gpu/drm/amd/amdgpu/si.c bool indexed, u32 se_num, se_num 1023 drivers/gpu/drm/amd/amdgpu/si.c unsigned se_idx = (se_num == 0xffffffff) ? 0 : se_num; se_num 1036 drivers/gpu/drm/amd/amdgpu/si.c if (se_num != 0xffffffff || sh_num != 0xffffffff) se_num 1037 drivers/gpu/drm/amd/amdgpu/si.c amdgpu_gfx_select_se_sh(adev, se_num, sh_num, 0xffffffff); se_num 1041 drivers/gpu/drm/amd/amdgpu/si.c if (se_num != 0xffffffff || sh_num != 0xffffffff) se_num 1092 drivers/gpu/drm/amd/amdgpu/si.c static int si_read_register(struct amdgpu_device *adev, u32 se_num, se_num 1104 drivers/gpu/drm/amd/amdgpu/si.c *value = si_get_register_value(adev, indexed, se_num, sh_num, se_num 371 drivers/gpu/drm/amd/amdgpu/soc15.c static uint32_t soc15_read_indexed_register(struct amdgpu_device *adev, u32 se_num, se_num 377 drivers/gpu/drm/amd/amdgpu/soc15.c if (se_num != 0xffffffff || sh_num != 0xffffffff) se_num 378 drivers/gpu/drm/amd/amdgpu/soc15.c amdgpu_gfx_select_se_sh(adev, se_num, sh_num, 0xffffffff); se_num 382 drivers/gpu/drm/amd/amdgpu/soc15.c if (se_num != 0xffffffff || sh_num != 0xffffffff) se_num 389 drivers/gpu/drm/amd/amdgpu/soc15.c bool indexed, u32 se_num, se_num 393 drivers/gpu/drm/amd/amdgpu/soc15.c return soc15_read_indexed_register(adev, se_num, sh_num, reg_offset); se_num 403 drivers/gpu/drm/amd/amdgpu/soc15.c static int soc15_read_register(struct amdgpu_device *adev, u32 se_num, se_num 418 drivers/gpu/drm/amd/amdgpu/soc15.c se_num, sh_num, reg_offset); se_num 51 drivers/gpu/drm/amd/amdgpu/soc15.h uint32_t se_num; se_num 552 drivers/gpu/drm/amd/amdgpu/vi.c bool indexed, u32 se_num, se_num 557 drivers/gpu/drm/amd/amdgpu/vi.c unsigned se_idx = (se_num == 0xffffffff) ? 0 : se_num; se_num 572 drivers/gpu/drm/amd/amdgpu/vi.c if (se_num != 0xffffffff || sh_num != 0xffffffff) se_num 573 drivers/gpu/drm/amd/amdgpu/vi.c amdgpu_gfx_select_se_sh(adev, se_num, sh_num, 0xffffffff); se_num 577 drivers/gpu/drm/amd/amdgpu/vi.c if (se_num != 0xffffffff || sh_num != 0xffffffff) se_num 647 drivers/gpu/drm/amd/amdgpu/vi.c static int vi_read_register(struct amdgpu_device *adev, u32 se_num, se_num 659 drivers/gpu/drm/amd/amdgpu/vi.c *value = vi_get_register_value(adev, indexed, se_num, sh_num, se_num 3040 drivers/gpu/drm/radeon/cik.c u32 se_num, u32 sh_num) se_num 3044 drivers/gpu/drm/radeon/cik.c if ((se_num == 0xffffffff) && (sh_num == 0xffffffff)) se_num 3046 drivers/gpu/drm/radeon/cik.c else if (se_num == 0xffffffff) se_num 3049 drivers/gpu/drm/radeon/cik.c data |= SH_BROADCAST_WRITES | SE_INDEX(se_num); se_num 3051 drivers/gpu/drm/radeon/cik.c data |= SH_INDEX(sh_num) | SE_INDEX(se_num); se_num 3116 drivers/gpu/drm/radeon/cik.c u32 se_num, u32 sh_per_se, se_num 3124 drivers/gpu/drm/radeon/cik.c for (i = 0; i < se_num; i++) { se_num 3137 drivers/gpu/drm/radeon/cik.c for (i = 0; i < max_rb_num_per_se * se_num; i++) { se_num 3145 drivers/gpu/drm/radeon/cik.c for (i = 0; i < se_num; i++) { se_num 2952 drivers/gpu/drm/radeon/si.c u32 se_num, u32 sh_num) se_num 2956 drivers/gpu/drm/radeon/si.c if ((se_num == 0xffffffff) && (sh_num == 0xffffffff)) se_num 2958 drivers/gpu/drm/radeon/si.c else if (se_num == 0xffffffff) se_num 2961 drivers/gpu/drm/radeon/si.c data |= SH_BROADCAST_WRITES | SE_INDEX(se_num); se_num 2963 drivers/gpu/drm/radeon/si.c data |= SH_INDEX(sh_num) | SE_INDEX(se_num); se_num 2997 drivers/gpu/drm/radeon/si.c u32 se_num, u32 sh_per_se, se_num 3003 drivers/gpu/drm/radeon/si.c for (i = 0; i < se_num; i++) { se_num 3044 drivers/gpu/drm/radeon/si.c u32 se_num, u32 sh_per_se, se_num 3052 drivers/gpu/drm/radeon/si.c for (i = 0; i < se_num; i++) { se_num 3062 drivers/gpu/drm/radeon/si.c for (i = 0; i < max_rb_num_per_se * se_num; i++) { se_num 3070 drivers/gpu/drm/radeon/si.c for (i = 0; i < se_num; i++) {