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_AINTC_ 6 #ifndef _LINUX_IRQ_DAVINCI_AINTC_ 7 #define _LINUX_IRQ_DAVINCI_AINTC_ 7 #define _LINUX_IRQ_DAVINCI_AINTC_ 8 8 9 #include <linux/ioport.h> 9 #include <linux/ioport.h> 10 10 11 /** 11 /** 12 * struct davinci_aintc_config - configuration 12 * struct davinci_aintc_config - configuration data for davinci-aintc driver. 13 * 13 * 14 * @reg: register range to map 14 * @reg: register range to map 15 * @num_irqs: number of HW interrupts supporte 15 * @num_irqs: number of HW interrupts supported by the controller 16 * @prios: an array of size num_irqs containin 16 * @prios: an array of size num_irqs containing priority settings for 17 * each interrupt 17 * each interrupt 18 */ 18 */ 19 struct davinci_aintc_config { 19 struct davinci_aintc_config { 20 struct resource reg; 20 struct resource reg; 21 unsigned int num_irqs; 21 unsigned int num_irqs; 22 u8 *prios; 22 u8 *prios; 23 }; 23 }; 24 24 25 void davinci_aintc_init(const struct davinci_a 25 void davinci_aintc_init(const struct davinci_aintc_config *config); 26 26 27 #endif /* _LINUX_IRQ_DAVINCI_AINTC_ */ 27 #endif /* _LINUX_IRQ_DAVINCI_AINTC_ */ 28 28
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.