• S
    dmaengine: add possibility for cyclic transfers · 782bc950
    Sascha Hauer 提交于
    Cyclic transfers are useful for audio where a single buffer divided
    in periods has to be transfered endlessly until stopped. After being
    prepared the transfer is started using the dma_async_descriptor->tx_submit
    function. dma_async_descriptor->callback is called after each period.
    The transfer is stopped using the DMA_TERMINATE_ALL callback.
    While being used for cyclic transfers the channel cannot be used
    for other transfer types.
    Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
    Cc: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
    Signed-off-by: NDan Williams <dan.j.williams@intel.com>
    782bc950
dmaengine.h 26.5 KB