Lines Matching refs:ce

29 	struct sl3516_ce_dev *ce = op->ce;  in sl3516_ce_need_fallback()  local
35 ce->fallback_mod16++; in sl3516_ce_need_fallback()
44 ce->fallback_sg_count_tx++; in sl3516_ce_need_fallback()
49 ce->fallback_sg_count_rx++; in sl3516_ce_need_fallback()
56 ce->fallback_mod16++; in sl3516_ce_need_fallback()
60 ce->fallback_mod16++; in sl3516_ce_need_fallback()
64 ce->fallback_align16++; in sl3516_ce_need_fallback()
72 ce->fallback_mod16++; in sl3516_ce_need_fallback()
76 ce->fallback_mod16++; in sl3516_ce_need_fallback()
80 ce->fallback_align16++; in sl3516_ce_need_fallback()
91 ce->fallback_not_same_len++; in sl3516_ce_need_fallback()
131 struct sl3516_ce_dev *ce = op->ce; in sl3516_ce_cipher() local
145 dev_dbg(ce->dev, "%s %s %u %x IV(%p %u) key=%u\n", __func__, in sl3516_ce_cipher()
154 nr_sgs = dma_map_sg(ce->dev, areq->src, sg_nents(areq->src), in sl3516_ce_cipher()
157 dev_err(ce->dev, "Invalid sg number %d\n", nr_sgs); in sl3516_ce_cipher()
163 nr_sgs = dma_map_sg(ce->dev, areq->src, sg_nents(areq->src), in sl3516_ce_cipher()
166 dev_err(ce->dev, "Invalid sg number %d\n", nr_sgs); in sl3516_ce_cipher()
170 nr_sgd = dma_map_sg(ce->dev, areq->dst, sg_nents(areq->dst), in sl3516_ce_cipher()
173 dev_err(ce->dev, "Invalid sg number %d\n", nr_sgd); in sl3516_ce_cipher()
188 dev_dbg(ce->dev, "%s total=%u SGS(%d %u off=%d) todo=%u\n", __func__, in sl3516_ce_cipher()
196 dev_err(ce->dev, "remaining len %d/%u nr_sgs=%d\n", len, areq->cryptlen, nr_sgs); in sl3516_ce_cipher()
210 dev_dbg(ce->dev, "%s total=%u SGD(%d %u off=%d) todo=%u\n", __func__, in sl3516_ce_cipher()
219 dev_err(ce->dev, "remaining len %d\n", len); in sl3516_ce_cipher()
227 ecb = (struct pkt_control_ecb *)ce->pctrl; in sl3516_ce_cipher()
247 err = sl3516_ce_run_task(ce, rctx, crypto_tfm_alg_name(areq->base.tfm)); in sl3516_ce_cipher()
251 dma_unmap_sg(ce->dev, areq->src, sg_nents(areq->src), in sl3516_ce_cipher()
254 dma_unmap_sg(ce->dev, areq->src, sg_nents(areq->src), in sl3516_ce_cipher()
256 dma_unmap_sg(ce->dev, areq->dst, sg_nents(areq->dst), in sl3516_ce_cipher()
291 engine = op->ce->engine; in sl3516_ce_skdecrypt()
309 engine = op->ce->engine; in sl3516_ce_skencrypt()
326 op->ce = algt->ce; in sl3516_ce_cipher_init()
330 dev_err(op->ce->dev, "ERROR: Cannot allocate fallback for %s %ld\n", in sl3516_ce_cipher_init()
338 dev_info(op->ce->dev, "Fallback for %s is %s\n", in sl3516_ce_cipher_init()
342 err = pm_runtime_get_sync(op->ce->dev); in sl3516_ce_cipher_init()
348 pm_runtime_put_noidle(op->ce->dev); in sl3516_ce_cipher_init()
359 pm_runtime_put_sync_suspend(op->ce->dev); in sl3516_ce_cipher_exit()
366 struct sl3516_ce_dev *ce = op->ce; in sl3516_ce_aes_setkey() local
376 dev_dbg(ce->dev, "ERROR: Invalid keylen %u\n", keylen); in sl3516_ce_aes_setkey()