Lines Matching defs:next_sg
217 u32 next_sg;
550 chan->next_sg++;
551 if (chan->desc->cyclic && (chan->next_sg == chan->desc->num_sgs))
552 chan->next_sg = 0;
578 chan->next_sg = 0;
581 if (chan->next_sg == chan->desc->num_sgs)
582 chan->next_sg = 0;
584 sg_req = &chan->desc->sg_req[chan->next_sg];
629 sg_req = &chan->desc->sg_req[chan->next_sg];
697 if (!chan->next_sg)
700 sg_req = &chan->desc->sg_req[chan->next_sg - 1];
753 if (chan->next_sg == chan->desc->num_sgs) {
870 if (!chan->next_sg)
873 sg_req = &chan->desc->sg_req[chan->next_sg - 1];
1317 * comparing the next_sg memory address with the hardware related register
1336 sg_req = &chan->desc->sg_req[chan->next_sg];
1361 u32 next_sg)
1365 u32 n_sg = next_sg;
1366 struct stm32_dma_sg_req *sg_req = &chan->desc->sg_req[chan->next_sg];
1449 chan->next_sg);