Lines Matching refs:propname
296 ofw_fdt_getproplen(ofw_t ofw, phandle_t package, const char *propname) in ofw_fdt_getproplen() argument
306 prop = fdt_getprop(fdtp, offset, propname, &len); in ofw_fdt_getproplen()
308 if (prop == NULL && strcmp(propname, "name") == 0) { in ofw_fdt_getproplen()
315 if (strcmp(propname, "fdtbootcpu") == 0) in ofw_fdt_getproplen()
317 if (strcmp(propname, "fdtmemreserv") == 0) in ofw_fdt_getproplen()
329 ofw_fdt_getprop(ofw_t ofw, phandle_t package, const char *propname, void *buf, in ofw_fdt_getprop() argument
341 prop = fdt_getprop(fdtp, offset, propname, &len); in ofw_fdt_getprop()
343 if (prop == NULL && strcmp(propname, "name") == 0) { in ofw_fdt_getprop()
351 if (strcmp(propname, "fdtbootcpu") == 0) { in ofw_fdt_getprop()
356 if (strcmp(propname, "fdtmemreserv") == 0) { in ofw_fdt_getprop()
418 ofw_fdt_setprop(ofw_t ofw, phandle_t package, const char *propname, in ofw_fdt_setprop() argument
427 if (fdt_setprop_inplace(fdtp, offset, propname, buf, len) != 0) in ofw_fdt_setprop()
429 return (fdt_setprop(fdtp, offset, propname, buf, len)); in ofw_fdt_setprop()