diff options
author | Leonard Göhrs <[email protected]> | 2023-03-10 10:20:52 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-03-16 13:10:55 +0000 |
commit | 027781f3920ad16f40133890fc87247b8baa2d8d (patch) | |
tree | 460ff59f032b4c47ed062ad3bd6ae7f2fec253ec /tools/perf/scripts/python/check-perf-trace.py | |
parent | 93d205457dcda137e73dbfdcaa6a3c4c3b6d505f (diff) |
spi: core: add spi_split_transfers_maxwords
Add spi_split_transfers_maxwords() function that splits
spi_transfers transparently into multiple transfers
that are below a given number of SPI words.
This function reuses most of its code from
spi_split_transfers_maxsize() and for transfers with
eight or less bits per word actually behaves the same.
Signed-off-by: Leonard Göhrs <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions