xref: /OK3568_Linux_fs/kernel/include/linux/irqchip/versatile-fpga.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */
2*4882a593Smuzhiyun #ifndef PLAT_FPGA_IRQ_H
3*4882a593Smuzhiyun #define PLAT_FPGA_IRQ_H
4*4882a593Smuzhiyun 
5*4882a593Smuzhiyun struct device_node;
6*4882a593Smuzhiyun struct pt_regs;
7*4882a593Smuzhiyun 
8*4882a593Smuzhiyun void fpga_handle_irq(struct pt_regs *regs);
9*4882a593Smuzhiyun void fpga_irq_init(void __iomem *, const char *, int, int, u32,
10*4882a593Smuzhiyun 		struct device_node *node);
11*4882a593Smuzhiyun int fpga_irq_of_init(struct device_node *node,
12*4882a593Smuzhiyun 		     struct device_node *parent);
13*4882a593Smuzhiyun 
14*4882a593Smuzhiyun #endif
15