Lines Matching refs:arq
293 static int mxs_dcp_aes_block_crypt(struct crypto_async_request *arq) in mxs_dcp_aes_block_crypt() argument
297 struct skcipher_request *req = skcipher_request_cast(arq); in mxs_dcp_aes_block_crypt()
298 struct dcp_async_ctx *actx = crypto_tfm_ctx(arq->tfm); in mxs_dcp_aes_block_crypt()
396 struct crypto_async_request *arq; in dcp_chan_thread_aes() local
405 arq = crypto_dequeue_request(&sdcp->queue[chan]); in dcp_chan_thread_aes()
408 if (!backlog && !arq) { in dcp_chan_thread_aes()
418 if (arq) { in dcp_chan_thread_aes()
419 ret = mxs_dcp_aes_block_crypt(arq); in dcp_chan_thread_aes()
420 crypto_request_complete(arq, ret); in dcp_chan_thread_aes()
451 struct crypto_async_request *arq = &req->base; in mxs_dcp_aes_enqueue() local
452 struct dcp_async_ctx *actx = crypto_tfm_ctx(arq->tfm); in mxs_dcp_aes_enqueue()
615 static int dcp_sha_req_to_buf(struct crypto_async_request *arq) in dcp_sha_req_to_buf() argument
619 struct ahash_request *req = ahash_request_cast(arq); in dcp_sha_req_to_buf()
693 struct crypto_async_request *arq; in dcp_chan_thread_sha() local
701 arq = crypto_dequeue_request(&sdcp->queue[chan]); in dcp_chan_thread_sha()
704 if (!backlog && !arq) { in dcp_chan_thread_sha()
714 if (arq) { in dcp_chan_thread_sha()
715 ret = dcp_sha_req_to_buf(arq); in dcp_chan_thread_sha()
716 crypto_request_complete(arq, ret); in dcp_chan_thread_sha()