diff options
author | 2022-05-05 13:56:08 +0200 | |
---|---|---|
committer | 2022-05-19 23:43:40 +0530 | |
commit | db60a63eb6850fce081c1a22e7318e5d37f4dcf5 (patch) | |
tree | 999c033d98ac915864dc6b494e1394d430e3eec7 /scripts/gdb/linux/utils.py | |
parent | dmaengine: stm32-dmamux: avoid reset of dmamux if used by coprocessor (diff) | |
download | wireguard-linux-db60a63eb6850fce081c1a22e7318e5d37f4dcf5.tar.xz wireguard-linux-db60a63eb6850fce081c1a22e7318e5d37f4dcf5.zip |
dmaengine: stm32-dma: introduce stm32_dma_sg_inc to manage chan->next_sg
chan->next_sg is used to know which transfer will start after the ongoing
one. It is incremented for each new transfer, either on transfer start for
non-cyclic transfers, or on transfer complete interrupt for cyclic
transfers.
For cyclic transfer, when the last item is reached, chan->next_sg must be
reinitialized to the first item.
Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
Link: https://lore.kernel.org/r/20220505115611.38845-2-amelie.delaunay@foss.st.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions