1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>of_drm_find_bridge</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux GPU Driver Developer's Guide"><link rel="up" href="ch02s05.html#id-1.3.4.9.23" title="Bridges"><link rel="prev" href="API-drm-bridge-enable.html" title="drm_bridge_enable"><link rel="next" href="drm-kms-properties.html" title="KMS Properties"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">of_drm_find_bridge</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-drm-bridge-enable.html">Prev</a> </td><th width="60%" align="center">Bridges</th><td width="20%" align="right"> <a accesskey="n" href="drm-kms-properties.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-of-drm-find-bridge"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>of_drm_find_bridge — 2 find the bridge corresponding to the device node in the global bridge list 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef"><a class="link" href="API-struct-drm-bridge.html" title="struct drm_bridge">struct drm_bridge</a> * <b class="fsfunc">of_drm_find_bridge </b>(</code></td><td>struct device_node * <var class="pdparam">np</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="id-1.3.4.9.23.13.5"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>np</code></em></span></dt><dd><p> 4 device node 5 </p></dd></dl></div></div><div class="refsect1"><a name="id-1.3.4.9.23.13.6"></a><h2>RETURNS</h2><p> 6 drm_bridge control struct on success, NULL on failure 7</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-drm-bridge-enable.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02s05.html#id-1.3.4.9.23">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="drm-kms-properties.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">drm_bridge_enable</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> KMS Properties</td></tr></table></div></body></html> 8