Lines Matching refs:node
29 /* Root node of the prom device tree, this stays constant after
122 /* Acquire the IDPROM of the root node in the prom device tree. This
178 /* Start the CPU with the given device tree node, context table, and context
184 /* Stop the CPU with the passed device tree node. */
187 /* Idle the CPU with the passed device tree node. */
190 /* Re-Start the CPU with the passed device tree node. */
213 /* Get the child node of the given node, or zero if no child exists. */
216 /* Get the next sibling node of the given node, or zero if no further
219 extern int prom_getsibling(int node);
221 /* Get the length, at the passed node, of the given property type.
222 * Returns -1 on error (ie. no such property at this node).
233 extern int prom_getint(int node, char *property);
236 extern int prom_getintdefault(int node, char *property, int defval);
239 extern int prom_getbool(int node, char *prop);
242 extern void prom_getstring(int node, char *prop, char *buf, int bufsize);
244 /* Does the passed node have the given "name"? YES=1 NO=0 */
247 /* Search all siblings starting at the passed node for "name" matching
248 * the given string. Returns the node on success, zero on failure.
252 /* Return the first property type, as a string, for the given node.
255 extern char *prom_firstprop(int node);
258 * node. Returns null string on failure.
260 extern char *prom_nextprop(int node, char *prev_property);
262 /* Returns 1 if the specified node has given property. */
263 extern int prom_node_has_property(int node, char *property);
265 /* Set the indicated property at the given node with the passed value.
268 extern int prom_setprop(int node, char *prop_name, char *prop_value,
287 /* Apply ranges of any prom node (and optionally parent node as well) to registers. */
288 extern void prom_apply_generic_ranges(int node, int parent,