Lines Matching refs:irqctrler
305 struct device_node *irqctrler = find_devices("pci106b,7"); in enable_second_ohare() local
308 if (irqctrler == NULL || irqctrler->n_addrs <= 0) in enable_second_ohare()
310 addr = (unsigned long) ioremap(irqctrler->addrs[0].address, 0x40); in enable_second_ohare()
313 if (pci_device_from_OF_node(irqctrler, &bus, &devfn) == 0) { in enable_second_ohare()
314 struct pci_controller* hose = pci_find_hose_for_OF_device(irqctrler); in enable_second_ohare()
338 return irqctrler->intrs[0].line; in enable_second_ohare()
345 struct device_node *irqctrler; in pmac_pic_init() local
352 irqctrler = find_type_devices("open-pic"); in pmac_pic_init()
353 if (irqctrler != NULL) in pmac_pic_init()
356 if (irqctrler->n_addrs > 0) in pmac_pic_init()
364 OpenPIC_Addr = ioremap(irqctrler->addrs[0].address, in pmac_pic_init()
365 irqctrler->addrs[0].size); in pmac_pic_init()
383 irqctrler = NULL; in pmac_pic_init()
413 irqctrler = find_devices("mac-io"); in pmac_pic_init()
414 if (irqctrler) in pmac_pic_init()
417 if (irqctrler->next) in pmac_pic_init()
426 if (irqctrler) { in pmac_pic_init()
427 if (irqctrler->n_addrs > 0) { in pmac_pic_init()
429 ioremap(irqctrler->addrs[0].address, 0x40); in pmac_pic_init()
436 irqctrler = irqctrler->next; in pmac_pic_init()
437 if (irqctrler && irqctrler->n_addrs > 0) { in pmac_pic_init()
439 ioremap(irqctrler->addrs[0].address, 0x40); in pmac_pic_init()
443 irq_cascade = irqctrler->intrs[0].line; in pmac_pic_init()
444 if (device_is_compatible(irqctrler, "gatwick")) in pmac_pic_init()
445 pmac_fix_gatwick_interrupts(irqctrler, max_real_irqs); in pmac_pic_init()