promise 322 drivers/dma/sun4i-dma.c struct sun4i_dma_promise *promise = NULL; promise 367 drivers/dma/sun4i-dma.c promise = list_first_entry(&contract->demands, promise 369 drivers/dma/sun4i-dma.c vchan->processing = promise; promise 372 drivers/dma/sun4i-dma.c if (promise) { promise 376 drivers/dma/sun4i-dma.c configure_pchan(pchan, promise); promise 436 drivers/dma/sun4i-dma.c struct sun4i_dma_promise *promise; promise 443 drivers/dma/sun4i-dma.c promise = kzalloc(sizeof(*promise), GFP_NOWAIT); promise 444 drivers/dma/sun4i-dma.c if (!promise) promise 447 drivers/dma/sun4i-dma.c promise->src = src; promise 448 drivers/dma/sun4i-dma.c promise->dst = dest; promise 449 drivers/dma/sun4i-dma.c promise->len = len; promise 450 drivers/dma/sun4i-dma.c promise->cfg = SUN4I_DMA_CFG_LOADING | promise 462 drivers/dma/sun4i-dma.c promise->cfg |= SUN4I_DMA_CFG_SRC_BURST_LENGTH(ret); promise 468 drivers/dma/sun4i-dma.c promise->cfg |= SUN4I_DMA_CFG_DST_BURST_LENGTH(ret); promise 474 drivers/dma/sun4i-dma.c promise->cfg |= SUN4I_DMA_CFG_SRC_DATA_WIDTH(ret); promise 480 drivers/dma/sun4i-dma.c promise->cfg |= SUN4I_DMA_CFG_DST_DATA_WIDTH(ret); promise 482 drivers/dma/sun4i-dma.c return promise; promise 485 drivers/dma/sun4i-dma.c kfree(promise); promise 502 drivers/dma/sun4i-dma.c struct sun4i_dma_promise *promise; promise 505 drivers/dma/sun4i-dma.c promise = kzalloc(sizeof(*promise), GFP_NOWAIT); promise 506 drivers/dma/sun4i-dma.c if (!promise) promise 509 drivers/dma/sun4i-dma.c promise->src = src; promise 510 drivers/dma/sun4i-dma.c promise->dst = dest; promise 511 drivers/dma/sun4i-dma.c promise->len = len; promise 512 drivers/dma/sun4i-dma.c promise->cfg = SUN4I_DMA_CFG_LOADING | promise 519 drivers/dma/sun4i-dma.c promise->cfg |= SUN4I_DMA_CFG_SRC_BURST_LENGTH(ret); promise 525 drivers/dma/sun4i-dma.c promise->cfg |= SUN4I_DMA_CFG_DST_BURST_LENGTH(ret); promise 531 drivers/dma/sun4i-dma.c promise->cfg |= SUN4I_DMA_CFG_SRC_DATA_WIDTH(ret); promise 537 drivers/dma/sun4i-dma.c promise->cfg |= SUN4I_DMA_CFG_DST_DATA_WIDTH(ret); promise 539 drivers/dma/sun4i-dma.c return promise; promise 542 drivers/dma/sun4i-dma.c kfree(promise); promise 578 drivers/dma/sun4i-dma.c struct sun4i_dma_promise *promise; promise 580 drivers/dma/sun4i-dma.c promise = list_first_entry_or_null(&contract->demands, promise 582 drivers/dma/sun4i-dma.c if (!promise) { promise 585 drivers/dma/sun4i-dma.c promise = list_first_entry(&contract->demands, promise 589 drivers/dma/sun4i-dma.c return promise; promise 598 drivers/dma/sun4i-dma.c struct sun4i_dma_promise *promise, *tmp; promise 601 drivers/dma/sun4i-dma.c list_for_each_entry_safe(promise, tmp, &contract->demands, list) promise 602 drivers/dma/sun4i-dma.c kfree(promise); promise 604 drivers/dma/sun4i-dma.c list_for_each_entry_safe(promise, tmp, &contract->completed_demands, list) promise 605 drivers/dma/sun4i-dma.c kfree(promise); promise 616 drivers/dma/sun4i-dma.c struct sun4i_dma_promise *promise; promise 634 drivers/dma/sun4i-dma.c promise = generate_ddma_promise(chan, src, dest, len, sconfig); promise 636 drivers/dma/sun4i-dma.c promise = generate_ndma_promise(chan, src, dest, len, sconfig, promise 639 drivers/dma/sun4i-dma.c if (!promise) { promise 646 drivers/dma/sun4i-dma.c promise->cfg |= SUN4I_DMA_CFG_SRC_DRQ_TYPE(SUN4I_DDMA_DRQ_TYPE_SDRAM) | promise 649 drivers/dma/sun4i-dma.c promise->cfg |= SUN4I_DMA_CFG_SRC_DRQ_TYPE(SUN4I_NDMA_DRQ_TYPE_SDRAM) | promise 654 drivers/dma/sun4i-dma.c list_add_tail(&promise->list, &contract->demands); promise 667 drivers/dma/sun4i-dma.c struct sun4i_dma_promise *promise; promise 750 drivers/dma/sun4i-dma.c promise = generate_ndma_promise(chan, src, dest, promise 752 drivers/dma/sun4i-dma.c if (!promise) { promise 756 drivers/dma/sun4i-dma.c promise->cfg |= endpoints; promise 759 drivers/dma/sun4i-dma.c list_add_tail(&promise->list, &contract->demands); promise 773 drivers/dma/sun4i-dma.c struct sun4i_dma_promise *promise; promise 837 drivers/dma/sun4i-dma.c promise = generate_ddma_promise(chan, srcaddr, dstaddr, promise 841 drivers/dma/sun4i-dma.c promise = generate_ndma_promise(chan, srcaddr, dstaddr, promise 845 drivers/dma/sun4i-dma.c if (!promise) promise 848 drivers/dma/sun4i-dma.c promise->cfg |= endpoints; promise 849 drivers/dma/sun4i-dma.c promise->para = para; promise 852 drivers/dma/sun4i-dma.c list_add_tail(&promise->list, &contract->demands); promise 944 drivers/dma/sun4i-dma.c struct sun4i_dma_promise *promise; promise 960 drivers/dma/sun4i-dma.c list_for_each_entry(promise, &contract->demands, list) promise 961 drivers/dma/sun4i-dma.c bytes += promise->len; promise 968 drivers/dma/sun4i-dma.c promise = list_first_entry_or_null(&contract->demands, promise 970 drivers/dma/sun4i-dma.c if (promise && pchan) { promise 971 drivers/dma/sun4i-dma.c bytes -= promise->len; promise 1010 drivers/dma/sun4i-dma.c struct sun4i_dma_promise *promise; promise 1057 drivers/dma/sun4i-dma.c promise = get_next_cyclic_promise(contract); promise 1058 drivers/dma/sun4i-dma.c vchan->processing = promise; promise 1059 drivers/dma/sun4i-dma.c configure_pchan(pchan, promise);