Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * Copyright (C) 2019 Texas Instruments
0004  */
0005 
0006 #ifndef _LINUX_IRQ_DAVINCI_CP_INTC_
0007 #define _LINUX_IRQ_DAVINCI_CP_INTC_
0008 
0009 #include <linux/ioport.h>
0010 
0011 /**
0012  * struct davinci_cp_intc_config - configuration data for davinci-cp-intc
0013  *                                 driver.
0014  *
0015  * @reg: register range to map
0016  * @num_irqs: number of HW interrupts supported by the controller
0017  */
0018 struct davinci_cp_intc_config {
0019     struct resource reg;
0020     unsigned int num_irqs;
0021 };
0022 
0023 int davinci_cp_intc_init(const struct davinci_cp_intc_config *config);
0024 
0025 #endif /* _LINUX_IRQ_DAVINCI_CP_INTC_ */