diff options
| author | Jia Wang <wangjia@ultrarisc.com> | 2026-09-02 17:26:14 +0800 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2026-09-10 19:27:22 +0530 |
| commit | a72f75e1f5552df8765920b678a9037b7f31a91c (patch) | |
| tree | b670c1ea376a387eaf1056243d50d89bf4027645 /tools/perf/scripts/python | |
| parent | 2a9013c20c46216b92ff09e2283b5244a91c59da (diff) | |
| download | linux-next-a72f75e1f5552df8765920b678a9037b7f31a91c.tar.gz linux-next-a72f75e1f5552df8765920b678a9037b7f31a91c.zip | |
dmaengine: dw-axi-dmac: Use bitfield helpers for registers
The driver open-codes several channel configuration and descriptor
control bitfield writes with left shifts. Define masks for those fields
and use FIELD_PREP() when programming the registers.
Valid field values keep the same encoding. FIELD_PREP() confines values
to their respective fields, but does not validate handshake numbers
supplied through DMA specifiers.
Suggested-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Jia Wang <wangjia@ultrarisc.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260902-dma-fix-v3-4-414c6449fbcc@ultrarisc.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
