Lines Matching refs:irq
20 #include <linux/irq.h>
35 * @irq - the IRQ number
40 int irq;
71 static void init_node(struct wakeup_irq_node *p, int irq)
77 p->irq = irq;
78 desc = irq_to_desc(irq);
85 static struct wakeup_irq_node *create_node(int irq)
91 pr_warn("Failed to log wakeup IRQ %d\n", irq);
93 init_node(result, irq);
109 static bool add_sibling_node_sorted(struct list_head *head, int irq)
119 if (n->irq < irq)
121 else if (n->irq == irq)
127 n = create_node(irq);
137 int irq)
145 if (n->irq == irq)
151 void log_irq_wakeup_reason(int irq)
166 if (find_node_in_list(&parent_irqs, irq) == NULL)
167 add_sibling_node_sorted(&leaf_irqs, irq);
173 void log_threaded_irq_wakeup_reason(int irq, int parent_irq)
195 if (!capture_reasons || (find_node_in_list(&leaf_irqs, irq) != NULL)) {
202 add_sibling_node_sorted(&leaf_irqs, irq);
208 add_sibling_node_sorted(&leaf_irqs, irq);
290 pr_info("Resume caused by IRQ %d, %s\n", n->irq,
320 "%d %s\n", n->irq, n->irq_name);