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_AINTC_
0007 #define _LINUX_IRQ_DAVINCI_AINTC_
0008 
0009 #include <linux/ioport.h>
0010 
0011 /**
0012  * struct davinci_aintc_config - configuration data for davinci-aintc driver.
0013  *
0014  * @reg: register range to map
0015  * @num_irqs: number of HW interrupts supported by the controller
0016  * @prios: an array of size num_irqs containing priority settings for
0017  *         each interrupt
0018  */
0019 struct davinci_aintc_config {
0020     struct resource reg;
0021     unsigned int num_irqs;
0022     u8 *prios;
0023 };
0024 
0025 void davinci_aintc_init(const struct davinci_aintc_config *config);
0026 
0027 #endif /* _LINUX_IRQ_DAVINCI_AINTC_ */