Home
last modified time | relevance | path

Searched hist:cd8c732ce1a561d62e22a9d8cf5e4737d66b7d5e (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/dma/xilinx/
H A Dxdma-regs.hdiff cd8c732ce1a561d62e22a9d8cf5e4737d66b7d5e Thu Oct 05 18:02:37 CEST 2023 Miquel Raynal <miquel.raynal@bootlin.com> dmaengine: xilinx: xdma: Support cyclic transfers

In order to use this dmaengine with sound devices, let's add cyclic
transfers support. Most of the code is reused from the existing
scatter-gather implementation, only the final linking between
descriptors, the control fields (to trigger interrupts more often) and
the interrupt handling are really different.

This controller supports up to 32 adjacent descriptors, we assume this
is way more than enough for the purpose of cyclic transfers and limit to
32 the number of cycled descriptors. This way, we simplify a lot the
overall handling of the descriptors.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20231005160237.2804238-4-miquel.raynal@bootlin.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
H A Dxdma.cdiff cd8c732ce1a561d62e22a9d8cf5e4737d66b7d5e Thu Oct 05 18:02:37 CEST 2023 Miquel Raynal <miquel.raynal@bootlin.com> dmaengine: xilinx: xdma: Support cyclic transfers

In order to use this dmaengine with sound devices, let's add cyclic
transfers support. Most of the code is reused from the existing
scatter-gather implementation, only the final linking between
descriptors, the control fields (to trigger interrupts more often) and
the interrupt handling are really different.

This controller supports up to 32 adjacent descriptors, we assume this
is way more than enough for the purpose of cyclic transfers and limit to
32 the number of cycled descriptors. This way, we simplify a lot the
overall handling of the descriptors.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20231005160237.2804238-4-miquel.raynal@bootlin.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>