653 lines
44 KiB
HTML
653 lines
44 KiB
HTML
<!-- HTML header for doxygen 1.9.1-->
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.15.0"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>L4Re Operating System Framework: L4vbus::Device Class Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="navtreedata.js"></script>
|
|
<script type="text/javascript" src="navtree.js"></script>
|
|
<script type="text/javascript" src="cookie.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
|
<link href="l4re-awesome.css" rel="stylesheet" type="text/css"/>
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectlogo"><img alt="Logo" src="L4Re_rgb_logo_quer_hg_h55.png"/></td>
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">L4Re Operating System Framework
|
|
</div>
|
|
<div id="projectbrief">Interface and Usage Documentation</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.15.0 -->
|
|
<script type="text/javascript">
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
</script>
|
|
<script type="text/javascript">
|
|
$(function() { codefold.init(); });
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search',true);
|
|
$(function() { init_search(); });
|
|
});
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
$(function(){initNavTree('classL4vbus_1_1Device.html','',''); });
|
|
</script>
|
|
<div id="container">
|
|
<div id="doc-content">
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="header">
|
|
<div class="headertitle"><div class="title">L4vbus::Device Class Reference<div class="ingroups"><a class="el" href="group__api__l4re.html">L4Re C++ Interface</a> » <a class="el" href="group__api__l4re__vbus.html">Vbus API</a></div></div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><a class="el" href="classL4vbus_1_1Device.html" title="Device on a L4vbus::Vbus.">Device</a> on a <a class="el" href="classL4vbus_1_1Vbus.html" title="The virtual bus (Vbus) interface.">L4vbus::Vbus</a>.
|
|
<a href="#details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="vbus_source.html">vbus</a>></code></p>
|
|
<div id="dynsection-0" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"><span class="dynarrow"><span class="arrowhead closed"></span></span>Inheritance diagram for L4vbus::Device:</div>
|
|
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
|
|
</div>
|
|
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
|
|
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="classL4vbus_1_1Device__inherit__graph.svg" width="764" height="842"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
|
</div>
|
|
<div id="dynsection-1" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"><span class="dynarrow"><span class="arrowhead closed"></span></span>Collaboration diagram for L4vbus::Device:</div>
|
|
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
|
|
</div>
|
|
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
|
|
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="classL4vbus_1_1Device__coll__graph.svg" width="495" height="1223"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
|
</div>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 id="header-pub-methods" class="groupheader"><a id="pub-methods" name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a487d5e145d3a21935b61cc231cd84cec" id="r_a487d5e145d3a21935b61cc231cd84cec"><td class="memItemLeft" align="right" valign="top"><a id="a487d5e145d3a21935b61cc231cd84cec" name="a487d5e145d3a21935b61cc231cd84cec"></a>
|
|
 </td><td class="memItemRight" valign="bottom"><b>Device</b> ()</td></tr>
|
|
<tr class="memdesc:a487d5e145d3a21935b61cc231cd84cec"><td class="mdescLeft"> </td><td class="mdescRight">Construct a new vbus device using the NULL device <a class="el" href="vbus_8h.html#a11792b1cd672d66434a0c76cfd53ca13a37b6c6ee1e53d4ddd172f43a8dedc9b0" title="NULL device.">L4VBUS_NULL</a>. <br /></td></tr>
|
|
<tr class="memitem:a3c2cb35016636efb93ca552c1c4b6b96" id="r_a3c2cb35016636efb93ca552c1c4b6b96"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="#a3c2cb35016636efb93ca552c1c4b6b96">Device</a> (<a class="el" href="classL4_1_1Cap.html">L4::Cap</a>< <a class="el" href="classL4vbus_1_1Vbus.html">Vbus</a> > bus, <a class="el" href="vbus__types_8h.html#a3d2ee122c9c592d768eee886d36b31cf">l4vbus_device_handle_t</a> dev)</td></tr>
|
|
<tr class="memdesc:a3c2cb35016636efb93ca552c1c4b6b96"><td class="mdescLeft"> </td><td class="mdescRight">Construct a new vbus device using a device handle. <br /></td></tr>
|
|
<tr class="memitem:a286c71ba7f0ab66fd9d90a9e91dfa560" id="r_a286c71ba7f0ab66fd9d90a9e91dfa560"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classL4_1_1Cap.html">L4::Cap</a>< <a class="el" href="classL4vbus_1_1Vbus.html">Vbus</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="#a286c71ba7f0ab66fd9d90a9e91dfa560">bus_cap</a> () const</td></tr>
|
|
<tr class="memdesc:a286c71ba7f0ab66fd9d90a9e91dfa560"><td class="mdescLeft"> </td><td class="mdescRight">Access the <a class="el" href="classL4vbus_1_1Vbus.html" title="The virtual bus (Vbus) interface.">Vbus</a> capability of the underlying virtual bus. <br /></td></tr>
|
|
<tr class="memitem:a63dcb7dba875e85f09f7ab755836bf2e" id="r_a63dcb7dba875e85f09f7ab755836bf2e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="vbus__types_8h.html#a3d2ee122c9c592d768eee886d36b31cf">l4vbus_device_handle_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="#a63dcb7dba875e85f09f7ab755836bf2e">dev_handle</a> () const</td></tr>
|
|
<tr class="memdesc:a63dcb7dba875e85f09f7ab755836bf2e"><td class="mdescLeft"> </td><td class="mdescRight">Access the device handle of this device. <br /></td></tr>
|
|
<tr class="memitem:a555d6ec6b3e9b8d64fb8705f2cdf7cf7" id="r_a555d6ec6b3e9b8d64fb8705f2cdf7cf7"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="#a555d6ec6b3e9b8d64fb8705f2cdf7cf7">device_by_hid</a> (<a class="el" href="classL4vbus_1_1Device.html">Device</a> *child, char const *hid, int depth=L4VBUS_MAX_DEPTH, <a class="el" href="structl4vbus__device__t.html">l4vbus_device_t</a> *devinfo=0) const</td></tr>
|
|
<tr class="memdesc:a555d6ec6b3e9b8d64fb8705f2cdf7cf7"><td class="mdescLeft"> </td><td class="mdescRight">Find a device by the hardware interface identifier (HID). <br /></td></tr>
|
|
<tr class="memitem:ab8a12f148e84113f52856f29f086af50" id="r_ab8a12f148e84113f52856f29f086af50"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="#ab8a12f148e84113f52856f29f086af50">next_device</a> (<a class="el" href="classL4vbus_1_1Device.html">Device</a> *child, int depth=L4VBUS_MAX_DEPTH, <a class="el" href="structl4vbus__device__t.html">l4vbus_device_t</a> *devinfo=0) const</td></tr>
|
|
<tr class="memdesc:ab8a12f148e84113f52856f29f086af50"><td class="mdescLeft"> </td><td class="mdescRight">Find next child following <span class="tt">child</span>. <br /></td></tr>
|
|
<tr class="memitem:a0bf2b1fdc767393f48f787c51ca20548" id="r_a0bf2b1fdc767393f48f787c51ca20548"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="#a0bf2b1fdc767393f48f787c51ca20548">device</a> (<a class="el" href="structl4vbus__device__t.html">l4vbus_device_t</a> *devinfo) const</td></tr>
|
|
<tr class="memdesc:a0bf2b1fdc767393f48f787c51ca20548"><td class="mdescLeft"> </td><td class="mdescRight">Obtain detailed information about a <a class="el" href="classL4vbus_1_1Vbus.html" title="The virtual bus (Vbus) interface.">Vbus</a> device. <br /></td></tr>
|
|
<tr class="memitem:a2c8e285f3430e70174615374da658589" id="r_a2c8e285f3430e70174615374da658589"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="#a2c8e285f3430e70174615374da658589">get_resource</a> (unsigned res_idx, <a class="el" href="structl4vbus__resource__t.html">l4vbus_resource_t</a> *res) const</td></tr>
|
|
<tr class="memdesc:a2c8e285f3430e70174615374da658589"><td class="mdescLeft"> </td><td class="mdescRight">Obtain the resource description of an individual device resource. <br /></td></tr>
|
|
<tr class="memitem:adb0724a360f168a71dba34e640c124f8" id="r_adb0724a360f168a71dba34e640c124f8"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="#adb0724a360f168a71dba34e640c124f8">is_compatible</a> (char const *cid) const</td></tr>
|
|
<tr class="memdesc:adb0724a360f168a71dba34e640c124f8"><td class="mdescLeft"> </td><td class="mdescRight">Check if the given device has a compatibility ID (CID) or HID that matches <em class="arg">cid</em>. <br /></td></tr>
|
|
<tr class="memitem:a64fd18112b94f67568dfd48afda5db22" id="r_a64fd18112b94f67568dfd48afda5db22"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="#a64fd18112b94f67568dfd48afda5db22">operator==</a> (<a class="el" href="classL4vbus_1_1Device.html">Device</a> const &o) const</td></tr>
|
|
<tr class="memdesc:a64fd18112b94f67568dfd48afda5db22"><td class="mdescLeft"> </td><td class="mdescRight">Test if two devices are the same <a class="el" href="classL4vbus_1_1Vbus.html" title="The virtual bus (Vbus) interface.">Vbus</a> device. <br /></td></tr>
|
|
<tr class="memitem:a9f5bce4e7220814a19abb0cdea611330" id="r_a9f5bce4e7220814a19abb0cdea611330"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="#a9f5bce4e7220814a19abb0cdea611330">operator!=</a> (<a class="el" href="classL4vbus_1_1Device.html">Device</a> const &o) const</td></tr>
|
|
<tr class="memdesc:a9f5bce4e7220814a19abb0cdea611330"><td class="mdescLeft"> </td><td class="mdescRight">Test if two <a class="el" href="classL4vbus_1_1Vbus.html" title="The virtual bus (Vbus) interface.">Vbus</a> devices are not the same. <br /></td></tr>
|
|
<tr class="inherit_header pub_methods_classL4vbus_1_1Pm"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_methods_classL4vbus_1_1Pm')"><span class="dynarrow"><span class="arrowhead closed"></span></span>Public Member Functions inherited from <a class="el" href="classL4vbus_1_1Pm.html">L4vbus::Pm< Device ></a></td></tr>
|
|
<tr class="memitem:a3f6361841097aeed4f5eb44fafaaaa42 inherit pub_methods_classL4vbus_1_1Pm" id="r_a3f6361841097aeed4f5eb44fafaaaa42"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classL4vbus_1_1Pm.html#a3f6361841097aeed4f5eb44fafaaaa42">pm_suspend</a> () const</td></tr>
|
|
<tr class="memdesc:a3f6361841097aeed4f5eb44fafaaaa42 inherit pub_methods_classL4vbus_1_1Pm"><td class="mdescLeft"> </td><td class="mdescRight">Suspend the device. <br /></td></tr>
|
|
<tr class="memitem:ada27de826a15347a7c49f061c9eb7d30 inherit pub_methods_classL4vbus_1_1Pm" id="r_ada27de826a15347a7c49f061c9eb7d30"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classL4vbus_1_1Pm.html#ada27de826a15347a7c49f061c9eb7d30">pm_resume</a> () const</td></tr>
|
|
<tr class="memdesc:ada27de826a15347a7c49f061c9eb7d30 inherit pub_methods_classL4vbus_1_1Pm"><td class="mdescLeft"> </td><td class="mdescRight">Resume the device. <br /></td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 id="header-pro-attribs" class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
|
|
Protected Attributes</h2></td></tr>
|
|
<tr class="memitem:acd6f6e54b1b83cd524781ba1bf69e504" id="r_acd6f6e54b1b83cd524781ba1bf69e504"><td class="memItemLeft" align="right" valign="top"><a id="acd6f6e54b1b83cd524781ba1bf69e504" name="acd6f6e54b1b83cd524781ba1bf69e504"></a>
|
|
<a class="el" href="classL4_1_1Cap.html">L4::Cap</a>< <a class="el" href="classL4vbus_1_1Vbus.html">Vbus</a> > </td><td class="memItemRight" valign="bottom"><b>_bus</b></td></tr>
|
|
<tr class="memdesc:acd6f6e54b1b83cd524781ba1bf69e504"><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="classL4vbus_1_1Vbus.html" title="The virtual bus (Vbus) interface.">Vbus</a> capability where this device is located on. <br /></td></tr>
|
|
<tr class="memitem:ac055a07e37da8daa7b3a93cc833a6434" id="r_ac055a07e37da8daa7b3a93cc833a6434"><td class="memItemLeft" align="right" valign="top"><a id="ac055a07e37da8daa7b3a93cc833a6434" name="ac055a07e37da8daa7b3a93cc833a6434"></a>
|
|
<a class="el" href="vbus__types_8h.html#a3d2ee122c9c592d768eee886d36b31cf">l4vbus_device_handle_t</a> </td><td class="memItemRight" valign="bottom"><b>_dev</b></td></tr>
|
|
<tr class="memdesc:ac055a07e37da8daa7b3a93cc833a6434"><td class="mdescLeft"> </td><td class="mdescRight">The device handle for this device. <br /></td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p><a class="el" href="classL4vbus_1_1Device.html" title="Device on a L4vbus::Vbus.">Device</a> on a <a class="el" href="classL4vbus_1_1Vbus.html" title="The virtual bus (Vbus) interface.">L4vbus::Vbus</a>. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="vbus_source.html#l00083">83</a> of file <a class="el" href="vbus_source.html">vbus</a>.</p>
|
|
</div><a name="doc-constructors" id="doc-constructors"></a><h2 id="header-doc-constructors" class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="a3c2cb35016636efb93ca552c1c4b6b96" name="a3c2cb35016636efb93ca552c1c4b6b96"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3c2cb35016636efb93ca552c1c4b6b96">◆ </a></span>Device()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">L4vbus::Device::Device </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classL4_1_1Cap.html">L4::Cap</a>< <a class="el" href="classL4vbus_1_1Vbus.html">Vbus</a> ></td> <td class="paramname"><span class="paramname"><em>bus</em></span>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="vbus__types_8h.html#a3d2ee122c9c592d768eee886d36b31cf">l4vbus_device_handle_t</a></td> <td class="paramname"><span class="paramname"><em>dev</em></span> )</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Construct a new vbus device using a device handle. </p>
|
|
<p>Specifying the special root bus device handle <a class="el" href="vbus_8h.html#a11792b1cd672d66434a0c76cfd53ca13ad83203ea1310cc0d5be38f1df326acdd" title="Root device on the vbus.">L4VBUS_ROOT_BUS</a> forms the root device of the corresponding vbus, see <a class="el" href="classL4vbus_1_1Vbus.html#a553403642b3321b2c96e01497b0c6f8c" title="Get the root device of the device tree of this bus.">Vbus::root</a>.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">bus</td><td>The vbus capability where this device is assigned. </td></tr>
|
|
<tr><td class="paramname">dev</td><td>The device handle of the device. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="vbus_source.html#l00100">100</a> of file <a class="el" href="vbus_source.html">vbus</a>.</p>
|
|
|
|
<p class="reference">References <a class="el" href="vbus_source.html#l00245">_bus</a>, and <a class="el" href="vbus_source.html#l00247">_dev</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a name="doc-func-members" id="doc-func-members"></a><h2 id="header-doc-func-members" class="groupheader">Member Function Documentation</h2>
|
|
<a id="a286c71ba7f0ab66fd9d90a9e91dfa560" name="a286c71ba7f0ab66fd9d90a9e91dfa560"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a286c71ba7f0ab66fd9d90a9e91dfa560">◆ </a></span>bus_cap()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classL4_1_1Cap.html">L4::Cap</a>< <a class="el" href="classL4vbus_1_1Vbus.html">Vbus</a> > L4vbus::Device::bus_cap </td>
|
|
<td>(</td>
|
|
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Access the <a class="el" href="classL4vbus_1_1Vbus.html" title="The virtual bus (Vbus) interface.">Vbus</a> capability of the underlying virtual bus. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>the capability to the underlying <a class="el" href="classL4vbus_1_1Vbus.html" title="The virtual bus (Vbus) interface.">Vbus</a>. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="vbus_source.html#l00107">107</a> of file <a class="el" href="vbus_source.html">vbus</a>.</p>
|
|
|
|
<p class="reference">References <a class="el" href="vbus_source.html#l00245">_bus</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="vbus__pci_source.html#l00105">L4vbus::Pci_dev::cfg_read()</a>, <a class="el" href="vbus__pci_source.html#l00039">L4vbus::Pci_host_bridge::cfg_read()</a>, <a class="el" href="vbus__pci_source.html#l00121">L4vbus::Pci_dev::cfg_write()</a>, <a class="el" href="vbus__pci_source.html#l00058">L4vbus::Pci_host_bridge::cfg_write()</a>, <a class="el" href="vbus__pci_source.html#l00137">L4vbus::Pci_dev::irq_enable()</a>, and <a class="el" href="vbus__pci_source.html#l00079">L4vbus::Pci_host_bridge::irq_enable()</a>.</p>
|
|
<div id="dynsection-2" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"><span class="dynarrow"><span class="arrowhead closed"></span></span>Here is the caller graph for this function:</div>
|
|
<div id="dynsection-2-summary" class="dynsummary" style="display:block;">
|
|
</div>
|
|
<div id="dynsection-2-content" class="dyncontent" style="display:none;">
|
|
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="classL4vbus_1_1Device_a286c71ba7f0ab66fd9d90a9e91dfa560_icgraph.svg" width="431" height="358"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a63dcb7dba875e85f09f7ab755836bf2e" name="a63dcb7dba875e85f09f7ab755836bf2e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a63dcb7dba875e85f09f7ab755836bf2e">◆ </a></span>dev_handle()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="vbus__types_8h.html#a3d2ee122c9c592d768eee886d36b31cf">l4vbus_device_handle_t</a> L4vbus::Device::dev_handle </td>
|
|
<td>(</td>
|
|
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Access the device handle of this device. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>the device handle for this device.</dd></dl>
|
|
<p>The device handle is used to directly address the device on its virtual bus. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="vbus_source.html#l00116">116</a> of file <a class="el" href="vbus_source.html">vbus</a>.</p>
|
|
|
|
<p class="reference">References <a class="el" href="vbus_source.html#l00247">_dev</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0bf2b1fdc767393f48f787c51ca20548" name="a0bf2b1fdc767393f48f787c51ca20548"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0bf2b1fdc767393f48f787c51ca20548">◆ </a></span>device()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int L4vbus::Device::device </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="structl4vbus__device__t.html">l4vbus_device_t</a> *</td> <td class="paramname"><span class="paramname"><em>devinfo</em></span></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Obtain detailed information about a <a class="el" href="classL4vbus_1_1Vbus.html" title="The virtual bus (Vbus) interface.">Vbus</a> device. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">devinfo</td><td>Information structure which contains details about the device. The pointer might be NULL.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="retval"><dt>Return values</dt><dd>
|
|
<table class="retval">
|
|
<tr><td class="paramname">0</td><td>Success. </td></tr>
|
|
<tr><td class="paramname">-L4_ENODEV</td><td>No device with the given device handle <span class="tt">dev</span> could be found. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="vbus_source.html#l00189">189</a> of file <a class="el" href="vbus_source.html">vbus</a>.</p>
|
|
|
|
<p class="reference">References <a class="el" href="vbus_source.html#l00245">_bus</a>, <a class="el" href="vbus_source.html#l00247">_dev</a>, and <a class="el" href="group__l4vbus__module.html#ga51a6613ae6f11cc29269bf9623782e1d">l4vbus_get_device()</a>.</p>
|
|
<div id="dynsection-3" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"><span class="dynarrow"><span class="arrowhead closed"></span></span>Here is the call graph for this function:</div>
|
|
<div id="dynsection-3-summary" class="dynsummary" style="display:block;">
|
|
</div>
|
|
<div id="dynsection-3-content" class="dyncontent" style="display:none;">
|
|
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="classL4vbus_1_1Device_a0bf2b1fdc767393f48f787c51ca20548_cgraph.svg" width="374" height="36"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a555d6ec6b3e9b8d64fb8705f2cdf7cf7" name="a555d6ec6b3e9b8d64fb8705f2cdf7cf7"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a555d6ec6b3e9b8d64fb8705f2cdf7cf7">◆ </a></span>device_by_hid()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int L4vbus::Device::device_by_hid </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classL4vbus_1_1Device.html">Device</a> *</td> <td class="paramname"><span class="paramname"><em>child</em></span>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char const *</td> <td class="paramname"><span class="paramname"><em>hid</em></span>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>depth</em></span><span class="paramdefsep"> = </span><span class="paramdefval">L4VBUS_MAX_DEPTH</span>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="structl4vbus__device__t.html">l4vbus_device_t</a> *</td> <td class="paramname"><span class="paramname"><em>devinfo</em></span><span class="paramdefsep"> = </span><span class="paramdefval">0</span> ) const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Find a device by the hardware interface identifier (HID). </p>
|
|
<p>This function searches the vbus for a device with the given HID and returns a handle to the first matching device. The HID usually conforms to an ACPI HID or a Linux device tree compatible identifier.</p>
|
|
<p>It is possible to have multiple devices with the same HID on a vbus. In order to find all matching devices this function has to be called repeatedly with <span class="tt">child</span> pointing to the device found in the previous iteration. The iteration starts at <span class="tt">child</span> that might be any device node in the tree.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in,out]</td><td class="paramname">child</td><td>Handle of the device from where in the device tree the search should start. To start searching from the beginning <span class="tt">child</span> must be initialized using the default (<a class="el" href="vbus_8h.html#a11792b1cd672d66434a0c76cfd53ca13a37b6c6ee1e53d4ddd172f43a8dedc9b0" title="NULL device.">L4VBUS_NULL</a>). If a matching device is found, its handle is returned through this parameter. </td></tr>
|
|
<tr><td class="paramdir"></td><td class="paramname">hid</td><td>HID of the device </td></tr>
|
|
<tr><td class="paramdir"></td><td class="paramname">depth</td><td>Maximum depth for the recursive lookup </td></tr>
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">devinfo</td><td><a class="el" href="classL4vbus_1_1Device.html" title="Device on a L4vbus::Vbus.">Device</a> information structure (might be NULL)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="retval"><dt>Return values</dt><dd>
|
|
<table class="retval">
|
|
<tr><td class="paramname">>=0</td><td>A device with the given HID was found. </td></tr>
|
|
<tr><td class="paramname">-L4_ENOENT</td><td>No device with the given HID could be found on the vbus. </td></tr>
|
|
<tr><td class="paramname">-L4_EINVAL</td><td>Invalid or no HID provided. </td></tr>
|
|
<tr><td class="paramname">-L4_ENODEV</td><td>Function called on a non-existing device. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="vbus_source.html#l00148">148</a> of file <a class="el" href="vbus_source.html">vbus</a>.</p>
|
|
|
|
<p class="reference">References <a class="el" href="vbus_source.html#l00245">_bus</a>, <a class="el" href="vbus_source.html#l00247">_dev</a>, <a class="el" href="vbus_source.html#l00089">Device()</a>, and <a class="el" href="group__l4vbus__module.html#gaf965dbeed4864b72603c5ec69080f1ba">l4vbus_get_device_by_hid()</a>.</p>
|
|
<div id="dynsection-4" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"><span class="dynarrow"><span class="arrowhead closed"></span></span>Here is the call graph for this function:</div>
|
|
<div id="dynsection-4-summary" class="dynsummary" style="display:block;">
|
|
</div>
|
|
<div id="dynsection-4-content" class="dyncontent" style="display:none;">
|
|
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="classL4vbus_1_1Device_a555d6ec6b3e9b8d64fb8705f2cdf7cf7_cgraph.svg" width="424" height="86"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a2c8e285f3430e70174615374da658589" name="a2c8e285f3430e70174615374da658589"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2c8e285f3430e70174615374da658589">◆ </a></span>get_resource()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int L4vbus::Device::get_resource </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned</td> <td class="paramname"><span class="paramname"><em>res_idx</em></span>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="structl4vbus__resource__t.html">l4vbus_resource_t</a> *</td> <td class="paramname"><span class="paramname"><em>res</em></span> ) const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Obtain the resource description of an individual device resource. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir"></td><td class="paramname">res_idx</td><td>Index of the resource for which the resource description should be returned. The total number of resources for a device is available in the <a class="el" href="structl4vbus__device__t.html" title="Detailed information about a vbus device.">l4vbus_device_t</a> structure that is returned by <a class="el" href="#a555d6ec6b3e9b8d64fb8705f2cdf7cf7" title="Find a device by the hardware interface identifier (HID).">L4vbus::Device::device_by_hid()</a> and <a class="el" href="#ab8a12f148e84113f52856f29f086af50" title="Find next child following child.">L4vbus::Device::next_device()</a>. </td></tr>
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">res</td><td>Descriptor of the resource.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>This function returns the resource descriptor of an individual device resource selected by the <span class="tt">res_idx</span> parameter.</p>
|
|
<dl class="retval"><dt>Return values</dt><dd>
|
|
<table class="retval">
|
|
<tr><td class="paramname">0</td><td>Success. </td></tr>
|
|
<tr><td class="paramname">-L4_ENOENT</td><td>Invalid resource index <span class="tt">res_idx</span>. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="vbus_source.html#l00209">209</a> of file <a class="el" href="vbus_source.html">vbus</a>.</p>
|
|
|
|
<p class="reference">References <a class="el" href="vbus_source.html#l00245">_bus</a>, <a class="el" href="vbus_source.html#l00247">_dev</a>, and <a class="el" href="group__l4vbus__module.html#ga73c4138ed1d2d56edb5eabdbcc5da65d">l4vbus_get_resource()</a>.</p>
|
|
<div id="dynsection-5" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"><span class="dynarrow"><span class="arrowhead closed"></span></span>Here is the call graph for this function:</div>
|
|
<div id="dynsection-5-summary" class="dynsummary" style="display:block;">
|
|
</div>
|
|
<div id="dynsection-5-content" class="dyncontent" style="display:none;">
|
|
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="classL4vbus_1_1Device_a2c8e285f3430e70174615374da658589_cgraph.svg" width="366" height="51"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="adb0724a360f168a71dba34e640c124f8" name="adb0724a360f168a71dba34e640c124f8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#adb0724a360f168a71dba34e640c124f8">◆ </a></span>is_compatible()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int L4vbus::Device::is_compatible </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char const *</td> <td class="paramname"><span class="paramname"><em>cid</em></span></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Check if the given device has a compatibility ID (CID) or HID that matches <em class="arg">cid</em>. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cid</td><td>the compatibility ID to test </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>1 when the given ID (<em class="arg">cid</em>) matches this device, 0 when the given ID does not match, <0 on error. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="vbus_source.html#l00223">223</a> of file <a class="el" href="vbus_source.html">vbus</a>.</p>
|
|
|
|
<p class="reference">References <a class="el" href="vbus_source.html#l00245">_bus</a>, <a class="el" href="vbus_source.html#l00247">_dev</a>, and <a class="el" href="group__l4vbus__module.html#gada51cecbba0d25a6d05e810b737f3df5">l4vbus_is_compatible()</a>.</p>
|
|
<div id="dynsection-6" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"><span class="dynarrow"><span class="arrowhead closed"></span></span>Here is the call graph for this function:</div>
|
|
<div id="dynsection-6-summary" class="dynsummary" style="display:block;">
|
|
</div>
|
|
<div id="dynsection-6-content" class="dyncontent" style="display:none;">
|
|
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="classL4vbus_1_1Device_adb0724a360f168a71dba34e640c124f8_cgraph.svg" width="362" height="51"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab8a12f148e84113f52856f29f086af50" name="ab8a12f148e84113f52856f29f086af50"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab8a12f148e84113f52856f29f086af50">◆ </a></span>next_device()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int L4vbus::Device::next_device </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classL4vbus_1_1Device.html">Device</a> *</td> <td class="paramname"><span class="paramname"><em>child</em></span>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>depth</em></span><span class="paramdefsep"> = </span><span class="paramdefval">L4VBUS_MAX_DEPTH</span>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="structl4vbus__device__t.html">l4vbus_device_t</a> *</td> <td class="paramname"><span class="paramname"><em>devinfo</em></span><span class="paramdefsep"> = </span><span class="paramdefval">0</span> ) const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Find next child following <span class="tt">child</span>. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in,out]</td><td class="paramname">child</td><td>Handle of the device that precedes the device that shall be returned. To start from the beginning, <span class="tt">child</span> must be initialized with <a class="el" href="vbus_8h.html#a11792b1cd672d66434a0c76cfd53ca13a37b6c6ee1e53d4ddd172f43a8dedc9b0" title="NULL device.">L4VBUS_NULL</a> (<a class="el" href="#a487d5e145d3a21935b61cc231cd84cec" title="Construct a new vbus device using the NULL device L4VBUS_NULL.">Device::Device</a>). If a device is found, its handle is returned through this parameter. </td></tr>
|
|
<tr><td class="paramdir"></td><td class="paramname">depth</td><td>Depth to look for </td></tr>
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">devinfo</td><td><a class="el" href="classL4vbus_1_1Device.html" title="Device on a L4vbus::Vbus.">Device</a> information (might be NULL)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>0 on success, else failure </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="vbus_source.html#l00171">171</a> of file <a class="el" href="vbus_source.html">vbus</a>.</p>
|
|
|
|
<p class="reference">References <a class="el" href="vbus_source.html#l00245">_bus</a>, <a class="el" href="vbus_source.html#l00247">_dev</a>, <a class="el" href="vbus_source.html#l00089">Device()</a>, and <a class="el" href="group__l4vbus__module.html#ga1510914cb12bcd56b4caa65be360ee3c">l4vbus_get_next_device()</a>.</p>
|
|
<div id="dynsection-7" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"><span class="dynarrow"><span class="arrowhead closed"></span></span>Here is the call graph for this function:</div>
|
|
<div id="dynsection-7-summary" class="dynsummary" style="display:block;">
|
|
</div>
|
|
<div id="dynsection-7-content" class="dyncontent" style="display:none;">
|
|
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="classL4vbus_1_1Device_ab8a12f148e84113f52856f29f086af50_cgraph.svg" width="396" height="86"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9f5bce4e7220814a19abb0cdea611330" name="a9f5bce4e7220814a19abb0cdea611330"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9f5bce4e7220814a19abb0cdea611330">◆ </a></span>operator!=()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool L4vbus::Device::operator!= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classL4vbus_1_1Device.html">Device</a> const &</td> <td class="paramname"><span class="paramname"><em>o</em></span></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Test if two <a class="el" href="classL4vbus_1_1Vbus.html" title="The virtual bus (Vbus) interface.">Vbus</a> devices are not the same. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>true if the two devices are different, false else. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="vbus_source.html#l00239">239</a> of file <a class="el" href="vbus_source.html">vbus</a>.</p>
|
|
|
|
<p class="reference">References <a class="el" href="vbus_source.html#l00245">_bus</a>, <a class="el" href="vbus_source.html#l00247">_dev</a>, and <a class="el" href="vbus_source.html#l00089">Device()</a>.</p>
|
|
<div id="dynsection-8" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"><span class="dynarrow"><span class="arrowhead closed"></span></span>Here is the call graph for this function:</div>
|
|
<div id="dynsection-8-summary" class="dynsummary" style="display:block;">
|
|
</div>
|
|
<div id="dynsection-8-content" class="dyncontent" style="display:none;">
|
|
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="classL4vbus_1_1Device_a9f5bce4e7220814a19abb0cdea611330_cgraph.svg" width="434" height="36"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a64fd18112b94f67568dfd48afda5db22" name="a64fd18112b94f67568dfd48afda5db22"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a64fd18112b94f67568dfd48afda5db22">◆ </a></span>operator==()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool L4vbus::Device::operator== </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classL4vbus_1_1Device.html">Device</a> const &</td> <td class="paramname"><span class="paramname"><em>o</em></span></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Test if two devices are the same <a class="el" href="classL4vbus_1_1Vbus.html" title="The virtual bus (Vbus) interface.">Vbus</a> device. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>true if the two devices are the same, false else. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="vbus_source.html#l00230">230</a> of file <a class="el" href="vbus_source.html">vbus</a>.</p>
|
|
|
|
<p class="reference">References <a class="el" href="vbus_source.html#l00245">_bus</a>, <a class="el" href="vbus_source.html#l00247">_dev</a>, and <a class="el" href="vbus_source.html#l00089">Device()</a>.</p>
|
|
<div id="dynsection-9" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"><span class="dynarrow"><span class="arrowhead closed"></span></span>Here is the call graph for this function:</div>
|
|
<div id="dynsection-9-summary" class="dynsummary" style="display:block;">
|
|
</div>
|
|
<div id="dynsection-9-content" class="dyncontent" style="display:none;">
|
|
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="classL4vbus_1_1Device_a64fd18112b94f67568dfd48afda5db22_cgraph.svg" width="440" height="36"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
|
<li>l4/vbus/<a class="el" href="vbus_source.html">vbus</a></li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<div id="page-nav" class="page-nav-panel">
|
|
<div id="page-nav-resize-handle"></div>
|
|
<div id="page-nav-tree">
|
|
<div id="page-nav-contents">
|
|
</div><!-- page-nav-contents -->
|
|
</div><!-- page-nav-tree -->
|
|
</div><!-- page-nav -->
|
|
</div><!-- container -->
|
|
<!-- HTML footer for doxygen 1.9.1-->
|
|
<!-- start footer part -->
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
<ul>
|
|
<li class="navelem"><a href="namespaceL4vbus.html">L4vbus</a></li><li class="navelem"><a href="classL4vbus_1_1Device.html">Device</a></li>
|
|
<li class="footer">Generated on <span class="timestamp"></span> for L4Re Operating System Framework by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.15.0 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|