xref: /linux/include/linux/dma/amd_xdma.h (revision 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Copyright (C) 2022, Advanced Micro Devices, Inc.
4  */
5 
6 #ifndef _DMAENGINE_AMD_XDMA_H
7 #define _DMAENGINE_AMD_XDMA_H
8 
9 #include <linux/interrupt.h>
10 #include <linux/platform_device.h>
11 
12 int xdma_enable_user_irq(struct platform_device *pdev, u32 irq_num);
13 void xdma_disable_user_irq(struct platform_device *pdev, u32 irq_num);
14 int xdma_get_user_irq(struct platform_device *pdev, u32 user_irq_index);
15 
16 #endif /* _DMAENGINE_AMD_XDMA_H */
17