Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * Atmel AT91 common AIC (Advanced Interrupt Controller) header file
0003  *
0004  *  Copyright (C) 2004 SAN People
0005  *  Copyright (C) 2004 ATMEL
0006  *  Copyright (C) Rick Bronson
0007  *  Copyright (C) 2014 Free Electrons
0008  *
0009  *  Author: Boris BREZILLON <boris.brezillon@free-electrons.com>
0010  *
0011  * This file is licensed under the terms of the GNU General Public
0012  * License version 2.  This program is licensed "as is" without any
0013  * warranty of any kind, whether express or implied.
0014  */
0015 
0016 #ifndef __IRQ_ATMEL_AIC_COMMON_H
0017 #define __IRQ_ATMEL_AIC_COMMON_H
0018 
0019 
0020 int aic_common_set_type(struct irq_data *d, unsigned type, unsigned *val);
0021 
0022 void aic_common_set_priority(int priority, unsigned *val);
0023 
0024 int aic_common_irq_domain_xlate(struct irq_domain *d,
0025                 struct device_node *ctrlr,
0026                 const u32 *intspec,
0027                 unsigned int intsize,
0028                 irq_hw_number_t *out_hwirq,
0029                 unsigned int *out_type);
0030 
0031 struct irq_domain *__init aic_common_of_init(struct device_node *node,
0032                          const struct irq_domain_ops *ops,
0033                          const char *name, int nirqs,
0034                          const struct of_device_id *matches);
0035 
0036 void __init aic_common_rtc_irq_fixup(void);
0037 
0038 void __init aic_common_rtt_irq_fixup(void);
0039 
0040 #endif /* __IRQ_ATMEL_AIC_COMMON_H */