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

16 /* Root node of the prom device tree, this stays constant after
24 /* /chosen node of the prom device tree, this stays constant after
83 /* Enter the prom, with no chance of continuation for the stand-alone
88 /* Halt and power-off the machine. */
91 /* Acquire the IDPROM of the root node in the prom device tree. This
92 * gets passed a buffer where you would like it stuffed. The return value
97 /* Write a buffer of characters to the console. */
106 /* Start the CPU with the given device tree node at the passed program
125 /* Resume the CPU with the passed device tree node. */
137 /* Initiate a wakeup event. */
164 #define PROM_MAP_READ 0x0002 /* Readable - sw */
165 #define PROM_MAP_EXEC 0x0004 /* Executable - sw */
168 #define PROM_MAP_SE 0x0040 /* Side-Effects */
170 #define PROM_MAP_IE 0x0100 /* Invert-Endianness */
180 /* Get the child node of the given node, or zero if no child exists. */
183 /* Get the next sibling node of the given node, or zero if no further
186 extern phandle prom_getsibling(phandle node);
188 /* Get the length, at the passed node, of the given property type.
189 * Returns -1 on error (ie. no such property at this node).
191 extern int prom_getproplen(phandle thisnode, const char *property);
193 /* Fetch the requested property using the given buffer. Returns
194 * the number of bytes the prom put into your buffer or -1 on error.
196 extern int prom_getproperty(phandle thisnode, const char *property,
199 /* Acquire an integer property. */
200 extern int prom_getint(phandle node, const char *property);
202 /* Acquire an integer property, with a default value. */
203 extern int prom_getintdefault(phandle node, const char *property, int defval);
205 /* Acquire a boolean property, 0=FALSE 1=TRUE. */
206 extern int prom_getbool(phandle node, const char *prop);
208 /* Acquire a string property, null string on error. */
209 extern void prom_getstring(phandle node, const char *prop, char *buf,
212 /* Does the passed node have the given "name"? YES=1 NO=0 */
215 /* Search all siblings starting at the passed node for "name" matching
216 * the given string. Returns the node on success, zero on failure.
220 /* Return the first property type, as a string, for the given node.
221 * Returns a null string on error. Buffer should be at least 32B long.
223 extern char *prom_firstprop(phandle node, char *buffer);
225 /* Returns the next property after the passed property for the given
226 * node. Returns null string on failure. Buffer should be at least 32B long.
228 extern char *prom_nextprop(phandle node, const char *prev_property, char *buf);
230 /* Returns 1 if the specified node has given property. */
231 extern int prom_node_has_property(phandle node, const char *property);
236 /* Set the indicated property at the given node with the passed value.
239 extern int prom_setprop(phandle node, const char *prop_name, char *prop_value,