Lines Matching defs:prop
90 /* Return the length in bytes of property 'prop' at node 'node'.
93 int prom_getproplen(phandle node, const char *prop)
97 if (!node || !prop)
104 args[4] = (unsigned long) prop;
113 /* Acquire a property 'prop' at node 'node' and place it in
117 int prom_getproperty(phandle node, const char *prop,
123 plen = prom_getproplen(node, prop);
131 args[4] = (unsigned long) prop;
145 int prom_getint(phandle node, const char *prop)
149 if (prom_getproperty(node, prop, (char *) &intprop, sizeof(int)) != -1)
173 int prom_getbool(phandle node, const char *prop)
177 retval = prom_getproplen(node, prop);
188 void prom_getstring(phandle node, const char *prop, char *user_buf,
193 len = prom_getproperty(node, prop, user_buf, ubuf_size);
311 int prom_node_has_property(phandle node, const char *prop)
318 if (!strcmp(buf, prop))