Lines Matching +full:open +full:- +full:pic
1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
72 /* PIC interface */
96 if (!ofw_bus_is_compatible(dev, "chrp,open-pic") && in openpic_ofw_probe()
97 strcmp(type, "open-pic") != 0) in openpic_ofw_probe()
101 * On some U4 systems, there is a phantom MPIC in the mac-io cell. in openpic_ofw_probe()
102 * The uninorth driver will pick up the real PIC, so ignore it here. in openpic_ofw_probe()
104 if (OF_finddevice("/u4") != (phandle_t)-1) in openpic_ofw_probe()
120 if (OF_getencprop(node, "phandle", &xref, sizeof(xref)) == -1 && in openpic_ofw_attach()
121 OF_getencprop(node, "ibm,phandle", &xref, sizeof(xref)) == -1 && in openpic_ofw_attach()
122 OF_getencprop(node, "linux,phandle", &xref, sizeof(xref)) == -1) in openpic_ofw_attach()
126 sc->sc_quirks = OPENPIC_QUIRK_SINGLE_BIND; in openpic_ofw_attach()
127 sc->sc_quirks |= OPENPIC_QUIRK_HIDDEN_IRQS; in openpic_ofw_attach()