Lines Matching refs:sglen
126 unsigned sglen; member
256 for (i = 0; i < d->sglen; i++) { in omap_dma_desc_free()
621 } else if (d->using_ll || c->sgidx == d->sglen) { in omap_dma_callback()
791 for (size = i = 0; i < d->sglen; i++) in omap_dma_desc_size()
802 for (size = i = 0; i < d->sglen; i++) { in omap_dma_desc_size_pos()
955 struct dma_chan *chan, struct scatterlist *sgl, unsigned sglen, in omap_dma_prep_slave_sg() argument
1000 d = kzalloc(struct_size(d, sg, sglen), GFP_ATOMIC); in omap_dma_prep_slave_sg()
1093 if (sglen >= 2) in omap_dma_prep_slave_sg()
1096 for_each_sg(sgl, sgent, sglen, i) { in omap_dma_prep_slave_sg()
1114 omap_dma_fill_type2_desc(d, i, dir, (i == sglen - 1)); in omap_dma_prep_slave_sg()
1118 d->sglen = sglen; in omap_dma_prep_slave_sg()
1122 for (i = 0; i < d->sglen; i++) { in omap_dma_prep_slave_sg()
1188 d->sglen = 1; in omap_dma_prep_dma_cyclic()
1260 d->sglen = 1; in omap_dma_prep_dma_memcpy()
1315 d->sglen = 1; in omap_dma_prep_dma_interleaved()