Lines Matching refs:prop
93 int prom_getproplen(phandle node, const char *prop) in prom_getproplen() argument
97 if (!node || !prop) in prom_getproplen()
104 args[4] = (unsigned long) prop; in prom_getproplen()
117 int prom_getproperty(phandle node, const char *prop, in prom_getproperty() argument
123 plen = prom_getproplen(node, prop); in prom_getproperty()
131 args[4] = (unsigned long) prop; in prom_getproperty()
145 int prom_getint(phandle node, const char *prop) in prom_getint() argument
149 if (prom_getproperty(node, prop, (char *) &intprop, sizeof(int)) != -1) in prom_getint()
173 int prom_getbool(phandle node, const char *prop) in prom_getbool() argument
177 retval = prom_getproplen(node, prop); in prom_getbool()
188 void prom_getstring(phandle node, const char *prop, char *user_buf, in prom_getstring() argument
193 len = prom_getproperty(node, prop, user_buf, ubuf_size); in prom_getstring()
311 int prom_node_has_property(phandle node, const char *prop) in prom_node_has_property() argument
318 if (!strcmp(buf, prop)) in prom_node_has_property()