Lines Matching defs:next_sg
203 u32 next_sg;
554 chan->next_sg = 0;
557 if (chan->next_sg == chan->desc->num_sgs)
558 chan->next_sg = 0;
560 sg_req = &chan->desc->sg_req[chan->next_sg];
571 chan->next_sg++;
602 if (chan->next_sg == chan->desc->num_sgs)
603 chan->next_sg = 0;
605 sg_req = &chan->desc->sg_req[chan->next_sg];
626 chan->next_sg++;
630 if (chan->next_sg == chan->desc->num_sgs) {
1057 * comparing the next_sg memory address with the hardware related register
1075 sg_req = &chan->desc->sg_req[chan->next_sg];
1089 u32 next_sg)
1093 u32 n_sg = next_sg;
1094 struct stm32_dma_sg_req *sg_req = &chan->desc->sg_req[chan->next_sg];
1171 chan->next_sg);