Home
last modified time | relevance | path

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

/sound/soc/sprd/
Dsprd-pcm-compress.c144 struct scatterlist *sg, *sgt; in sprd_platform_compr_dma_config() local
163 sgt = sg = devm_kcalloc(dev, sg_num, sizeof(*sg), GFP_KERNEL); in sprd_platform_compr_dma_config()
214 sg_init_table(sgt, sg_num); in sprd_platform_compr_dma_config()
215 for (j = 0; j < sg_num; j++, sgt++) { in sprd_platform_compr_dma_config()
216 sg_dma_len(sgt) = dma->trans_len; in sprd_platform_compr_dma_config()
217 sg_dma_address(sgt) = dst_addr; in sprd_platform_compr_dma_config()
Dsprd-pcm-dma.c244 struct scatterlist *sgt = sg; in sprd_pcm_hw_params() local
261 sg_init_table(sgt, sg_num); in sprd_pcm_hw_params()
262 for (j = 0; j < sg_num; j++, sgt++) { in sprd_pcm_hw_params()
265 sg_dma_len(sgt) = sg_len; in sprd_pcm_hw_params()
266 sg_dma_address(sgt) = runtime->dma_addr + in sprd_pcm_hw_params()