/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | soc24.c | 138 u32 sh_num, in soc24_read_indexed_register() argument 144 if (se_num != 0xffffffff || sh_num != 0xffffffff) in soc24_read_indexed_register() 145 amdgpu_gfx_select_se_sh(adev, se_num, sh_num, 0xffffffff, 0); in soc24_read_indexed_register() 149 if (se_num != 0xffffffff || sh_num != 0xffffffff) in soc24_read_indexed_register() 157 u32 sh_num, u32 reg_offset) in soc24_get_register_value() argument 160 return soc24_read_indexed_register(adev, se_num, sh_num, reg_offset); in soc24_get_register_value() 170 u32 sh_num, u32 reg_offset, u32 *value) in soc24_read_register() argument 186 se_num, sh_num, reg_offset); in soc24_read_register()
|
H A D | gfx_v9_0.h | 29 void gfx_v9_0_select_se_sh(struct amdgpu_device *adev, u32 se_num, u32 sh_num,
|
H A D | amdgpu_kms.c | 788 unsigned int sh_num = (info->read_mmr_reg.instance >> in amdgpu_info_ioctl() local 805 if (sh_num == AMDGPU_INFO_MMR_SH_INDEX_MASK) { in amdgpu_info_ioctl() 806 sh_num = 0xffffffff; in amdgpu_info_ioctl() 807 } else if (sh_num >= AMDGPU_GFX_MAX_SH_PER_SE) { in amdgpu_info_ioctl() 827 if (amdgpu_asic_read_register(adev, se_num, sh_num, in amdgpu_info_ioctl()
|
H A D | gfx_v9_4.c | 94 u32 sh_num, u32 instance) in gfx_v9_4_select_se_sh() argument 111 if (sh_num == 0xffffffff) in gfx_v9_4_select_se_sh() 115 data = REG_SET_FIELD(data, GRBM_GFX_INDEX, SH_INDEX, sh_num); in gfx_v9_4_select_se_sh()
|
H A D | amdgpu_gfx.h | 291 u32 sh_num, u32 instance, int xcc_id);
|
H A D | gfx_v9_4_2.c | 848 u32 sh_num, u32 instance) in gfx_v9_4_2_select_se_sh() argument 865 if (sh_num == 0xffffffff) in gfx_v9_4_2_select_se_sh() 869 data = REG_SET_FIELD(data, GRBM_GFX_INDEX, SH_INDEX, sh_num); in gfx_v9_4_2_select_se_sh()
|
H A D | gfx_v7_0.c | 1550 u32 se_num, u32 sh_num, u32 instance, in gfx_v7_0_select_se_sh() argument 1560 if ((se_num == 0xffffffff) && (sh_num == 0xffffffff)) in gfx_v7_0_select_se_sh() 1565 (sh_num << GRBM_GFX_INDEX__SH_INDEX__SHIFT); in gfx_v7_0_select_se_sh() 1566 else if (sh_num == 0xffffffff) in gfx_v7_0_select_se_sh() 1570 data |= (sh_num << GRBM_GFX_INDEX__SH_INDEX__SHIFT) | in gfx_v7_0_select_se_sh()
|
H A D | gfx_v12_0.c | 230 u32 sh_num, u32 instance, int xcc_id); 1548 u32 sh_num, u32 instance, int xcc_id) in gfx_v12_0_select_se_sh() argument 1565 if (sh_num == 0xffffffff) in gfx_v12_0_select_se_sh() 1569 data = REG_SET_FIELD(data, GRBM_GFX_INDEX, SA_INDEX, sh_num); in gfx_v12_0_select_se_sh()
|
H A D | gfx_v9_4_3.c | 699 u32 sh_num, u32 instance, int xcc_id) in gfx_v9_4_3_xcc_select_se_sh() argument 716 if (sh_num == 0xffffffff) in gfx_v9_4_3_xcc_select_se_sh() 720 data = REG_SET_FIELD(data, GRBM_GFX_INDEX, SH_INDEX, sh_num); in gfx_v9_4_3_xcc_select_se_sh()
|
H A D | gfx_v11_0.c | 279 u32 sh_num, u32 instance, int xcc_id); 1823 u32 sh_num, u32 instance, int xcc_id) in gfx_v11_0_select_se_sh() argument 1840 if (sh_num == 0xffffffff) in gfx_v11_0_select_se_sh() 1844 data = REG_SET_FIELD(data, GRBM_GFX_INDEX, SA_INDEX, sh_num); in gfx_v11_0_select_se_sh()
|
H A D | gfx_v8_0.c | 3394 u32 se_num, u32 sh_num, u32 instance, in gfx_v8_0_select_se_sh() argument 3409 if (sh_num == 0xffffffff) in gfx_v8_0_select_se_sh() 3412 data = REG_SET_FIELD(data, GRBM_GFX_INDEX, SH_INDEX, sh_num); in gfx_v8_0_select_se_sh()
|
H A D | gfx_v9_0.c | 2466 void gfx_v9_0_select_se_sh(struct amdgpu_device *adev, u32 se_num, u32 sh_num, in gfx_v9_0_select_se_sh() argument 2481 if (sh_num == 0xffffffff) in gfx_v9_0_select_se_sh() 2484 data = REG_SET_FIELD(data, GRBM_GFX_INDEX, SH_INDEX, sh_num); in gfx_v9_0_select_se_sh()
|
H A D | gfx_v10_0.c | 3657 u32 sh_num, u32 instance, int xcc_id); 4926 u32 sh_num, u32 instance, int xcc_id) in gfx_v10_0_select_se_sh() argument 4943 if (sh_num == 0xffffffff) in gfx_v10_0_select_se_sh() 4947 data = REG_SET_FIELD(data, GRBM_GFX_INDEX, SA_INDEX, sh_num); in gfx_v10_0_select_se_sh()
|
/linux/drivers/gpu/drm/radeon/ |
H A D | si.c | 2928 u32 se_num, u32 sh_num) in si_select_se_sh() argument 2932 if ((se_num == 0xffffffff) && (sh_num == 0xffffffff)) in si_select_se_sh() 2935 data |= SE_BROADCAST_WRITES | SH_INDEX(sh_num); in si_select_se_sh() 2936 else if (sh_num == 0xffffffff) in si_select_se_sh() 2939 data |= SH_INDEX(sh_num) | SE_INDEX(se_num); in si_select_se_sh()
|
H A D | cik.c | 3027 u32 se_num, u32 sh_num) in cik_select_se_sh() argument 3031 if ((se_num == 0xffffffff) && (sh_num == 0xffffffff)) in cik_select_se_sh() 3034 data |= SE_BROADCAST_WRITES | SH_INDEX(sh_num); in cik_select_se_sh() 3035 else if (sh_num == 0xffffffff) in cik_select_se_sh() 3038 data |= SH_INDEX(sh_num) | SE_INDEX(se_num); in cik_select_se_sh()
|