FreeBSD/sys/dev/ofw/ofw_fdt.c
/* Set the value of a property of a package. */
Set the value of a property of a package.
Set the value of a property of a package .
static int
ofw_fdt_setprop(ofw_t ofw, phandle_t package, const char *propname,
    const void *buf, size_t len)
{
	int offset;
	offset = fdt_phandle_offset(package);
	if (offset < 0)
		return (-1);
	return (fdt_setprop_inplace(fdtp, offset, propname, buf, len));
}
static int ofw_fdt_setprop ( ofw_t ofw , phandle_t package , const char * propname , const void * buf , size_t len ) { int offset ; offset = fdt_phandle_offset ( package ) ; if ( offset < 0 ) return ( -1 ) ; return ( fdt_setprop_inplace ( fdtp , offset , propname , buf , len ) ) ; }
Set the value of a property of a package.
Set the value of a property of a package .