4076 lines
244 KiB
HTML
Executable file
4076 lines
244 KiB
HTML
Executable file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8.10"/>
|
|
<title>vphy: xvphy.h File 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="doxygen.css" rel="stylesheet" type="text/css" />
|
|
<link href="HTML_custom.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="xlogo_bg.gif"/></td>
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">vphy
|
|
</div>
|
|
<div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.10 -->
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Overview</span></a></li>
|
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
|
<li><a href="globals.html"><span>APIs</span></a></li>
|
|
<li><a href="files.html"><span>File List</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_14bc92f4b96c8519b376567118ac28b3.html">drivers</a></li><li class="navelem"><a class="el" href="dir_4cf835fb5483fbdcb0e67167565ecb14.html">vphy</a></li><li class="navelem"><a class="el" href="dir_45dd16d915814f4bf44046109f2a3b22.html">src</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#nested-classes">Data Structures</a> |
|
|
<a href="#typedef-members">Typedefs</a> |
|
|
<a href="#enum-members">Enumerations</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">xvphy.h File Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
|
|
<div class="textblock"><p>This driver supports the Xilinx Video PHY IP core. Version 1.0 supports:</p><ul>
|
|
<li>GTXE2 and GTHE3 GT types.</li>
|
|
<li>DisplayPort and HDMI protocols.</li>
|
|
</ul>
|
|
<dl class="section note"><dt>Note</dt><dd>None.</dd></dl>
|
|
<pre>
|
|
MODIFICATION HISTORY:</pre><pre>Ver Who Date Changes
|
|
----- ---- -------- -----------------------------------------------
|
|
1.0 als 10/19/15 Initial release.
|
|
</pre> </div><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
|
Data Structures</h2></td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_vphy___pll_param.html">XVphy_PllParam</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_vphy___channel.html">XVphy_Channel</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_vphy___mmcm.html">XVphy_Mmcm</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_vphy___quad.html">XVphy_Quad</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_vphy___log.html">XVphy_Log</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_vphy___config.html">XVphy_Config</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_vphy.html">XVphy</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
|
|
Typedefs</h2></td></tr>
|
|
<tr class="memitem:a21fe7ac2940a12aa24d265c30d02b1aa"><td class="memItemLeft" align="right" valign="top">typedef void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a21fe7ac2940a12aa24d265c30d02b1aa">XVphy_IntrHandler</a>) (void *InstancePtr)</td></tr>
|
|
<tr class="separator:a21fe7ac2940a12aa24d265c30d02b1aa"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2aa9ce957914fce939a5a3aca20b7e86"><td class="memItemLeft" align="right" valign="top">typedef void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a2aa9ce957914fce939a5a3aca20b7e86">XVphy_TimerHandler</a>) (void *InstancePtr, u32 MicroSeconds)</td></tr>
|
|
<tr class="separator:a2aa9ce957914fce939a5a3aca20b7e86"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3025c63cf1c5e5065caa8e097e451339"><td class="memItemLeft" align="right" valign="top">typedef void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a3025c63cf1c5e5065caa8e097e451339">XVphy_Callback</a>) (void *CallbackRef)</td></tr>
|
|
<tr class="separator:a3025c63cf1c5e5065caa8e097e451339"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
|
|
Enumerations</h2></td></tr>
|
|
<tr class="memitem:a87369c0a51fcd69621ccbbd44b64b470"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a87369c0a51fcd69621ccbbd44b64b470">XVphy_IntrHandlerType</a> <tr class="separator:a87369c0a51fcd69621ccbbd44b64b470"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</td></tr>
|
|
<tr class="memitem:a5d7a1522b8c8db7a4d13630b4d0d67ac"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a5d7a1522b8c8db7a4d13630b4d0d67ac">XVphy_HdmiHandlerType</a> { <a class="el" href="xvphy_8h.html#a5d7a1522b8c8db7a4d13630b4d0d67aca0935a34352ea1c95845d24f9339aa858">XVPHY_HDMI_HANDLER_TXINIT</a> = 1,
|
|
<a class="el" href="xvphy_8h.html#a5d7a1522b8c8db7a4d13630b4d0d67aca663e6eda3ccced827fb278555c33d2cf">XVPHY_HDMI_HANDLER_TXREADY</a>,
|
|
<a class="el" href="xvphy_8h.html#a5d7a1522b8c8db7a4d13630b4d0d67acadc1239bf568d5bec91b9c9baa8bca65e">XVPHY_HDMI_HANDLER_RXINIT</a>,
|
|
<a class="el" href="xvphy_8h.html#a5d7a1522b8c8db7a4d13630b4d0d67acafe4c577235317d8538e592641f45d1a3">XVPHY_HDMI_HANDLER_RXREADY</a>
|
|
}<tr class="separator:a5d7a1522b8c8db7a4d13630b4d0d67ac"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:ab55e996530660070928db7d1e495d3b4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#ab55e996530660070928db7d1e495d3b4">XVphy_CfgInitialize</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, <a class="el" href="struct_x_vphy___config.html">XVphy_Config</a> *ConfigPtr, u32 EffectiveAddr)</td></tr>
|
|
<tr class="separator:ab55e996530660070928db7d1e495d3b4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3d345eb8a8206448501f6d9dcc53b92e"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a3d345eb8a8206448501f6d9dcc53b92e">XVphy_PllInitialize</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, <a class="el" href="xvphy_8h.html#abaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a> QpllRefClkSel, <a class="el" href="xvphy_8h.html#abaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a> CpllxRefClkSel, <a class="el" href="xvphy_8h.html#abd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a> TxPllSelect, <a class="el" href="xvphy_8h.html#abd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a> RxPllSelect)</td></tr>
|
|
<tr class="separator:a3d345eb8a8206448501f6d9dcc53b92e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1f407aa558cd06877262f4258699fd7b"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a1f407aa558cd06877262f4258699fd7b">XVphy_ClkInitialize</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, XVphy_DirectionType Dir)</td></tr>
|
|
<tr class="separator:a1f407aa558cd06877262f4258699fd7b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a54b6787198c16e99851326d82568421d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a54b6787198c16e99851326d82568421d">XVphy_WaitUs</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u32 MicroSeconds)</td></tr>
|
|
<tr class="separator:a54b6787198c16e99851326d82568421d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab4dbca672563dce677d06d7bbbbe23d9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#ab4dbca672563dce677d06d7bbbbe23d9">XVphy_SetRxLpm</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, XVphy_DirectionType Dir, u8 Enable)</td></tr>
|
|
<tr class="separator:ab4dbca672563dce677d06d7bbbbe23d9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7526bb0de496313d804798dcc1df8cc8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a7526bb0de496313d804798dcc1df8cc8">XVphy_SetTxVoltageSwing</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, u8 Vs)</td></tr>
|
|
<tr class="separator:a7526bb0de496313d804798dcc1df8cc8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4071a10340c3cda8cfb3aa3bfb4483e9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a4071a10340c3cda8cfb3aa3bfb4483e9">XVphy_SetTxPreEmphasis</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, u8 Pe)</td></tr>
|
|
<tr class="separator:a4071a10340c3cda8cfb3aa3bfb4483e9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5041cead7e1fe927d645c4e681e95837"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a5041cead7e1fe927d645c4e681e95837">XVphy_WriteCfgRefClkSelReg</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId)</td></tr>
|
|
<tr class="separator:a5041cead7e1fe927d645c4e681e95837"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad5d2ef80f68b92db024b3e690d0c410e"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#ad5d2ef80f68b92db024b3e690d0c410e">XVphy_CfgLineRate</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, u64 LineRateHz)</td></tr>
|
|
<tr class="separator:ad5d2ef80f68b92db024b3e690d0c410e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6a2581f0747aefb63cf91a136a03852c"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a6a2581f0747aefb63cf91a136a03852c">XVphy_CfgQuadRefClkFreq</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#abaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a> RefClkType, u32 FreqHz)</td></tr>
|
|
<tr class="separator:a6a2581f0747aefb63cf91a136a03852c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a76c375e68d3d82cba1c7d8a53c961eb7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a76c375e68d3d82cba1c7d8a53c961eb7">XVphy_CfgPllRefClkSel</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, <a class="el" href="xvphy_8h.html#abaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a> RefClkSel)</td></tr>
|
|
<tr class="separator:a76c375e68d3d82cba1c7d8a53c961eb7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3e41b30a437f2c8d8722c780b9cbc798"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a3e41b30a437f2c8d8722c780b9cbc798">XVphy_CfgSysClkDataSel</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir, <a class="el" href="xvphy_8h.html#a91d7e180fc85dbee0c2daeb6014597c0">XVphy_SysClkDataSelType</a> SysClkDataSel)</td></tr>
|
|
<tr class="separator:a3e41b30a437f2c8d8722c780b9cbc798"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3221e83cfbd76a7616329bdff01d517b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a3221e83cfbd76a7616329bdff01d517b">XVphy_CfgSysClkOutSel</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir, <a class="el" href="xvphy_8h.html#a1ff2690f40dd23e3fb4ba55d99a6c45f">XVphy_SysClkOutSelType</a> SysClkOutSel)</td></tr>
|
|
<tr class="separator:a3221e83cfbd76a7616329bdff01d517b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a918c7447d08e6af827ab03493348b706"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a918c7447d08e6af827ab03493348b706">XVphy_ClkCalcParams</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, XVphy_DirectionType Dir, u32 PllClkInFreqHz)</td></tr>
|
|
<tr class="separator:a918c7447d08e6af827ab03493348b706"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acb53c60099495db88a9931980e278bc6"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#acb53c60099495db88a9931980e278bc6">XVphy_OutDivReconfig</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, XVphy_DirectionType Dir)</td></tr>
|
|
<tr class="separator:acb53c60099495db88a9931980e278bc6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a609475eec7171bd779b972e31496c717"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a609475eec7171bd779b972e31496c717">XVphy_DirReconfig</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, XVphy_DirectionType Dir)</td></tr>
|
|
<tr class="separator:a609475eec7171bd779b972e31496c717"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae2450ff392b3bdafa0b65b549af231a1"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#ae2450ff392b3bdafa0b65b549af231a1">XVphy_ClkReconfig</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId)</td></tr>
|
|
<tr class="separator:ae2450ff392b3bdafa0b65b549af231a1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acc589d8dad782b38e7da73526c30207b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="xvphy_8h.html#abd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#acc589d8dad782b38e7da73526c30207b">XVphy_GetPllType</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId)</td></tr>
|
|
<tr class="separator:acc589d8dad782b38e7da73526c30207b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6e276d9949bad733adaf9cacb6e2d554"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a6e276d9949bad733adaf9cacb6e2d554">XVphy_GetQuadRefClkFreq</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#abaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a> RefClkType)</td></tr>
|
|
<tr class="separator:a6e276d9949bad733adaf9cacb6e2d554"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af5215e0e59c2dd0f2ee47b176cd9e47e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="xvphy_8h.html#abaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#af5215e0e59c2dd0f2ee47b176cd9e47e">XVphy_GetPllRefClkSel</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId)</td></tr>
|
|
<tr class="separator:af5215e0e59c2dd0f2ee47b176cd9e47e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8e1cf75cf2ecce4902aeb0faca3d0c7c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="xvphy_8h.html#a91d7e180fc85dbee0c2daeb6014597c0">XVphy_SysClkDataSelType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a8e1cf75cf2ecce4902aeb0faca3d0c7c">XVphy_GetSysClkDataSel</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId)</td></tr>
|
|
<tr class="separator:a8e1cf75cf2ecce4902aeb0faca3d0c7c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afa18f0da25042d12e577a5e16d950476"><td class="memItemLeft" align="right" valign="top"><a class="el" href="xvphy_8h.html#a1ff2690f40dd23e3fb4ba55d99a6c45f">XVphy_SysClkOutSelType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#afa18f0da25042d12e577a5e16d950476">XVphy_GetSysClkOutSel</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId)</td></tr>
|
|
<tr class="separator:afa18f0da25042d12e577a5e16d950476"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a666425d750b27f1be0faeb363eb9698c"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a666425d750b27f1be0faeb363eb9698c">XVphy_WaitForPmaResetDone</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, XVphy_DirectionType Dir)</td></tr>
|
|
<tr class="separator:a666425d750b27f1be0faeb363eb9698c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac1c0e3c56e0d77d5d222b86be8a30cb6"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#ac1c0e3c56e0d77d5d222b86be8a30cb6">XVphy_WaitForResetDone</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, XVphy_DirectionType Dir)</td></tr>
|
|
<tr class="separator:ac1c0e3c56e0d77d5d222b86be8a30cb6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5cf5653291ec2889a991cbc69858d935"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a5cf5653291ec2889a991cbc69858d935">XVphy_WaitForPllLock</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId)</td></tr>
|
|
<tr class="separator:a5cf5653291ec2889a991cbc69858d935"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aef25e82d5f217655c1c3c3039c9e1dc3"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#aef25e82d5f217655c1c3c3039c9e1dc3">XVphy_IsPllLocked</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId)</td></tr>
|
|
<tr class="separator:aef25e82d5f217655c1c3c3039c9e1dc3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad1c3340164a0759e485ba914ef282dc3"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#ad1c3340164a0759e485ba914ef282dc3">XVphy_ResetGtPll</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, XVphy_DirectionType Dir, u8 Hold)</td></tr>
|
|
<tr class="separator:ad1c3340164a0759e485ba914ef282dc3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3d258176c8a2cc605cdaf8f28a72559d"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a3d258176c8a2cc605cdaf8f28a72559d">XVphy_ResetGtTxRx</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, XVphy_DirectionType Dir, u8 Hold)</td></tr>
|
|
<tr class="separator:a3d258176c8a2cc605cdaf8f28a72559d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae11d25f939879208256c3e8155f9873c"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#ae11d25f939879208256c3e8155f9873c">XVphy_GtUserRdyEnable</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, XVphy_DirectionType Dir, u8 Hold)</td></tr>
|
|
<tr class="separator:ae11d25f939879208256c3e8155f9873c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a56d656c3ed99190149bf9b548ae7a62d"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a56d656c3ed99190149bf9b548ae7a62d">XVphy_ResetGt</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir)</td></tr>
|
|
<tr class="separator:a56d656c3ed99190149bf9b548ae7a62d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a139392a254c9872829ff70e712ba807b"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a139392a254c9872829ff70e712ba807b">XVphy_DrpWrite</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, u16 Addr, u16 Val)</td></tr>
|
|
<tr class="separator:a139392a254c9872829ff70e712ba807b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af2ae1cb78ebf784d843ec371e68f2d96"><td class="memItemLeft" align="right" valign="top">u16 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#af2ae1cb78ebf784d843ec371e68f2d96">XVphy_DrpRead</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, u16 Addr)</td></tr>
|
|
<tr class="separator:af2ae1cb78ebf784d843ec371e68f2d96"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:adc182ff22a7ec230dc163f90ec5263a3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#adc182ff22a7ec230dc163f90ec5263a3">XVphy_MmcmReset</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir, u8 Hold)</td></tr>
|
|
<tr class="separator:adc182ff22a7ec230dc163f90ec5263a3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a59516866f229178eca67ede70680a751"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a59516866f229178eca67ede70680a751">XVphy_MmcmPowerDown</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir, u8 Hold)</td></tr>
|
|
<tr class="separator:a59516866f229178eca67ede70680a751"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a652a8b7de475a3a54ad9a5f6e40ee9d9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a652a8b7de475a3a54ad9a5f6e40ee9d9">XVphy_MmcmStart</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir)</td></tr>
|
|
<tr class="separator:a652a8b7de475a3a54ad9a5f6e40ee9d9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a096dbcd95256264a53fe8af27c8387fb"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a096dbcd95256264a53fe8af27c8387fb">XVphy_MmcmLockedMaskEnable</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir, u8 Enable)</td></tr>
|
|
<tr class="separator:a096dbcd95256264a53fe8af27c8387fb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae544dc0c99277e35af7ed7301741b2f0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#ae544dc0c99277e35af7ed7301741b2f0">XVphy_BufgGtReset</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, XVphy_DirectionType Dir, u8 Reset)</td></tr>
|
|
<tr class="separator:ae544dc0c99277e35af7ed7301741b2f0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a15c1341136ca5bde85ab447ba9e09c56"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a15c1341136ca5bde85ab447ba9e09c56">XVphy_SetBufgGtDiv</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, XVphy_DirectionType Dir, u8 Div)</td></tr>
|
|
<tr class="separator:a15c1341136ca5bde85ab447ba9e09c56"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac5754f49fa0df65d75a6d62f4885b94c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#ac5754f49fa0df65d75a6d62f4885b94c">XVphy_IBufDsEnable</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir, u8 Enable)</td></tr>
|
|
<tr class="separator:ac5754f49fa0df65d75a6d62f4885b94c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab5c0be51d9acd79559d092d16e7d1fe8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#ab5c0be51d9acd79559d092d16e7d1fe8">XVphy_Clkout1OBufTdsEnable</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, XVphy_DirectionType Dir, u8 Enable)</td></tr>
|
|
<tr class="separator:ab5c0be51d9acd79559d092d16e7d1fe8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa4cef4dea102e0cbb7671d8113f9d52e"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#aa4cef4dea102e0cbb7671d8113f9d52e">XVphy_GetVersion</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr)</td></tr>
|
|
<tr class="separator:aa4cef4dea102e0cbb7671d8113f9d52e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a03e3adda3a9a41ade009735ab5849b8f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a03e3adda3a9a41ade009735ab5849b8f">XVphy_Set8b10b</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, XVphy_DirectionType Dir, u8 Enable)</td></tr>
|
|
<tr class="separator:a03e3adda3a9a41ade009735ab5849b8f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1b82d1b302268e36126450121d948505"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a1b82d1b302268e36126450121d948505">XVphy_PowerDownGtPll</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, u8 Hold)</td></tr>
|
|
<tr class="separator:a1b82d1b302268e36126450121d948505"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7ac1ec33cd234c67df30471d148e77be"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a7ac1ec33cd234c67df30471d148e77be">XVphy_IsBonded</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId)</td></tr>
|
|
<tr class="separator:a7ac1ec33cd234c67df30471d148e77be"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aeab6f13c2dd0b30889e09de7ff2759df"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#aeab6f13c2dd0b30889e09de7ff2759df">XVphy_LogReset</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr)</td></tr>
|
|
<tr class="separator:aeab6f13c2dd0b30889e09de7ff2759df"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9a04f2b6dd2fd863b0c282a1d7a5c378"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a9a04f2b6dd2fd863b0c282a1d7a5c378">XVphy_LogWrite</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862">XVphy_LogEvent</a> Evt, u8 Data)</td></tr>
|
|
<tr class="separator:a9a04f2b6dd2fd863b0c282a1d7a5c378"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a80743b41f194185251ac269d4985784c"><td class="memItemLeft" align="right" valign="top">u16 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a80743b41f194185251ac269d4985784c">XVphy_LogRead</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr)</td></tr>
|
|
<tr class="separator:a80743b41f194185251ac269d4985784c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a02a73b6d88ba733664e66c34f73fe0b6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a02a73b6d88ba733664e66c34f73fe0b6">XVphy_LogDisplay</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr)</td></tr>
|
|
<tr class="separator:a02a73b6d88ba733664e66c34f73fe0b6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a56237326dcb3ef7cb3b346f7bf561486"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a56237326dcb3ef7cb3b346f7bf561486">XVphy_SetIntrHandler</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, <a class="el" href="xvphy_8h.html#a87369c0a51fcd69621ccbbd44b64b470">XVphy_IntrHandlerType</a> HandlerType, <a class="el" href="xvphy_8h.html#a21fe7ac2940a12aa24d265c30d02b1aa">XVphy_IntrHandler</a> CallbackFunc, void *CallbackRef)</td></tr>
|
|
<tr class="separator:a56237326dcb3ef7cb3b346f7bf561486"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a75e14bbc2dcc8eeeaaed26371ae1b34c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a75e14bbc2dcc8eeeaaed26371ae1b34c">XVphy_InterruptHandler</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr)</td></tr>
|
|
<tr class="separator:a75e14bbc2dcc8eeeaaed26371ae1b34c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab0c6c186dbb5142d23a6a3b76148c37b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#ab0c6c186dbb5142d23a6a3b76148c37b">XVphy_IntrEnable</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, <a class="el" href="xvphy_8h.html#a87369c0a51fcd69621ccbbd44b64b470">XVphy_IntrHandlerType</a> Intr)</td></tr>
|
|
<tr class="separator:ab0c6c186dbb5142d23a6a3b76148c37b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a854725cac309c3302a25dbc29927c9f8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a854725cac309c3302a25dbc29927c9f8">XVphy_IntrDisable</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, <a class="el" href="xvphy_8h.html#a87369c0a51fcd69621ccbbd44b64b470">XVphy_IntrHandlerType</a> Intr)</td></tr>
|
|
<tr class="separator:a854725cac309c3302a25dbc29927c9f8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a772c4c6e8f106de408926972cb2443f2"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a772c4c6e8f106de408926972cb2443f2">XVphy_SelfTest</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr)</td></tr>
|
|
<tr class="separator:a772c4c6e8f106de408926972cb2443f2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a97e9150af1115bf30fe03f548f308875"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_vphy___config.html">XVphy_Config</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a97e9150af1115bf30fe03f548f308875">XVphy_LookupConfig</a> (u16 DeviceId)</td></tr>
|
|
<tr class="separator:a97e9150af1115bf30fe03f548f308875"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2cd0f5a7bf8d8fb14c73dff670c3c998"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a2cd0f5a7bf8d8fb14c73dff670c3c998">XVphy_DpInitialize</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, <a class="el" href="struct_x_vphy___config.html">XVphy_Config</a> *CfgPtr, u8 QuadId, <a class="el" href="xvphy_8h.html#abaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a> CpllRefClkSel, <a class="el" href="xvphy_8h.html#abaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a> QpllRefClkSel, <a class="el" href="xvphy_8h.html#abd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a> TxPllSelect, <a class="el" href="xvphy_8h.html#abd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a> RxPllSelect, u8 LinkRate)</td></tr>
|
|
<tr class="separator:a2cd0f5a7bf8d8fb14c73dff670c3c998"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acd09bca6664c614b29cf051367729ea3"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#acd09bca6664c614b29cf051367729ea3">XVphy_HdmiInitialize</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="struct_x_vphy___config.html">XVphy_Config</a> *CfgPtr, u32 SystemFrequency)</td></tr>
|
|
<tr class="separator:acd09bca6664c614b29cf051367729ea3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afe03e6d04132bfe780efa1a2708ded64"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#afe03e6d04132bfe780efa1a2708ded64">XVphy_SetHdmiTxParam</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, XVidC_PixelsPerClock Ppc, XVidC_ColorDepth Bpc, XVidC_ColorFormat ColorFormat)</td></tr>
|
|
<tr class="separator:afe03e6d04132bfe780efa1a2708ded64"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a94f15cb1a82db338e2fa3cd900713a0d"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a94f15cb1a82db338e2fa3cd900713a0d">XVphy_SetHdmiRxParam</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId)</td></tr>
|
|
<tr class="separator:a94f15cb1a82db338e2fa3cd900713a0d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9bda272cbcfb83ee43e762b09e613390"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a9bda272cbcfb83ee43e762b09e613390">XVphy_HdmiCfgCalcMmcmParam</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, XVphy_DirectionType Dir, XVidC_PixelsPerClock Ppc, XVidC_ColorDepth Bpc)</td></tr>
|
|
<tr class="separator:a9bda272cbcfb83ee43e762b09e613390"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab70418575e7ffd80d353f12e666dd483"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#ab70418575e7ffd80d353f12e666dd483">XVphy_HdmiUpdateClockSelection</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a91d7e180fc85dbee0c2daeb6014597c0">XVphy_SysClkDataSelType</a> TxSysPllClkSel, <a class="el" href="xvphy_8h.html#a91d7e180fc85dbee0c2daeb6014597c0">XVphy_SysClkDataSelType</a> RxSysPllClkSel)</td></tr>
|
|
<tr class="separator:ab70418575e7ffd80d353f12e666dd483"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acf7ae04f5605eac1c87ffef842b619f7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#acf7ae04f5605eac1c87ffef842b619f7">XVphy_ClkDetFreqReset</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir)</td></tr>
|
|
<tr class="separator:acf7ae04f5605eac1c87ffef842b619f7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab0467bf2748fc0bed3b343a469ace134"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#ab0467bf2748fc0bed3b343a469ace134">XVphy_ClkDetGetRefClkFreqHz</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, XVphy_DirectionType Dir)</td></tr>
|
|
<tr class="separator:ab0467bf2748fc0bed3b343a469ace134"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1560403a2fbe4ad437d011c276e25880"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a1560403a2fbe4ad437d011c276e25880">XVphy_DruGetRefClkFreqHz</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr)</td></tr>
|
|
<tr class="separator:a1560403a2fbe4ad437d011c276e25880"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac33c4acc75ec57ab3d51e0f1391f1baf"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#ac33c4acc75ec57ab3d51e0f1391f1baf">XVphy_HdmiDebugInfo</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId)</td></tr>
|
|
<tr class="separator:ac33c4acc75ec57ab3d51e0f1391f1baf"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1467ac8d01eee6591cee4c820d55c093"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a1467ac8d01eee6591cee4c820d55c093">XVphy_DpDebugInfo</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId)</td></tr>
|
|
<tr class="separator:a1467ac8d01eee6591cee4c820d55c093"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4038c40b0783bfe9ebc80eace7600f65"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a4038c40b0783bfe9ebc80eace7600f65">XVphy_SetHdmiCallback</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, <a class="el" href="xvphy_8h.html#a5d7a1522b8c8db7a4d13630b4d0d67ac">XVphy_HdmiHandlerType</a> HandlerType, void *CallbackFunc, void *CallbackRef)</td></tr>
|
|
<tr class="separator:a4038c40b0783bfe9ebc80eace7600f65"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Typedef Documentation</h2>
|
|
<a class="anchor" id="a3025c63cf1c5e5065caa8e097e451339"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef void(* XVphy_Callback) (void *CallbackRef)</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Generic callback type. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">CallbackRef</td><td>is a pointer to the callback reference.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a21fe7ac2940a12aa24d265c30d02b1aa"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef void(* XVphy_IntrHandler) (void *InstancePtr)</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Callback type which represents the handler for interrupts. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> instance.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2aa9ce957914fce939a5a3aca20b7e86"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef void(* XVphy_TimerHandler) (void *InstancePtr, u32 MicroSeconds)</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Callback type which represents a custom timer wait handler. </p>
|
|
<p>This is only used for Microblaze since it doesn't have a native sleep function. To avoid dependency on a hardware timer, the default wait functionality is implemented using loop iterations; this isn't too accurate. If a custom timer handler is used, the user may implement their own wait implementation using a hardware timer (see example/) for better accuracy.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> instance. </td></tr>
|
|
<tr><td class="paramname">MicroSeconds</td><td>is the number of microseconds to be passed to the timer function.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Enumeration Type Documentation</h2>
|
|
<a class="anchor" id="a535e4dd9425d8b7818e02930ce9e2b8e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This typedef enumerates the available channels. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a11be9fb60860466de1747a062ac1a919"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="xvphy_8h.html#a11be9fb60860466de1747a062ac1a919">XVphy_GtState</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a11be9fb60860466de1747a062ac1a919a8af6950c69438f65bef20ec1ec395c5d"></a>XVPHY_GT_STATE_IDLE </td><td class="fielddoc">
|
|
<p>Idle state. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a11be9fb60860466de1747a062ac1a919abd3df6a0b11e0c4dd9250f995cf528d2"></a>XVPHY_GT_STATE_LOCK </td><td class="fielddoc">
|
|
<p>Lock state. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a11be9fb60860466de1747a062ac1a919aca296f5c524808bcb196136845316aec"></a>XVPHY_GT_STATE_RESET </td><td class="fielddoc">
|
|
<p>Reset state. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a11be9fb60860466de1747a062ac1a919a230046f4a0b3321064c133ead87ce2ea"></a>XVPHY_GT_STATE_ALIGN </td><td class="fielddoc">
|
|
<p>Align state. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a11be9fb60860466de1747a062ac1a919a5011c615c5b46d321d92c7cd16870138"></a>XVPHY_GT_STATE_READY </td><td class="fielddoc">
|
|
<p>Ready state. </p>
|
|
</td></tr>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5d7a1522b8c8db7a4d13630b4d0d67ac"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="xvphy_8h.html#a5d7a1522b8c8db7a4d13630b4d0d67ac">XVphy_HdmiHandlerType</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This typedef enumerates the list of available hdmi handler types. </p>
|
|
<p>The values are used as parameters to the XVphy_SetHdmiCallback function. </p>
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a5d7a1522b8c8db7a4d13630b4d0d67aca0935a34352ea1c95845d24f9339aa858"></a>XVPHY_HDMI_HANDLER_TXINIT </td><td class="fielddoc">
|
|
<p>TX init handler. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a5d7a1522b8c8db7a4d13630b4d0d67aca663e6eda3ccced827fb278555c33d2cf"></a>XVPHY_HDMI_HANDLER_TXREADY </td><td class="fielddoc">
|
|
<p>TX ready handler. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a5d7a1522b8c8db7a4d13630b4d0d67acadc1239bf568d5bec91b9c9baa8bca65e"></a>XVPHY_HDMI_HANDLER_RXINIT </td><td class="fielddoc">
|
|
<p>RX init handler. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a5d7a1522b8c8db7a4d13630b4d0d67acafe4c577235317d8538e592641f45d1a3"></a>XVPHY_HDMI_HANDLER_RXREADY </td><td class="fielddoc">
|
|
<p>RX ready handler. </p>
|
|
</td></tr>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a87369c0a51fcd69621ccbbd44b64b470"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="xvphy_8h.html#a87369c0a51fcd69621ccbbd44b64b470">XVphy_IntrHandlerType</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This typedef enumerates the list of available interrupt handler types. </p>
|
|
<p>The values are used as parameters to the XVphy_SetIntrHandler function. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a850b903da34740657782f29d2f142862"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862">XVphy_LogEvent</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862a3bdbb622e1eb4b326e8a5fd83657be97"></a>XVPHY_LOG_EVT_NONE </td><td class="fielddoc">
|
|
<p>Log event none. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862afaac44c45e2bc57cc2f617ea54b5cea7"></a>XVPHY_LOG_EVT_QPLL_EN </td><td class="fielddoc">
|
|
<p>Log event QPLL enable. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862a34b4ad0da304ecd352666351effb09ec"></a>XVPHY_LOG_EVT_QPLL_RST </td><td class="fielddoc">
|
|
<p>Log event QPLL reset. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862aec2fc43529cf55a7a3f5c41d74af14a0"></a>XVPHY_LOG_EVT_QPLL_LOCK </td><td class="fielddoc">
|
|
<p>Log event QPLL lock. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862a786d40f0263293814d72536da3dc0f8c"></a>XVPHY_LOG_EVT_QPLL_RECONFIG </td><td class="fielddoc">
|
|
<p>Log event QPLL reconfig. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862ad52a7e6d86f8cc9f29750f4c9795159c"></a>XVPHY_LOG_EVT_QPLL0_EN </td><td class="fielddoc">
|
|
<p>Log event QPLL0 enable. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862a22bcd2aa76118e62733db3bafe94f684"></a>XVPHY_LOG_EVT_QPLL0_RST </td><td class="fielddoc">
|
|
<p>Log event QPLL0 reset. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862a8675d76576172fd5f58bd8ccb80d8ff1"></a>XVPHY_LOG_EVT_QPLL0_LOCK </td><td class="fielddoc">
|
|
<p>Log event QPLL0 lock. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862a44c36c63c93e86fcd8a626448c9dc8ce"></a>XVPHY_LOG_EVT_QPLL0_RECONFIG </td><td class="fielddoc">
|
|
<p>Log event QPLL0 reconfig. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862a70e66eba3c2dfc433c10e22109075e65"></a>XVPHY_LOG_EVT_QPLL1_EN </td><td class="fielddoc">
|
|
<p>Log event QPLL1 enable. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862a37d46ff14ff774b860fa04a3097c4e4e"></a>XVPHY_LOG_EVT_QPLL1_RST </td><td class="fielddoc">
|
|
<p>Log event QPLL1 reset. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862a4291b067d456a42737ebaafaa61fa767"></a>XVPHY_LOG_EVT_QPLL1_LOCK </td><td class="fielddoc">
|
|
<p>Log event QPLL1 lock. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862a6d02ba6d46f732482f1d010fcb437f55"></a>XVPHY_LOG_EVT_QPLL1_RECONFIG </td><td class="fielddoc">
|
|
<p>Log event QPLL1 reconfig. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862ad8e026d18f12edf002d7d7d68a66d522"></a>XVPHY_LOG_EVT_PLL0_EN </td><td class="fielddoc">
|
|
<p>Log event PLL0 reset. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862ae42676f5447cbcccb4d1cc597b897cd8"></a>XVPHY_LOG_EVT_PLL0_RST </td><td class="fielddoc">
|
|
<p>Log event PLL0 reset. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862a586bb32a20f4a986ae208c0e6e8bef08"></a>XVPHY_LOG_EVT_PLL0_LOCK </td><td class="fielddoc">
|
|
<p>Log event PLL0 lock. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862acd2a55ba7c91782029e40356154b66a2"></a>XVPHY_LOG_EVT_PLL0_RECONFIG </td><td class="fielddoc">
|
|
<p>Log event PLL0 reconfig. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862af8e57e72726b6310900e8294f6f0c6d3"></a>XVPHY_LOG_EVT_PLL1_EN </td><td class="fielddoc">
|
|
<p>Log event PLL1 reset. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862a111dda7109926b386f8cb182b17d8854"></a>XVPHY_LOG_EVT_PLL1_RST </td><td class="fielddoc">
|
|
<p>Log event PLL1 reset. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862ab1590d315e1c6be3f46ea54ad59cbb97"></a>XVPHY_LOG_EVT_PLL1_LOCK </td><td class="fielddoc">
|
|
<p>Log event PLL1 lock. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862ab201b87e897162791ec58380d04a984b"></a>XVPHY_LOG_EVT_PLL1_RECONFIG </td><td class="fielddoc">
|
|
<p>Log event PLL1 reconfig. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862ab0598c9436107368e845f78889392d0a"></a>XVPHY_LOG_EVT_CPLL_EN </td><td class="fielddoc">
|
|
<p>Log event CPLL reset. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862a16d8b631eb64d20c8235ea1190ac5fb4"></a>XVPHY_LOG_EVT_CPLL_RST </td><td class="fielddoc">
|
|
<p>Log event CPLL reset. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862ab3dfbd833b116269343aabe94495a171"></a>XVPHY_LOG_EVT_CPLL_LOCK </td><td class="fielddoc">
|
|
<p>Log event CPLL lock. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862ac40104381761e9e75f7cd39b77604468"></a>XVPHY_LOG_EVT_CPLL_RECONFIG </td><td class="fielddoc">
|
|
<p>Log event CPLL reconfig. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862ab34474947edbe41e79f5f38570e91eed"></a>XVPHY_LOG_EVT_TXPLL_EN </td><td class="fielddoc">
|
|
<p>Log event TXPLL enable. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862a123b046c9e909116f14f747a45c5433e"></a>XVPHY_LOG_EVT_TXPLL_RST </td><td class="fielddoc">
|
|
<p>Log event TXPLL reset. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862a2f5e75886c9f9d1555cc07d3a907a3f1"></a>XVPHY_LOG_EVT_RXPLL_EN </td><td class="fielddoc">
|
|
<p>Log event RXPLL enable. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862ad128c86d056498569cca58fdf487b0d7"></a>XVPHY_LOG_EVT_RXPLL_RST </td><td class="fielddoc">
|
|
<p>Log event RXPLL reset. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862aed542b730b8682830f454a74fff14fea"></a>XVPHY_LOG_EVT_GTRX_RST </td><td class="fielddoc">
|
|
<p>Log event GT RX reset. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862a09e65067d1a0ed267159ab7d381a8c3d"></a>XVPHY_LOG_EVT_GTTX_RST </td><td class="fielddoc">
|
|
<p>Log event GT TX reset. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862a0dbd82fde8ad7b4a702af465767dfd85"></a>XVPHY_LOG_EVT_VID_TX_RST </td><td class="fielddoc">
|
|
<p>Log event Vid TX reset. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862a786c25e8dc1c0f36bd6d2c242f306691"></a>XVPHY_LOG_EVT_VID_RX_RST </td><td class="fielddoc">
|
|
<p>Log event Vid RX reset. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862a21a930543611410db05e0f831c77e762"></a>XVPHY_LOG_EVT_TX_ALIGN </td><td class="fielddoc">
|
|
<p>Log event TX align. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862aeb3c3b3bf2de063bb0162202c8e8cf6b"></a>XVPHY_LOG_EVT_TX_TMR </td><td class="fielddoc">
|
|
<p>Log event TX timer. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862ae0779929475e9bb2dfbcfd5c53ea66cc"></a>XVPHY_LOG_EVT_RX_TMR </td><td class="fielddoc">
|
|
<p>Log event RX timer. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862a831f281a8a83b29f3968f5147ba32b9b"></a>XVPHY_LOG_EVT_GT_RECONFIG </td><td class="fielddoc">
|
|
<p>Log event GT reconfig. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862a13b0c0b1dd1f7290d956d5cecd143739"></a>XVPHY_LOG_EVT_INIT </td><td class="fielddoc">
|
|
<p>Log event init. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862a25461b0cd5a3472dbf51c7f5b36a6ce5"></a>XVPHY_LOG_EVT_TXPLL_RECONFIG </td><td class="fielddoc">
|
|
<p>Log event TXPLL reconfig. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862a8df4eb8446367b5935d94c4227104a7b"></a>XVPHY_LOG_EVT_RXPLL_RECONFIG </td><td class="fielddoc">
|
|
<p>Log event RXPLL reconfig. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862add3e48488fcf773e705e1c7894beda2f"></a>XVPHY_LOG_EVT_RXPLL_LOCK </td><td class="fielddoc">
|
|
<p>Log event RXPLL lock. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862a5910bbca483ec81392f2928c939c9e15"></a>XVPHY_LOG_EVT_TXPLL_LOCK </td><td class="fielddoc">
|
|
<p>Log event TXPLL lock. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862af8505ec0772c740b7599288b11df4ea3"></a>XVPHY_LOG_EVT_TX_RST_DONE </td><td class="fielddoc">
|
|
<p>Log event TX reset done. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862a0bd9e2fae5b58aa42fb8353be178c61d"></a>XVPHY_LOG_EVT_RX_RST_DONE </td><td class="fielddoc">
|
|
<p>Log event RX reset done. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862a940b4c923e81d75524b13c19dd715bd8"></a>XVPHY_LOG_EVT_TX_FREQ </td><td class="fielddoc">
|
|
<p>Log event TX frequency. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a850b903da34740657782f29d2f142862a06ad213c17cc6af8d42c08ad5bb679dc"></a>XVPHY_LOG_EVT_RX_FREQ </td><td class="fielddoc">
|
|
<p>Log event RX frequency. </p>
|
|
</td></tr>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae82c27883add3fd1d30d4e0a8d5ee869"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="xvphy_8h.html#ae82c27883add3fd1d30d4e0a8d5ee869">XVphy_OutClkSelType</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This typedef enumerates the available clocks that are used as multiplexer input selections for the RX/TX output clock. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="abaf929d37e9f193c5577e3a08b50c950"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="xvphy_8h.html#abaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This typedef enumerates the available reference clocks for the PLL clock selection multiplexer. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="abd3d50bbadd64dbfb763e97759a02624"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="xvphy_8h.html#abd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This typedef enumerates the different PLL types for a given GT channel. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1018e4be67be76fe085dc41338285bd2"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="xvphy_8h.html#a1018e4be67be76fe085dc41338285bd2">XVphy_ProtocolType</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This typedef enumerates the various protocols handled by the Video PHY controller (VPHY). </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a91d7e180fc85dbee0c2daeb6014597c0"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="xvphy_8h.html#a91d7e180fc85dbee0c2daeb6014597c0">XVphy_SysClkDataSelType</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This typedef enumerates the available reference clocks used to drive the RX/TX datapaths. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1ff2690f40dd23e3fb4ba55d99a6c45f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="xvphy_8h.html#a1ff2690f40dd23e3fb4ba55d99a6c45f">XVphy_SysClkOutSelType</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This typedef enumerates the available reference clocks used to drive the RX/TX output clocks. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a class="anchor" id="ae544dc0c99277e35af7ed7301741b2f0"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void XVphy_BufgGtReset </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVphy_DirectionType </td>
|
|
<td class="paramname"><em>Dir</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>Reset</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function resets the BUFG_GT peripheral. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for TX or RX </td></tr>
|
|
<tr><td class="paramname">Reset</td><td>specifies TRUE/FALSE value to either assert or deassert reset on the BUFG_GT, respectively.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab55e996530660070928db7d1e495d3b4"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void XVphy_CfgInitialize </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy___config.html">XVphy_Config</a> * </td>
|
|
<td class="paramname"><em>ConfigPtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u32 </td>
|
|
<td class="paramname"><em>EffectiveAddr</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function retrieves the configuration for this Video PHY instance and fills in the InstancePtr->Config structure. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> instance. </td></tr>
|
|
<tr><td class="paramname">ConfigPtr</td><td>is a pointer to the configuration structure that will be used to copy the settings from. </td></tr>
|
|
<tr><td class="paramname">EffectiveAddr</td><td>is the device base address in the virtual memory space. If the address translation is not used, then the physical address is passed.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>Unexpected errors may occur if the address mapping is changed after this function is invoked. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="struct_x_vphy___config.html#ae27a9635e2070126c83f132e3c885dd9">XVphy_Config::DruRefClkSel</a>, <a class="el" href="struct_x_vphy.html#a350b0f93bf83f2b3178e46e11936aa7f">XVphy::IsReady</a>, <a class="el" href="struct_x_vphy___config.html#ae9a8b806d7a523628ca8b375836b1d73">XVphy_Config::RxRefClkSel</a>, <a class="el" href="struct_x_vphy___config.html#a2b4d48a3996cdf9255626e1ecb5adc5e">XVphy_Config::RxSysPllClkSel</a>, <a class="el" href="struct_x_vphy___config.html#a051aa77b41a00fb1fa60db838fb388e2">XVphy_Config::TxRefClkSel</a>, <a class="el" href="struct_x_vphy___config.html#a0a90870fb48e6531605c476589478da5">XVphy_Config::TxSysPllClkSel</a>, and <a class="el" href="struct_x_vphy___config.html#a9bdda7f6198220dbf4e388402d94b93a">XVphy_Config::XcvrType</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__dp_8c.html#a2cd0f5a7bf8d8fb14c73dff670c3c998">XVphy_DpInitialize()</a>, and <a class="el" href="xvphy__hdmi_8c.html#acd09bca6664c614b29cf051367729ea3">XVphy_HdmiInitialize()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad5d2ef80f68b92db024b3e690d0c410e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 XVphy_CfgLineRate </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u64 </td>
|
|
<td class="paramname"><em>LineRateHz</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Configure the channel's line rate. </p>
|
|
<p>This is a software only configuration and this value is used in the PLL calculator.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID to operate on. </td></tr>
|
|
<tr><td class="paramname">LineRate</td><td>is the line rate to configure software.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><ul>
|
|
<li>XST_SUCCESS if the reference clock type is valid.</li>
|
|
<li>XST_FAILURE otherwise.</li>
|
|
</ul>
|
|
</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___channel.html#a3fd1bb0f1355b276eb5ebad802dc0d3c">XVphy_Channel::LineRateHz</a>, <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>, and <a class="el" href="xvphy_8c.html#a2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__hdmi_8h.html#ab0c73c2bc8e97b64dd7509cd3db6b39c">XVphy_HdmiCpllParam()</a>, and <a class="el" href="xvphy__hdmi_8h.html#ae51de602190f2058b30e0801deb13fa9">XVphy_HdmiQpllParam()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a76c375e68d3d82cba1c7d8a53c961eb7"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void XVphy_CfgPllRefClkSel </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#abaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a> </td>
|
|
<td class="paramname"><em>RefClkSel</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Configure the PLL reference clock selection for the specified channel(s). </p>
|
|
<p>This is applied to both direction to the software configuration only.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID to operate on. </td></tr>
|
|
<tr><td class="paramname">SysClkDataSel</td><td>is the reference clock selection to configure.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>, and <a class="el" href="xvphy_8c.html#a2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__hdmi__intr_8c.html#ac6db7053df3c70a865717c47ba18eea3">XVphy_HdmiRxTimerTimeoutHandler()</a>, and <a class="el" href="xvphy_8h.html#a3d345eb8a8206448501f6d9dcc53b92e">XVphy_PllInitialize()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6a2581f0747aefb63cf91a136a03852c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 XVphy_CfgQuadRefClkFreq </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#abaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a> </td>
|
|
<td class="paramname"><em>RefClkType</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u32 </td>
|
|
<td class="paramname"><em>FreqHz</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Configure the quad's reference clock frequency. </p>
|
|
<p>This is a software only configuration and this value is used in the PLL calculator.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">RefClkType</td><td>is the reference clock type to operate on. </td></tr>
|
|
<tr><td class="paramname">FreqHz</td><td>is the reference clock frequency to configure software.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><ul>
|
|
<li>XST_SUCCESS if the reference clock type is valid.</li>
|
|
<li>XST_FAILURE otherwise.</li>
|
|
</ul>
|
|
</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__dp_8c.html#a2cd0f5a7bf8d8fb14c73dff670c3c998">XVphy_DpInitialize()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3e41b30a437f2c8d8722c780b9cbc798"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void XVphy_CfgSysClkDataSel </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVphy_DirectionType </td>
|
|
<td class="paramname"><em>Dir</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a91d7e180fc85dbee0c2daeb6014597c0">XVphy_SysClkDataSelType</a> </td>
|
|
<td class="paramname"><em>SysClkDataSel</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Configure the SYSCLKDATA reference clock selection for the direction. </p>
|
|
<p>Same configuration applies to all channels in the quad. This is applied to the software configuration only.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
|
|
<tr><td class="paramname">SysClkDataSel</td><td>is the reference clock selection to configure.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>, and <a class="el" href="xvphy_8c.html#a2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__hdmi_8h.html#ae51de602190f2058b30e0801deb13fa9">XVphy_HdmiQpllParam()</a>, and <a class="el" href="xvphy_8h.html#a3d345eb8a8206448501f6d9dcc53b92e">XVphy_PllInitialize()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3221e83cfbd76a7616329bdff01d517b"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void XVphy_CfgSysClkOutSel </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVphy_DirectionType </td>
|
|
<td class="paramname"><em>Dir</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a1ff2690f40dd23e3fb4ba55d99a6c45f">XVphy_SysClkOutSelType</a> </td>
|
|
<td class="paramname"><em>SysClkOutSel</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Configure the SYSCLKOUT reference clock selection for the direction. </p>
|
|
<p>Same configuration applies to all channels in the quad. This is applied to the software configuration only.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
|
|
<tr><td class="paramname">SysClkOutSel</td><td>is the reference clock selection to configure.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>, and <a class="el" href="xvphy_8c.html#a2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__hdmi_8h.html#ae51de602190f2058b30e0801deb13fa9">XVphy_HdmiQpllParam()</a>, and <a class="el" href="xvphy_8h.html#a3d345eb8a8206448501f6d9dcc53b92e">XVphy_PllInitialize()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a918c7447d08e6af827ab03493348b706"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 XVphy_ClkCalcParams </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVphy_DirectionType </td>
|
|
<td class="paramname"><em>Dir</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u32 </td>
|
|
<td class="paramname"><em>PllClkInFreqHz</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will try to find the necessary PLL divisor values to produce the configured line rate given the specified PLL input frequency. </p>
|
|
<p>This will be done for all channels specified by ChId. This function is a wrapper for XVphy_PllCalculator.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to calculate the PLL values for. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID to calculate the PLL values for. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
|
|
<tr><td class="paramname">PllClkInFreqHz</td><td>is the PLL input frequency on which to base the calculations on. A value of 0 indicates to use the currently configured quad PLL reference clock. A non-zero value indicates to ignore what is currently configured in SW, and use a custom frequency instead.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><ul>
|
|
<li>XST_SUCCESS if valid PLL values were found to satisfy the constraints.</li>
|
|
<li>XST_FAILURE otherwise.</li>
|
|
</ul>
|
|
</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>If successful, the channel's PllParams structure will be modified with the valid PLL parameters. </dd></dl>
|
|
|
|
<p>References <a class="el" href="xvphy_8c.html#a2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy_8h.html#a1f407aa558cd06877262f4258699fd7b">XVphy_ClkInitialize()</a>, <a class="el" href="xvphy__hdmi_8h.html#ab0c73c2bc8e97b64dd7509cd3db6b39c">XVphy_HdmiCpllParam()</a>, and <a class="el" href="xvphy__hdmi_8h.html#ae51de602190f2058b30e0801deb13fa9">XVphy_HdmiQpllParam()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="acf7ae04f5605eac1c87ffef842b619f7"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void XVphy_ClkDetFreqReset </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVphy_DirectionType </td>
|
|
<td class="paramname"><em>Dir</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function resets clock detector TX/RX frequency. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for RX or TX.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab0467bf2748fc0bed3b343a469ace134"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 XVphy_ClkDetGetRefClkFreqHz </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVphy_DirectionType </td>
|
|
<td class="paramname"><em>Dir</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function returns the frequency of the RX/TX reference clock as measured by the clock detector peripheral. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for RX or TX.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The measured frequency of the RX/TX reference clock.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, and <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__hdmi_8h.html#ad88e970b83779757b2cf739b3aaeb9a9">XVphy_DruCalcCenterFreqHz()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#a13246516a638f38a679c7fedb702ef64">XVphy_HdmiRxClkDetFreqChangeHandler()</a>, and <a class="el" href="xvphy__hdmi__intr_8c.html#ac4c46549ed36e875129093896382a039">XVphy_HdmiTxClkDetFreqChangeHandler()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1f407aa558cd06877262f4258699fd7b"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 XVphy_ClkInitialize </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVphy_DirectionType </td>
|
|
<td class="paramname"><em>Dir</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will initialize the clocking for a given channel. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID to operate on. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for TX or RX.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><ul>
|
|
<li>XST_SUCCESS if the configuration was successful.</li>
|
|
<li>XST_FAILURE otherwise.</li>
|
|
</ul>
|
|
</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="xvphy_8c.html#a918c7447d08e6af827ab03493348b706">XVphy_ClkCalcParams()</a>, <a class="el" href="xvphy_8c.html#ae2450ff392b3bdafa0b65b549af231a1">XVphy_ClkReconfig()</a>, <a class="el" href="xvphy_8c.html#a609475eec7171bd779b972e31496c717">XVphy_DirReconfig()</a>, and <a class="el" href="xvphy_8c.html#acb53c60099495db88a9931980e278bc6">XVphy_OutDivReconfig()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab5c0be51d9acd79559d092d16e7d1fe8"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void XVphy_Clkout1OBufTdsEnable </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVphy_DirectionType </td>
|
|
<td class="paramname"><em>Dir</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>Enable</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function enables the TX or RX CLKOUT1 OBUFTDS peripheral. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
|
|
<tr><td class="paramname">Enable</td><td>specifies TRUE/FALSE value to either enable or disable the OBUFTDS, respectively.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae2450ff392b3bdafa0b65b549af231a1"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 XVphy_ClkReconfig </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will set the current clocking settings for each channel to hardware based on the configuration stored in the driver's instance. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID for which to write the settings for.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><ul>
|
|
<li>XST_SUCCESS if the configuration was successful.</li>
|
|
<li>XST_FAILURE otherwise.</li>
|
|
</ul>
|
|
</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="xvphy_8c.html#a2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy_8h.html#a1f407aa558cd06877262f4258699fd7b">XVphy_ClkInitialize()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#ac6db7053df3c70a865717c47ba18eea3">XVphy_HdmiRxTimerTimeoutHandler()</a>, and <a class="el" href="xvphy__hdmi__intr_8c.html#aa0d8603249cf47b026958d23acc5ed7e">XVphy_HdmiTxTimerTimeoutHandler()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a609475eec7171bd779b972e31496c717"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 XVphy_DirReconfig </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVphy_DirectionType </td>
|
|
<td class="paramname"><em>Dir</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will set the current RX/TX configuration over DRP. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID for which to write the settings for. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for RX or TX.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><ul>
|
|
<li>XST_SUCCESS if the configuration was successful.</li>
|
|
<li>XST_FAILURE otherwise.</li>
|
|
</ul>
|
|
</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="struct_x_vphy___config.html#a9bdda7f6198220dbf4e388402d94b93a">XVphy_Config::XcvrType</a>, <a class="el" href="xvphy_8c.html#a2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a831f281a8a83b29f3968f5147ba32b9b">XVPHY_LOG_EVT_GT_RECONFIG</a>, and <a class="el" href="xvphy_8h.html#a9a04f2b6dd2fd863b0c282a1d7a5c378">XVphy_LogWrite()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy_8h.html#a1f407aa558cd06877262f4258699fd7b">XVphy_ClkInitialize()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#ac6db7053df3c70a865717c47ba18eea3">XVphy_HdmiRxTimerTimeoutHandler()</a>, and <a class="el" href="xvphy__hdmi__intr_8c.html#aa0d8603249cf47b026958d23acc5ed7e">XVphy_HdmiTxTimerTimeoutHandler()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1467ac8d01eee6591cee4c820d55c093"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void XVphy_DpDebugInfo </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function prints Vphy debug information on STDIO/Uart console. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the Vphy core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID to operate on.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>, <a class="el" href="struct_x_vphy___channel.html#ada3cc8b765b058c1ba28cc333f88929b">XVphy_Channel::RxDataRefClkSel</a>, <a class="el" href="struct_x_vphy___channel.html#ade5f05b304aa05b950d87d47f80e4415">XVphy_Channel::RxOutDiv</a>, <a class="el" href="struct_x_vphy___channel.html#a53154b4333f2b5e8d59da3247d951725">XVphy_Channel::TxDataRefClkSel</a>, <a class="el" href="struct_x_vphy___channel.html#aaafc665df3c92c64dde9bdb9b3ea9755">XVphy_Channel::TxOutDiv</a>, <a class="el" href="xvphy_8h.html#a11be9fb60860466de1747a062ac1a919a230046f4a0b3321064c133ead87ce2ea">XVPHY_GT_STATE_ALIGN</a>, <a class="el" href="xvphy_8h.html#a11be9fb60860466de1747a062ac1a919a8af6950c69438f65bef20ec1ec395c5d">XVPHY_GT_STATE_IDLE</a>, <a class="el" href="xvphy_8h.html#a11be9fb60860466de1747a062ac1a919abd3df6a0b11e0c4dd9250f995cf528d2">XVPHY_GT_STATE_LOCK</a>, <a class="el" href="xvphy_8h.html#a11be9fb60860466de1747a062ac1a919a5011c615c5b46d321d92c7cd16870138">XVPHY_GT_STATE_READY</a>, and <a class="el" href="xvphy_8h.html#a11be9fb60860466de1747a062ac1a919aca296f5c524808bcb196136845316aec">XVPHY_GT_STATE_RESET</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2cd0f5a7bf8d8fb14c73dff670c3c998"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 XVphy_DpInitialize </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy___config.html">XVphy_Config</a> * </td>
|
|
<td class="paramname"><em>CfgPtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#abaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a> </td>
|
|
<td class="paramname"><em>CpllRefClkSel</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#abaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a> </td>
|
|
<td class="paramname"><em>QpllRefClkSel</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#abd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a> </td>
|
|
<td class="paramname"><em>TxPllSelect</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#abd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a> </td>
|
|
<td class="paramname"><em>RxPllSelect</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>LinkRate</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function initializes the Video PHY for DisplayPort. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> instance. </td></tr>
|
|
<tr><td class="paramname">CfgPtr</td><td>is a pointer to the configuration structure that will be used to copy the settings from. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">CpllRefClkSel</td><td>is the CPLL reference clock selection for the quad. </td></tr>
|
|
<tr><td class="paramname">QpllRefClkSel</td><td>is the QPLL reference clock selection for the quad. </td></tr>
|
|
<tr><td class="paramname">TxPllSelect</td><td>is the reference clock selection for the quad's TX PLL dividers. </td></tr>
|
|
<tr><td class="paramname">RxPllSelect</td><td>is the reference clock selection for the quad's RX PLL dividers. </td></tr>
|
|
<tr><td class="paramname">LinkRate</td><td>is the line rate to set for the quad's channels.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><ul>
|
|
<li>XST_SUCCESS.</li>
|
|
</ul>
|
|
</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="struct_x_vphy.html#a350b0f93bf83f2b3178e46e11936aa7f">XVphy::IsReady</a>, <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>, <a class="el" href="struct_x_vphy___channel.html#a5b7f879a1a528acb5a521d5a507eb6e6">XVphy_Channel::RxState</a>, <a class="el" href="struct_x_vphy___channel.html#a2af222f1d1a58d408cb49b133b91126e">XVphy_Channel::TxState</a>, <a class="el" href="struct_x_vphy___config.html#a9bdda7f6198220dbf4e388402d94b93a">XVphy_Config::XcvrType</a>, <a class="el" href="xvphy_8c.html#ab55e996530660070928db7d1e495d3b4">XVphy_CfgInitialize()</a>, <a class="el" href="xvphy_8c.html#a6a2581f0747aefb63cf91a136a03852c">XVphy_CfgQuadRefClkFreq()</a>, <a class="el" href="xvphy_8h.html#a11be9fb60860466de1747a062ac1a919a8af6950c69438f65bef20ec1ec395c5d">XVPHY_GT_STATE_IDLE</a>, <a class="el" href="xvphy_8h.html#a854725cac309c3302a25dbc29927c9f8">XVphy_IntrDisable()</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a13b0c0b1dd1f7290d956d5cecd143739">XVPHY_LOG_EVT_INIT</a>, <a class="el" href="xvphy_8h.html#aeab6f13c2dd0b30889e09de7ff2759df">XVphy_LogReset()</a>, <a class="el" href="xvphy_8h.html#a9a04f2b6dd2fd863b0c282a1d7a5c378">XVphy_LogWrite()</a>, <a class="el" href="xvphy_8c.html#a01775c74632e81c26fb4b2dd8fa3e3ac">XVphy_PllInitialize()</a>, <a class="el" href="xvphy_8c.html#a03e3adda3a9a41ade009735ab5849b8f">XVphy_Set8b10b()</a>, <a class="el" href="xvphy_8c.html#ab4dbca672563dce677d06d7bbbbe23d9">XVphy_SetRxLpm()</a>, <a class="el" href="xvphy_8c.html#a4071a10340c3cda8cfb3aa3bfb4483e9">XVphy_SetTxPreEmphasis()</a>, and <a class="el" href="xvphy_8c.html#a7526bb0de496313d804798dcc1df8cc8">XVphy_SetTxVoltageSwing()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af2ae1cb78ebf784d843ec371e68f2d96"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u16 XVphy_DrpRead </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u16 </td>
|
|
<td class="paramname"><em>Addr</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will initiate a read DRP transaction. </p>
|
|
<p>It is a wrapper around XVphy_DrpAccess.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID on which to direct the DRP access. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for write (TX) or read (RX). </td></tr>
|
|
<tr><td class="paramname">Addr</td><td>is the DRP address to issue the DRP access to.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><ul>
|
|
<li>XST_SUCCESS if the DRP access was successful.</li>
|
|
<li>XST_FAILURE otherwise, if the busy bit did not go low, or if the ready bit did not go high.</li>
|
|
</ul>
|
|
</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__gthe2_8c.html#a584e49287988a6fa06f138317a68dcdc">XVphy_Gthe2ClkChReconfig()</a>, <a class="el" href="xvphy__gthe2_8c.html#a164ad4bd801d76142f7bf761fbdd1f20">XVphy_Gthe2ClkCmnReconfig()</a>, <a class="el" href="xvphy__gthe2_8c.html#a53d5393144e98803b750f47cd20739e4">XVphy_Gthe2OutDivChReconfig()</a>, <a class="el" href="xvphy__gthe3_8c.html#a884828005ce844c9ac0f37f953b52214">XVphy_Gthe3ClkChReconfig()</a>, <a class="el" href="xvphy__gthe3_8c.html#a71714ccf6bab84d8bdc19c57954b15cc">XVphy_Gthe3ClkCmnReconfig()</a>, <a class="el" href="xvphy__gthe3_8c.html#a0fefd23d4087f3ef2eff5ee3d85b8ee5">XVphy_Gthe3OutDivChReconfig()</a>, <a class="el" href="xvphy__gthe3_8c.html#ac3bf439d3845203fb9a60463df024eb3">XVphy_Gthe3RxChReconfig()</a>, <a class="el" href="xvphy__gthe3_8c.html#aff5b683f8b7553e0347c6968ff7aa278">XVphy_Gthe3TxPllRefClkDiv1Reconfig()</a>, <a class="el" href="xvphy__gtxe2_8c.html#a1157ae39c9924f78f94489e5b826148d">XVphy_Gtxe2ClkChReconfig()</a>, <a class="el" href="xvphy__gtxe2_8c.html#aa467bd90582d40f30b54b4adbe42bbf3">XVphy_Gtxe2ClkCmnReconfig()</a>, <a class="el" href="xvphy__gtxe2_8c.html#a2211a7d5ab587df01c0b7e57731b3bdd">XVphy_Gtxe2OutDivChReconfig()</a>, <a class="el" href="xvphy__gtxe2_8c.html#aa997ee9d6b7c6f152bb616ac2ab52389">XVphy_Gtxe2RxChReconfig()</a>, and <a class="el" href="xvphy__gtxe2_8c.html#ad165ed4254f8c24acb1dbdd523f975e6">XVphy_Gtxe2TxPllRefClkDiv1Reconfig()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a139392a254c9872829ff70e712ba807b"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 XVphy_DrpWrite </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u16 </td>
|
|
<td class="paramname"><em>Addr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u16 </td>
|
|
<td class="paramname"><em>Val</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will initiate a write DRP transaction. </p>
|
|
<p>It is a wrapper around XVphy_DrpAccess.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID on which to direct the DRP access. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for write (TX) or read (RX). </td></tr>
|
|
<tr><td class="paramname">Addr</td><td>is the DRP address to issue the DRP access to. </td></tr>
|
|
<tr><td class="paramname">Val</td><td>is the value to write to the DRP address.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><ul>
|
|
<li>XST_SUCCESS if the DRP access was successful.</li>
|
|
<li>XST_FAILURE otherwise, if the busy bit did not go low, or if the ready bit did not go high.</li>
|
|
</ul>
|
|
</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__gthe2_8c.html#a584e49287988a6fa06f138317a68dcdc">XVphy_Gthe2ClkChReconfig()</a>, <a class="el" href="xvphy__gthe2_8c.html#a164ad4bd801d76142f7bf761fbdd1f20">XVphy_Gthe2ClkCmnReconfig()</a>, <a class="el" href="xvphy__gthe2_8c.html#a53d5393144e98803b750f47cd20739e4">XVphy_Gthe2OutDivChReconfig()</a>, <a class="el" href="xvphy__gthe2_8c.html#a1ab10b64efbfce9b4062709478cee253">XVphy_Gthe2RxChReconfig()</a>, <a class="el" href="xvphy__gthe3_8c.html#a884828005ce844c9ac0f37f953b52214">XVphy_Gthe3ClkChReconfig()</a>, <a class="el" href="xvphy__gthe3_8c.html#a71714ccf6bab84d8bdc19c57954b15cc">XVphy_Gthe3ClkCmnReconfig()</a>, <a class="el" href="xvphy__gthe3_8c.html#a0fefd23d4087f3ef2eff5ee3d85b8ee5">XVphy_Gthe3OutDivChReconfig()</a>, <a class="el" href="xvphy__gthe3_8c.html#ac3bf439d3845203fb9a60463df024eb3">XVphy_Gthe3RxChReconfig()</a>, <a class="el" href="xvphy__gthe3_8c.html#aff5b683f8b7553e0347c6968ff7aa278">XVphy_Gthe3TxPllRefClkDiv1Reconfig()</a>, <a class="el" href="xvphy__gtxe2_8c.html#a1157ae39c9924f78f94489e5b826148d">XVphy_Gtxe2ClkChReconfig()</a>, <a class="el" href="xvphy__gtxe2_8c.html#aa467bd90582d40f30b54b4adbe42bbf3">XVphy_Gtxe2ClkCmnReconfig()</a>, <a class="el" href="xvphy__gtxe2_8c.html#a2211a7d5ab587df01c0b7e57731b3bdd">XVphy_Gtxe2OutDivChReconfig()</a>, <a class="el" href="xvphy__gtxe2_8c.html#aa997ee9d6b7c6f152bb616ac2ab52389">XVphy_Gtxe2RxChReconfig()</a>, and <a class="el" href="xvphy__gtxe2_8c.html#ad165ed4254f8c24acb1dbdd523f975e6">XVphy_Gtxe2TxPllRefClkDiv1Reconfig()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1560403a2fbe4ad437d011c276e25880"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 XVphy_DruGetRefClkFreqHz </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function returns the frequency of the DRU reference clock as measured by the clock detector peripheral. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The measured frequency of the DRU reference clock.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>The design must have a DRU for this function to return a valid value. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, and <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__hdmi_8h.html#ad88e970b83779757b2cf739b3aaeb9a9">XVphy_DruCalcCenterFreqHz()</a>, <a class="el" href="xvphy__hdmi_8h.html#ab0c73c2bc8e97b64dd7509cd3db6b39c">XVphy_HdmiCpllParam()</a>, and <a class="el" href="xvphy__hdmi_8h.html#ae51de602190f2058b30e0801deb13fa9">XVphy_HdmiQpllParam()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af5215e0e59c2dd0f2ee47b176cd9e47e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="xvphy_8h.html#abaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a> XVphy_GetPllRefClkSel </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Obtain the current PLL reference clock selection. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID which to operate on.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The current PLL reference clock selection.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>, and <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="acc589d8dad782b38e7da73526c30207b"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="xvphy_8h.html#abd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a> XVphy_GetPllType </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVphy_DirectionType </td>
|
|
<td class="paramname"><em>Dir</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Obtain the channel's PLL reference clock selection. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID which to operate on.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The PLL type being used by the channel.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="xvphy_8c.html#a8e1cf75cf2ecce4902aeb0faca3d0c7c">XVphy_GetSysClkDataSel()</a>, and <a class="el" href="xvphy_8c.html#afa18f0da25042d12e577a5e16d950476">XVphy_GetSysClkOutSel()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__hdmi__intr_8c.html#af3406907d051c798f74f8bb569c4261c">XVphy_HdmiCpllLockHandler()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#a8bd66d9c2cc594b160462de216f92aac">XVphy_HdmiQpllLockHandler()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#a13246516a638f38a679c7fedb702ef64">XVphy_HdmiRxClkDetFreqChangeHandler()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#ac6db7053df3c70a865717c47ba18eea3">XVphy_HdmiRxTimerTimeoutHandler()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#ac4c46549ed36e875129093896382a039">XVphy_HdmiTxClkDetFreqChangeHandler()</a>, and <a class="el" href="xvphy__hdmi__intr_8c.html#aa0d8603249cf47b026958d23acc5ed7e">XVphy_HdmiTxTimerTimeoutHandler()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6e276d9949bad733adaf9cacb6e2d554"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 XVphy_GetQuadRefClkFreq </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#abaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a> </td>
|
|
<td class="paramname"><em>RefClkType</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Obtain the current reference clock frequency for the quad based on the reference clock type. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">RefClkType</td><td>is the type to obtain the clock selection for.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The current reference clock frequency for the quad for the specified type selection.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__gthe2_8c.html#ab6312a563d776bff4bb8e832509ab3a1">XVphy_Gthe2CfgSetCdr()</a>, and <a class="el" href="xvphy__gthe3_8c.html#a75a9c18216055207d1cf78fc0d5b6eee">XVphy_Gthe3CfgSetCdr()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8e1cf75cf2ecce4902aeb0faca3d0c7c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="xvphy_8h.html#a91d7e180fc85dbee0c2daeb6014597c0">XVphy_SysClkDataSelType</a> XVphy_GetSysClkDataSel </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVphy_DirectionType </td>
|
|
<td class="paramname"><em>Dir</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Obtain the current [RT]XSYSCLKSEL[0] configuration. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID which to operate on.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The current [RT]XSYSCLKSEL[0] selection.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>, <a class="el" href="struct_x_vphy___config.html#a9bdda7f6198220dbf4e388402d94b93a">XVphy_Config::XcvrType</a>, and <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy_8h.html#acc589d8dad782b38e7da73526c30207b">XVphy_GetPllType()</a>, <a class="el" href="xvphy_8h.html#a7ac1ec33cd234c67df30471d148e77be">XVphy_IsBonded()</a>, and <a class="el" href="xvphy_8h.html#a56d656c3ed99190149bf9b548ae7a62d">XVphy_ResetGt()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="afa18f0da25042d12e577a5e16d950476"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="xvphy_8h.html#a1ff2690f40dd23e3fb4ba55d99a6c45f">XVphy_SysClkOutSelType</a> XVphy_GetSysClkOutSel </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVphy_DirectionType </td>
|
|
<td class="paramname"><em>Dir</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Obtain the current [RT]XSYSCLKSEL[1] configuration. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID which to operate on.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The current [RT]XSYSCLKSEL[1] selection.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>, <a class="el" href="struct_x_vphy___config.html#a9bdda7f6198220dbf4e388402d94b93a">XVphy_Config::XcvrType</a>, and <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy_8h.html#acc589d8dad782b38e7da73526c30207b">XVphy_GetPllType()</a>, <a class="el" href="xvphy_8h.html#a7ac1ec33cd234c67df30471d148e77be">XVphy_IsBonded()</a>, and <a class="el" href="xvphy_8h.html#a56d656c3ed99190149bf9b548ae7a62d">XVphy_ResetGt()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa4cef4dea102e0cbb7671d8113f9d52e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 XVphy_GetVersion </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will obtian the IP version. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The IP version of the Video PHY core.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, and <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae11d25f939879208256c3e8155f9873c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 XVphy_GtUserRdyEnable </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVphy_DirectionType </td>
|
|
<td class="paramname"><em>Dir</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>Hold</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will reset and enable the Video PHY's user core logic. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID which to operate on. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
|
|
<tr><td class="paramname">Hold</td><td>is an indicator whether to "hold" the reset if set to 1. If set to 0: reset, then enable.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><ul>
|
|
<li>XST_SUCCESS.</li>
|
|
</ul>
|
|
</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__hdmi__intr_8c.html#ac4c46549ed36e875129093896382a039">XVphy_HdmiTxClkDetFreqChangeHandler()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9bda272cbcfb83ee43e762b09e613390"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 XVphy_HdmiCfgCalcMmcmParam </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVphy_DirectionType </td>
|
|
<td class="paramname"><em>Dir</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVidC_PixelsPerClock </td>
|
|
<td class="paramname"><em>Ppc</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVidC_ColorDepth </td>
|
|
<td class="paramname"><em>Bpc</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function calculates the HDMI MMCM parameters. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the Vphy core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID to operate on. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for RX or TX. </td></tr>
|
|
<tr><td class="paramname">Ppc</td><td>specifies the total number of pixels per clock.<ul>
|
|
<li>1 = XVIDC_PPC_1</li>
|
|
<li>2 = XVIDC_PPC_2</li>
|
|
<li>4 = XVIDC_PPC_4 </li>
|
|
</ul>
|
|
</td></tr>
|
|
<tr><td class="paramname">Bpc</td><td>specifies the color depth/bits per color component.<ul>
|
|
<li>6 = XVIDC_BPC_6</li>
|
|
<li>8 = XVIDC_BPC_8</li>
|
|
<li>10 = XVIDC_BPC_10</li>
|
|
<li>12 = XVIDC_BPC_12</li>
|
|
<li>16 = XVIDC_BPC_16</li>
|
|
</ul>
|
|
</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><ul>
|
|
<li>XST_SUCCESS if calculated PLL parameters updated successfully.</li>
|
|
<li>XST_FAILURE if parameters not updated.</li>
|
|
</ul>
|
|
</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy.html#a77176131b002d4f0d72af27d855c0316">XVphy::HdmiRxRefClkHz</a>, <a class="el" href="struct_x_vphy.html#ae7cb0a20032e600f96b73666904caf2c">XVphy::HdmiRxTmdsClockRatio</a>, <a class="el" href="struct_x_vphy.html#a0155c11fa9df81437618a87b5a3a3058">XVphy::HdmiTxRefClkHz</a>, <a class="el" href="struct_x_vphy.html#ab1e398020d830a916e367c4c02895615">XVphy::HdmiTxSampleRate</a>, <a class="el" href="struct_x_vphy___channel.html#a3fd1bb0f1355b276eb5ebad802dc0d3c">XVphy_Channel::LineRateHz</a>, <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>, <a class="el" href="struct_x_vphy___quad.html#aba9025718fdb58c5c69b2126615c2a0e">XVphy_Quad::RxMmcm</a>, and <a class="el" href="struct_x_vphy___quad.html#a51c76099339b68ee9e9576fd001b82ad">XVphy_Quad::TxMmcm</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__hdmi_8c.html#afe03e6d04132bfe780efa1a2708ded64">XVphy_SetHdmiTxParam()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac33c4acc75ec57ab3d51e0f1391f1baf"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void XVphy_HdmiDebugInfo </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function prints Video PHY debug information related to HDMI. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the Vphy core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID to operate on.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="struct_x_vphy___config.html#af548321a00c7220627ee6a34d930f103">XVphy_Config::DruIsPresent</a>, <a class="el" href="struct_x_vphy.html#acc8c8add92ab924f374bab01a466f7ee">XVphy::HdmiRxDruIsEnabled</a>, <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>, <a class="el" href="struct_x_vphy___channel.html#ada3cc8b765b058c1ba28cc333f88929b">XVphy_Channel::RxDataRefClkSel</a>, <a class="el" href="struct_x_vphy___quad.html#aba9025718fdb58c5c69b2126615c2a0e">XVphy_Quad::RxMmcm</a>, <a class="el" href="struct_x_vphy___channel.html#ade5f05b304aa05b950d87d47f80e4415">XVphy_Channel::RxOutDiv</a>, <a class="el" href="struct_x_vphy___channel.html#a53154b4333f2b5e8d59da3247d951725">XVphy_Channel::TxDataRefClkSel</a>, <a class="el" href="struct_x_vphy___quad.html#a51c76099339b68ee9e9576fd001b82ad">XVphy_Quad::TxMmcm</a>, <a class="el" href="struct_x_vphy___channel.html#aaafc665df3c92c64dde9bdb9b3ea9755">XVphy_Channel::TxOutDiv</a>, <a class="el" href="xvphy__hdmi_8c.html#aa6cd483fd9c888c3e5b9f716ccd311c7">XVphy_DruGetVersion()</a>, <a class="el" href="xvphy_8h.html#a11be9fb60860466de1747a062ac1a919a230046f4a0b3321064c133ead87ce2ea">XVPHY_GT_STATE_ALIGN</a>, <a class="el" href="xvphy_8h.html#a11be9fb60860466de1747a062ac1a919a8af6950c69438f65bef20ec1ec395c5d">XVPHY_GT_STATE_IDLE</a>, <a class="el" href="xvphy_8h.html#a11be9fb60860466de1747a062ac1a919abd3df6a0b11e0c4dd9250f995cf528d2">XVPHY_GT_STATE_LOCK</a>, <a class="el" href="xvphy_8h.html#a11be9fb60860466de1747a062ac1a919a5011c615c5b46d321d92c7cd16870138">XVPHY_GT_STATE_READY</a>, <a class="el" href="xvphy_8h.html#a11be9fb60860466de1747a062ac1a919aca296f5c524808bcb196136845316aec">XVPHY_GT_STATE_RESET</a>, and <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="acd09bca6664c614b29cf051367729ea3"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 XVphy_HdmiInitialize </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy___config.html">XVphy_Config</a> * </td>
|
|
<td class="paramname"><em>CfgPtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u32 </td>
|
|
<td class="paramname"><em>SystemFrequency</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function initializes the Video PHY for HDMI. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> instance. </td></tr>
|
|
<tr><td class="paramname">CfgPtr</td><td>is a pointer to the configuration structure that will be used to copy the settings from. </td></tr>
|
|
<tr><td class="paramname">SystemFrequency</td><td>is the system frequency for the HDMI logic to be based on.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="struct_x_vphy___config.html#af548321a00c7220627ee6a34d930f103">XVphy_Config::DruIsPresent</a>, <a class="el" href="struct_x_vphy.html#a350b0f93bf83f2b3178e46e11936aa7f">XVphy::IsReady</a>, <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>, <a class="el" href="struct_x_vphy___channel.html#a5b7f879a1a528acb5a521d5a507eb6e6">XVphy_Channel::RxState</a>, <a class="el" href="struct_x_vphy___channel.html#a2af222f1d1a58d408cb49b133b91126e">XVphy_Channel::TxState</a>, <a class="el" href="struct_x_vphy___config.html#a9bdda7f6198220dbf4e388402d94b93a">XVphy_Config::XcvrType</a>, <a class="el" href="xvphy_8c.html#ab55e996530660070928db7d1e495d3b4">XVphy_CfgInitialize()</a>, <a class="el" href="xvphy__hdmi_8c.html#a2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>, <a class="el" href="xvphy__hdmi_8c.html#a92a46534a86b99ee8952f265ffef6adf">XVphy_ClkDetEnable()</a>, <a class="el" href="xvphy__hdmi_8c.html#a30848af87342051f772a8080f904337a">XVphy_ClkDetSetFreqLockThreshold()</a>, <a class="el" href="xvphy__hdmi_8c.html#a6e295c2b7225212e9f36ce42a6abe468">XVphy_ClkDetSetFreqTimeout()</a>, <a class="el" href="xvphy__hdmi_8c.html#ac049d6360551ee356c21f7f8e3c583ac">XVphy_DruEnable()</a>, <a class="el" href="xvphy__hdmi_8c.html#a6d7adb703bf8d7039bb490890267100f">XVphy_DruReset()</a>, <a class="el" href="xvphy__hdmi_8c.html#ac7aa7ca227f880fe0f77c4cbfe3d4cb9">XVphy_DruSetGain()</a>, <a class="el" href="xvphy_8h.html#a11be9fb60860466de1747a062ac1a919a8af6950c69438f65bef20ec1ec395c5d">XVPHY_GT_STATE_IDLE</a>, <a class="el" href="xvphy__hdmi_8h.html#ae15dd969c04b2c4fc7dd4266959af171">XVphy_HdmiIntrHandlerCallbackInit()</a>, <a class="el" href="xvphy_8c.html#ac5754f49fa0df65d75a6d62f4885b94c">XVphy_IBufDsEnable()</a>, <a class="el" href="xvphy_8h.html#a854725cac309c3302a25dbc29927c9f8">XVphy_IntrDisable()</a>, <a class="el" href="xvphy_8h.html#ab0c6c186dbb5142d23a6a3b76148c37b">XVphy_IntrEnable()</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a13b0c0b1dd1f7290d956d5cecd143739">XVPHY_LOG_EVT_INIT</a>, <a class="el" href="xvphy_8h.html#aeab6f13c2dd0b30889e09de7ff2759df">XVphy_LogReset()</a>, <a class="el" href="xvphy_8h.html#a9a04f2b6dd2fd863b0c282a1d7a5c378">XVphy_LogWrite()</a>, <a class="el" href="xvphy_8c.html#a096dbcd95256264a53fe8af27c8387fb">XVphy_MmcmLockedMaskEnable()</a>, <a class="el" href="xvphy_8c.html#a59516866f229178eca67ede70680a751">XVphy_MmcmPowerDown()</a>, <a class="el" href="xvphy_8c.html#adc182ff22a7ec230dc163f90ec5263a3">XVphy_MmcmReset()</a>, <a class="el" href="xvphy_8c.html#a1b82d1b302268e36126450121d948505">XVphy_PowerDownGtPll()</a>, <a class="el" href="xvphy_8c.html#ad1c3340164a0759e485ba914ef282dc3">XVphy_ResetGtPll()</a>, <a class="el" href="xvphy_8c.html#a3d258176c8a2cc605cdaf8f28a72559d">XVphy_ResetGtTxRx()</a>, <a class="el" href="xvphy_8c.html#a15c1341136ca5bde85ab447ba9e09c56">XVphy_SetBufgGtDiv()</a>, <a class="el" href="xvphy_8c.html#ab4dbca672563dce677d06d7bbbbe23d9">XVphy_SetRxLpm()</a>, <a class="el" href="xvphy_8c.html#a4071a10340c3cda8cfb3aa3bfb4483e9">XVphy_SetTxPreEmphasis()</a>, <a class="el" href="xvphy_8c.html#a7526bb0de496313d804798dcc1df8cc8">XVphy_SetTxVoltageSwing()</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab70418575e7ffd80d353f12e666dd483"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void XVphy_HdmiUpdateClockSelection </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a91d7e180fc85dbee0c2daeb6014597c0">XVphy_SysClkDataSelType</a> </td>
|
|
<td class="paramname"><em>TxSysPllClkSel</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a91d7e180fc85dbee0c2daeb6014597c0">XVphy_SysClkDataSelType</a> </td>
|
|
<td class="paramname"><em>RxSysPllClkSel</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function Updates the VPHY clocking. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">TxSysPllClkSel</td><td>is the SYSCLKDATA selection for TX. </td></tr>
|
|
<tr><td class="paramname">RxSysPllClkSel</td><td>is the SYSCLKDATA selection for RX.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>, <a class="el" href="struct_x_vphy___channel.html#a5b7f879a1a528acb5a521d5a507eb6e6">XVphy_Channel::RxState</a>, <a class="el" href="struct_x_vphy___config.html#a2b4d48a3996cdf9255626e1ecb5adc5e">XVphy_Config::RxSysPllClkSel</a>, <a class="el" href="struct_x_vphy___channel.html#a2af222f1d1a58d408cb49b133b91126e">XVphy_Channel::TxState</a>, <a class="el" href="struct_x_vphy___config.html#a0a90870fb48e6531605c476589478da5">XVphy_Config::TxSysPllClkSel</a>, <a class="el" href="xvphy__hdmi_8c.html#a2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>, <a class="el" href="xvphy_8h.html#a11be9fb60860466de1747a062ac1a919a8af6950c69438f65bef20ec1ec395c5d">XVPHY_GT_STATE_IDLE</a>, and <a class="el" href="xvphy_8c.html#ad1c3340164a0759e485ba914ef282dc3">XVphy_ResetGtPll()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac5754f49fa0df65d75a6d62f4885b94c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void XVphy_IBufDsEnable </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVphy_DirectionType </td>
|
|
<td class="paramname"><em>Dir</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>Enable</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function enables the TX or RX IBUFDS peripheral. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
|
|
<tr><td class="paramname">Enable</td><td>specifies TRUE/FALSE value to either enable or disable the IBUFDS, respectively.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="struct_x_vphy___config.html#ae9a8b806d7a523628ca8b375836b1d73">XVphy_Config::RxRefClkSel</a>, <a class="el" href="struct_x_vphy___config.html#a051aa77b41a00fb1fa60db838fb388e2">XVphy_Config::TxRefClkSel</a>, <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__hdmi_8c.html#acd09bca6664c614b29cf051367729ea3">XVphy_HdmiInitialize()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a75e14bbc2dcc8eeeaaed26371ae1b34c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void XVphy_InterruptHandler </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function is the interrupt handler for the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> driver. </p>
|
|
<p>It will detect what kind of interrupt has happened, and will invoke the appropriate callback function.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> instance.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="struct_x_vphy.html#a78f1447de2a15b155b4c37a4c48d18ef">XVphy::IntrCpllLockCallbackRef</a>, <a class="el" href="struct_x_vphy.html#aac25792acca694d5198b44057d468659">XVphy::IntrCpllLockHandler</a>, <a class="el" href="struct_x_vphy.html#ae35b9b8e21753a733fc6a64de937fab9">XVphy::IntrQpll1LockCallbackRef</a>, <a class="el" href="struct_x_vphy.html#a43d707dcd37c99e8f4a13779809edee5">XVphy::IntrQpll1LockHandler</a>, <a class="el" href="struct_x_vphy.html#a5d0d31870d751cc585d9a90c164f2d05">XVphy::IntrQpllLockCallbackRef</a>, <a class="el" href="struct_x_vphy.html#a2a358f3a7cf0bbd672855ffb800e88a4">XVphy::IntrQpllLockHandler</a>, <a class="el" href="struct_x_vphy.html#a91765301698027208a5e14a289a19bd8">XVphy::IntrRxClkDetFreqChangeCallbackRef</a>, <a class="el" href="struct_x_vphy.html#a69217170e845bb0d704c8759f8688ab5">XVphy::IntrRxClkDetFreqChangeHandler</a>, <a class="el" href="struct_x_vphy.html#abda4548141cf7abc027a15218e115353">XVphy::IntrRxResetDoneCallbackRef</a>, <a class="el" href="struct_x_vphy.html#a1d808488e0bf84f52d6eb206d54d829b">XVphy::IntrRxResetDoneHandler</a>, <a class="el" href="struct_x_vphy.html#a4f3c598dab04ba6e7d6755455c3b7903">XVphy::IntrRxTmrTimeoutCallbackRef</a>, <a class="el" href="struct_x_vphy.html#a61a97adc3d836e2f20afb8e64f249b11">XVphy::IntrRxTmrTimeoutHandler</a>, <a class="el" href="struct_x_vphy.html#a7998e37ae7d71fdb5d398550a6211305">XVphy::IntrTxAlignDoneCallbackRef</a>, <a class="el" href="struct_x_vphy.html#a0592d2a7a5360d294727c54491fa059d">XVphy::IntrTxAlignDoneHandler</a>, <a class="el" href="struct_x_vphy.html#aeef6168da79e23e5fca31e71cb9ae879">XVphy::IntrTxClkDetFreqChangeCallbackRef</a>, <a class="el" href="struct_x_vphy.html#a44b541b34c508c723906b26f8fbb4719">XVphy::IntrTxClkDetFreqChangeHandler</a>, <a class="el" href="struct_x_vphy.html#ab6884b1d31e8d33370b88e74c8c0674d">XVphy::IntrTxResetDoneCallbackRef</a>, <a class="el" href="struct_x_vphy.html#a21cbba76df25e8dfe4111d1222e14872">XVphy::IntrTxResetDoneHandler</a>, <a class="el" href="struct_x_vphy.html#a3018ebe77f98e3feb4535bf837571564">XVphy::IntrTxTmrTimeoutCallbackRef</a>, <a class="el" href="struct_x_vphy.html#a2c2b7c102aa0e9b5fe81b31a77174dbf">XVphy::IntrTxTmrTimeoutHandler</a>, <a class="el" href="struct_x_vphy.html#a350b0f93bf83f2b3178e46e11936aa7f">XVphy::IsReady</a>, and <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a854725cac309c3302a25dbc29927c9f8"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void XVphy_IntrDisable </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a87369c0a51fcd69621ccbbd44b64b470">XVphy_IntrHandlerType</a> </td>
|
|
<td class="paramname"><em>Intr</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function disabled interrupts associated with the specified interrupt type. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> instance. </td></tr>
|
|
<tr><td class="paramname">Intr</td><td>is the interrupt type/mask to disable.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__dp_8c.html#a2cd0f5a7bf8d8fb14c73dff670c3c998">XVphy_DpInitialize()</a>, and <a class="el" href="xvphy__hdmi_8c.html#acd09bca6664c614b29cf051367729ea3">XVphy_HdmiInitialize()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab0c6c186dbb5142d23a6a3b76148c37b"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void XVphy_IntrEnable </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a87369c0a51fcd69621ccbbd44b64b470">XVphy_IntrHandlerType</a> </td>
|
|
<td class="paramname"><em>Intr</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function enables interrupts associated with the specified interrupt type. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> instance. </td></tr>
|
|
<tr><td class="paramname">Intr</td><td>is the interrupt type/mask to enable.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__hdmi_8c.html#acd09bca6664c614b29cf051367729ea3">XVphy_HdmiInitialize()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7ac1ec33cd234c67df30471d148e77be"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 XVphy_IsBonded </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function returns true when the RX and TX are bonded and are running from the same (RX) reference clock. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>TRUE if the RX and TX are using the same PLL, FALSE otherwise.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="xvphy_8c.html#a8e1cf75cf2ecce4902aeb0faca3d0c7c">XVphy_GetSysClkDataSel()</a>, and <a class="el" href="xvphy_8c.html#afa18f0da25042d12e577a5e16d950476">XVphy_GetSysClkOutSel()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__hdmi__intr_8c.html#af3406907d051c798f74f8bb569c4261c">XVphy_HdmiCpllLockHandler()</a>, <a class="el" href="xvphy__hdmi_8h.html#ab0c73c2bc8e97b64dd7509cd3db6b39c">XVphy_HdmiCpllParam()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#a2e9bd9101245bba02f36126695b9cf61">XVphy_HdmiGtRxResetDoneLockHandler()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#a8bd66d9c2cc594b160462de216f92aac">XVphy_HdmiQpllLockHandler()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#a13246516a638f38a679c7fedb702ef64">XVphy_HdmiRxClkDetFreqChangeHandler()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#ac6db7053df3c70a865717c47ba18eea3">XVphy_HdmiRxTimerTimeoutHandler()</a>, <a class="el" href="xvphy__hdmi_8c.html#a94f15cb1a82db338e2fa3cd900713a0d">XVphy_SetHdmiRxParam()</a>, and <a class="el" href="xvphy__hdmi_8c.html#afe03e6d04132bfe780efa1a2708ded64">XVphy_SetHdmiTxParam()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aef25e82d5f217655c1c3c3039c9e1dc3"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 XVphy_IsPllLocked </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will check the status of a PLL lock on the specified channel. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID which to operate on.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><ul>
|
|
<li>XST_SUCCESS if the specified PLL is locked.</li>
|
|
<li>XST_FAILURE otherwise.</li>
|
|
</ul>
|
|
</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, and <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__hdmi__intr_8c.html#af3406907d051c798f74f8bb569c4261c">XVphy_HdmiCpllLockHandler()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#a8bd66d9c2cc594b160462de216f92aac">XVphy_HdmiQpllLockHandler()</a>, and <a class="el" href="xvphy_8h.html#a5cf5653291ec2889a991cbc69858d935">XVphy_WaitForPllLock()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a02a73b6d88ba733664e66c34f73fe0b6"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void XVphy_LogDisplay </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will print the entire log. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862ab0598c9436107368e845f78889392d0a">XVPHY_LOG_EVT_CPLL_EN</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862ab3dfbd833b116269343aabe94495a171">XVPHY_LOG_EVT_CPLL_LOCK</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862ac40104381761e9e75f7cd39b77604468">XVPHY_LOG_EVT_CPLL_RECONFIG</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a16d8b631eb64d20c8235ea1190ac5fb4">XVPHY_LOG_EVT_CPLL_RST</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a831f281a8a83b29f3968f5147ba32b9b">XVPHY_LOG_EVT_GT_RECONFIG</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862aed542b730b8682830f454a74fff14fea">XVPHY_LOG_EVT_GTRX_RST</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a09e65067d1a0ed267159ab7d381a8c3d">XVPHY_LOG_EVT_GTTX_RST</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a13b0c0b1dd1f7290d956d5cecd143739">XVPHY_LOG_EVT_INIT</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a3bdbb622e1eb4b326e8a5fd83657be97">XVPHY_LOG_EVT_NONE</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862afaac44c45e2bc57cc2f617ea54b5cea7">XVPHY_LOG_EVT_QPLL_EN</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862aec2fc43529cf55a7a3f5c41d74af14a0">XVPHY_LOG_EVT_QPLL_LOCK</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a786d40f0263293814d72536da3dc0f8c">XVPHY_LOG_EVT_QPLL_RECONFIG</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a34b4ad0da304ecd352666351effb09ec">XVPHY_LOG_EVT_QPLL_RST</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a06ad213c17cc6af8d42c08ad5bb679dc">XVPHY_LOG_EVT_RX_FREQ</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a0bd9e2fae5b58aa42fb8353be178c61d">XVPHY_LOG_EVT_RX_RST_DONE</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862ae0779929475e9bb2dfbcfd5c53ea66cc">XVPHY_LOG_EVT_RX_TMR</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a2f5e75886c9f9d1555cc07d3a907a3f1">XVPHY_LOG_EVT_RXPLL_EN</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862add3e48488fcf773e705e1c7894beda2f">XVPHY_LOG_EVT_RXPLL_LOCK</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a8df4eb8446367b5935d94c4227104a7b">XVPHY_LOG_EVT_RXPLL_RECONFIG</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862ad128c86d056498569cca58fdf487b0d7">XVPHY_LOG_EVT_RXPLL_RST</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a21a930543611410db05e0f831c77e762">XVPHY_LOG_EVT_TX_ALIGN</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a940b4c923e81d75524b13c19dd715bd8">XVPHY_LOG_EVT_TX_FREQ</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862af8505ec0772c740b7599288b11df4ea3">XVPHY_LOG_EVT_TX_RST_DONE</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862aeb3c3b3bf2de063bb0162202c8e8cf6b">XVPHY_LOG_EVT_TX_TMR</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862ab34474947edbe41e79f5f38570e91eed">XVPHY_LOG_EVT_TXPLL_EN</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a5910bbca483ec81392f2928c939c9e15">XVPHY_LOG_EVT_TXPLL_LOCK</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a25461b0cd5a3472dbf51c7f5b36a6ce5">XVPHY_LOG_EVT_TXPLL_RECONFIG</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a123b046c9e909116f14f747a45c5433e">XVPHY_LOG_EVT_TXPLL_RST</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a786c25e8dc1c0f36bd6d2c242f306691">XVPHY_LOG_EVT_VID_RX_RST</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a0dbd82fde8ad7b4a702af465767dfd85">XVPHY_LOG_EVT_VID_TX_RST</a>, and <a class="el" href="xvphy_8h.html#a80743b41f194185251ac269d4985784c">XVphy_LogRead()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a80743b41f194185251ac269d4985784c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u16 XVphy_LogRead </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will read the last event from the log. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The log data.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___log.html#a9f90a137db7ffa8c0328217004f3ee70">XVphy_Log::DataBuffer</a>, <a class="el" href="struct_x_vphy___log.html#a662ad14c0960cbed754ab9ea62abe684">XVphy_Log::HeadIndex</a>, <a class="el" href="struct_x_vphy.html#aa8ead0f7f27a3f857eddc1c63bd75a54">XVphy::Log</a>, and <a class="el" href="struct_x_vphy___log.html#ab1b66d4c5391adcaf396314171c9ec07">XVphy_Log::TailIndex</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy_8h.html#a02a73b6d88ba733664e66c34f73fe0b6">XVphy_LogDisplay()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aeab6f13c2dd0b30889e09de7ff2759df"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void XVphy_LogReset </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will reset the driver's logginc mechanism. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___log.html#a662ad14c0960cbed754ab9ea62abe684">XVphy_Log::HeadIndex</a>, <a class="el" href="struct_x_vphy.html#aa8ead0f7f27a3f857eddc1c63bd75a54">XVphy::Log</a>, and <a class="el" href="struct_x_vphy___log.html#ab1b66d4c5391adcaf396314171c9ec07">XVphy_Log::TailIndex</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__dp_8c.html#a2cd0f5a7bf8d8fb14c73dff670c3c998">XVphy_DpInitialize()</a>, and <a class="el" href="xvphy__hdmi_8c.html#acd09bca6664c614b29cf051367729ea3">XVphy_HdmiInitialize()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9a04f2b6dd2fd863b0c282a1d7a5c378"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void XVphy_LogWrite </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862">XVphy_LogEvent</a> </td>
|
|
<td class="paramname"><em>Evt</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>Data</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will insert an event in the driver's logginc mechanism. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">Evt</td><td>is the event type to log. </td></tr>
|
|
<tr><td class="paramname">Data</td><td>is the associated data for the event.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___log.html#a9f90a137db7ffa8c0328217004f3ee70">XVphy_Log::DataBuffer</a>, <a class="el" href="struct_x_vphy___log.html#a662ad14c0960cbed754ab9ea62abe684">XVphy_Log::HeadIndex</a>, <a class="el" href="struct_x_vphy.html#aa8ead0f7f27a3f857eddc1c63bd75a54">XVphy::Log</a>, <a class="el" href="struct_x_vphy___log.html#ab1b66d4c5391adcaf396314171c9ec07">XVphy_Log::TailIndex</a>, and <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a06ad213c17cc6af8d42c08ad5bb679dc">XVPHY_LOG_EVT_RX_FREQ</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy_8h.html#a609475eec7171bd779b972e31496c717">XVphy_DirReconfig()</a>, <a class="el" href="xvphy__dp_8c.html#a2cd0f5a7bf8d8fb14c73dff670c3c998">XVphy_DpInitialize()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#af3406907d051c798f74f8bb569c4261c">XVphy_HdmiCpllLockHandler()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#a2e9bd9101245bba02f36126695b9cf61">XVphy_HdmiGtRxResetDoneLockHandler()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#ae97beeed4294d08e6afb698c35dd5810">XVphy_HdmiGtTxAlignDoneLockHandler()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#ab72b8270889de157c711c3502ad38104">XVphy_HdmiGtTxResetDoneLockHandler()</a>, <a class="el" href="xvphy__hdmi_8c.html#acd09bca6664c614b29cf051367729ea3">XVphy_HdmiInitialize()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#a8bd66d9c2cc594b160462de216f92aac">XVphy_HdmiQpllLockHandler()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#a13246516a638f38a679c7fedb702ef64">XVphy_HdmiRxClkDetFreqChangeHandler()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#ac6db7053df3c70a865717c47ba18eea3">XVphy_HdmiRxTimerTimeoutHandler()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#ac4c46549ed36e875129093896382a039">XVphy_HdmiTxClkDetFreqChangeHandler()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#aa0d8603249cf47b026958d23acc5ed7e">XVphy_HdmiTxTimerTimeoutHandler()</a>, and <a class="el" href="xvphy_8h.html#acb53c60099495db88a9931980e278bc6">XVphy_OutDivReconfig()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a97e9150af1115bf30fe03f548f308875"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="struct_x_vphy___config.html">XVphy_Config</a>* XVphy_LookupConfig </td>
|
|
<td>(</td>
|
|
<td class="paramtype">u16 </td>
|
|
<td class="paramname"><em>DeviceId</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function looks for the device configuration based on the unique device ID. </p>
|
|
<p>The table XVphy_ConfigTable[] contains the configuration information for each device in the system.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">DeviceId</td><td>is the unique device ID of the device being looked up.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>A pointer to the configuration table entry corresponding to the given device ID, or NULL if no match is found.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a096dbcd95256264a53fe8af27c8387fb"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void XVphy_MmcmLockedMaskEnable </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVphy_DirectionType </td>
|
|
<td class="paramname"><em>Dir</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>Enable</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will reset the mixed-mode clock manager (MMCM) core. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
|
|
<tr><td class="paramname">Enable</td><td>is an indicator whether to "Enable" the locked mask if set to 1. If set to 0: reset, then disable.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__hdmi_8c.html#acd09bca6664c614b29cf051367729ea3">XVphy_HdmiInitialize()</a>, and <a class="el" href="xvphy_8h.html#a652a8b7de475a3a54ad9a5f6e40ee9d9">XVphy_MmcmStart()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a59516866f229178eca67ede70680a751"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void XVphy_MmcmPowerDown </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVphy_DirectionType </td>
|
|
<td class="paramname"><em>Dir</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>Hold</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will power down the mixed-mode clock manager (MMCM) core. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
|
|
<tr><td class="paramname">Hold</td><td>is an indicator whether to "hold" the power down if set to 1. If set to 0: power down, then power back up.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><ul>
|
|
<li>XST_SUCCESS.</li>
|
|
</ul>
|
|
</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__hdmi_8c.html#acd09bca6664c614b29cf051367729ea3">XVphy_HdmiInitialize()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#a13246516a638f38a679c7fedb702ef64">XVphy_HdmiRxClkDetFreqChangeHandler()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#ac4c46549ed36e875129093896382a039">XVphy_HdmiTxClkDetFreqChangeHandler()</a>, and <a class="el" href="xvphy_8h.html#a652a8b7de475a3a54ad9a5f6e40ee9d9">XVphy_MmcmStart()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="adc182ff22a7ec230dc163f90ec5263a3"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void XVphy_MmcmReset </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVphy_DirectionType </td>
|
|
<td class="paramname"><em>Dir</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>Hold</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will reset the mixed-mode clock manager (MMCM) core. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
|
|
<tr><td class="paramname">Hold</td><td>is an indicator whether to "hold" the reset if set to 1. If set to 0: reset, then enable.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><ul>
|
|
<li>XST_SUCCESS.</li>
|
|
</ul>
|
|
</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__hdmi_8c.html#acd09bca6664c614b29cf051367729ea3">XVphy_HdmiInitialize()</a>, and <a class="el" href="xvphy_8h.html#a652a8b7de475a3a54ad9a5f6e40ee9d9">XVphy_MmcmStart()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a652a8b7de475a3a54ad9a5f6e40ee9d9"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void XVphy_MmcmStart </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVphy_DirectionType </td>
|
|
<td class="paramname"><em>Dir</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will start the mixed-mode clock manager (MMCM) core. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for TX or RX.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="struct_x_vphy___config.html#a7e92f3f0a07f8d22c381b32259a58846">XVphy_Config::RxProtocol</a>, <a class="el" href="struct_x_vphy___config.html#adbe118ccdd7e2f16d6ff2f0eb84e73fc">XVphy_Config::TxProtocol</a>, <a class="el" href="xvphy_8c.html#a096dbcd95256264a53fe8af27c8387fb">XVphy_MmcmLockedMaskEnable()</a>, <a class="el" href="xvphy_8c.html#a59516866f229178eca67ede70680a751">XVphy_MmcmPowerDown()</a>, <a class="el" href="xvphy_8c.html#adc182ff22a7ec230dc163f90ec5263a3">XVphy_MmcmReset()</a>, and <a class="el" href="xvphy_8c.html#a54b6787198c16e99851326d82568421d">XVphy_WaitUs()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__hdmi__intr_8c.html#aa0d8603249cf47b026958d23acc5ed7e">XVphy_HdmiTxTimerTimeoutHandler()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="acb53c60099495db88a9931980e278bc6"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 XVphy_OutDivReconfig </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVphy_DirectionType </td>
|
|
<td class="paramname"><em>Dir</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will set the current output divider configuration over DRP. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID for which to write the settings for. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for RX or TX.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><ul>
|
|
<li>XST_SUCCESS if the configuration was successful.</li>
|
|
<li>XST_FAILURE otherwise.</li>
|
|
</ul>
|
|
</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="xvphy_8c.html#a2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a831f281a8a83b29f3968f5147ba32b9b">XVPHY_LOG_EVT_GT_RECONFIG</a>, and <a class="el" href="xvphy_8h.html#a9a04f2b6dd2fd863b0c282a1d7a5c378">XVphy_LogWrite()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy_8h.html#a1f407aa558cd06877262f4258699fd7b">XVphy_ClkInitialize()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#ac6db7053df3c70a865717c47ba18eea3">XVphy_HdmiRxTimerTimeoutHandler()</a>, and <a class="el" href="xvphy__hdmi__intr_8c.html#aa0d8603249cf47b026958d23acc5ed7e">XVphy_HdmiTxTimerTimeoutHandler()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3d345eb8a8206448501f6d9dcc53b92e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 XVphy_PllInitialize </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#abaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a> </td>
|
|
<td class="paramname"><em>QpllRefClkSel</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#abaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a> </td>
|
|
<td class="paramname"><em>CpllRefClkSel</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#abd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a> </td>
|
|
<td class="paramname"><em>TxPllSelect</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#abd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a> </td>
|
|
<td class="paramname"><em>RxPllSelect</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will initialize the PLL selection for a given channel. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID to operate on. </td></tr>
|
|
<tr><td class="paramname">QpllRefClkSel</td><td>is the QPLL reference clock selection for the quad. </td></tr>
|
|
<tr><td class="paramname">CpllRefClkSel</td><td>is the CPLL reference clock selection for the quad. </td></tr>
|
|
<tr><td class="paramname">TxPllSelect</td><td>is the reference clock selection for the quad's TX PLL dividers. </td></tr>
|
|
<tr><td class="paramname">RxPllSelect</td><td>is the reference clock selection for the quad's RX PLL dividers.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><ul>
|
|
<li>XST_SUCCESS.</li>
|
|
</ul>
|
|
</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="xvphy_8c.html#a76c375e68d3d82cba1c7d8a53c961eb7">XVphy_CfgPllRefClkSel()</a>, <a class="el" href="xvphy_8c.html#a3e41b30a437f2c8d8722c780b9cbc798">XVphy_CfgSysClkDataSel()</a>, <a class="el" href="xvphy_8c.html#a3221e83cfbd76a7616329bdff01d517b">XVphy_CfgSysClkOutSel()</a>, and <a class="el" href="xvphy_8c.html#a5041cead7e1fe927d645c4e681e95837">XVphy_WriteCfgRefClkSelReg()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__dp_8c.html#a2cd0f5a7bf8d8fb14c73dff670c3c998">XVphy_DpInitialize()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1b82d1b302268e36126450121d948505"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 XVphy_PowerDownGtPll </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>Hold</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will power down the specified GT PLL. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID to power down the PLL for. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
|
|
<tr><td class="paramname">Hold</td><td>is an indicator whether to "hold" the power down if set to 1. If set to 0: power down, then power back up.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><ul>
|
|
<li>XST_SUCCESS.</li>
|
|
</ul>
|
|
</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="xvphy_8c.html#a2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>, <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__hdmi_8c.html#acd09bca6664c614b29cf051367729ea3">XVphy_HdmiInitialize()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#a13246516a638f38a679c7fedb702ef64">XVphy_HdmiRxClkDetFreqChangeHandler()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#ac6db7053df3c70a865717c47ba18eea3">XVphy_HdmiRxTimerTimeoutHandler()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#ac4c46549ed36e875129093896382a039">XVphy_HdmiTxClkDetFreqChangeHandler()</a>, and <a class="el" href="xvphy__hdmi__intr_8c.html#aa0d8603249cf47b026958d23acc5ed7e">XVphy_HdmiTxTimerTimeoutHandler()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a56d656c3ed99190149bf9b548ae7a62d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 XVphy_ResetGt </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVphy_DirectionType </td>
|
|
<td class="paramname"><em>Dir</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will reset the specified GT quad. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for TX or RX.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><ul>
|
|
<li>XST_SUCCESS if a valid PLL was specified.</li>
|
|
<li>XST_FAILURE otherwise.</li>
|
|
</ul>
|
|
</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="xvphy_8c.html#a8e1cf75cf2ecce4902aeb0faca3d0c7c">XVphy_GetSysClkDataSel()</a>, <a class="el" href="xvphy_8c.html#afa18f0da25042d12e577a5e16d950476">XVphy_GetSysClkOutSel()</a>, and <a class="el" href="xvphy_8c.html#ad1c3340164a0759e485ba914ef282dc3">XVphy_ResetGtPll()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad1c3340164a0759e485ba914ef282dc3"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 XVphy_ResetGtPll </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVphy_DirectionType </td>
|
|
<td class="paramname"><em>Dir</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>Hold</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will reset the GT's PLL logic. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID which to operate on. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
|
|
<tr><td class="paramname">Hold</td><td>is an indicator whether to "hold" the reset if set to 1. If set to 0: reset, then enable.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><ul>
|
|
<li>XST_SUCCESS.</li>
|
|
</ul>
|
|
</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__hdmi_8c.html#acd09bca6664c614b29cf051367729ea3">XVphy_HdmiInitialize()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#a13246516a638f38a679c7fedb702ef64">XVphy_HdmiRxClkDetFreqChangeHandler()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#ac6db7053df3c70a865717c47ba18eea3">XVphy_HdmiRxTimerTimeoutHandler()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#ac4c46549ed36e875129093896382a039">XVphy_HdmiTxClkDetFreqChangeHandler()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#aa0d8603249cf47b026958d23acc5ed7e">XVphy_HdmiTxTimerTimeoutHandler()</a>, <a class="el" href="xvphy__hdmi_8c.html#ab70418575e7ffd80d353f12e666dd483">XVphy_HdmiUpdateClockSelection()</a>, and <a class="el" href="xvphy_8h.html#a56d656c3ed99190149bf9b548ae7a62d">XVphy_ResetGt()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3d258176c8a2cc605cdaf8f28a72559d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 XVphy_ResetGtTxRx </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVphy_DirectionType </td>
|
|
<td class="paramname"><em>Dir</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>Hold</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will reset the GT's TX/RX logic. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID which to operate on. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
|
|
<tr><td class="paramname">Hold</td><td>is an indicator whether to "hold" the reset if set to 1. If set to 0: reset, then enable.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><ul>
|
|
<li>XST_SUCCESS.</li>
|
|
</ul>
|
|
</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__hdmi__intr_8c.html#af3406907d051c798f74f8bb569c4261c">XVphy_HdmiCpllLockHandler()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#a2e9bd9101245bba02f36126695b9cf61">XVphy_HdmiGtRxResetDoneLockHandler()</a>, <a class="el" href="xvphy__hdmi_8c.html#acd09bca6664c614b29cf051367729ea3">XVphy_HdmiInitialize()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#a8bd66d9c2cc594b160462de216f92aac">XVphy_HdmiQpllLockHandler()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#a13246516a638f38a679c7fedb702ef64">XVphy_HdmiRxClkDetFreqChangeHandler()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#ac6db7053df3c70a865717c47ba18eea3">XVphy_HdmiRxTimerTimeoutHandler()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#ac4c46549ed36e875129093896382a039">XVphy_HdmiTxClkDetFreqChangeHandler()</a>, and <a class="el" href="xvphy__hdmi__intr_8c.html#aa0d8603249cf47b026958d23acc5ed7e">XVphy_HdmiTxTimerTimeoutHandler()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a772c4c6e8f106de408926972cb2443f2"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 XVphy_SelfTest </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function runs a self-test on the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> driver/device. </p>
|
|
<p>The sanity test checks whether or not all tested registers hold their default reset values.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> instance.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><ul>
|
|
<li>XST_SUCCESS if the self-test passed - all tested registers hold their default reset values.</li>
|
|
<li>XST_FAILURE otherwise.</li>
|
|
</ul>
|
|
</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, and <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a03e3adda3a9a41ade009735ab5849b8f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void XVphy_Set8b10b </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVphy_DirectionType </td>
|
|
<td class="paramname"><em>Dir</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>Enable</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will set 8b10b encoding for the specified GT PLL. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID to operate on. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
|
|
<tr><td class="paramname">Enable</td><td>is an indicator to enable/disable 8b10b encoding.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><ul>
|
|
<li>XST_SUCCESS.</li>
|
|
</ul>
|
|
</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__dp_8c.html#a2cd0f5a7bf8d8fb14c73dff670c3c998">XVphy_DpInitialize()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a15c1341136ca5bde85ab447ba9e09c56"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void XVphy_SetBufgGtDiv </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVphy_DirectionType </td>
|
|
<td class="paramname"><em>Dir</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>Div</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function obtains the divider value of the BUFG_GT peripheral. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for TX or RX </td></tr>
|
|
<tr><td class="paramname">Div</td><td>3-bit divider value</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__hdmi_8c.html#acd09bca6664c614b29cf051367729ea3">XVphy_HdmiInitialize()</a>, and <a class="el" href="xvphy__hdmi__intr_8c.html#aa0d8603249cf47b026958d23acc5ed7e">XVphy_HdmiTxTimerTimeoutHandler()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4038c40b0783bfe9ebc80eace7600f65"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void XVphy_SetHdmiCallback </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a5d7a1522b8c8db7a4d13630b4d0d67ac">XVphy_HdmiHandlerType</a> </td>
|
|
<td class="paramname"><em>HandlerType</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>CallbackFunc</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>CallbackRef</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function installs an HDMI callback function for the specified handler type. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the XVPhy instance. </td></tr>
|
|
<tr><td class="paramname">HandlerType</td><td>is the interrupt handler type which specifies which interrupt event to attach the callback for. </td></tr>
|
|
<tr><td class="paramname">CallbackFunc</td><td>is the address to the callback function. </td></tr>
|
|
<tr><td class="paramname">CallbackRef</td><td>is the user data item that will be passed to the callback function when it is invoked.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy.html#acd0031ec1a9f8fd4b3c55c1eca6e7c52">XVphy::HdmiRxInitCallback</a>, <a class="el" href="struct_x_vphy.html#ae793dddf50ac6b6826aef38ccf7ff072">XVphy::HdmiRxInitRef</a>, <a class="el" href="struct_x_vphy.html#af8a0928a61899451da0edbdd229c9d9a">XVphy::HdmiRxReadyCallback</a>, <a class="el" href="struct_x_vphy.html#a3c076eab7bc5c4f12de53eef10ef2dc1">XVphy::HdmiRxReadyRef</a>, <a class="el" href="struct_x_vphy.html#a188e78b188925093efd2c1dcc3d7caf9">XVphy::HdmiTxInitCallback</a>, <a class="el" href="struct_x_vphy.html#aab099a83c6fed02f572a440f0d2e60df">XVphy::HdmiTxInitRef</a>, <a class="el" href="struct_x_vphy.html#a56a9ebfbc6c3e0282e00c70dc12d7f8d">XVphy::HdmiTxReadyCallback</a>, <a class="el" href="struct_x_vphy.html#a62250e4e9d265cb8fa443b9bd8ecd90d">XVphy::HdmiTxReadyRef</a>, <a class="el" href="xvphy_8h.html#a5d7a1522b8c8db7a4d13630b4d0d67acadc1239bf568d5bec91b9c9baa8bca65e">XVPHY_HDMI_HANDLER_RXINIT</a>, <a class="el" href="xvphy_8h.html#a5d7a1522b8c8db7a4d13630b4d0d67acafe4c577235317d8538e592641f45d1a3">XVPHY_HDMI_HANDLER_RXREADY</a>, <a class="el" href="xvphy_8h.html#a5d7a1522b8c8db7a4d13630b4d0d67aca0935a34352ea1c95845d24f9339aa858">XVPHY_HDMI_HANDLER_TXINIT</a>, and <a class="el" href="xvphy_8h.html#a5d7a1522b8c8db7a4d13630b4d0d67aca663e6eda3ccced827fb278555c33d2cf">XVPHY_HDMI_HANDLER_TXREADY</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a94f15cb1a82db338e2fa3cd900713a0d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 XVphy_SetHdmiRxParam </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function update/set the HDMI RX parameter. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the Vphy core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID to operate on.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><ul>
|
|
<li>XST_SUCCESS if RX parameters set/updated.</li>
|
|
<li>XST_FAILURE if low resolution video not supported.</li>
|
|
</ul>
|
|
</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy.html#acc8c8add92ab924f374bab01a466f7ee">XVphy::HdmiRxDruIsEnabled</a>, <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>, <a class="el" href="xvphy__hdmi_8c.html#a2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>, <a class="el" href="xvphy__hdmi_8c.html#ad88e970b83779757b2cf739b3aaeb9a9">XVphy_DruCalcCenterFreqHz()</a>, <a class="el" href="xvphy__hdmi_8c.html#aa09d59f3ae8499186a0e262a613cd141">XVphy_DruSetCenterFreqHz()</a>, <a class="el" href="xvphy__hdmi_8c.html#ab0c73c2bc8e97b64dd7509cd3db6b39c">XVphy_HdmiCpllParam()</a>, <a class="el" href="xvphy__hdmi_8c.html#ae51de602190f2058b30e0801deb13fa9">XVphy_HdmiQpllParam()</a>, <a class="el" href="xvphy_8c.html#a7ac1ec33cd234c67df30471d148e77be">XVphy_IsBonded()</a>, and <a class="el" href="xvphy_8c.html#a5041cead7e1fe927d645c4e681e95837">XVphy_WriteCfgRefClkSelReg()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__hdmi__intr_8c.html#ac6db7053df3c70a865717c47ba18eea3">XVphy_HdmiRxTimerTimeoutHandler()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="afe03e6d04132bfe780efa1a2708ded64"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 XVphy_SetHdmiTxParam </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVidC_PixelsPerClock </td>
|
|
<td class="paramname"><em>Ppc</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVidC_ColorDepth </td>
|
|
<td class="paramname"><em>Bpc</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVidC_ColorFormat </td>
|
|
<td class="paramname"><em>ColorFormat</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function update/set the HDMI TX parameter. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the Vphy core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID to operate on. </td></tr>
|
|
<tr><td class="paramname">Ppc</td><td>is the pixels per clock to set. </td></tr>
|
|
<tr><td class="paramname">Bpc</td><td>is the bits per color to set. </td></tr>
|
|
<tr><td class="paramname">ColorFormat</td><td>is the color format to set.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><ul>
|
|
<li>XST_SUCCESS if TX parameters set/updated.</li>
|
|
<li>XST_FAILURE if low resolution video not supported.</li>
|
|
</ul>
|
|
</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="struct_x_vphy.html#a77176131b002d4f0d72af27d855c0316">XVphy::HdmiRxRefClkHz</a>, <a class="el" href="struct_x_vphy.html#a0155c11fa9df81437618a87b5a3a3058">XVphy::HdmiTxRefClkHz</a>, <a class="el" href="struct_x_vphy.html#ab1e398020d830a916e367c4c02895615">XVphy::HdmiTxSampleRate</a>, <a class="el" href="struct_x_vphy___channel.html#a3fd1bb0f1355b276eb5ebad802dc0d3c">XVphy_Channel::LineRateHz</a>, <a class="el" href="struct_x_vphy___config.html#a231054143e9206cfca1c8be3ef1c3be9">XVphy_Config::Ppc</a>, <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>, <a class="el" href="xvphy__hdmi_8c.html#a9bda272cbcfb83ee43e762b09e613390">XVphy_HdmiCfgCalcMmcmParam()</a>, <a class="el" href="xvphy__hdmi_8c.html#ab0c73c2bc8e97b64dd7509cd3db6b39c">XVphy_HdmiCpllParam()</a>, <a class="el" href="xvphy__hdmi_8c.html#ae51de602190f2058b30e0801deb13fa9">XVphy_HdmiQpllParam()</a>, <a class="el" href="xvphy_8c.html#a7ac1ec33cd234c67df30471d148e77be">XVphy_IsBonded()</a>, and <a class="el" href="xvphy_8c.html#a5041cead7e1fe927d645c4e681e95837">XVphy_WriteCfgRefClkSelReg()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a56237326dcb3ef7cb3b346f7bf561486"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void XVphy_SetIntrHandler </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a87369c0a51fcd69621ccbbd44b64b470">XVphy_IntrHandlerType</a> </td>
|
|
<td class="paramname"><em>HandlerType</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a21fe7ac2940a12aa24d265c30d02b1aa">XVphy_IntrHandler</a> </td>
|
|
<td class="paramname"><em>CallbackFunc</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>CallbackRef</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function installs a callback function for the specified handler type. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the XVPhy instance. </td></tr>
|
|
<tr><td class="paramname">HandlerType</td><td>is the interrupt handler type which specifies which interrupt event to attach the callback for. </td></tr>
|
|
<tr><td class="paramname">CallbackFunc</td><td>is the address to the callback function. </td></tr>
|
|
<tr><td class="paramname">CallbackRef</td><td>is the user data item that will be passed to the callback function when it is invoked.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy.html#a78f1447de2a15b155b4c37a4c48d18ef">XVphy::IntrCpllLockCallbackRef</a>, <a class="el" href="struct_x_vphy.html#aac25792acca694d5198b44057d468659">XVphy::IntrCpllLockHandler</a>, <a class="el" href="struct_x_vphy.html#ae35b9b8e21753a733fc6a64de937fab9">XVphy::IntrQpll1LockCallbackRef</a>, <a class="el" href="struct_x_vphy.html#a43d707dcd37c99e8f4a13779809edee5">XVphy::IntrQpll1LockHandler</a>, <a class="el" href="struct_x_vphy.html#a5d0d31870d751cc585d9a90c164f2d05">XVphy::IntrQpllLockCallbackRef</a>, <a class="el" href="struct_x_vphy.html#a2a358f3a7cf0bbd672855ffb800e88a4">XVphy::IntrQpllLockHandler</a>, <a class="el" href="struct_x_vphy.html#a91765301698027208a5e14a289a19bd8">XVphy::IntrRxClkDetFreqChangeCallbackRef</a>, <a class="el" href="struct_x_vphy.html#a69217170e845bb0d704c8759f8688ab5">XVphy::IntrRxClkDetFreqChangeHandler</a>, <a class="el" href="struct_x_vphy.html#abda4548141cf7abc027a15218e115353">XVphy::IntrRxResetDoneCallbackRef</a>, <a class="el" href="struct_x_vphy.html#a1d808488e0bf84f52d6eb206d54d829b">XVphy::IntrRxResetDoneHandler</a>, <a class="el" href="struct_x_vphy.html#a4f3c598dab04ba6e7d6755455c3b7903">XVphy::IntrRxTmrTimeoutCallbackRef</a>, <a class="el" href="struct_x_vphy.html#a61a97adc3d836e2f20afb8e64f249b11">XVphy::IntrRxTmrTimeoutHandler</a>, <a class="el" href="struct_x_vphy.html#a7998e37ae7d71fdb5d398550a6211305">XVphy::IntrTxAlignDoneCallbackRef</a>, <a class="el" href="struct_x_vphy.html#a0592d2a7a5360d294727c54491fa059d">XVphy::IntrTxAlignDoneHandler</a>, <a class="el" href="struct_x_vphy.html#aeef6168da79e23e5fca31e71cb9ae879">XVphy::IntrTxClkDetFreqChangeCallbackRef</a>, <a class="el" href="struct_x_vphy.html#a44b541b34c508c723906b26f8fbb4719">XVphy::IntrTxClkDetFreqChangeHandler</a>, <a class="el" href="struct_x_vphy.html#ab6884b1d31e8d33370b88e74c8c0674d">XVphy::IntrTxResetDoneCallbackRef</a>, <a class="el" href="struct_x_vphy.html#a21cbba76df25e8dfe4111d1222e14872">XVphy::IntrTxResetDoneHandler</a>, <a class="el" href="struct_x_vphy.html#a3018ebe77f98e3feb4535bf837571564">XVphy::IntrTxTmrTimeoutCallbackRef</a>, and <a class="el" href="struct_x_vphy.html#a2c2b7c102aa0e9b5fe81b31a77174dbf">XVphy::IntrTxTmrTimeoutHandler</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__hdmi__intr_8c.html#ae15dd969c04b2c4fc7dd4266959af171">XVphy_HdmiIntrHandlerCallbackInit()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab4dbca672563dce677d06d7bbbbe23d9"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void XVphy_SetRxLpm </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVphy_DirectionType </td>
|
|
<td class="paramname"><em>Dir</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>Enable</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will enable or disable the LPM logic in the Video PHY core. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID to operate on. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
|
|
<tr><td class="paramname">Enable</td><td>will enable (if 1) or disable (if 0) the LPM logic.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__dp_8c.html#a2cd0f5a7bf8d8fb14c73dff670c3c998">XVphy_DpInitialize()</a>, and <a class="el" href="xvphy__hdmi_8c.html#acd09bca6664c614b29cf051367729ea3">XVphy_HdmiInitialize()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4071a10340c3cda8cfb3aa3bfb4483e9"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void XVphy_SetTxPreEmphasis </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>Pe</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will set the TX pre-emphasis value for a given channel. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID to operate on. </td></tr>
|
|
<tr><td class="paramname">Pe</td><td>is the pre-emphasis value to write.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__dp_8c.html#a2cd0f5a7bf8d8fb14c73dff670c3c998">XVphy_DpInitialize()</a>, and <a class="el" href="xvphy__hdmi_8c.html#acd09bca6664c614b29cf051367729ea3">XVphy_HdmiInitialize()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7526bb0de496313d804798dcc1df8cc8"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void XVphy_SetTxVoltageSwing </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>Vs</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will set the TX voltage swing value for a given channel. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID to operate on. </td></tr>
|
|
<tr><td class="paramname">Vs</td><td>is the voltage swing value to write.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__dp_8c.html#a2cd0f5a7bf8d8fb14c73dff670c3c998">XVphy_DpInitialize()</a>, and <a class="el" href="xvphy__hdmi_8c.html#acd09bca6664c614b29cf051367729ea3">XVphy_HdmiInitialize()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5cf5653291ec2889a991cbc69858d935"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 XVphy_WaitForPllLock </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will wait for a PLL lock on the specified channel(s) or time out. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID which to operate on.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><ul>
|
|
<li>XST_SUCCESS if the PLL(s) have locked.</li>
|
|
<li>XST_FAILURE otherwise; waiting for the lock timed out.</li>
|
|
</ul>
|
|
</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="xvphy_8c.html#aef25e82d5f217655c1c3c3039c9e1dc3">XVphy_IsPllLocked()</a>, and <a class="el" href="xvphy_8c.html#a54b6787198c16e99851326d82568421d">XVphy_WaitUs()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a666425d750b27f1be0faeb363eb9698c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 XVphy_WaitForPmaResetDone </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVphy_DirectionType </td>
|
|
<td class="paramname"><em>Dir</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will wait for a PMA reset done on the specified channel(s) or time out. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID which to operate on. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for TX or RX.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><ul>
|
|
<li>XST_SUCCESS if the PMA reset has finalized.</li>
|
|
<li>XST_FAILURE otherwise; waiting for the reset done timed out.</li>
|
|
</ul>
|
|
</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="xvphy_8c.html#a54b6787198c16e99851326d82568421d">XVphy_WaitUs()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac1c0e3c56e0d77d5d222b86be8a30cb6"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 XVphy_WaitForResetDone </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> </td>
|
|
<td class="paramname"><em>ChId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XVphy_DirectionType </td>
|
|
<td class="paramname"><em>Dir</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will wait for a reset done on the specified channel(s) or time out. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
|
|
<tr><td class="paramname">ChId</td><td>is the channel ID which to operate on. </td></tr>
|
|
<tr><td class="paramname">Dir</td><td>is an indicator for TX or RX.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><ul>
|
|
<li>XST_SUCCESS if the reset has finalized.</li>
|
|
<li>XST_FAILURE otherwise; waiting for the reset done timed out.</li>
|
|
</ul>
|
|
</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="xvphy_8c.html#a54b6787198c16e99851326d82568421d">XVphy_WaitUs()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a54b6787198c16e99851326d82568421d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void XVphy_WaitUs </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u32 </td>
|
|
<td class="paramname"><em>MicroSeconds</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function is the delay/sleep function for the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> driver. </p>
|
|
<p>For the Zynq family, there exists native sleep functionality. For MicroBlaze however, there does not exist such functionality. In the MicroBlaze case, the default method for delaying is to use a predetermined amount of loop iterations. This method is prone to inaccuracy and dependent on system configuration; for greater accuracy, the user may supply their own delay/sleep handler, pointed to by InstancePtr->UserTimerWaitUs, which may have better accuracy if a hardware timer is used.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> instance. </td></tr>
|
|
<tr><td class="paramname">MicroSeconds</td><td>is the number of microseconds to delay/sleep for.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy.html#a350b0f93bf83f2b3178e46e11936aa7f">XVphy::IsReady</a>, and <a class="el" href="struct_x_vphy.html#a4eb6913f5fda8406fe6f3577c240721b">XVphy::UserTimerWaitUs</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy_8h.html#a652a8b7de475a3a54ad9a5f6e40ee9d9">XVphy_MmcmStart()</a>, <a class="el" href="xvphy_8h.html#a5cf5653291ec2889a991cbc69858d935">XVphy_WaitForPllLock()</a>, <a class="el" href="xvphy_8h.html#a666425d750b27f1be0faeb363eb9698c">XVphy_WaitForPmaResetDone()</a>, and <a class="el" href="xvphy_8h.html#ac1c0e3c56e0d77d5d222b86be8a30cb6">XVphy_WaitForResetDone()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5041cead7e1fe927d645c4e681e95837"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 XVphy_WriteCfgRefClkSelReg </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> * </td>
|
|
<td class="paramname"><em>InstancePtr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 </td>
|
|
<td class="paramname"><em>QuadId</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function writes the current software configuration for the reference clock selections to hardware for the specified quad on all channels. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
|
|
<tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><ul>
|
|
<li>XST_SUCCESS.</li>
|
|
</ul>
|
|
</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
|
|
|
|
<p>References <a class="el" href="struct_x_vphy___config.html#a7faad17b4e5499340323e06281c3e4d1">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="struct_x_vphy___channel.html#ab7b9e1486c525cab92eff049db5b2736">XVphy_Channel::CpllRefClkSel</a>, <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>, <a class="el" href="struct_x_vphy___channel.html#ada3cc8b765b058c1ba28cc333f88929b">XVphy_Channel::RxDataRefClkSel</a>, <a class="el" href="struct_x_vphy___channel.html#aec2b2686abaaff0248e78b59dfb5e933">XVphy_Channel::RxOutRefClkSel</a>, <a class="el" href="struct_x_vphy___channel.html#a53154b4333f2b5e8d59da3247d951725">XVphy_Channel::TxDataRefClkSel</a>, <a class="el" href="struct_x_vphy___channel.html#ab4b1b716be1ebf833f0c3719eb1fb91a">XVphy_Channel::TxOutRefClkSel</a>, <a class="el" href="struct_x_vphy___config.html#a9bdda7f6198220dbf4e388402d94b93a">XVphy_Config::XcvrType</a>, and <a class="el" href="xvphy__hw_8h.html#a03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="xvphy__hdmi__intr_8c.html#ac6db7053df3c70a865717c47ba18eea3">XVphy_HdmiRxTimerTimeoutHandler()</a>, <a class="el" href="xvphy__hdmi__intr_8c.html#aa0d8603249cf47b026958d23acc5ed7e">XVphy_HdmiTxTimerTimeoutHandler()</a>, <a class="el" href="xvphy_8h.html#a3d345eb8a8206448501f6d9dcc53b92e">XVphy_PllInitialize()</a>, <a class="el" href="xvphy__hdmi_8c.html#a94f15cb1a82db338e2fa3cd900713a0d">XVphy_SetHdmiRxParam()</a>, and <a class="el" href="xvphy__hdmi_8c.html#afe03e6d04132bfe780efa1a2708ded64">XVphy_SetHdmiTxParam()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
<ul>
|
|
<li class="footer">Copyright © 2015 Xilinx Inc. All rights reserved.</li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|