Searched refs:sh_num (Results 1 – 10 of 10) sorted by relevance
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | gfx_v8_0.h | 30 void gfx_v8_0_select_se_sh(struct amdgpu_device *adev, u32 se_num, u32 sh_num);
|
D | gfx_v7_0.h | 34 void gfx_v7_0_select_se_sh(struct amdgpu_device *adev, u32 se_num, u32 sh_num);
|
D | vi.c | 472 u32 sh_num, u32 reg_offset) in vi_read_indexed_register() argument 477 if (se_num != 0xffffffff || sh_num != 0xffffffff) in vi_read_indexed_register() 478 gfx_v8_0_select_se_sh(adev, se_num, sh_num); in vi_read_indexed_register() 482 if (se_num != 0xffffffff || sh_num != 0xffffffff) in vi_read_indexed_register() 489 u32 sh_num, u32 reg_offset, u32 *value) in vi_read_register() argument 520 sh_num, reg_offset) : in vi_read_register() 533 sh_num, reg_offset) : in vi_read_register()
|
D | amdgpu_kms.c | 398 unsigned sh_num = (info->read_mmr_reg.instance >> in amdgpu_info_ioctl() local 406 if (sh_num == AMDGPU_INFO_MMR_SH_INDEX_MASK) in amdgpu_info_ioctl() 407 sh_num = 0xffffffff; in amdgpu_info_ioctl() 415 if (amdgpu_asic_read_register(adev, se_num, sh_num, in amdgpu_info_ioctl()
|
D | cik.c | 992 u32 se_num, u32 sh_num, in cik_read_indexed_register() argument 998 if (se_num != 0xffffffff || sh_num != 0xffffffff) in cik_read_indexed_register() 999 gfx_v7_0_select_se_sh(adev, se_num, sh_num); in cik_read_indexed_register() 1003 if (se_num != 0xffffffff || sh_num != 0xffffffff) in cik_read_indexed_register() 1010 u32 sh_num, u32 reg_offset, u32 *value) in cik_read_register() argument 1022 sh_num, reg_offset) : in cik_read_register()
|
D | gfx_v8_0.c | 2740 void gfx_v8_0_select_se_sh(struct amdgpu_device *adev, u32 se_num, u32 sh_num) in gfx_v8_0_select_se_sh() argument 2744 if ((se_num == 0xffffffff) && (sh_num == 0xffffffff)) { in gfx_v8_0_select_se_sh() 2748 data = REG_SET_FIELD(data, GRBM_GFX_INDEX, SH_INDEX, sh_num); in gfx_v8_0_select_se_sh() 2750 } else if (sh_num == 0xffffffff) { in gfx_v8_0_select_se_sh() 2754 data = REG_SET_FIELD(data, GRBM_GFX_INDEX, SH_INDEX, sh_num); in gfx_v8_0_select_se_sh()
|
D | gfx_v7_0.c | 1867 void gfx_v7_0_select_se_sh(struct amdgpu_device *adev, u32 se_num, u32 sh_num) in gfx_v7_0_select_se_sh() argument 1871 if ((se_num == 0xffffffff) && (sh_num == 0xffffffff)) in gfx_v7_0_select_se_sh() 1876 (sh_num << GRBM_GFX_INDEX__SH_INDEX__SHIFT); in gfx_v7_0_select_se_sh() 1877 else if (sh_num == 0xffffffff) in gfx_v7_0_select_se_sh() 1881 data |= (sh_num << GRBM_GFX_INDEX__SH_INDEX__SHIFT) | in gfx_v7_0_select_se_sh()
|
D | amdgpu.h | 1833 u32 sh_num, u32 reg_offset, u32 *value);
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | si.c | 2949 u32 se_num, u32 sh_num) in si_select_se_sh() argument 2953 if ((se_num == 0xffffffff) && (sh_num == 0xffffffff)) in si_select_se_sh() 2956 data |= SE_BROADCAST_WRITES | SH_INDEX(sh_num); in si_select_se_sh() 2957 else if (sh_num == 0xffffffff) in si_select_se_sh() 2960 data |= SH_INDEX(sh_num) | SE_INDEX(se_num); in si_select_se_sh()
|
D | cik.c | 3410 u32 se_num, u32 sh_num) in cik_select_se_sh() argument 3414 if ((se_num == 0xffffffff) && (sh_num == 0xffffffff)) in cik_select_se_sh() 3417 data |= SE_BROADCAST_WRITES | SH_INDEX(sh_num); in cik_select_se_sh() 3418 else if (sh_num == 0xffffffff) in cik_select_se_sh() 3421 data |= SH_INDEX(sh_num) | SE_INDEX(se_num); in cik_select_se_sh()
|