diff options
Diffstat (limited to 'include/linux/irqdomain.h')
-rw-r--r-- | include/linux/irqdomain.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/irqdomain.h b/include/linux/irqdomain.h index e7379a3c4d7d..ea58f36688a0 100644 --- a/include/linux/irqdomain.h +++ b/include/linux/irqdomain.h | |||
@@ -163,6 +163,18 @@ extern unsigned int irq_linear_revmap(struct irq_domain *host, | |||
163 | irq_hw_number_t hwirq); | 163 | irq_hw_number_t hwirq); |
164 | 164 | ||
165 | extern struct irq_domain_ops irq_domain_simple_ops; | 165 | extern struct irq_domain_ops irq_domain_simple_ops; |
166 | |||
167 | /* stock xlate functions */ | ||
168 | int irq_domain_xlate_onecell(struct irq_domain *d, struct device_node *ctrlr, | ||
169 | const u32 *intspec, unsigned int intsize, | ||
170 | irq_hw_number_t *out_hwirq, unsigned int *out_type); | ||
171 | int irq_domain_xlate_twocell(struct irq_domain *d, struct device_node *ctrlr, | ||
172 | const u32 *intspec, unsigned int intsize, | ||
173 | irq_hw_number_t *out_hwirq, unsigned int *out_type); | ||
174 | int irq_domain_xlate_onetwocell(struct irq_domain *d, struct device_node *ctrlr, | ||
175 | const u32 *intspec, unsigned int intsize, | ||
176 | irq_hw_number_t *out_hwirq, unsigned int *out_type); | ||
177 | |||
166 | #if defined(CONFIG_OF_IRQ) | 178 | #if defined(CONFIG_OF_IRQ) |
167 | extern void irq_domain_generate_simple(const struct of_device_id *match, | 179 | extern void irq_domain_generate_simple(const struct of_device_id *match, |
168 | u64 phys_base, unsigned int irq_start); | 180 | u64 phys_base, unsigned int irq_start); |