Lines Matching refs:opal_irq_count
38 static int opal_irq_count; variable
164 for (i = 0; i < opal_irq_count; i++) { in opal_event_shutdown()
207 opal_irq_count = of_irq_count(opal_node); in opal_event_init()
210 if (opal_irq_count < 1) { in opal_event_init()
214 opal_irq_count = rc; in opal_event_init()
219 if (!opal_irq_count) in opal_event_init()
223 opal_irq_count, old_style ? "old" : "new"); in opal_event_init()
226 opal_irqs = kcalloc(opal_irq_count, sizeof(struct resource), GFP_KERNEL); in opal_event_init()
235 for (i = 0; i < opal_irq_count; i++) { in opal_event_init()
244 opal_irq_count = i; in opal_event_init()
260 rc = of_irq_to_resource_table(opal_node, opal_irqs, opal_irq_count); in opal_event_init()
262 opal_irq_count = 0; in opal_event_init()
266 if (WARN_ON(rc < opal_irq_count)) in opal_event_init()
267 opal_irq_count = rc; in opal_event_init()
271 for (i = 0; i < opal_irq_count; i++) { in opal_event_init()