2643 lines
150 KiB
HTML
Executable file
2643 lines
150 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.c 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="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">xvphy.c File Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
|
|
<div class="textblock"><p>See <a class="el" href="xvphy_8h.html" title="The Xilinx Video PHY (VPHY) driver. ">xvphy.h</a> for a detailed description of the driver.</p>
|
|
<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.
|
|
gm
|
|
</pre><p>See <a class="el" href="xvphy_8h.html" title="The Xilinx Video PHY (VPHY) driver. ">xvphy.h</a> for a detailed description of the driver.</p>
|
|
<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="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:a2d8b041a0730b041e28a4215d771cc04"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8c.html#a2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, u8 *Id0, u8 *Id1)</td></tr>
|
|
<tr class="separator:a2d8b041a0730b041e28a4215d771cc04"><td class="memSeparator" colspan="2"> </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_8c.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:a01775c74632e81c26fb4b2dd8fa3e3ac"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8c.html#a01775c74632e81c26fb4b2dd8fa3e3ac">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> CpllRefClkSel, <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:a01775c74632e81c26fb4b2dd8fa3e3ac"><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_8c.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:a1f407aa558cd06877262f4258699fd7b"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8c.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:aa4cef4dea102e0cbb7671d8113f9d52e"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8c.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:ab4dbca672563dce677d06d7bbbbe23d9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8c.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_8c.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_8c.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_8c.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_8c.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_8c.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_8c.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_8c.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_8c.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: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_8c.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_8c.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_8c.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_8c.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_8c.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_8c.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_8c.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_8c.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_8c.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_8c.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_8c.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_8c.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_8c.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_8c.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_8c.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_8c.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_8c.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_8c.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_8c.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_8c.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_8c.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_8c.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_8c.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:a03e3adda3a9a41ade009735ab5849b8f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8c.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_8c.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_8c.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:a918c7447d08e6af827ab03493348b706"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8c.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_8c.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_8c.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_8c.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>
|
|
</table>
|
|
<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="a2d8b041a0730b041e28a4215d771cc04"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void XVphy_Ch2Ids </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#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>Id0</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">u8 * </td>
|
|
<td class="paramname"><em>Id1</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function will set the channel IDs to correspond with the supplied channel ID based on the protocol. </p>
|
|
<p>HDMI uses 3 channels; DP uses 4. This ID translation is done to allow other functions to operate iteratively over multiple 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">ChId</td><td>is the channel ID used to determine the indices. </td></tr>
|
|
<tr><td class="paramname">Id0</td><td>is a pointer to the start channel ID to set. </td></tr>
|
|
<tr><td class="paramname">Id1</td><td>is a pointer to the end channel ID to set.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>The contents of Id0 and Id1 will be set according to ChId. </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#adbe118ccdd7e2f16d6ff2f0eb84e73fc">XVphy_Config::TxProtocol</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_8h.html#ad5d2ef80f68b92db024b3e690d0c410e">XVphy_CfgLineRate()</a>, <a class="el" href="xvphy_8h.html#a76c375e68d3d82cba1c7d8a53c961eb7">XVphy_CfgPllRefClkSel()</a>, <a class="el" href="xvphy_8h.html#a3e41b30a437f2c8d8722c780b9cbc798">XVphy_CfgSysClkDataSel()</a>, <a class="el" href="xvphy_8h.html#a3221e83cfbd76a7616329bdff01d517b">XVphy_CfgSysClkOutSel()</a>, <a class="el" href="xvphy_8h.html#a918c7447d08e6af827ab03493348b706">XVphy_ClkCalcParams()</a>, <a class="el" href="xvphy_8h.html#ae2450ff392b3bdafa0b65b549af231a1">XVphy_ClkReconfig()</a>, <a class="el" href="xvphy_8h.html#a609475eec7171bd779b972e31496c717">XVphy_DirReconfig()</a>, <a class="el" href="xvphy__hdmi_8h.html#ac049d6360551ee356c21f7f8e3c583ac">XVphy_DruEnable()</a>, <a class="el" href="xvphy__hdmi_8h.html#a6d7adb703bf8d7039bb490890267100f">XVphy_DruReset()</a>, <a class="el" href="xvphy__hdmi_8h.html#aa09d59f3ae8499186a0e262a613cd141">XVphy_DruSetCenterFreqHz()</a>, <a class="el" href="xvphy__hdmi_8h.html#ac7aa7ca227f880fe0f77c4cbfe3d4cb9">XVphy_DruSetGain()</a>, <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_8h.html#a1f5275570d3771fb5ac18cbf2fbf642a">XVphy_HdmiGtDruModeEnable()</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_8h.html#ae51de602190f2058b30e0801deb13fa9">XVphy_HdmiQpllParam()</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>, <a class="el" href="xvphy_8h.html#acb53c60099495db88a9931980e278bc6">XVphy_OutDivReconfig()</a>, <a class="el" href="xvphy_8h.html#a1b82d1b302268e36126450121d948505">XVphy_PowerDownGtPll()</a>, <a class="el" href="xvphy__hdmi_8c.html#a94f15cb1a82db338e2fa3cd900713a0d">XVphy_SetHdmiRxParam()</a>, <a class="el" href="xvphy__hdmi_8h.html#aeaff661706441c4ab53c0e3b14b3bc52">XVphy_TxAlignReset()</a>, and <a class="el" href="xvphy__hdmi_8h.html#a17fb7c16e6806cc2b654d358c5ade050">XVphy_TxAlignStart()</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="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="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="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="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="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="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="a01775c74632e81c26fb4b2dd8fa3e3ac"></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="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="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>
|