Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/crypto/caam/
Dctrl.c209 int sh_idx, ret = 0; in deinstantiate_rng() local
215 for (sh_idx = 0; sh_idx < RNG4_MAX_HANDLES; sh_idx++) { in deinstantiate_rng()
221 if ((1 << sh_idx) & state_handle_mask) { in deinstantiate_rng()
226 build_deinstantiation_desc(desc, sh_idx); in deinstantiate_rng()
235 sh_idx); in deinstantiate_rng()
238 dev_info(ctrldev, "Deinstantiated RNG4 SH%d\n", sh_idx); in deinstantiate_rng()
285 int ret = 0, sh_idx; in instantiate_rng() local
292 for (sh_idx = 0; sh_idx < RNG4_MAX_HANDLES; sh_idx++) { in instantiate_rng()
293 const u32 rdsta_if = RDSTA_IF0 << sh_idx; in instantiate_rng()
294 const u32 rdsta_pr = RDSTA_PR0 << sh_idx; in instantiate_rng()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Dgfx_v9_4_2.c1858 uint32_t se_idx, sh_idx, cu_idx; in gfx_v9_4_2_query_sq_timeout_status() local
1864 for (sh_idx = 0; sh_idx < adev->gfx.config.max_sh_per_se; in gfx_v9_4_2_query_sq_timeout_status()
1865 sh_idx++) { in gfx_v9_4_2_query_sq_timeout_status()
1869 gfx_v9_4_2_select_se_sh(adev, se_idx, sh_idx, in gfx_v9_4_2_query_sq_timeout_status()
1877 se_idx, sh_idx, cu_idx); in gfx_v9_4_2_query_sq_timeout_status()
1892 uint32_t se_idx, sh_idx, cu_idx; in gfx_v9_4_2_reset_sq_timeout_status() local
1897 for (sh_idx = 0; sh_idx < adev->gfx.config.max_sh_per_se; in gfx_v9_4_2_reset_sq_timeout_status()
1898 sh_idx++) { in gfx_v9_4_2_reset_sq_timeout_status()
1902 gfx_v9_4_2_select_se_sh(adev, se_idx, sh_idx, in gfx_v9_4_2_reset_sq_timeout_status()
Dcik.c1129 unsigned sh_idx = (sh_num == 0xffffffff) ? 0 : sh_num; in cik_get_register_value() local
1133 return adev->gfx.config.rb_config[se_idx][sh_idx].rb_backend_disable; in cik_get_register_value()
1135 return adev->gfx.config.rb_config[se_idx][sh_idx].user_rb_backend_disable; in cik_get_register_value()
1137 return adev->gfx.config.rb_config[se_idx][sh_idx].raster_config; in cik_get_register_value()
1139 return adev->gfx.config.rb_config[se_idx][sh_idx].raster_config_1; in cik_get_register_value()
Dvi.c752 unsigned sh_idx = (sh_num == 0xffffffff) ? 0 : sh_num; in vi_get_register_value() local
756 return adev->gfx.config.rb_config[se_idx][sh_idx].rb_backend_disable; in vi_get_register_value()
758 return adev->gfx.config.rb_config[se_idx][sh_idx].user_rb_backend_disable; in vi_get_register_value()
760 return adev->gfx.config.rb_config[se_idx][sh_idx].raster_config; in vi_get_register_value()
762 return adev->gfx.config.rb_config[se_idx][sh_idx].raster_config_1; in vi_get_register_value()
Dsi.c1171 unsigned sh_idx = (sh_num == 0xffffffff) ? 0 : sh_num; in si_get_register_value() local
1175 return adev->gfx.config.rb_config[se_idx][sh_idx].rb_backend_disable; in si_get_register_value()
1177 return adev->gfx.config.rb_config[se_idx][sh_idx].user_rb_backend_disable; in si_get_register_value()
1179 return adev->gfx.config.rb_config[se_idx][sh_idx].raster_config; in si_get_register_value()