Searched refs:sg_tmp (Results 1 – 5 of 5) sorted by relevance
/drivers/crypto/rockchip/ |
D | rk3288_crypto.c | 130 sg_init_one(&dev->sg_tmp, dev->addr_vir, count); in rk_load_data() 131 if (!dma_map_sg(dev->dev, &dev->sg_tmp, 1, DMA_TO_DEVICE)) { in rk_load_data() 136 dev->addr_in = sg_dma_address(&dev->sg_tmp); in rk_load_data() 139 if (!dma_map_sg(dev->dev, &dev->sg_tmp, 1, in rk_load_data() 144 dma_unmap_sg(dev->dev, &dev->sg_tmp, 1, in rk_load_data() 148 dev->addr_out = sg_dma_address(&dev->sg_tmp); in rk_load_data() 159 sg_in = dev->aligned ? dev->sg_src : &dev->sg_tmp; in rk_unload_data() 163 sg_out = dev->aligned ? dev->sg_dst : &dev->sg_tmp; in rk_unload_data()
|
D | rk3288_crypto.h | 204 struct scatterlist sg_tmp; member
|
/drivers/mmc/host/ |
D | renesas_sdhi_sys_dmac.c | 172 struct scatterlist *sg = host->sg_ptr, *sg_tmp; in renesas_sdhi_sys_dmac_start_dma_rx() local 180 for_each_sg(sg, sg_tmp, host->sg_len, i) { in renesas_sdhi_sys_dmac_start_dma_rx() 181 if (sg_tmp->offset & align) in renesas_sdhi_sys_dmac_start_dma_rx() 183 if (sg_tmp->length & align) { in renesas_sdhi_sys_dmac_start_dma_rx() 246 struct scatterlist *sg = host->sg_ptr, *sg_tmp; in renesas_sdhi_sys_dmac_start_dma_tx() local 254 for_each_sg(sg, sg_tmp, host->sg_len, i) { in renesas_sdhi_sys_dmac_start_dma_tx() 255 if (sg_tmp->offset & align) in renesas_sdhi_sys_dmac_start_dma_tx() 257 if (sg_tmp->length & align) { in renesas_sdhi_sys_dmac_start_dma_tx()
|
/drivers/memstick/core/ |
D | ms_block.c | 1606 struct scatterlist sg_tmp[10]; in msb_cache_write() local 1633 sg_init_table(sg_tmp, ARRAY_SIZE(sg_tmp)); in msb_cache_write() 1634 msb_sg_copy(sg, sg_tmp, ARRAY_SIZE(sg_tmp), offset, msb->page_size); in msb_cache_write() 1636 sg_copy_to_buffer(sg_tmp, sg_nents(sg_tmp), in msb_cache_write() 1647 struct scatterlist sg_tmp[10]; in msb_cache_read() local 1656 sg_init_table(sg_tmp, ARRAY_SIZE(sg_tmp)); in msb_cache_read() 1657 msb_sg_copy(sg, sg_tmp, ARRAY_SIZE(sg_tmp), in msb_cache_read() 1659 sg_copy_from_buffer(sg_tmp, sg_nents(sg_tmp), in msb_cache_read()
|
/drivers/crypto/ |
D | omap-sham.c | 739 struct scatterlist *sg_tmp = sg; in omap_sham_align_sgs() local 759 while (nbytes > 0 && sg_tmp) { in omap_sham_align_sgs() 762 if (offset < sg_tmp->length) { in omap_sham_align_sgs() 763 if (!IS_ALIGNED(offset + sg_tmp->offset, 4)) { in omap_sham_align_sgs() 768 if (!IS_ALIGNED(sg_tmp->length - offset, bs)) { in omap_sham_align_sgs() 775 offset -= sg_tmp->length; in omap_sham_align_sgs() 781 nbytes -= sg_tmp->length; in omap_sham_align_sgs() 784 sg_tmp = sg_next(sg_tmp); in omap_sham_align_sgs()
|