Lines Matching refs:property
264 /* Get the length, at the passed node, of the given property type.
265 * Returns -1 on error (ie. no such property at this node).
267 extern int prom_getproplen(int thisnode, const char *property);
269 /* Fetch the requested property using the given buffer. Returns
272 extern int prom_getproperty(int thisnode, const char *property,
275 /* Acquire an integer property. */
276 extern int prom_getint(int node, const char *property);
278 /* Acquire an integer property, with a default value. */
279 extern int prom_getintdefault(int node, const char *property, int defval);
281 /* Acquire a boolean property, 0=FALSE 1=TRUE. */
284 /* Acquire a string property, null string on error. */
295 /* Return the first property type, as a string, for the given node.
300 /* Returns the next property after the passed property for the given
305 /* Returns 1 if the specified node has given property. */
306 extern int prom_node_has_property(int node, const char *property);
311 /* Set the indicated property at the given node with the passed value.