Lines Matching refs:opal_irq_count
38 static int opal_irq_count; variable
161 for (i = 0; i < opal_irq_count; i++) { in opal_event_shutdown()
204 opal_irq_count = of_irq_count(opal_node); in opal_event_init()
207 if (opal_irq_count < 1) { in opal_event_init()
211 opal_irq_count = rc; in opal_event_init()
216 if (!opal_irq_count) in opal_event_init()
220 opal_irq_count, old_style ? "old" : "new"); in opal_event_init()
223 opal_irqs = kcalloc(opal_irq_count, sizeof(struct resource), GFP_KERNEL); in opal_event_init()
232 for (i = 0; i < opal_irq_count; i++) { in opal_event_init()
241 opal_irq_count = i; in opal_event_init()
257 rc = of_irq_to_resource_table(opal_node, opal_irqs, opal_irq_count); in opal_event_init()
259 opal_irq_count = 0; in opal_event_init()
263 if (WARN_ON(rc < opal_irq_count)) in opal_event_init()
264 opal_irq_count = rc; in opal_event_init()
268 for (i = 0; i < opal_irq_count; i++) { in opal_event_init()