X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Documentation%2Fremoteproc.txt;h=ef0219fa4bb4cf5beb9078293a92b3ccbcbe0d48;hb=9d634c410b07be7bf637ea03362d3ff132088fe3;hp=e6469fdcf89a0344b017f90c821019750d8e9039;hpb=1db1e31b1ee3ae126ef98f39083b5f213c7b41bf;p=mirror_ubuntu-bionic-kernel.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