diff options
| author | Frank Li <Frank.Li@nxp.com> | 2026-10-05 05:37:16 -0400 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2026-10-09 11:41:33 +0200 |
| commit | 072975a8a578a62ea68ec1ceb8d2d7dcfb5dfefa (patch) | |
| tree | b158bc3e6acee71190694139d3eb0a4757a15690 /tools/lib/python | |
| parent | 11e801ccaca78c9d92b1f3a9733772bf9d2c079c (diff) | |
| download | linux-next-072975a8a578a62ea68ec1ceb8d2d7dcfb5dfefa.tar.gz linux-next-072975a8a578a62ea68ec1ceb8d2d7dcfb5dfefa.zip | |
dmaengine: add dmaengine_get_copy_align() and related alignment getter helpers
Add dmaengine_get_copy_align(), dmaengine_get_xor_align(),
dmaengine_get_pq_align(), and dmaengine_get_fill_align() inline
helpers to retrieve the alignment requirement of a DMA channel as
a power-of-2 exponent.
These complement the existing dmaengine_is_*_aligned() test helpers
by providing direct access to the alignment value, which is useful
when callers need to propagate or compare alignment constraints.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20261005-dmaengine_prep_dma_pq-v3-3-a4a241f26fa7@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
