Lines Matching +full:gmii +full:- +full:to +full:- +full:rgmii +full:- +full:1
7 * Copyright (c) 2003-2008 Cavium Networks
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
20 * along with this file; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
29 * Utility functions to decode Octeon's RSL_INT_BLOCKS
35 #include <asm/octeon/cvmx-asxx-defs.h>
36 #include <asm/octeon/cvmx-gmxx-defs.h>
48 * @block: Interface to enable 0-1
74 * @interface: Interface to enable
88 case 1: /* XAUI */ in __cvmx_interrupt_gmxx_enable()
89 num_ports = 1; in __cvmx_interrupt_gmxx_enable()
107 * errors through port 0. RGMII needs in __cvmx_interrupt_gmxx_enable()
108 * to check all 4 ports in __cvmx_interrupt_gmxx_enable()
111 num_ports = 1; in __cvmx_interrupt_gmxx_enable()
117 * or three ports. GMII and MII has 2, in __cvmx_interrupt_gmxx_enable()
118 * RGMII has three in __cvmx_interrupt_gmxx_enable()
133 gmx_tx_int_en.cn38xx.ncb_nxa = 1; in __cvmx_interrupt_gmxx_enable()
134 gmx_tx_int_en.s.pko_nxa = 1; in __cvmx_interrupt_gmxx_enable()
136 gmx_tx_int_en.s.undflw = (1 << num_ports) - 1; in __cvmx_interrupt_gmxx_enable()