Searched refs:sg_tmp (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/mmc/host/ |
H A D | renesas_sdhi_sys_dmac.c | 158 struct scatterlist *sg = host->sg_ptr, *sg_tmp; in renesas_sdhi_sys_dmac_start_dma_rx() local 166 for_each_sg(sg, sg_tmp, host->sg_len, i) { in renesas_sdhi_sys_dmac_start_dma_rx() 167 if (sg_tmp->offset & align) in renesas_sdhi_sys_dmac_start_dma_rx() 169 if (sg_tmp->length & align) { in renesas_sdhi_sys_dmac_start_dma_rx() 230 struct scatterlist *sg = host->sg_ptr, *sg_tmp; in renesas_sdhi_sys_dmac_start_dma_tx() local 238 for_each_sg(sg, sg_tmp, host->sg_len, i) { in renesas_sdhi_sys_dmac_start_dma_tx() 239 if (sg_tmp->offset & align) in renesas_sdhi_sys_dmac_start_dma_tx() 241 if (sg_tmp->length & align) { in renesas_sdhi_sys_dmac_start_dma_tx()
|
/openbmc/linux/drivers/memstick/core/ |
H A D | ms_block.c | 1610 struct scatterlist sg_tmp[10]; in msb_cache_write() local 1637 sg_init_table(sg_tmp, ARRAY_SIZE(sg_tmp)); in msb_cache_write() 1638 msb_sg_copy(sg, sg_tmp, ARRAY_SIZE(sg_tmp), offset, msb->page_size); in msb_cache_write() 1640 sg_copy_to_buffer(sg_tmp, sg_nents(sg_tmp), in msb_cache_write() 1651 struct scatterlist sg_tmp[10]; in msb_cache_read() local 1660 sg_init_table(sg_tmp, ARRAY_SIZE(sg_tmp)); in msb_cache_read() 1661 msb_sg_copy(sg, sg_tmp, ARRAY_SIZE(sg_tmp), in msb_cache_read() 1663 sg_copy_from_buffer(sg_tmp, sg_nents(sg_tmp), in msb_cache_read()
|
/openbmc/linux/drivers/crypto/intel/keembay/ |
H A D | ocs-aes.c | 1424 struct scatterlist *sg_tmp; in ocs_create_linked_list_from_sg() local 1453 sg_tmp = sg; in ocs_create_linked_list_from_sg() 1456 if (!sg_tmp) in ocs_create_linked_list_from_sg() 1458 tmp += sg_dma_len(sg_tmp); in ocs_create_linked_list_from_sg() 1460 sg_tmp = sg_next(sg_tmp); in ocs_create_linked_list_from_sg()
|
/openbmc/linux/drivers/crypto/ |
H A D | s5p-sss.c | 1144 struct scatterlist *sg_tmp = sg; in s5p_hash_prepare_sgs() local 1152 while (nbytes > 0 && sg_tmp) { in s5p_hash_prepare_sgs() 1154 if (skip >= sg_tmp->length) { in s5p_hash_prepare_sgs() 1155 skip -= sg_tmp->length; in s5p_hash_prepare_sgs() 1156 if (!sg_tmp->length) { in s5p_hash_prepare_sgs() 1161 if (!IS_ALIGNED(sg_tmp->length - skip, BUFLEN)) { in s5p_hash_prepare_sgs() 1166 if (nbytes < sg_tmp->length - skip) { in s5p_hash_prepare_sgs() 1171 nbytes -= sg_tmp->length - skip; in s5p_hash_prepare_sgs() 1175 sg_tmp = sg_next(sg_tmp); in s5p_hash_prepare_sgs()
|
H A D | omap-sham.c | 730 struct scatterlist *sg_tmp = sg; in omap_sham_align_sgs() local 763 while (nbytes > 0 && sg_tmp) { in omap_sham_align_sgs() 780 if (page_zonenum(sg_page(sg_tmp)) != ZONE_DMA) { in omap_sham_align_sgs() 786 if (offset < sg_tmp->length) { in omap_sham_align_sgs() 787 if (!IS_ALIGNED(offset + sg_tmp->offset, 4)) { in omap_sham_align_sgs() 792 if (!IS_ALIGNED(sg_tmp->length - offset, bs)) { in omap_sham_align_sgs() 799 offset -= sg_tmp->length; in omap_sham_align_sgs() 805 nbytes -= sg_tmp->length; in omap_sham_align_sgs() 808 sg_tmp = sg_next(sg_tmp); in omap_sham_align_sgs()
|