summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFrank Li <Frank.Li@nxp.com>2026-09-09 12:22:30 -0400
committerVinod Koul <vkoul@kernel.org>2026-09-15 21:54:16 +0530
commit3b97a3ec420542591c10db8600cf481f1038a011 (patch)
tree629aeae7140a312e6320f4103aed8e16a89e4b19 /tools/perf/scripts/python
parent76574306c1ac38137683c69407f0e7810f407e4d (diff)
downloadlinux-next-3b97a3ec420542591c10db8600cf481f1038a011.tar.gz
linux-next-3b97a3ec420542591c10db8600cf481f1038a011.zip
dmaengine: add (dmaengine|vchan)_chan_dev() helper
Add a new helper function (dmaengine|vchan)_chan_dev() to access the DMA channel device embedded in struct dma_chan_dev (chan->dev->device). This provides a cleaner API instead of open-coding &chan->dev->device throughout the drivers. Replay private chan2dev() and dchan2dev() with this new common APIs in indivial DMA engine drivers. Prepare rename dma_chan::dev field. Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20260909-dma-chan_dev-rename-v4-3-d8fb6892a70f@nxp.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions