mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git
synced 2026-04-24 19:25:45 -04:00
dmaengine: add channel device name to channel registration
Channel device name is used for sysfs, but also by dmatest filter function. With dynamic channel registration, channels can be registered after dma controller registration. Users may want to have specific channel names. If name is NULL, the channel name relies on previous implementation, dma<controller_device_id>chan<channel_device_id>. Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com> Link: https://lore.kernel.org/r/20240531150712.2503554-11-amelie.delaunay@foss.st.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
committed by
Vinod Koul
parent
2088473802
commit
10b8e0fd3f
@@ -1575,7 +1575,8 @@ int dma_async_device_register(struct dma_device *device);
|
||||
int dmaenginem_async_device_register(struct dma_device *device);
|
||||
void dma_async_device_unregister(struct dma_device *device);
|
||||
int dma_async_device_channel_register(struct dma_device *device,
|
||||
struct dma_chan *chan);
|
||||
struct dma_chan *chan,
|
||||
const char *name);
|
||||
void dma_async_device_channel_unregister(struct dma_device *device,
|
||||
struct dma_chan *chan);
|
||||
void dma_run_dependencies(struct dma_async_tx_descriptor *tx);
|
||||
|
||||
Reference in New Issue
Block a user