Lines Matching refs:driver_algs

3061 static struct iproc_alg_s driver_algs[] = {  variable
4573 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in spu_algs_register()
4574 switch (driver_algs[i].type) { in spu_algs_register()
4576 err = spu_register_skcipher(&driver_algs[i]); in spu_algs_register()
4579 err = spu_register_ahash(&driver_algs[i]); in spu_algs_register()
4582 err = spu_register_aead(&driver_algs[i]); in spu_algs_register()
4587 driver_algs[i].type); in spu_algs_register()
4603 if (!driver_algs[j].registered) in spu_algs_register()
4605 switch (driver_algs[j].type) { in spu_algs_register()
4607 crypto_unregister_skcipher(&driver_algs[j].alg.skcipher); in spu_algs_register()
4608 driver_algs[j].registered = false; in spu_algs_register()
4611 crypto_unregister_ahash(&driver_algs[j].alg.hash); in spu_algs_register()
4612 driver_algs[j].registered = false; in spu_algs_register()
4615 crypto_unregister_aead(&driver_algs[j].alg.aead); in spu_algs_register()
4616 driver_algs[j].registered = false; in spu_algs_register()
4752 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in bcm_spu_remove()
4758 if (!driver_algs[i].registered) in bcm_spu_remove()
4761 switch (driver_algs[i].type) { in bcm_spu_remove()
4763 crypto_unregister_skcipher(&driver_algs[i].alg.skcipher); in bcm_spu_remove()
4765 driver_algs[i].alg.skcipher.base.cra_driver_name); in bcm_spu_remove()
4766 driver_algs[i].registered = false; in bcm_spu_remove()
4769 crypto_unregister_ahash(&driver_algs[i].alg.hash); in bcm_spu_remove()
4770 cdn = driver_algs[i].alg.hash.halg.base.cra_driver_name; in bcm_spu_remove()
4772 driver_algs[i].registered = false; in bcm_spu_remove()
4775 crypto_unregister_aead(&driver_algs[i].alg.aead); in bcm_spu_remove()
4777 driver_algs[i].alg.aead.base.cra_driver_name); in bcm_spu_remove()
4778 driver_algs[i].registered = false; in bcm_spu_remove()