Lines Matching refs:xt
852 struct dma_interleaved_template *xt, in at_xdmac_interleaved_queue_desc() argument
890 if (xt->src_inc) { in at_xdmac_interleaved_queue_desc()
891 if (xt->src_sgl) in at_xdmac_interleaved_queue_desc()
897 if (xt->dst_inc) { in at_xdmac_interleaved_queue_desc()
898 if (xt->dst_sgl) in at_xdmac_interleaved_queue_desc()
918 desc->lld.mbr_sus = dmaengine_get_src_icg(xt, chunk); in at_xdmac_interleaved_queue_desc()
919 desc->lld.mbr_dus = dmaengine_get_dst_icg(xt, chunk); in at_xdmac_interleaved_queue_desc()
941 struct dma_interleaved_template *xt, in at_xdmac_prep_interleaved() argument
951 if (!xt || !xt->numf || (xt->dir != DMA_MEM_TO_MEM)) in at_xdmac_prep_interleaved()
958 if ((xt->numf > 1) && (xt->frame_size > 1)) in at_xdmac_prep_interleaved()
962 __func__, &xt->src_start, &xt->dst_start, xt->numf, in at_xdmac_prep_interleaved()
963 xt->frame_size, flags); in at_xdmac_prep_interleaved()
965 src_addr = xt->src_start; in at_xdmac_prep_interleaved()
966 dst_addr = xt->dst_start; in at_xdmac_prep_interleaved()
968 if (xt->numf > 1) { in at_xdmac_prep_interleaved()
972 xt, xt->sgl); in at_xdmac_prep_interleaved()
977 for (i = 0; i < xt->numf - 1; i++) in at_xdmac_prep_interleaved()
984 for (i = 0; i < xt->frame_size; i++) { in at_xdmac_prep_interleaved()
988 chunk = xt->sgl + i; in at_xdmac_prep_interleaved()
990 dst_icg = dmaengine_get_dst_icg(xt, chunk); in at_xdmac_prep_interleaved()
991 src_icg = dmaengine_get_src_icg(xt, chunk); in at_xdmac_prep_interleaved()
1003 xt, chunk); in at_xdmac_prep_interleaved()
1018 if (xt->src_sgl) in at_xdmac_prep_interleaved()
1021 if (xt->dst_sgl) in at_xdmac_prep_interleaved()