aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/interrupts.py
diff options
context:
space:
mode:
authorAmelie Delaunay <[email protected]>2024-05-31 17:07:09 +0200
committerVinod Koul <[email protected]>2024-06-11 23:55:34 +0530
commit2088473802ab9641114681bee92ba902bccdc19b (patch)
treed5866f865a56cca70046c9425773ae0182562a2f /scripts/gdb/linux/interrupts.py
parentb62a13071cffad03690ee19656248077cb388a14 (diff)
dmaengine: stm32-dma3: improve residue granularity
Implement own device_tx_status ops to compute the residue with a finer granularity, up to bytes. STM32 DMA3 has a bitfield, BNDT, in CxTR1 register which reflects the number of bytes read from the source. It also has a bitfield, FIFOL, in CxSR register which reflects the FIFO level in units of programmed destination data width. The channel is briefly suspended to get a coherent snapshot of registers. It is possible to correct the fifo level when packing/unpacking is enabled with destination increment. Signed-off-by: Amelie Delaunay <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions