summaryrefslogtreecommitdiff
path: root/rust
diff options
context:
space:
mode:
authorFrank Li <Frank.Li@nxp.com>2023-08-21 19:16:15 +0300
committerVinod Koul <vkoul@kernel.org>2023-08-22 17:41:03 +0300
commit7536f8b371adcc1c4f7ed7ca579da24bdeb14b6f (patch)
treea6d96de1ffccaf1f85a16aab35ab86d30baca125 /rust
parent9b05554c5ca6829a60c610191d45f244d8726e95 (diff)
downloadlinux-7536f8b371adcc1c4f7ed7ca579da24bdeb14b6f.tar.xz
dmaengine: fsl-edma: move tcd into struct fsl_dma_chan
Relocates the tcd into the fsl_dma_chan structure. This adjustment reduces the need to reference back to fsl_edma_engine, paving the way for EDMA V3 support. Unified the edma_writel and edma_writew functions for accessing TCD (Transfer Control Descriptor) registers. A new macro is added that can automatically detect whether a 32-bit or 16-bit access should be used based on the structure field definition. This provide better support 64-bit TCD with future v5 version. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202305271951.gmRobs3a-lkp@intel.com/ Signed-off-by: Frank Li <Frank.Li@nxp.com> Link: https://lore.kernel.org/r/20230821161617.2142561-11-Frank.Li@nxp.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'rust')
0 files changed, 0 insertions, 0 deletions