Lines Matching defs:propname
366 OF_getproplen(phandle_t package, const char *propname)
372 return (OFW_GETPROPLEN(ofw_obj, package, propname));
377 OF_hasprop(phandle_t package, const char *propname)
380 return (OF_getproplen(package, propname) >= 0 ? 1 : 0);
385 OF_getprop(phandle_t package, const char *propname, void *buf, size_t buflen)
391 return (OFW_GETPROP(ofw_obj, package, propname, buf, buflen));
395 OF_getencprop(phandle_t node, const char *propname, pcell_t *buf, size_t len)
402 retval = OF_getprop(node, propname, buf, len);
418 OF_searchprop(phandle_t node, const char *propname, void *buf, size_t len)
423 if ((rv = OF_getprop(node, propname, buf, len)) != -1)
429 OF_searchencprop(phandle_t node, const char *propname, pcell_t *buf, size_t len)
434 if ((rv = OF_getencprop(node, propname, buf, len)) != -1)
444 OF_getprop_alloc(phandle_t package, const char *propname, void **buf)
449 if ((len = OF_getproplen(package, propname)) == -1)
454 if (OF_getprop(package, propname, *buf, len) == -1) {
469 OF_getprop_alloc_multi(phandle_t package, const char *propname, int elsz, void **buf)
474 if ((len = OF_getproplen(package, propname)) == -1 ||
480 if (OF_getprop(package, propname, *buf, len) == -1) {
541 OF_setprop(phandle_t package, const char *propname, const void *buf, size_t len)
547 return (OFW_SETPROP(ofw_obj, package, propname, buf,len));