diff options
| author | Akhil R <akhilrajeev@nvidia.com> | 2026-03-31 15:52:58 +0530 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2026-06-04 12:21:19 +0530 |
| commit | 5000beabae65310ec81db40dcda181b0a6192ff3 (patch) | |
| tree | 19aa8c28ed586a7915d7b64c640d1a76fd6f1933 /drivers/gpu/nova-core/fsp/git@git.tavy.me:linux.git | |
| parent | 680e1b928a6adc1b2d95038ffe9c9887ceafd478 (diff) | |
dmaengine: tegra: Use struct for register offsets
Repurpose the struct tegra_dma_channel_regs to define offsets for all the
channel registers. Previously, the struct only held the register values
for each transfer and was wrapped within tegra_dma_sg_req. Move the
values directly into tegra_dma_sg_req and use channel_regs for
storing the register offsets. Update all register reads/writes to use
the struct channel_regs. This prepares for the register offset change
in Tegra264.
Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://patch.msgid.link/20260331102303.33181-6-akhilrajeev@nvidia.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/gpu/nova-core/fsp/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
