linux-stable/include/linux/dma
Siddharth Vadapalli e54df52312 dmaengine: ti: k3-udma-glue: Add function to request RX chan for thread ID
The existing function k3_udma_glue_request_remote_rx_chn() supports
requesting an RX DMA channel and flow by the name of the RX DMA channel.
Add support to request RX DMA channel for a given thread ID in the form of
a new function named k3_udma_glue_request_remote_rx_chn_for_thread_id().
Also, export it for use by drivers which are probed by alternate methods
(non device-tree) but still wish to make use of the existing DMA APIs. Such
drivers could be informed about the thread ID corresponding to the RX DMA
channel by RPMsg for example.

Since the new function k3_udma_glue_request_remote_rx_chn_for_thread_id()
reuses most of the code in k3_udma_glue_request_remote_rx_chn(), create a
new function named k3_udma_glue_request_remote_rx_chn_common() for the
common code.

Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>
Link: https://lore.kernel.org/r/20240124124319.820002-5-s-vadapalli@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2024-01-30 22:13:52 +05:30
..
amd_xdma.h
dw.h
edma.h dmaengine: dw-edma: Add support for native HDMA 2023-05-24 12:20:45 +05:30
hsu.h
idma64.h
imx-dma.h
ipu-dma.h
k3-event-router.h
k3-psil.h
k3-udma-glue.h dmaengine: ti: k3-udma-glue: Add function to request RX chan for thread ID 2024-01-30 22:13:52 +05:30
mxs-dma.h
pxa-dma.h
qcom-gpi-dma.h
qcom_adm.h
qcom_bam_dma.h
sprd-dma.h
ti-cppi5.h dmaengine: ti: k3-udma: Workaround errata i2234 2023-03-31 17:49:36 +05:30
xilinx_dma.h
xilinx_dpdma.h