Lines Matching refs:max_irqs
56 static int max_irqs; variable
123 if ((unsigned)irq_nr >= max_irqs) in __pmac_set_irq_mask()
214 for (irq = max_irqs; (irq -= 32) >= max_real_irqs; ) { in gatwick_action()
293 if (hw >= max_irqs) in pmac_pic_host_map()
340 max_irqs = max_real_irqs = 32; in pmac_pic_probe_oldstyle()
343 max_irqs = max_real_irqs = 32; in pmac_pic_probe_oldstyle()
349 max_irqs = 64; in pmac_pic_probe_oldstyle()
353 max_irqs = max_real_irqs = 64; in pmac_pic_probe_oldstyle()
371 max_irqs = 128; in pmac_pic_probe_oldstyle()
381 pmac_pic_host = irq_alloc_host(master, IRQ_HOST_MAP_LINEAR, max_irqs, in pmac_pic_probe_oldstyle()
383 max_irqs); in pmac_pic_probe_oldstyle()
408 if (max_irqs > 64) in pmac_pic_probe_oldstyle()
416 max_irqs - max_real_irqs, pmac_irq_cascade); in pmac_pic_probe_oldstyle()
421 for (i = 0; i * 32 < max_irqs; ++i) in pmac_pic_probe_oldstyle()
428 printk(KERN_INFO "irq: System has %d possible interrupts\n", max_irqs); in pmac_pic_probe_oldstyle()
678 if (max_irqs == 0) in init_pmacpic_sysfs()