Lines Matching refs:basereq

147 	struct mv_cesa_req *basereq = &creq->base;  in mv_cesa_skcipher_process()  local
149 if (mv_cesa_req_get_type(basereq) == CESA_STD_REQ) in mv_cesa_skcipher_process()
152 return mv_cesa_dma_process(basereq, status); in mv_cesa_skcipher_process()
170 struct mv_cesa_req *basereq = &creq->base; in mv_cesa_skcipher_dma_prepare() local
172 mv_cesa_dma_prepare(basereq, basereq->engine); in mv_cesa_skcipher_dma_prepare()
219 struct mv_cesa_req *basereq; in mv_cesa_skcipher_complete() local
221 basereq = &creq->base; in mv_cesa_skcipher_complete()
222 memcpy(skreq->iv, basereq->chain.last->op->ctx.skcipher.iv, in mv_cesa_skcipher_complete()
318 struct mv_cesa_req *basereq = &creq->base; in mv_cesa_skcipher_dma_req_init() local
323 basereq->chain.first = NULL; in mv_cesa_skcipher_dma_req_init()
324 basereq->chain.last = NULL; in mv_cesa_skcipher_dma_req_init()
345 mv_cesa_tdma_desc_iter_init(&basereq->chain); in mv_cesa_skcipher_dma_req_init()
351 op = mv_cesa_dma_add_op(&basereq->chain, op_templ, skip_ctx, in mv_cesa_skcipher_dma_req_init()
362 ret = mv_cesa_dma_add_op_transfers(&basereq->chain, &iter.base, in mv_cesa_skcipher_dma_req_init()
368 ret = mv_cesa_dma_add_dummy_launch(&basereq->chain, flags); in mv_cesa_skcipher_dma_req_init()
373 ret = mv_cesa_dma_add_op_transfers(&basereq->chain, &iter.base, in mv_cesa_skcipher_dma_req_init()
381 ret = mv_cesa_dma_add_result_op(&basereq->chain, in mv_cesa_skcipher_dma_req_init()
389 basereq->chain.last->flags |= CESA_TDMA_END_OF_REQ; in mv_cesa_skcipher_dma_req_init()
394 mv_cesa_dma_cleanup(basereq); in mv_cesa_skcipher_dma_req_init()
412 struct mv_cesa_req *basereq = &creq->base; in mv_cesa_skcipher_std_req_init() local
416 basereq->chain.first = NULL; in mv_cesa_skcipher_std_req_init()
417 basereq->chain.last = NULL; in mv_cesa_skcipher_std_req_init()