Searched refs:driver_algs (Results 1 – 6 of 6) sorted by relevance
3852 static struct chcr_alg_template driver_algs[] = { variable4389 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in chcr_unregister_alg()4390 switch (driver_algs[i].type & CRYPTO_ALG_TYPE_MASK) { in chcr_unregister_alg()4392 if (driver_algs[i].is_registered && refcount_read( in chcr_unregister_alg()4393 &driver_algs[i].alg.skcipher.base.cra_refcnt) in chcr_unregister_alg()4396 &driver_algs[i].alg.skcipher); in chcr_unregister_alg()4397 driver_algs[i].is_registered = 0; in chcr_unregister_alg()4401 if (driver_algs[i].is_registered && refcount_read( in chcr_unregister_alg()4402 &driver_algs[i].alg.aead.base.cra_refcnt) == 1) { in chcr_unregister_alg()4404 &driver_algs[i].alg.aead); in chcr_unregister_alg()[all …]
3024 static struct iproc_alg_s driver_algs[] = { variable4543 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in spu_algs_register()4544 switch (driver_algs[i].type) { in spu_algs_register()4546 err = spu_register_skcipher(&driver_algs[i]); in spu_algs_register()4549 err = spu_register_ahash(&driver_algs[i]); in spu_algs_register()4552 err = spu_register_aead(&driver_algs[i]); in spu_algs_register()4557 driver_algs[i].type); in spu_algs_register()4573 if (!driver_algs[j].registered) in spu_algs_register()4575 switch (driver_algs[j].type) { in spu_algs_register()4577 crypto_unregister_skcipher(&driver_algs[j].alg.skcipher); in spu_algs_register()[all …]
1481 static struct caam_skcipher_alg driver_algs[] = { variable2584 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in caam_qi_algapi_exit()2585 struct caam_skcipher_alg *t_alg = driver_algs + i; in caam_qi_algapi_exit()2666 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in caam_qi_algapi_init()2667 struct caam_skcipher_alg *t_alg = driver_algs + i; in caam_qi_algapi_init()
1886 static struct caam_skcipher_alg driver_algs[] = { variable3700 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in caam_algapi_exit()3701 struct caam_skcipher_alg *t_alg = driver_algs + i; in caam_algapi_exit()3789 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in caam_algapi_init()3790 struct caam_skcipher_alg *t_alg = driver_algs + i; in caam_algapi_init()
1673 static struct caam_skcipher_alg driver_algs[] = { variable5248 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in dpaa2_caam_probe()5249 struct caam_skcipher_alg *t_alg = driver_algs + i; in dpaa2_caam_probe()5423 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in dpaa2_caam_remove()5424 struct caam_skcipher_alg *t_alg = driver_algs + i; in dpaa2_caam_remove()
2263 static struct talitos_alg_template driver_algs[] = { variable3489 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in talitos_probe()3490 if (hw_supports(dev, driver_algs[i].desc_hdr_template)) { in talitos_probe()3494 t_alg = talitos_alg_alloc(dev, &driver_algs[i]); in talitos_probe()