Home
last modified time | relevance | path

Searched refs:sg_dst (Results 1 – 10 of 10) sorted by relevance

/drivers/crypto/rockchip/
Drk3288_crypto.c71 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 …]
Drk3288_crypto.h201 struct scatterlist *sg_dst; member
221 struct scatterlist *sg_dst);
Drk3288_crypto_ablkcipher.c38 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()
Drk3288_crypto_ahash.c182 dev->sg_dst = NULL; in rk_ahash_digest()
/drivers/crypto/
Ds5p-sss.c183 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()
Dmxc-scc.c156 struct scatterlist *sg_dst; member
/drivers/usb/wusbcore/
Dcrypto.c216 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/
Dcryp.h216 struct scatterlist *sg_dst; member
Dcryp_core.c563 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/
Dste_dma40.c2103 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()