<html> <head> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title> xosd_sinit.c File Reference </title> <link href="$DriverApiDocsCssPath" rel="stylesheet" type="text/css"> </head> <h3 class="PageHeader">Xilinx Processor IP Library</h3> <hl>Software Drivers</hl> <hr class="whs1"> <!-- Generated by Doxygen 1.4.5 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li id="current"><a href="files.html"><span>Files</span></a></li> </ul></div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul></div> <h1>xosd_sinit.c File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> This file contains the static initialization method for Xilinx MVI Video On-Screen-Display (OSD) device driver.<p> <pre> MODIFICATION HISTORY:</pre><p> <pre> Ver Who Date Changes ----- ---- -------- ------------------------------------------------------- 1.00a xd 08/18/08 First release 2.00a cjm 12/18/12 Converted from xio.h to xil_io.h, translating basic types, MB cache functions, exceptions and assertions to xil_io format. </pre> <p> <code>#include "xosd.h"</code><br> <code>#include "xparameters.h"</code><br> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="struct_x_o_s_d___config.html">XOSD_Config</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="xosd__sinit_8c.html#4ecbc2f4dcc4dceab57c7a1a2ca49519">XOSD_LookupConfig</a> (u16 DeviceId)</td></tr> </table> <hr><h2>Function Documentation</h2> <a class="anchor" name="4ecbc2f4dcc4dceab57c7a1a2ca49519"></a><!-- doxytag: member="xosd_sinit.c::XOSD_LookupConfig" ref="4ecbc2f4dcc4dceab57c7a1a2ca49519" args="(u16 DeviceId)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="struct_x_o_s_d___config.html">XOSD_Config</a>* XOSD_LookupConfig </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">u16 </td> <td class="mdname1" valign="top" nowrap> <em>DeviceId</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> XOSD_LookupConfig returns a reference to an <a class="el" href="struct_x_o_s_d___config.html">XOSD_Config</a> structure based on the unique device id, <em>DeviceId</em>. The return value will refer to an entry in the device configuration table defined in the <a class="el" href="xosd__g_8c.html">xosd_g.c</a> file.<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>DeviceId</em> </td><td>is the unique device ID of the device for the lookup operation.</td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>XOSD_LookupConfig returns a reference to a config record in the configuration table (in <a class="el" href="xosd__g_8c.html">xosd_g.c</a>) corresponding to <em>DeviceId</em>, or NULL if no match is found. </dd></dl> </td> </tr> </table> Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.