Home
last modified time | relevance | path

Searched hist:"4 d3df16840a2bba5a345326426380e1381d976d2" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/dma/
H A Dplx_dma.cdiff 4d3df16840a2bba5a345326426380e1381d976d2 Fri Jan 03 15:20:21 CST 2020 Logan Gunthorpe <logang@deltatee.com> dmaengine: plx-dma: Implement descriptor submission

On prep, a spin lock is taken and the next entry in the circular buffer
is filled. On submit, the valid bit is set in the hardware descriptor
and the lock is released.

The DMA engine is started (if it's not already running) when the client
calls dma_async_issue_pending().

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Link: https://lore.kernel.org/r/20200103212021.2881-4-logang@deltatee.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>