|
@@ -40,6 +40,7 @@ struct of_device_id;
|
|
struct irq_chip;
|
|
struct irq_chip;
|
|
struct irq_data;
|
|
struct irq_data;
|
|
struct cpumask;
|
|
struct cpumask;
|
|
|
|
+struct seq_file;
|
|
|
|
|
|
/* Number of irqs reserved for a legacy isa controller */
|
|
/* Number of irqs reserved for a legacy isa controller */
|
|
#define NUM_ISA_INTERRUPTS 16
|
|
#define NUM_ISA_INTERRUPTS 16
|
|
@@ -104,7 +105,6 @@ struct irq_domain_ops {
|
|
int (*xlate)(struct irq_domain *d, struct device_node *node,
|
|
int (*xlate)(struct irq_domain *d, struct device_node *node,
|
|
const u32 *intspec, unsigned int intsize,
|
|
const u32 *intspec, unsigned int intsize,
|
|
unsigned long *out_hwirq, unsigned int *out_type);
|
|
unsigned long *out_hwirq, unsigned int *out_type);
|
|
-
|
|
|
|
#ifdef CONFIG_IRQ_DOMAIN_HIERARCHY
|
|
#ifdef CONFIG_IRQ_DOMAIN_HIERARCHY
|
|
/* extended V2 interfaces to support hierarchy irq_domains */
|
|
/* extended V2 interfaces to support hierarchy irq_domains */
|
|
int (*alloc)(struct irq_domain *d, unsigned int virq,
|
|
int (*alloc)(struct irq_domain *d, unsigned int virq,
|
|
@@ -116,6 +116,10 @@ struct irq_domain_ops {
|
|
int (*translate)(struct irq_domain *d, struct irq_fwspec *fwspec,
|
|
int (*translate)(struct irq_domain *d, struct irq_fwspec *fwspec,
|
|
unsigned long *out_hwirq, unsigned int *out_type);
|
|
unsigned long *out_hwirq, unsigned int *out_type);
|
|
#endif
|
|
#endif
|
|
|
|
+#ifdef CONFIG_GENERIC_IRQ_DEBUGFS
|
|
|
|
+ void (*debug_show)(struct seq_file *m, struct irq_domain *d,
|
|
|
|
+ struct irq_data *irqd, int ind);
|
|
|
|
+#endif
|
|
};
|
|
};
|
|
|
|
|
|
extern struct irq_domain_ops irq_generic_chip_ops;
|
|
extern struct irq_domain_ops irq_generic_chip_ops;
|