Home
last modified time | relevance | path

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

/drivers/crypto/caam/
Dctrl.c201 int ret = 0, sh_idx; in instantiate_rng() local
208 for (sh_idx = 0; sh_idx < RNG4_MAX_HANDLES; sh_idx++) { in instantiate_rng()
213 if ((1 << sh_idx) & state_handle_mask) in instantiate_rng()
217 build_instantiation_desc(desc, sh_idx, gen_sk); in instantiate_rng()
236 !(rdsta_val & (1 << sh_idx))) { in instantiate_rng()
241 dev_info(ctrldev, "Instantiated RNG4 SH%d\n", sh_idx); in instantiate_rng()
267 int sh_idx, ret = 0; in deinstantiate_rng() local
273 for (sh_idx = 0; sh_idx < RNG4_MAX_HANDLES; sh_idx++) { in deinstantiate_rng()
279 if ((1 << sh_idx) & state_handle_mask) { in deinstantiate_rng()
284 build_deinstantiation_desc(desc, sh_idx); in deinstantiate_rng()
[all …]