Searched refs:driver_algs (Results 1 – 6 of 6) sorted by relevance
3856 static struct chcr_alg_template driver_algs[] = { variable4393 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in chcr_unregister_alg()4394 switch (driver_algs[i].type & CRYPTO_ALG_TYPE_MASK) { in chcr_unregister_alg()4396 if (driver_algs[i].is_registered && refcount_read( in chcr_unregister_alg()4397 &driver_algs[i].alg.skcipher.base.cra_refcnt) in chcr_unregister_alg()4400 &driver_algs[i].alg.skcipher); in chcr_unregister_alg()4401 driver_algs[i].is_registered = 0; in chcr_unregister_alg()4405 if (driver_algs[i].is_registered && refcount_read( in chcr_unregister_alg()4406 &driver_algs[i].alg.aead.base.cra_refcnt) == 1) { in chcr_unregister_alg()4408 &driver_algs[i].alg.aead); in chcr_unregister_alg()[all …]
3063 static struct iproc_alg_s driver_algs[] = { variable4575 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in spu_algs_register()4576 switch (driver_algs[i].type) { in spu_algs_register()4578 err = spu_register_skcipher(&driver_algs[i]); in spu_algs_register()4581 err = spu_register_ahash(&driver_algs[i]); in spu_algs_register()4584 err = spu_register_aead(&driver_algs[i]); in spu_algs_register()4589 driver_algs[i].type); in spu_algs_register()4605 if (!driver_algs[j].registered) in spu_algs_register()4607 switch (driver_algs[j].type) { in spu_algs_register()4609 crypto_unregister_skcipher(&driver_algs[j].alg.skcipher); in spu_algs_register()[all …]
1465 static struct caam_skcipher_alg driver_algs[] = { variable2568 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in caam_qi_algapi_exit()2569 struct caam_skcipher_alg *t_alg = driver_algs + i; in caam_qi_algapi_exit()2650 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in caam_qi_algapi_init()2651 struct caam_skcipher_alg *t_alg = driver_algs + i; in caam_qi_algapi_init()
1861 static struct caam_skcipher_alg driver_algs[] = { variable3475 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in caam_algapi_exit()3476 struct caam_skcipher_alg *t_alg = driver_algs + i; in caam_algapi_exit()3563 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in caam_algapi_init()3564 struct caam_skcipher_alg *t_alg = driver_algs + i; in caam_algapi_init()
1667 static struct caam_skcipher_alg driver_algs[] = { variable5234 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in dpaa2_caam_probe()5235 struct caam_skcipher_alg *t_alg = driver_algs + i; in dpaa2_caam_probe()5409 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in dpaa2_caam_remove()5410 struct caam_skcipher_alg *t_alg = driver_algs + i; in dpaa2_caam_remove()
2262 static struct talitos_alg_template driver_algs[] = { variable3488 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in talitos_probe()3489 if (hw_supports(dev, driver_algs[i].desc_hdr_template)) { in talitos_probe()3493 t_alg = talitos_alg_alloc(dev, &driver_algs[i]); in talitos_probe()