Home
last modified time | relevance | path

Searched refs:sh_idx (Results 1 – 5 of 5) sorted by relevance

/drivers/crypto/caam/
Dctrl.c200 int sh_idx, ret = 0; in deinstantiate_rng() local
206 for (sh_idx = 0; sh_idx < RNG4_MAX_HANDLES; sh_idx++) { in deinstantiate_rng()
212 if ((1 << sh_idx) & state_handle_mask) { in deinstantiate_rng()
217 build_deinstantiation_desc(desc, sh_idx); in deinstantiate_rng()
226 sh_idx); in deinstantiate_rng()
229 dev_info(ctrldev, "Deinstantiated RNG4 SH%d\n", sh_idx); in deinstantiate_rng()
276 int ret = 0, sh_idx; in instantiate_rng() local
283 for (sh_idx = 0; sh_idx < RNG4_MAX_HANDLES; sh_idx++) { in instantiate_rng()
284 const u32 rdsta_if = RDSTA_IF0 << sh_idx; in instantiate_rng()
285 const u32 rdsta_pr = RDSTA_PR0 << sh_idx; in instantiate_rng()
[all …]
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gfx_v9.c808 int sh_idx; in kgd_gfx_v9_get_cu_occupancy() local
834 for (sh_idx = 0; sh_idx < sh_cnt; sh_idx++) { in kgd_gfx_v9_get_cu_occupancy()
836 gfx_v9_0_select_se_sh(adev, se_idx, sh_idx, 0xffffffff); in kgd_gfx_v9_get_cu_occupancy()
Dcik.c1053 unsigned sh_idx = (sh_num == 0xffffffff) ? 0 : sh_num; in cik_get_register_value() local
1057 return adev->gfx.config.rb_config[se_idx][sh_idx].rb_backend_disable; in cik_get_register_value()
1059 return adev->gfx.config.rb_config[se_idx][sh_idx].user_rb_backend_disable; in cik_get_register_value()
1061 return adev->gfx.config.rb_config[se_idx][sh_idx].raster_config; in cik_get_register_value()
1063 return adev->gfx.config.rb_config[se_idx][sh_idx].raster_config_1; in cik_get_register_value()
Dvi.c544 unsigned sh_idx = (sh_num == 0xffffffff) ? 0 : sh_num; in vi_get_register_value() local
548 return adev->gfx.config.rb_config[se_idx][sh_idx].rb_backend_disable; in vi_get_register_value()
550 return adev->gfx.config.rb_config[se_idx][sh_idx].user_rb_backend_disable; in vi_get_register_value()
552 return adev->gfx.config.rb_config[se_idx][sh_idx].raster_config; in vi_get_register_value()
554 return adev->gfx.config.rb_config[se_idx][sh_idx].raster_config_1; in vi_get_register_value()
Dsi.c1061 unsigned sh_idx = (sh_num == 0xffffffff) ? 0 : sh_num; in si_get_register_value() local
1065 return adev->gfx.config.rb_config[se_idx][sh_idx].rb_backend_disable; in si_get_register_value()
1067 return adev->gfx.config.rb_config[se_idx][sh_idx].user_rb_backend_disable; in si_get_register_value()
1069 return adev->gfx.config.rb_config[se_idx][sh_idx].raster_config; in si_get_register_value()