Lines Matching refs:crypto_engine
33 struct aspeed_engine_crypto *crypto_engine = &hace_dev->crypto_engine;
50 if (crypto_engine->flags & CRYPTO_FLAGS_BUSY)
51 tasklet_schedule(&crypto_engine->done_task);
62 struct aspeed_engine_crypto *crypto_engine = &hace_dev->crypto_engine;
64 crypto_engine->resume(hace_dev);
103 struct aspeed_engine_crypto *crypto_engine;
123 crypto_engine = &hace_dev->crypto_engine;
183 tasklet_init(&crypto_engine->done_task, aspeed_hace_crypto_done_task,
199 crypto_engine->cipher_ctx =
202 &crypto_engine->cipher_ctx_dma,
204 if (!crypto_engine->cipher_ctx) {
211 crypto_engine->cipher_addr =
214 &crypto_engine->cipher_dma_addr,
216 if (!crypto_engine->cipher_addr) {
224 crypto_engine->dst_sg_addr =
227 &crypto_engine->dst_sg_dma_addr,
229 if (!crypto_engine->dst_sg_addr) {
255 struct aspeed_engine_crypto *crypto_engine = &hace_dev->crypto_engine;
264 tasklet_kill(&crypto_engine->done_task);