Lines Matching refs:ce
25 struct sl3516_ce_dev *ce = op->ce; in sl3516_ce_need_fallback() local
31 ce->fallback_mod16++; in sl3516_ce_need_fallback()
40 ce->fallback_sg_count_tx++; in sl3516_ce_need_fallback()
45 ce->fallback_sg_count_rx++; in sl3516_ce_need_fallback()
52 ce->fallback_mod16++; in sl3516_ce_need_fallback()
56 ce->fallback_mod16++; in sl3516_ce_need_fallback()
60 ce->fallback_align16++; in sl3516_ce_need_fallback()
68 ce->fallback_mod16++; in sl3516_ce_need_fallback()
72 ce->fallback_mod16++; in sl3516_ce_need_fallback()
76 ce->fallback_align16++; in sl3516_ce_need_fallback()
87 ce->fallback_not_same_len++; in sl3516_ce_need_fallback()
127 struct sl3516_ce_dev *ce = op->ce; in sl3516_ce_cipher() local
141 dev_dbg(ce->dev, "%s %s %u %x IV(%p %u) key=%u\n", __func__, in sl3516_ce_cipher()
150 nr_sgs = dma_map_sg(ce->dev, areq->src, sg_nents(areq->src), in sl3516_ce_cipher()
153 dev_err(ce->dev, "Invalid sg number %d\n", nr_sgs); in sl3516_ce_cipher()
159 nr_sgs = dma_map_sg(ce->dev, areq->src, sg_nents(areq->src), in sl3516_ce_cipher()
162 dev_err(ce->dev, "Invalid sg number %d\n", nr_sgs); in sl3516_ce_cipher()
166 nr_sgd = dma_map_sg(ce->dev, areq->dst, sg_nents(areq->dst), in sl3516_ce_cipher()
169 dev_err(ce->dev, "Invalid sg number %d\n", nr_sgd); in sl3516_ce_cipher()
184 dev_dbg(ce->dev, "%s total=%u SGS(%d %u off=%d) todo=%u\n", __func__, in sl3516_ce_cipher()
192 dev_err(ce->dev, "remaining len %d/%u nr_sgs=%d\n", len, areq->cryptlen, nr_sgs); in sl3516_ce_cipher()
206 dev_dbg(ce->dev, "%s total=%u SGD(%d %u off=%d) todo=%u\n", __func__, in sl3516_ce_cipher()
215 dev_err(ce->dev, "remaining len %d\n", len); in sl3516_ce_cipher()
223 ecb = (struct pkt_control_ecb *)ce->pctrl; in sl3516_ce_cipher()
243 err = sl3516_ce_run_task(ce, rctx, crypto_tfm_alg_name(areq->base.tfm)); in sl3516_ce_cipher()
247 dma_unmap_sg(ce->dev, areq->src, sg_nents(areq->src), in sl3516_ce_cipher()
250 dma_unmap_sg(ce->dev, areq->src, sg_nents(areq->src), in sl3516_ce_cipher()
252 dma_unmap_sg(ce->dev, areq->dst, sg_nents(areq->dst), in sl3516_ce_cipher()
285 engine = op->ce->engine; in sl3516_ce_skdecrypt()
303 engine = op->ce->engine; in sl3516_ce_skencrypt()
320 op->ce = algt->ce; in sl3516_ce_cipher_init()
324 dev_err(op->ce->dev, "ERROR: Cannot allocate fallback for %s %ld\n", in sl3516_ce_cipher_init()
332 dev_info(op->ce->dev, "Fallback for %s is %s\n", in sl3516_ce_cipher_init()
340 err = pm_runtime_get_sync(op->ce->dev); in sl3516_ce_cipher_init()
346 pm_runtime_put_noidle(op->ce->dev); in sl3516_ce_cipher_init()
357 pm_runtime_put_sync_suspend(op->ce->dev); in sl3516_ce_cipher_exit()
364 struct sl3516_ce_dev *ce = op->ce; in sl3516_ce_aes_setkey() local
374 dev_dbg(ce->dev, "ERROR: Invalid keylen %u\n", keylen); in sl3516_ce_aes_setkey()