Home
last modified time | relevance | path

Searched refs:sg_tmp (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/mmc/host/
H A Drenesas_sdhi_sys_dmac.c159 struct scatterlist *sg = host->sg_ptr, *sg_tmp; in renesas_sdhi_sys_dmac_start_dma_rx() local
167 for_each_sg(sg, sg_tmp, host->sg_len, i) { in renesas_sdhi_sys_dmac_start_dma_rx()
168 if (sg_tmp->offset & align) in renesas_sdhi_sys_dmac_start_dma_rx()
170 if (sg_tmp->length & align) { in renesas_sdhi_sys_dmac_start_dma_rx()
231 struct scatterlist *sg = host->sg_ptr, *sg_tmp; in renesas_sdhi_sys_dmac_start_dma_tx() local
239 for_each_sg(sg, sg_tmp, host->sg_len, i) { in renesas_sdhi_sys_dmac_start_dma_tx()
240 if (sg_tmp->offset & align) in renesas_sdhi_sys_dmac_start_dma_tx()
242 if (sg_tmp->length & align) { in renesas_sdhi_sys_dmac_start_dma_tx()
/linux/drivers/memstick/core/
H A Dms_block.c1613 struct scatterlist sg_tmp[10]; in msb_cache_write() local
1640 sg_init_table(sg_tmp, ARRAY_SIZE(sg_tmp)); in msb_cache_write()
1641 msb_sg_copy(sg, sg_tmp, ARRAY_SIZE(sg_tmp), offset, msb->page_size); in msb_cache_write()
1643 sg_copy_to_buffer(sg_tmp, sg_nents(sg_tmp), in msb_cache_write()
1654 struct scatterlist sg_tmp[10]; in msb_cache_read() local
1663 sg_init_table(sg_tmp, ARRAY_SIZE(sg_tmp)); in msb_cache_read()
1664 msb_sg_copy(sg, sg_tmp, ARRAY_SIZE(sg_tmp), in msb_cache_read()
1666 sg_copy_from_buffer(sg_tmp, sg_nents(sg_tmp), in msb_cache_read()