Home
last modified time | relevance | path

Searched refs:sh_num (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/gpu/drm/amd/amdgpu/
H A Dsoc24.c138 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 Dgfx_v9_0.h29 void gfx_v9_0_select_se_sh(struct amdgpu_device *adev, u32 se_num, u32 sh_num,
H A Damdgpu_kms.c788 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 Dgfx_v9_4.c94 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 Damdgpu_gfx.h291 u32 sh_num, u32 instance, int xcc_id);
H A Dgfx_v9_4_2.c848 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 Dgfx_v7_0.c1550 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 Dgfx_v12_0.c230 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 Dgfx_v9_4_3.c699 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 Dgfx_v11_0.c279 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 Dgfx_v8_0.c3394 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 Dgfx_v9_0.c2466 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 Dgfx_v10_0.c3657 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 Dsi.c2928 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 Dcik.c3027 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()