Lines Matching refs:xt
855 struct dma_interleaved_template *xt, in atc_prep_dma_interleaved() argument
871 if (unlikely(!xt || xt->numf != 1 || !xt->frame_size)) in atc_prep_dma_interleaved()
874 first = xt->sgl; in atc_prep_dma_interleaved()
878 __func__, &xt->src_start, &xt->dst_start, xt->numf, in atc_prep_dma_interleaved()
879 xt->frame_size, flags); in atc_prep_dma_interleaved()
887 for (i = 0; i < xt->frame_size; i++) { in atc_prep_dma_interleaved()
888 struct data_chunk *chunk = xt->sgl + i; in atc_prep_dma_interleaved()
890 if ((chunk->size != xt->sgl->size) || in atc_prep_dma_interleaved()
891 (dmaengine_get_dst_icg(xt, chunk) != dmaengine_get_dst_icg(xt, first)) || in atc_prep_dma_interleaved()
892 (dmaengine_get_src_icg(xt, chunk) != dmaengine_get_src_icg(xt, first))) { in atc_prep_dma_interleaved()
902 dwidth = atc_get_xfer_width(xt->src_start, xt->dst_start, len); in atc_prep_dma_interleaved()
933 lli->saddr = xt->src_start; in atc_prep_dma_interleaved()
934 lli->daddr = xt->dst_start; in atc_prep_dma_interleaved()
939 desc->dst_hole = (dmaengine_get_dst_icg(xt, first) >> dwidth) + 1; in atc_prep_dma_interleaved()
940 desc->src_hole = (dmaengine_get_src_icg(xt, first) >> dwidth) + 1; in atc_prep_dma_interleaved()