Lines Matching refs:driver_algs
3063 static struct iproc_alg_s driver_algs[] = { variable
4575 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()
4610 driver_algs[j].registered = false; in spu_algs_register()
4613 crypto_unregister_ahash(&driver_algs[j].alg.hash); in spu_algs_register()
4614 driver_algs[j].registered = false; in spu_algs_register()
4617 crypto_unregister_aead(&driver_algs[j].alg.aead); in spu_algs_register()
4618 driver_algs[j].registered = false; in spu_algs_register()
4754 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in bcm_spu_remove()
4760 if (!driver_algs[i].registered) in bcm_spu_remove()
4763 switch (driver_algs[i].type) { in bcm_spu_remove()
4765 crypto_unregister_skcipher(&driver_algs[i].alg.skcipher); in bcm_spu_remove()
4767 driver_algs[i].alg.skcipher.base.cra_driver_name); in bcm_spu_remove()
4768 driver_algs[i].registered = false; in bcm_spu_remove()
4771 crypto_unregister_ahash(&driver_algs[i].alg.hash); in bcm_spu_remove()
4772 cdn = driver_algs[i].alg.hash.halg.base.cra_driver_name; in bcm_spu_remove()
4774 driver_algs[i].registered = false; in bcm_spu_remove()
4777 crypto_unregister_aead(&driver_algs[i].alg.aead); in bcm_spu_remove()
4779 driver_algs[i].alg.aead.base.cra_driver_name); in bcm_spu_remove()
4780 driver_algs[i].registered = false; in bcm_spu_remove()