Lines Matching +full:bp +full:- +full:disabled +full:- +full:ports
7 * Copyright (C) 2003-2018 Cavium, Inc.
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
34 #include <asm/octeon/cvmx-config.h>
36 #include <asm/octeon/cvmx-pko.h>
37 #include <asm/octeon/cvmx-helper.h>
38 #include <asm/octeon/cvmx-helper-board.h>
40 #include <asm/octeon/cvmx-npi-defs.h>
41 #include <asm/octeon/cvmx-gmxx-defs.h>
42 #include <asm/octeon/cvmx-asxx-defs.h>
43 #include <asm/octeon/cvmx-dbg-defs.h>
46 * Probe RGMII ports and determine the number present
50 * Returns Number of RGMII/GMII/MII ports (0-4).
68 * GMII/MII mode. This limits us to 2 ports in __cvmx_helper_rgmii_probe()
136 /* Set hi water mark as per errata GMX-4 */ in __cvmx_helper_errata_asx_pass1()
171 return -1; in __cvmx_helper_rgmii_enable()
175 return -1; in __cvmx_helper_rgmii_enable()
177 /* Configure the ASX registers needed to use the RGMII ports */ in __cvmx_helper_rgmii_enable()
186 /* Configure the GMX registers needed to use the RGMII ports */ in __cvmx_helper_rgmii_enable()
193 sys_info_ptr-> in __cvmx_helper_rgmii_enable()
238 /* enable the ports now */ in __cvmx_helper_rgmii_enable()
309 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_SIM) in __cvmx_helper_rgmii_link_set()
338 gmx_tx_ovr_bp.s.bp &= ~(1 << index); in __cvmx_helper_rgmii_link_set()
406 * ---- --- ----- ------ ----------------------------------------- in __cvmx_helper_rgmii_link_set()
407 * X 0 X X All links are disabled. in __cvmx_helper_rgmii_link_set()
410 * 1 1 0 X Ports 1 and 2 are configured as RGMII ports. in __cvmx_helper_rgmii_link_set()
411 * 1 1 1 X Port 1: GMII/MII; Port 2: disabled. GMII or in __cvmx_helper_rgmii_link_set()
435 /* Re-enable the TX path */ in __cvmx_helper_rgmii_link_set()