Lines Matching +full:a +full:- +full:child +full:- +full:node +full:- +full:property

28 /* Root node of the prom device tree, this stays constant after
34 * and usage utility functions. Only prom-lib should use these,
52 * virtual address you pass is a request and the prom may put your mappings
64 * of the string is different on V0 vs. V2->higher proms. The caller must
69 /* Close a previously opened device described by the passed integer
74 /* Do a seek operation on the device described by the passed integer
82 /* This function returns a V0 format memory descriptor table, it has three
85 * areas which are allocated by the prom. So, in a sense the physical
86 * available is a calculation of the total physical minus the physical mapped
89 * These lists are returned pre-sorted, this should make your life easier
107 /* Enter the prom, with no chance of continuation for the stand-alone
116 * XXX The arguments are different on V0 vs. V2->higher proms, grrr! XXX
121 /* Acquire the IDPROM of the root node in the prom device tree. This
122 * gets passed a buffer where you would like it stuffed. The return value
138 /* Non-blocking get character from console. */
141 /* Non-blocking put character to console. */
177 /* Start the CPU with the given device tree node, context table, and context
183 /* Stop the CPU with the passed device tree node. */
186 /* Idle the CPU with the passed device tree node. */
189 /* Re-Start the CPU with the passed device tree node. */
194 /* Allocated at possibly the given virtual address a chunk of the
199 /* Free a previously allocated chunk. */
202 /* Sun4/sun4c specific memory-management startup hook. */
212 /* Get the child node of the given node, or zero if no child exists. */
215 /* Get the next sibling node of the given node, or zero if no further
218 extern int prom_getsibling(int node);
220 /* Get the length, at the passed node, of the given property type.
221 * Returns -1 on error (ie. no such property at this node).
223 extern int prom_getproplen(int thisnode, char *property);
225 /* Fetch the requested property using the given buffer. Returns
226 * the number of bytes the prom put into your buffer or -1 on error.
228 extern int prom_getproperty(int thisnode, char *property,
231 /* Acquire an integer property. */
232 extern int prom_getint(int node, char *property);
234 /* Acquire an integer property, with a default value. */
235 extern int prom_getintdefault(int node, char *property, int defval);
237 /* Acquire a boolean property, 0=FALSE 1=TRUE. */
238 extern int prom_getbool(int node, char *prop);
240 /* Acquire a string property, null string on error. */
241 extern void prom_getstring(int node, char *prop, char *buf, int bufsize);
243 /* Does the passed node have the given "name"? YES=1 NO=0 */
246 /* Search all siblings starting at the passed node for "name" matching
247 * the given string. Returns the node on success, zero on failure.
251 /* Return the first property type, as a string, for the given node.
252 * Returns a null string on error.
254 extern char *prom_firstprop(int node);
256 /* Returns the next property after the passed property for the given
257 * node. Returns null string on failure.
259 extern char *prom_nextprop(int node, char *prev_property);
261 /* Returns 1 if the specified node has given property. */
262 extern int prom_node_has_property(int node, char *property);
264 /* Set the indicated property at the given node with the passed value.
267 extern int prom_setprop(int node, char *prop_name, char *prop_value,
279 /* Adjust child ranges with the passed parent ranges. */
286 /* Apply ranges of any prom node (and optionally parent node as well) to registers. */
287 extern void prom_apply_generic_ranges(int node, int parent,