X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=kernel%2FDocumentation%2Fremoteproc.txt;h=ef0219fa4bb4cf5beb9078293a92b3ccbcbe0d48;hb=e09b41010ba33a20a87472ee821fa407a5b8da36;hp=e6469fdcf89a0344b017f90c821019750d8e9039;hpb=f93b97fd65072de626c074dbe099a1fff05ce060;p=kvmfornfv.git diff --git a/kernel/Documentation/remoteproc.txt b/kernel/Documentation/remoteproc.txt index e6469fdcf..ef0219fa4 100644 --- a/kernel/Documentation/remoteproc.txt +++ b/kernel/Documentation/remoteproc.txt @@ -51,6 +51,12 @@ cost. rproc_shutdown() returns, and users can still use it with a subsequent rproc_boot(), if needed. + struct rproc *rproc_get_by_phandle(phandle phandle) + - Find an rproc handle using a device tree phandle. Returns the rproc + handle on success, and NULL on failure. This function increments + the remote processor's refcount, so always use rproc_put() to + decrement it back once rproc isn't needed anymore. + 3. Typical usage #include