Lines Matching refs:ce_algs
218 static struct sl3516_ce_alg_template ce_algs[] = { variable
265 for (i = 0; i < ARRAY_SIZE(ce_algs); i++) { in sl3516_ce_debugfs_show()
266 if (!ce_algs[i].ce) in sl3516_ce_debugfs_show()
268 switch (ce_algs[i].type) { in sl3516_ce_debugfs_show()
271 ce_algs[i].alg.skcipher.base.base.cra_driver_name, in sl3516_ce_debugfs_show()
272 ce_algs[i].alg.skcipher.base.base.cra_name, in sl3516_ce_debugfs_show()
273 ce_algs[i].stat_req, ce_algs[i].stat_fb); in sl3516_ce_debugfs_show()
287 for (i = 0; i < ARRAY_SIZE(ce_algs); i++) { in sl3516_ce_register_algs()
288 ce_algs[i].ce = ce; in sl3516_ce_register_algs()
289 switch (ce_algs[i].type) { in sl3516_ce_register_algs()
292 ce_algs[i].alg.skcipher.base.base.cra_name); in sl3516_ce_register_algs()
293 err = crypto_engine_register_skcipher(&ce_algs[i].alg.skcipher); in sl3516_ce_register_algs()
296 ce_algs[i].alg.skcipher.base.base.cra_name); in sl3516_ce_register_algs()
297 ce_algs[i].ce = NULL; in sl3516_ce_register_algs()
302 ce_algs[i].ce = NULL; in sl3516_ce_register_algs()
313 for (i = 0; i < ARRAY_SIZE(ce_algs); i++) { in sl3516_ce_unregister_algs()
314 if (!ce_algs[i].ce) in sl3516_ce_unregister_algs()
316 switch (ce_algs[i].type) { in sl3516_ce_unregister_algs()
319 ce_algs[i].alg.skcipher.base.base.cra_name); in sl3516_ce_unregister_algs()
320 crypto_engine_unregister_skcipher(&ce_algs[i].alg.skcipher); in sl3516_ce_unregister_algs()