FreeBSD/sys/dev/ofw/ofw_fdt.c
/* Return the fully qualified pathname corresponding to an instance. */
Return the fully qualified pathname corresponding to an instance.
Return the fully qualified pathname corresponding to an instance .
static ssize_t
ofw_fdt_instance_to_path(ofw_t ofw, ihandle_t instance, char *buf, size_t len)
{
	phandle_t phandle;
	phandle = OF_instance_to_package(instance);
	if (phandle == -1)
		return (-1);
	return (OF_package_to_path(phandle, buf, len));
}
static ssize_t ofw_fdt_instance_to_path ( ofw_t ofw , ihandle_t instance , char * buf , size_t len ) { phandle_t phandle ; phandle = OF_instance_to_package ( instance ) ; if ( phandle == -1 ) return ( -1 ) ; return ( OF_package_to_path ( phandle , buf , len ) ) ; }
Return the fully qualified pathname corresponding to an instance.
Return the fully qualified pathname corresponding to an instance .