• Home
  • Raw
  • Download

Lines Matching refs:xt

611 	struct dma_chan *c, struct dma_interleaved_template *xt,  in axi_dmac_prep_interleaved()  argument
618 if (xt->frame_size != 1) in axi_dmac_prep_interleaved()
621 if (xt->dir != chan->direction) in axi_dmac_prep_interleaved()
625 if (!xt->src_inc || !axi_dmac_check_addr(chan, xt->src_start)) in axi_dmac_prep_interleaved()
630 if (!xt->dst_inc || !axi_dmac_check_addr(chan, xt->dst_start)) in axi_dmac_prep_interleaved()
634 dst_icg = dmaengine_get_dst_icg(xt, &xt->sgl[0]); in axi_dmac_prep_interleaved()
635 src_icg = dmaengine_get_src_icg(xt, &xt->sgl[0]); in axi_dmac_prep_interleaved()
638 if (!axi_dmac_check_len(chan, xt->sgl[0].size) || in axi_dmac_prep_interleaved()
639 xt->numf == 0) in axi_dmac_prep_interleaved()
641 if (xt->sgl[0].size + dst_icg > chan->max_length || in axi_dmac_prep_interleaved()
642 xt->sgl[0].size + src_icg > chan->max_length) in axi_dmac_prep_interleaved()
647 if (chan->max_length / xt->sgl[0].size < xt->numf) in axi_dmac_prep_interleaved()
649 if (!axi_dmac_check_len(chan, xt->sgl[0].size * xt->numf)) in axi_dmac_prep_interleaved()
658 desc->sg[0].src_addr = xt->src_start; in axi_dmac_prep_interleaved()
659 desc->sg[0].src_stride = xt->sgl[0].size + src_icg; in axi_dmac_prep_interleaved()
663 desc->sg[0].dest_addr = xt->dst_start; in axi_dmac_prep_interleaved()
664 desc->sg[0].dest_stride = xt->sgl[0].size + dst_icg; in axi_dmac_prep_interleaved()
668 desc->sg[0].x_len = xt->sgl[0].size; in axi_dmac_prep_interleaved()
669 desc->sg[0].y_len = xt->numf; in axi_dmac_prep_interleaved()
671 desc->sg[0].x_len = xt->sgl[0].size * xt->numf; in axi_dmac_prep_interleaved()