Searched refs:sg_dst (Results 1 – 10 of 10) sorted by relevance
/drivers/crypto/rockchip/ |
D | rk3288_crypto.c | 71 struct scatterlist *sg_dst, in check_alignment() argument 78 if (!sg_dst) in check_alignment() 80 out = IS_ALIGNED((uint32_t)sg_dst->offset, 4) && in check_alignment() 81 IS_ALIGNED((uint32_t)sg_dst->length, align_mask); in check_alignment() 84 return (align && (sg_src->length == sg_dst->length)); in check_alignment() 89 struct scatterlist *sg_dst) in rk_load_data() argument 94 check_alignment(sg_src, sg_dst, dev->align_size) : in rk_load_data() 107 if (sg_dst) { in rk_load_data() 108 if (!dma_map_sg(dev->dev, sg_dst, 1, DMA_FROM_DEVICE)) { in rk_load_data() 116 dev->addr_out = sg_dma_address(sg_dst); in rk_load_data() [all …]
|
D | rk3288_crypto.h | 201 struct scatterlist *sg_dst; member 221 struct scatterlist *sg_dst);
|
D | rk3288_crypto_ablkcipher.c | 38 dev->sg_dst = req->dst; in rk_handle_req() 263 err = dev->load_data(dev, dev->sg_src, dev->sg_dst); in rk_set_data_start() 321 dev->sg_dst = sg_next(dev->sg_dst); in rk_ablk_rx()
|
D | rk3288_crypto_ahash.c | 182 dev->sg_dst = NULL; in rk_ahash_digest()
|
/drivers/crypto/ |
D | s5p-sss.c | 183 struct scatterlist *sg_dst; member 292 dma_unmap_sg(dev->dev, dev->sg_dst, 1, DMA_FROM_DEVICE); in s5p_unset_outdata() 341 dev->sg_dst = sg; in s5p_set_outdata() 382 if (!sg_is_last(dev->sg_dst)) { in s5p_aes_tx() 383 err = s5p_set_outdata(dev, sg_next(dev->sg_dst)); in s5p_aes_tx() 447 s5p_set_dma_outdata(dev, dev->sg_dst); in s5p_aes_interrupt() 593 s5p_set_dma_outdata(dev, dev->sg_dst); in s5p_aes_crypt_start()
|
D | mxc-scc.c | 156 struct scatterlist *sg_dst; member
|
/drivers/usb/wusbcore/ |
D | crypto.c | 216 struct scatterlist sg[4], sg_dst; in wusb_ccm_mac() local 264 sg_init_one(&sg_dst, dst_buf, dst_size); in wusb_ccm_mac() 268 skcipher_request_set_crypt(req, sg, &sg_dst, dst_size, iv); in wusb_ccm_mac()
|
/drivers/crypto/ux500/cryp/ |
D | cryp.h | 216 struct scatterlist *sg_dst; member
|
D | cryp_core.c | 563 ctx->device->dma.sg_dst = sg; in cryp_set_dma_transfer() 565 ctx->device->dma.sg_dst, in cryp_set_dma_transfer() 580 ctx->device->dma.sg_dst, in cryp_set_dma_transfer() 615 dma_unmap_sg(chan->device->dev, ctx->device->dma.sg_dst, in cryp_dma_done()
|
/drivers/dma/ |
D | ste_dma40.c | 2103 struct scatterlist *sg_src, struct scatterlist *sg_dst, in d40_prep_sg_log() argument 2119 ret = d40_log_sg_to_lli(sg_dst, sg_len, in d40_prep_sg_log() 2131 struct scatterlist *sg_src, struct scatterlist *sg_dst, in d40_prep_sg_phy() argument 2150 ret = d40_phy_sg_to_lli(sg_dst, sg_len, dst_dev_addr, in d40_prep_sg_phy() 2202 struct scatterlist *sg_dst, unsigned int sg_len, in d40_prep_sg() argument 2234 ret = d40_prep_sg_log(chan, desc, sg_src, sg_dst, in d40_prep_sg() 2237 ret = d40_prep_sg_phy(chan, desc, sg_src, sg_dst, in d40_prep_sg()
|