logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

OF_package_to_path — get fully qualified path to a device tree node

Authors

       This manual page was written by Oleksandr Tymoshenko <gonzo@FreeBSD.org>.

Debian                                            April 9, 2018                            OF_PACKAGE_TO_PATH(9)

Description

OF_package_to_path()  copies  at  most len bytes of the fully qualified path to the device tree node node
       into the memory specified by buf.  The function returns the number of bytes copied or -1 in case  of  the
       error.

Name

       OF_package_to_path — get fully qualified path to a device tree node

See Also

OF_finddevice(9)

Synopsis

#include<dev/ofw/ofw_bus.h>#include<dev/ofw/ofw_bus_subr.h>ssize_tOF_package_to_path(phandle_tnode, char*buf, size_tlen);

See Also