summaryrefslogtreecommitdiff
path: root/drivers/mailbox
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2023-12-15 14:13:11 +0100
committerVinod Koul <vkoul@kernel.org>2023-12-21 21:39:56 +0530
commite97dc7435972d28ac7d96d199d4aedb868d04fd8 (patch)
tree94e8fb7af32c094b0e5e478f7f4dc25619249ba0 /drivers/mailbox
parent3f8fd25936ee5f52596f10d420f650c5b5e3285f (diff)
dmaengine: axi-dmac: Add support for scatter-gather transfers
Implement support for scatter-gather transfers. Build a chain of hardware descriptors, each one corresponding to a segment of the transfer, and linked to the next one. The hardware will transfer the chain and only fire interrupts when the whole chain has been transferred. Support for scatter-gather is automatically enabled when the driver detects that the hardware supports it, by writing then reading the AXI_DMAC_REG_SG_ADDRESS register. If not available, the driver will fall back to standard DMA transfers. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Link: https://lore.kernel.org/r/20231215131313.23840-4-paul@crapouillou.net Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/mailbox')
0 files changed, 0 insertions, 0 deletions