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

30 /* Root node of the prom device tree, this stays constant after
36 * and usage utility functions. Only prom-lib should use these,
64 /* Enter the prom, with no chance of continuation for the stand-alone
73 * XXX The arguments are different on V0 vs. V2->higher proms, grrr! XXX
78 /* Acquire the IDPROM of the root node in the prom device tree. This
79 * gets passed a buffer where you would like it stuffed. The return value
93 /* Write a buffer of characters to the console. */
102 /* Start the CPU with the given device tree node, context table, and context
108 /* Sun4/sun4c specific memory-management startup hook. */
121 /* Get the child node of the given node, or zero if no child exists. */
124 /* Get the next sibling node of the given node, or zero if no further
127 extern phandle prom_getsibling(phandle node);
129 /* Get the length, at the passed node, of the given property type.
130 * Returns -1 on error (ie. no such property at this node).
132 extern int prom_getproplen(phandle thisnode, const char *property);
134 /* Fetch the requested property using the given buffer. Returns
135 * the number of bytes the prom put into your buffer or -1 on error.
137 extern int __must_check prom_getproperty(phandle thisnode, const char *property,
140 /* Acquire an integer property. */
141 extern int prom_getint(phandle node, char *property);
143 /* Acquire an integer property, with a default value. */
144 extern int prom_getintdefault(phandle node, char *property, int defval);
146 /* Acquire a boolean property, 0=FALSE 1=TRUE. */
147 extern int prom_getbool(phandle node, char *prop);
149 /* Acquire a string property, null string on error. */
150 extern void prom_getstring(phandle node, char *prop, char *buf, int bufsize);
152 /* Search all siblings starting at the passed node for "name" matching
153 * the given string. Returns the node on success, zero on failure.
157 /* Returns the next property after the passed property for the given
158 * node. Returns null string on failure.
160 extern char *prom_nextprop(phandle node, char *prev_property, char *buffer);
165 /* Set the indicated property at the given node with the passed value.
168 extern int prom_setprop(phandle node, const char *prop_name, char *prop_value,
178 /* Apply ranges of any prom node (and optionally parent node as well) to registers. */
179 extern void prom_apply_generic_ranges(phandle node, phandle parent,