summaryrefslogtreecommitdiff
path: root/static/freebsd/man9/OF_package_to_path.9 4.html
blob: b4f4f900860516c9e2531d76a89e2afb6be93035 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<table class="head">
  <tr>
    <td class="head-ltitle">OF_PACKAGE_TO_PATH(9)</td>
    <td class="head-vol">Kernel Developer's Manual</td>
    <td class="head-rtitle">OF_PACKAGE_TO_PATH(9)</td>
  </tr>
</table>
<div class="manual-text">
<section class="Sh">
<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
<p class="Pp"><code class="Nm">OF_package_to_path</code> &#x2014;
    <span class="Nd">get fully qualified path to a device tree node</span></p>
</section>
<section class="Sh">
<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
<p class="Pp"><code class="In">#include
    &lt;<a class="In">dev/ofw/ofw_bus.h</a>&gt;</code>
  <br/>
  <code class="In">#include
    &lt;<a class="In">dev/ofw/ofw_bus_subr.h</a>&gt;</code></p>
<p class="Pp"><var class="Ft">ssize_t</var>
  <br/>
  <code class="Fn">OF_package_to_path</code>(<var class="Fa" style="white-space: nowrap;">phandle_t
    node</var>, <var class="Fa" style="white-space: nowrap;">char *buf</var>,
    <var class="Fa" style="white-space: nowrap;">size_t len</var>);</p>
</section>
<section class="Sh">
<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
<p class="Pp"><a class="permalink" href="#OF_package_to_path"><code class="Fn" id="OF_package_to_path">OF_package_to_path</code></a>()
    copies at most <var class="Fa">len</var> bytes of the fully qualified path
    to the device tree node <var class="Fa">node</var> into the memory specified
    by <var class="Fa">buf</var>. The function returns the number of bytes
    copied or -1 in case of the error.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
  ALSO</a></h1>
<p class="Pp"><a class="Xr">OF_finddevice(9)</a></p>
</section>
<section class="Sh">
<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<p class="Pp">This manual page was written by <span class="An">Oleksandr
    Tymoshenko</span>
    &lt;<a class="Mt" href="mailto:gonzo@FreeBSD.org">gonzo@FreeBSD.org</a>&gt;.</p>
</section>
</div>
<table class="foot">
  <tr>
    <td class="foot-date">April 9, 2018</td>
    <td class="foot-os">FreeBSD 15.0</td>
  </tr>
</table>