diff options
author | Frank Li <Frank.Li@nxp.com> | 2023-08-21 18:16:15 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-08-22 16:41:03 +0200 |
commit | 7536f8b371adcc1c4f7ed7ca579da24bdeb14b6f (patch) | |
tree | a6d96de1ffccaf1f85a16aab35ab86d30baca125 /lib/rbtree.c | |
parent | dmaengine: fsl-edma: refactor chan_name setup and safety (diff) | |
download | linux-7536f8b371adcc1c4f7ed7ca579da24bdeb14b6f.tar.xz linux-7536f8b371adcc1c4f7ed7ca579da24bdeb14b6f.zip |
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 'lib/rbtree.c')
0 files changed, 0 insertions, 0 deletions