Lines Matching refs:xt
858 struct dma_interleaved_template *xt, in atc_prep_dma_interleaved() argument
874 if (unlikely(!xt || xt->numf != 1 || !xt->frame_size)) in atc_prep_dma_interleaved()
877 first = xt->sgl; in atc_prep_dma_interleaved()
881 __func__, &xt->src_start, &xt->dst_start, xt->numf, in atc_prep_dma_interleaved()
882 xt->frame_size, flags); in atc_prep_dma_interleaved()
890 for (i = 0; i < xt->frame_size; i++) { in atc_prep_dma_interleaved()
891 struct data_chunk *chunk = xt->sgl + i; in atc_prep_dma_interleaved()
893 if ((chunk->size != xt->sgl->size) || in atc_prep_dma_interleaved()
894 (dmaengine_get_dst_icg(xt, chunk) != dmaengine_get_dst_icg(xt, first)) || in atc_prep_dma_interleaved()
895 (dmaengine_get_src_icg(xt, chunk) != dmaengine_get_src_icg(xt, first))) { in atc_prep_dma_interleaved()
905 dwidth = atc_get_xfer_width(xt->src_start, xt->dst_start, len); in atc_prep_dma_interleaved()
936 lli->saddr = xt->src_start; in atc_prep_dma_interleaved()
937 lli->daddr = xt->dst_start; in atc_prep_dma_interleaved()
942 desc->dst_hole = (dmaengine_get_dst_icg(xt, first) >> dwidth) + 1; in atc_prep_dma_interleaved()
943 desc->src_hole = (dmaengine_get_src_icg(xt, first) >> dwidth) + 1; in atc_prep_dma_interleaved()