Lines Matching refs:property
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(int thisnode, const char *property);
193 /* Fetch the requested property using the given buffer. Returns
196 extern int prom_getproperty(int thisnode, const char *property,
199 /* Acquire an integer property. */
200 extern int prom_getint(int node, const char *property);
202 /* Acquire an integer property, with a default value. */
203 extern int prom_getintdefault(int node, const char *property, int defval);
205 /* Acquire a boolean property, 0=FALSE 1=TRUE. */
208 /* Acquire a string property, null string on error. */
219 /* Return the first property type, as a string, for the given node.
224 /* Returns the next property after the passed property for the given
229 /* Returns 1 if the specified node has given property. */
230 extern int prom_node_has_property(int node, const char *property);
235 /* Set the indicated property at the given node with the passed value.