Lines Matching defs:compatible
334 * This routine checks an OFW node's "compatible" entry to see if
364 proplen = OF_getproplen(phandle, "compatible");
371 if (OF_getprop(phandle, "compatible", prop, proplen) != proplen) {
390 * for a matching "compatible" entry matching the supplied OFW node,
392 * from the "compatible" property was matched, which more weight given
421 proplen = OF_getproplen(phandle, "compatible");
428 if (OF_getprop(phandle, "compatible", prop, proplen) != proplen) {
444 * for a "compatible" entry matching the supplied OFW node.
469 proplen = OF_getproplen(phandle, "compatible");
476 if (OF_getprop(phandle, "compatible", prop, proplen) != proplen) {
570 * Find a child node that is compatible with str. Recurses, starting at node.
575 const char * compatible[] = { str, NULL };
579 if (of_compatible(child, compatible))