Lines Matching refs:src_sg
596 struct scatterlist *src_sg = msg->spu.src, *dst_sg = msg->spu.dst; in flexrm_spu_estimate_nonheader_desc_count() local
598 while (src_sg || dst_sg) { in flexrm_spu_estimate_nonheader_desc_count()
599 if (src_sg) { in flexrm_spu_estimate_nonheader_desc_count()
601 dst_target = src_sg->length; in flexrm_spu_estimate_nonheader_desc_count()
602 src_sg = sg_next(src_sg); in flexrm_spu_estimate_nonheader_desc_count()
655 struct scatterlist *src_sg = msg->spu.src, *dst_sg = msg->spu.dst; in flexrm_spu_write_descs() local
657 while (src_sg || dst_sg) { in flexrm_spu_write_descs()
658 if (src_sg) { in flexrm_spu_write_descs()
659 if (sg_dma_len(src_sg) & 0xf) in flexrm_spu_write_descs()
660 d = flexrm_src_desc(sg_dma_address(src_sg), in flexrm_spu_write_descs()
661 sg_dma_len(src_sg)); in flexrm_spu_write_descs()
663 d = flexrm_msrc_desc(sg_dma_address(src_sg), in flexrm_spu_write_descs()
664 sg_dma_len(src_sg)/16); in flexrm_spu_write_descs()
669 dst_target = sg_dma_len(src_sg); in flexrm_spu_write_descs()
670 src_sg = sg_next(src_sg); in flexrm_spu_write_descs()