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