X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=Documentation%2Fremoteproc.txt;h=ef0219fa4bb4cf5beb9078293a92b3ccbcbe0d48;hb=cdcc1fe8ecd213904c8d6b7530cbecaa8917a34f;hp=e6469fdcf89a0344b017f90c821019750d8e9039;hpb=f38787f4f921222d080d976ef59210ce3c6c6cb4;p=firefly-linux-kernel-4.4.55.git diff --git a/Documentation/remoteproc.txt b/Documentation/remoteproc.txt index e6469fdcf89a..ef0219fa4bb4 100644 --- a/Documentation/remoteproc.txt +++ b/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