diff options
| author | Frank Li <Frank.Li@nxp.com> | 2026-10-05 05:37:15 -0400 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2026-10-09 11:41:33 +0200 |
| commit | 11e801ccaca78c9d92b1f3a9733772bf9d2c079c (patch) | |
| tree | 72df0a094e99fbf026d8ff77593fd0d9b2b489c1 /tools/lib/python/kdoc/python_version.py | |
| parent | 4bdb88eb5496cb09902b9778ca7f4628c43b0d77 (diff) | |
| download | linux-next-11e801ccaca78c9d92b1f3a9733772bf9d2c079c.tar.gz linux-next-11e801ccaca78c9d92b1f3a9733772bf9d2c079c.zip | |
dmaengine: add dmaengine_is_*_aligned() helpers for DMA consumers
DMA engine consumers typically hold a struct dma_chan pointer and should
not need to reach into struct dma_device directly to check alignment
requirements. Add dmaengine_is_copy_aligned(), dmaengine_is_xor_aligned(),
dmaengine_is_pq_aligned() and dmaengine_is_fill_aligned() as channel-based
counterparts to the existing is_dma_*_aligned() family.
Each wrapper calls dmaengine_check_align() directly with the alignment
value from chan->device, keeping struct dma_device opaque to consumers.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20261005-dmaengine_prep_dma_pq-v3-2-a4a241f26fa7@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
