Lines Matching refs:arq
249 static int mxs_dcp_aes_block_crypt(struct crypto_async_request *arq) in mxs_dcp_aes_block_crypt() argument
253 struct ablkcipher_request *req = ablkcipher_request_cast(arq); in mxs_dcp_aes_block_crypt()
254 struct dcp_async_ctx *actx = crypto_tfm_ctx(arq->tfm); in mxs_dcp_aes_block_crypt()
348 struct crypto_async_request *arq; in dcp_chan_thread_aes() local
357 arq = crypto_dequeue_request(&sdcp->queue[chan]); in dcp_chan_thread_aes()
360 if (!backlog && !arq) { in dcp_chan_thread_aes()
370 if (arq) { in dcp_chan_thread_aes()
371 ret = mxs_dcp_aes_block_crypt(arq); in dcp_chan_thread_aes()
372 arq->complete(arq, ret); in dcp_chan_thread_aes()
404 struct crypto_async_request *arq = &req->base; in mxs_dcp_aes_enqueue() local
405 struct dcp_async_ctx *actx = crypto_tfm_ctx(arq->tfm); in mxs_dcp_aes_enqueue()
558 static int dcp_sha_req_to_buf(struct crypto_async_request *arq) in dcp_sha_req_to_buf() argument
562 struct ahash_request *req = ahash_request_cast(arq); in dcp_sha_req_to_buf()
640 struct crypto_async_request *arq; in dcp_chan_thread_sha() local
652 arq = crypto_dequeue_request(&sdcp->queue[chan]); in dcp_chan_thread_sha()
655 if (!backlog && !arq) { in dcp_chan_thread_sha()
665 if (arq) { in dcp_chan_thread_sha()
666 req = ahash_request_cast(arq); in dcp_chan_thread_sha()
669 ret = dcp_sha_req_to_buf(arq); in dcp_chan_thread_sha()
671 arq->complete(arq, ret); in dcp_chan_thread_sha()