1 /* SPDX-License-Identifier: GPL-2.0-or-later * 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* 2 /* 3 * Copyright (C) 2019 Texas Instruments 3 * Copyright (C) 2019 Texas Instruments 4 */ 4 */ 5 5 6 #ifndef _LINUX_IRQ_DAVINCI_CP_INTC_ 6 #ifndef _LINUX_IRQ_DAVINCI_CP_INTC_ 7 #define _LINUX_IRQ_DAVINCI_CP_INTC_ 7 #define _LINUX_IRQ_DAVINCI_CP_INTC_ 8 8 9 #include <linux/ioport.h> 9 #include <linux/ioport.h> 10 10 11 /** 11 /** 12 * struct davinci_cp_intc_config - configurati 12 * struct davinci_cp_intc_config - configuration data for davinci-cp-intc 13 * driver. 13 * driver. 14 * 14 * 15 * @reg: register range to map 15 * @reg: register range to map 16 * @num_irqs: number of HW interrupts supporte 16 * @num_irqs: number of HW interrupts supported by the controller 17 */ 17 */ 18 struct davinci_cp_intc_config { 18 struct davinci_cp_intc_config { 19 struct resource reg; 19 struct resource reg; 20 unsigned int num_irqs; 20 unsigned int num_irqs; 21 }; 21 }; 22 22 23 int davinci_cp_intc_init(const struct davinci_ 23 int davinci_cp_intc_init(const struct davinci_cp_intc_config *config); 24 24 25 #endif /* _LINUX_IRQ_DAVINCI_CP_INTC_ */ 25 #endif /* _LINUX_IRQ_DAVINCI_CP_INTC_ */ 26 26
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.