Lines Matching refs:src_sg
355 struct scatterlist *src_sg, in ccp_create_desc() argument
372 if (!dst_sg || !src_sg) in ccp_create_desc()
384 src_len = sg_dma_len(src_sg); in ccp_create_desc()
396 src_sg = sg_next(src_sg); in ccp_create_desc()
397 if (!src_sg) in ccp_create_desc()
400 src_len = sg_dma_len(src_sg); in ccp_create_desc()
433 ccp_pt->src_dma = sg_dma_address(src_sg) + src_offset; in ccp_create_desc()
485 struct scatterlist dst_sg, src_sg; in ccp_prep_dma_memcpy() local
495 sg_init_table(&src_sg, 1); in ccp_prep_dma_memcpy()
496 sg_dma_address(&src_sg) = src; in ccp_prep_dma_memcpy()
497 sg_dma_len(&src_sg) = len; in ccp_prep_dma_memcpy()
499 desc = ccp_create_desc(dma_chan, &dst_sg, 1, &src_sg, 1, flags); in ccp_prep_dma_memcpy()