Lines Matching full:intr
314 ofw_pci_intr_t intr[2];
323 intr[0] = pci_get_intpin(child);
325 intr[0]));
347 isz = OF_getencprop(node, "AAPL,interrupts", intr, sizeof(intr));
348 if (isz == sizeof(intr[0])*icells)
349 return ((iparent == -1) ? intr[0] : ofw_bus_map_intr(dev,
350 iparent, icells, intr));
352 isz = OF_getencprop(node, "interrupts", intr, sizeof(intr));
353 if (isz == sizeof(intr[0])*icells) {
355 intr[0] = ofw_bus_map_intr(dev, iparent, icells, intr);
358 intr[0] = pci_get_intpin(child);
362 * If we got intr from a property, it may or may not be an intpin.
371 return (PCIB_ROUTE_INTERRUPT(device_get_parent(dev), child, intr[0]));