Lines Matching defs:node
246 phandle_t child, node, parent;
250 * Find our FDT node. Child nodes within our node will become our
253 if((node = ofw_bus_get_node(sc->dev)) == 0) {
254 device_printf(sc->dev, "cannot find FDT node\n");
259 * First we have to see if there is a child node named "i2c-mux". If it
260 * exists, all children of that node are buses, else all children of the
261 * device node are buses.
263 if ((parent = ofw_bus_find_child(node, "i2c-mux")) == 0)
264 parent = node;