diff options
| author | Erwan Le Ray <[email protected]> | 2021-10-20 17:03:32 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-10-21 10:36:29 +0200 |
| commit | d1ec8a2eabe969b333031e8fb36fe7fc61a5f0ac (patch) | |
| tree | 5daa872c93a40eea24e60eefd7d3ecb27a09a2e9 /tools/perf/scripts/python/bin | |
| parent | 33bb2f6ac3088936b7aad3cab6f439f91af0223c (diff) | |
serial: stm32: update throttle and unthrottle ops for dma mode
Disable DMA request line (if enabled) to switch in PIO mode in throttle
ops, so the RX data gets queues into the FIFO. The hardware flow control
is triggered when the RX FIFO is full.
Switch back to DMA mode (re-enable DMA request line) in unthrottle ops.
Hardware flow control is stopped when FIFO is not full anymore.
Signed-off-by: Valentin Caron <[email protected]>
Signed-off-by: Erwan Le Ray <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions