X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=Documentation%2Fremoteproc.txt;h=ef0219fa4bb4cf5beb9078293a92b3ccbcbe0d48;hb=91cca0f0ffa3e485ad9d5b44744f23318c8f99ab;hp=e6469fdcf89a0344b017f90c821019750d8e9039;hpb=cf9ce948f47640797bd19980e1d99c6d17d0bdc3;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