Lines Matching defs:next
113 chan->curr, chan->next, chan->end);
232 pr_debug("load_state is none, checking for noreload (next=%p)\n",
233 buf->next);
234 reload = (buf->next == NULL) ? S3C2410_DCON_NORELOAD : 0;
249 chan->next = buf->next;
332 if (chan->next == NULL) {
340 s3c2410_dma_loadbuffer(chan, chan->next);
378 if (chan->next != NULL) {
386 s3c2410_dma_loadbuffer(chan, chan->next);
390 s3c2410_dma_loadbuffer(chan, chan->next);
428 * once, and the code will deal with the re-loading of the next buffer
455 buf->next = NULL;
470 chan->next = NULL;
479 chan->end->next = buf;
484 /* if necessary, update the next buffer field */
485 if (chan->next == NULL)
486 chan->next = buf;
501 while (s3c2410_dma_canload(chan) && chan->next != NULL) {
502 s3c2410_dma_loadbuffer(chan, chan->next);
560 * until the next buffer comes along, and we turn off the
565 pr_debug("dma%d: lastxfer: unhandled load_state %d with no next\n",
612 * engine to start the next transfer
634 chan->curr = buf->next;
635 buf->next = NULL;
657 if (chan->next != NULL && chan->state != S3C2410_DMA_IDLE) {
689 s3c2410_dma_loadbuffer(chan, chan->next);
778 * next claimant.
885 struct s3c2410_dma_buf *buf, *next;
901 buf = chan->next;
903 chan->curr = chan->next = chan->end = NULL;
906 for ( ; buf != NULL; buf = next) {
907 next = buf->next;
909 pr_debug("%s: free buffer %p, next %p\n",
910 __func__, buf, buf->next);
952 if (chan->next != NULL) {
960 s3c2410_dma_loadbuffer(chan, chan->next);
964 s3c2410_dma_loadbuffer(chan, chan->next);