Lines Matching refs:sh_idx
209 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()
310 sh_idx); in instantiate_rng()
318 build_instantiation_desc(desc, sh_idx, gen_sk); in instantiate_rng()
342 dev_info(ctrldev, "Instantiated RNG4 SH%d\n", sh_idx); in instantiate_rng()