FreeBSD/sys/dev/ofw/ofw_fdt.c
/* Return a package handle for the specified device. */
Return a package handle for the specified device.
Return a package handle for the specified device .
static phandle_t
ofw_fdt_finddevice(ofw_t ofw, const char *device)
{
	int offset;
	offset = fdt_path_offset(fdtp, device);
	if (offset < 0)
		return (-1);
	return (fdt_offset_phandle(offset));
}
static phandle_t ofw_fdt_finddevice ( ofw_t ofw , const char * device ) { int offset ; offset = fdt_path_offset ( fdtp , device ) ; if ( offset < 0 ) return ( -1 ) ; return ( fdt_offset_phandle ( offset ) ) ; }
Return a package handle for the specified device.
Return a package handle for the specified device .