Lines Matching defs:node
24 intptr_t node = *_cookie;
29 if (node == 0) {
30 // node is NULL, meaning that this is the initial function call.
34 node = root;
36 node = of_peer(0);
38 if (node == OF_FAILED)
40 if (node == 0)
44 next = node;
46 next = of_child(node);
52 // no child node found
53 next = of_peer(node);
58 // no peer node found, we are using the device
61 next = of_parent(node);
71 node = next;
72 next = of_peer(node);
76 *_cookie = node = next;
80 if (of_getprop(node, "device_type", nodeType, sizeof(nodeType))
83 || (length = of_package_to_path(node, path, pathSize - 1))