Lines Matching defs:port

93  * out will be received back again on the same port. Externally
96 * @port: IPD port number to loop.
98 void cvmx_helper_rgmii_internal_loopback(int port)
100 int interface = (port >> 4) & 1;
101 int index = port & 0xf;
127 * @port: Port to setup (0..3)
133 static int __cvmx_helper_errata_asx_pass1(int interface, int port,
138 cvmx_write_csr(CVMX_ASXX_TX_HI_WATERX(port, interface), 12);
140 cvmx_write_csr(CVMX_ASXX_TX_HI_WATERX(port, interface), 11);
142 cvmx_write_csr(CVMX_ASXX_TX_HI_WATERX(port, interface), 10);
144 cvmx_write_csr(CVMX_ASXX_TX_HI_WATERX(port, interface), 9);
162 int port;
187 for (port = 0; port < num_ports; port++) {
192 __cvmx_helper_errata_asx_pass1(interface, port,
204 (port, interface));
207 cvmx_write_csr(CVMX_GMXX_RXX_FRM_CTL(port, interface),
218 cvmx_write_csr(CVMX_GMXX_TXX_PAUSE_PKT_TIME(port, interface),
221 (port, interface), 19000);
224 cvmx_write_csr(CVMX_ASXX_TX_CLK_SETX(port, interface),
226 cvmx_write_csr(CVMX_ASXX_RX_CLK_SETX(port, interface),
229 cvmx_write_csr(CVMX_ASXX_TX_CLK_SETX(port, interface),
231 cvmx_write_csr(CVMX_ASXX_RX_CLK_SETX(port, interface),
239 for (port = 0; port < num_ports; port++) {
243 cvmx_read_csr(CVMX_GMXX_PRTX_CFG(port, interface));
245 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(port, interface),
255 * Return the link state of an IPD/PKO port as returned by
260 * @ipd_port: IPD/PKO port to query
284 * Configure an IPD/PKO port for the specified link state. This
289 * @ipd_port: IPD/PKO port to configure
357 /* Disable the port before we make any changes */
412 * MII port is selected by GMX_PRT1_CFG[SPEED].
427 /* Save the new GMX setting without enabling the port */