1*c5aa59e8SDavid Daney /***********************license start*************** 2*c5aa59e8SDavid Daney * Author: Cavium Networks 3*c5aa59e8SDavid Daney * 4*c5aa59e8SDavid Daney * Contact: support@caviumnetworks.com 5*c5aa59e8SDavid Daney * This file is part of the OCTEON SDK 6*c5aa59e8SDavid Daney * 7*c5aa59e8SDavid Daney * Copyright (c) 2003-2012 Cavium Networks 8*c5aa59e8SDavid Daney * 9*c5aa59e8SDavid Daney * This file is free software; you can redistribute it and/or modify 10*c5aa59e8SDavid Daney * it under the terms of the GNU General Public License, Version 2, as 11*c5aa59e8SDavid Daney * published by the Free Software Foundation. 12*c5aa59e8SDavid Daney * 13*c5aa59e8SDavid Daney * This file is distributed in the hope that it will be useful, but 14*c5aa59e8SDavid Daney * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 15*c5aa59e8SDavid Daney * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, TITLE, or 16*c5aa59e8SDavid Daney * NONINFRINGEMENT. See the GNU General Public License for more 17*c5aa59e8SDavid Daney * details. 18*c5aa59e8SDavid Daney * 19*c5aa59e8SDavid Daney * You should have received a copy of the GNU General Public License 20*c5aa59e8SDavid Daney * along with this file; if not, write to the Free Software 21*c5aa59e8SDavid Daney * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 22*c5aa59e8SDavid Daney * or visit http://www.gnu.org/licenses/. 23*c5aa59e8SDavid Daney * 24*c5aa59e8SDavid Daney * This file may also be available under a different license from Cavium. 25*c5aa59e8SDavid Daney * Contact Cavium Networks for more information 26*c5aa59e8SDavid Daney ***********************license end**************************************/ 27*c5aa59e8SDavid Daney 28*c5aa59e8SDavid Daney #ifndef __CVMX_CIU2_DEFS_H__ 29*c5aa59e8SDavid Daney #define __CVMX_CIU2_DEFS_H__ 30*c5aa59e8SDavid Daney 31*c5aa59e8SDavid Daney #define CVMX_CIU2_ACK_IOX_INT(block_id) (CVMX_ADD_IO_SEG(0x00010701080C0800ull) + ((block_id) & 1) * 0x200000ull) 32*c5aa59e8SDavid Daney #define CVMX_CIU2_ACK_PPX_IP2(block_id) (CVMX_ADD_IO_SEG(0x00010701000C0000ull) + ((block_id) & 31) * 0x200000ull) 33*c5aa59e8SDavid Daney #define CVMX_CIU2_ACK_PPX_IP3(block_id) (CVMX_ADD_IO_SEG(0x00010701000C0200ull) + ((block_id) & 31) * 0x200000ull) 34*c5aa59e8SDavid Daney #define CVMX_CIU2_ACK_PPX_IP4(block_id) (CVMX_ADD_IO_SEG(0x00010701000C0400ull) + ((block_id) & 31) * 0x200000ull) 35*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_IOX_INT_GPIO(block_id) (CVMX_ADD_IO_SEG(0x0001070108097800ull) + ((block_id) & 1) * 0x200000ull) 36*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_IOX_INT_GPIO_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701080B7800ull) + ((block_id) & 1) * 0x200000ull) 37*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_IOX_INT_GPIO_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701080A7800ull) + ((block_id) & 1) * 0x200000ull) 38*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_IOX_INT_IO(block_id) (CVMX_ADD_IO_SEG(0x0001070108094800ull) + ((block_id) & 1) * 0x200000ull) 39*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_IOX_INT_IO_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701080B4800ull) + ((block_id) & 1) * 0x200000ull) 40*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_IOX_INT_IO_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701080A4800ull) + ((block_id) & 1) * 0x200000ull) 41*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_IOX_INT_MBOX(block_id) (CVMX_ADD_IO_SEG(0x0001070108098800ull) + ((block_id) & 1) * 0x200000ull) 42*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_IOX_INT_MBOX_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701080B8800ull) + ((block_id) & 1) * 0x200000ull) 43*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_IOX_INT_MBOX_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701080A8800ull) + ((block_id) & 1) * 0x200000ull) 44*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_IOX_INT_MEM(block_id) (CVMX_ADD_IO_SEG(0x0001070108095800ull) + ((block_id) & 1) * 0x200000ull) 45*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_IOX_INT_MEM_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701080B5800ull) + ((block_id) & 1) * 0x200000ull) 46*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_IOX_INT_MEM_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701080A5800ull) + ((block_id) & 1) * 0x200000ull) 47*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_IOX_INT_MIO(block_id) (CVMX_ADD_IO_SEG(0x0001070108093800ull) + ((block_id) & 1) * 0x200000ull) 48*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_IOX_INT_MIO_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701080B3800ull) + ((block_id) & 1) * 0x200000ull) 49*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_IOX_INT_MIO_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701080A3800ull) + ((block_id) & 1) * 0x200000ull) 50*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_IOX_INT_PKT(block_id) (CVMX_ADD_IO_SEG(0x0001070108096800ull) + ((block_id) & 1) * 0x200000ull) 51*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_IOX_INT_PKT_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701080B6800ull) + ((block_id) & 1) * 0x200000ull) 52*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_IOX_INT_PKT_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701080A6800ull) + ((block_id) & 1) * 0x200000ull) 53*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_IOX_INT_RML(block_id) (CVMX_ADD_IO_SEG(0x0001070108092800ull) + ((block_id) & 1) * 0x200000ull) 54*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_IOX_INT_RML_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701080B2800ull) + ((block_id) & 1) * 0x200000ull) 55*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_IOX_INT_RML_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701080A2800ull) + ((block_id) & 1) * 0x200000ull) 56*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_IOX_INT_WDOG(block_id) (CVMX_ADD_IO_SEG(0x0001070108091800ull) + ((block_id) & 1) * 0x200000ull) 57*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_IOX_INT_WDOG_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701080B1800ull) + ((block_id) & 1) * 0x200000ull) 58*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_IOX_INT_WDOG_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701080A1800ull) + ((block_id) & 1) * 0x200000ull) 59*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_IOX_INT_WRKQ(block_id) (CVMX_ADD_IO_SEG(0x0001070108090800ull) + ((block_id) & 1) * 0x200000ull) 60*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_IOX_INT_WRKQ_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701080B0800ull) + ((block_id) & 1) * 0x200000ull) 61*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_IOX_INT_WRKQ_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701080A0800ull) + ((block_id) & 1) * 0x200000ull) 62*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP2_GPIO(block_id) (CVMX_ADD_IO_SEG(0x0001070100097000ull) + ((block_id) & 31) * 0x200000ull) 63*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP2_GPIO_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701000B7000ull) + ((block_id) & 31) * 0x200000ull) 64*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP2_GPIO_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701000A7000ull) + ((block_id) & 31) * 0x200000ull) 65*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP2_IO(block_id) (CVMX_ADD_IO_SEG(0x0001070100094000ull) + ((block_id) & 31) * 0x200000ull) 66*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP2_IO_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701000B4000ull) + ((block_id) & 31) * 0x200000ull) 67*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP2_IO_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701000A4000ull) + ((block_id) & 31) * 0x200000ull) 68*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP2_MBOX(block_id) (CVMX_ADD_IO_SEG(0x0001070100098000ull) + ((block_id) & 31) * 0x200000ull) 69*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP2_MBOX_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701000B8000ull) + ((block_id) & 31) * 0x200000ull) 70*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP2_MBOX_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701000A8000ull) + ((block_id) & 31) * 0x200000ull) 71*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP2_MEM(block_id) (CVMX_ADD_IO_SEG(0x0001070100095000ull) + ((block_id) & 31) * 0x200000ull) 72*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP2_MEM_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701000B5000ull) + ((block_id) & 31) * 0x200000ull) 73*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP2_MEM_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701000A5000ull) + ((block_id) & 31) * 0x200000ull) 74*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP2_MIO(block_id) (CVMX_ADD_IO_SEG(0x0001070100093000ull) + ((block_id) & 31) * 0x200000ull) 75*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP2_MIO_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701000B3000ull) + ((block_id) & 31) * 0x200000ull) 76*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP2_MIO_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701000A3000ull) + ((block_id) & 31) * 0x200000ull) 77*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP2_PKT(block_id) (CVMX_ADD_IO_SEG(0x0001070100096000ull) + ((block_id) & 31) * 0x200000ull) 78*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP2_PKT_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701000B6000ull) + ((block_id) & 31) * 0x200000ull) 79*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP2_PKT_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701000A6000ull) + ((block_id) & 31) * 0x200000ull) 80*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP2_RML(block_id) (CVMX_ADD_IO_SEG(0x0001070100092000ull) + ((block_id) & 31) * 0x200000ull) 81*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP2_RML_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701000B2000ull) + ((block_id) & 31) * 0x200000ull) 82*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP2_RML_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701000A2000ull) + ((block_id) & 31) * 0x200000ull) 83*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP2_WDOG(block_id) (CVMX_ADD_IO_SEG(0x0001070100091000ull) + ((block_id) & 31) * 0x200000ull) 84*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP2_WDOG_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701000B1000ull) + ((block_id) & 31) * 0x200000ull) 85*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP2_WDOG_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701000A1000ull) + ((block_id) & 31) * 0x200000ull) 86*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP2_WRKQ(block_id) (CVMX_ADD_IO_SEG(0x0001070100090000ull) + ((block_id) & 31) * 0x200000ull) 87*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP2_WRKQ_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701000B0000ull) + ((block_id) & 31) * 0x200000ull) 88*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP2_WRKQ_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701000A0000ull) + ((block_id) & 31) * 0x200000ull) 89*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP3_GPIO(block_id) (CVMX_ADD_IO_SEG(0x0001070100097200ull) + ((block_id) & 31) * 0x200000ull) 90*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP3_GPIO_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701000B7200ull) + ((block_id) & 31) * 0x200000ull) 91*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP3_GPIO_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701000A7200ull) + ((block_id) & 31) * 0x200000ull) 92*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP3_IO(block_id) (CVMX_ADD_IO_SEG(0x0001070100094200ull) + ((block_id) & 31) * 0x200000ull) 93*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP3_IO_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701000B4200ull) + ((block_id) & 31) * 0x200000ull) 94*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP3_IO_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701000A4200ull) + ((block_id) & 31) * 0x200000ull) 95*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP3_MBOX(block_id) (CVMX_ADD_IO_SEG(0x0001070100098200ull) + ((block_id) & 31) * 0x200000ull) 96*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP3_MBOX_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701000B8200ull) + ((block_id) & 31) * 0x200000ull) 97*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP3_MBOX_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701000A8200ull) + ((block_id) & 31) * 0x200000ull) 98*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP3_MEM(block_id) (CVMX_ADD_IO_SEG(0x0001070100095200ull) + ((block_id) & 31) * 0x200000ull) 99*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP3_MEM_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701000B5200ull) + ((block_id) & 31) * 0x200000ull) 100*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP3_MEM_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701000A5200ull) + ((block_id) & 31) * 0x200000ull) 101*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP3_MIO(block_id) (CVMX_ADD_IO_SEG(0x0001070100093200ull) + ((block_id) & 31) * 0x200000ull) 102*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP3_MIO_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701000B3200ull) + ((block_id) & 31) * 0x200000ull) 103*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP3_MIO_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701000A3200ull) + ((block_id) & 31) * 0x200000ull) 104*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP3_PKT(block_id) (CVMX_ADD_IO_SEG(0x0001070100096200ull) + ((block_id) & 31) * 0x200000ull) 105*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP3_PKT_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701000B6200ull) + ((block_id) & 31) * 0x200000ull) 106*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP3_PKT_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701000A6200ull) + ((block_id) & 31) * 0x200000ull) 107*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP3_RML(block_id) (CVMX_ADD_IO_SEG(0x0001070100092200ull) + ((block_id) & 31) * 0x200000ull) 108*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP3_RML_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701000B2200ull) + ((block_id) & 31) * 0x200000ull) 109*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP3_RML_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701000A2200ull) + ((block_id) & 31) * 0x200000ull) 110*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP3_WDOG(block_id) (CVMX_ADD_IO_SEG(0x0001070100091200ull) + ((block_id) & 31) * 0x200000ull) 111*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP3_WDOG_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701000B1200ull) + ((block_id) & 31) * 0x200000ull) 112*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP3_WDOG_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701000A1200ull) + ((block_id) & 31) * 0x200000ull) 113*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP3_WRKQ(block_id) (CVMX_ADD_IO_SEG(0x0001070100090200ull) + ((block_id) & 31) * 0x200000ull) 114*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP3_WRKQ_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701000B0200ull) + ((block_id) & 31) * 0x200000ull) 115*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP3_WRKQ_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701000A0200ull) + ((block_id) & 31) * 0x200000ull) 116*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP4_GPIO(block_id) (CVMX_ADD_IO_SEG(0x0001070100097400ull) + ((block_id) & 31) * 0x200000ull) 117*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP4_GPIO_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701000B7400ull) + ((block_id) & 31) * 0x200000ull) 118*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP4_GPIO_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701000A7400ull) + ((block_id) & 31) * 0x200000ull) 119*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP4_IO(block_id) (CVMX_ADD_IO_SEG(0x0001070100094400ull) + ((block_id) & 31) * 0x200000ull) 120*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP4_IO_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701000B4400ull) + ((block_id) & 31) * 0x200000ull) 121*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP4_IO_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701000A4400ull) + ((block_id) & 31) * 0x200000ull) 122*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP4_MBOX(block_id) (CVMX_ADD_IO_SEG(0x0001070100098400ull) + ((block_id) & 31) * 0x200000ull) 123*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP4_MBOX_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701000B8400ull) + ((block_id) & 31) * 0x200000ull) 124*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP4_MBOX_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701000A8400ull) + ((block_id) & 31) * 0x200000ull) 125*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP4_MEM(block_id) (CVMX_ADD_IO_SEG(0x0001070100095400ull) + ((block_id) & 31) * 0x200000ull) 126*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP4_MEM_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701000B5400ull) + ((block_id) & 31) * 0x200000ull) 127*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP4_MEM_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701000A5400ull) + ((block_id) & 31) * 0x200000ull) 128*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP4_MIO(block_id) (CVMX_ADD_IO_SEG(0x0001070100093400ull) + ((block_id) & 31) * 0x200000ull) 129*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP4_MIO_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701000B3400ull) + ((block_id) & 31) * 0x200000ull) 130*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP4_MIO_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701000A3400ull) + ((block_id) & 31) * 0x200000ull) 131*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP4_PKT(block_id) (CVMX_ADD_IO_SEG(0x0001070100096400ull) + ((block_id) & 31) * 0x200000ull) 132*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP4_PKT_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701000B6400ull) + ((block_id) & 31) * 0x200000ull) 133*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP4_PKT_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701000A6400ull) + ((block_id) & 31) * 0x200000ull) 134*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP4_RML(block_id) (CVMX_ADD_IO_SEG(0x0001070100092400ull) + ((block_id) & 31) * 0x200000ull) 135*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP4_RML_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701000B2400ull) + ((block_id) & 31) * 0x200000ull) 136*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP4_RML_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701000A2400ull) + ((block_id) & 31) * 0x200000ull) 137*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP4_WDOG(block_id) (CVMX_ADD_IO_SEG(0x0001070100091400ull) + ((block_id) & 31) * 0x200000ull) 138*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP4_WDOG_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701000B1400ull) + ((block_id) & 31) * 0x200000ull) 139*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP4_WDOG_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701000A1400ull) + ((block_id) & 31) * 0x200000ull) 140*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP4_WRKQ(block_id) (CVMX_ADD_IO_SEG(0x0001070100090400ull) + ((block_id) & 31) * 0x200000ull) 141*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP4_WRKQ_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701000B0400ull) + ((block_id) & 31) * 0x200000ull) 142*c5aa59e8SDavid Daney #define CVMX_CIU2_EN_PPX_IP4_WRKQ_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701000A0400ull) + ((block_id) & 31) * 0x200000ull) 143*c5aa59e8SDavid Daney #define CVMX_CIU2_INTR_CIU_READY (CVMX_ADD_IO_SEG(0x0001070100102008ull)) 144*c5aa59e8SDavid Daney #define CVMX_CIU2_INTR_RAM_ECC_CTL (CVMX_ADD_IO_SEG(0x0001070100102010ull)) 145*c5aa59e8SDavid Daney #define CVMX_CIU2_INTR_RAM_ECC_ST (CVMX_ADD_IO_SEG(0x0001070100102018ull)) 146*c5aa59e8SDavid Daney #define CVMX_CIU2_INTR_SLOWDOWN (CVMX_ADD_IO_SEG(0x0001070100102000ull)) 147*c5aa59e8SDavid Daney #define CVMX_CIU2_MSIRED_PPX_IP2(block_id) (CVMX_ADD_IO_SEG(0x00010701000C1000ull) + ((block_id) & 31) * 0x200000ull) 148*c5aa59e8SDavid Daney #define CVMX_CIU2_MSIRED_PPX_IP3(block_id) (CVMX_ADD_IO_SEG(0x00010701000C1200ull) + ((block_id) & 31) * 0x200000ull) 149*c5aa59e8SDavid Daney #define CVMX_CIU2_MSIRED_PPX_IP4(block_id) (CVMX_ADD_IO_SEG(0x00010701000C1400ull) + ((block_id) & 31) * 0x200000ull) 150*c5aa59e8SDavid Daney #define CVMX_CIU2_MSI_RCVX(offset) (CVMX_ADD_IO_SEG(0x00010701000C2000ull) + ((offset) & 255) * 8) 151*c5aa59e8SDavid Daney #define CVMX_CIU2_MSI_SELX(offset) (CVMX_ADD_IO_SEG(0x00010701000C3000ull) + ((offset) & 255) * 8) 152*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_IOX_INT_GPIO(block_id) (CVMX_ADD_IO_SEG(0x0001070108047800ull) + ((block_id) & 1) * 0x200000ull) 153*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_IOX_INT_IO(block_id) (CVMX_ADD_IO_SEG(0x0001070108044800ull) + ((block_id) & 1) * 0x200000ull) 154*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_IOX_INT_MEM(block_id) (CVMX_ADD_IO_SEG(0x0001070108045800ull) + ((block_id) & 1) * 0x200000ull) 155*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_IOX_INT_MIO(block_id) (CVMX_ADD_IO_SEG(0x0001070108043800ull) + ((block_id) & 1) * 0x200000ull) 156*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_IOX_INT_PKT(block_id) (CVMX_ADD_IO_SEG(0x0001070108046800ull) + ((block_id) & 1) * 0x200000ull) 157*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_IOX_INT_RML(block_id) (CVMX_ADD_IO_SEG(0x0001070108042800ull) + ((block_id) & 1) * 0x200000ull) 158*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_IOX_INT_WDOG(block_id) (CVMX_ADD_IO_SEG(0x0001070108041800ull) + ((block_id) & 1) * 0x200000ull) 159*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_IOX_INT_WRKQ(block_id) (CVMX_ADD_IO_SEG(0x0001070108040800ull) + ((block_id) & 1) * 0x200000ull) 160*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_PPX_IP2_GPIO(block_id) (CVMX_ADD_IO_SEG(0x0001070100047000ull) + ((block_id) & 31) * 0x200000ull) 161*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_PPX_IP2_IO(block_id) (CVMX_ADD_IO_SEG(0x0001070100044000ull) + ((block_id) & 31) * 0x200000ull) 162*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_PPX_IP2_MEM(block_id) (CVMX_ADD_IO_SEG(0x0001070100045000ull) + ((block_id) & 31) * 0x200000ull) 163*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_PPX_IP2_MIO(block_id) (CVMX_ADD_IO_SEG(0x0001070100043000ull) + ((block_id) & 31) * 0x200000ull) 164*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_PPX_IP2_PKT(block_id) (CVMX_ADD_IO_SEG(0x0001070100046000ull) + ((block_id) & 31) * 0x200000ull) 165*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_PPX_IP2_RML(block_id) (CVMX_ADD_IO_SEG(0x0001070100042000ull) + ((block_id) & 31) * 0x200000ull) 166*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_PPX_IP2_WDOG(block_id) (CVMX_ADD_IO_SEG(0x0001070100041000ull) + ((block_id) & 31) * 0x200000ull) 167*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_PPX_IP2_WRKQ(block_id) (CVMX_ADD_IO_SEG(0x0001070100040000ull) + ((block_id) & 31) * 0x200000ull) 168*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_PPX_IP3_GPIO(block_id) (CVMX_ADD_IO_SEG(0x0001070100047200ull) + ((block_id) & 31) * 0x200000ull) 169*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_PPX_IP3_IO(block_id) (CVMX_ADD_IO_SEG(0x0001070100044200ull) + ((block_id) & 31) * 0x200000ull) 170*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_PPX_IP3_MEM(block_id) (CVMX_ADD_IO_SEG(0x0001070100045200ull) + ((block_id) & 31) * 0x200000ull) 171*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_PPX_IP3_MIO(block_id) (CVMX_ADD_IO_SEG(0x0001070100043200ull) + ((block_id) & 31) * 0x200000ull) 172*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_PPX_IP3_PKT(block_id) (CVMX_ADD_IO_SEG(0x0001070100046200ull) + ((block_id) & 31) * 0x200000ull) 173*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_PPX_IP3_RML(block_id) (CVMX_ADD_IO_SEG(0x0001070100042200ull) + ((block_id) & 31) * 0x200000ull) 174*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_PPX_IP3_WDOG(block_id) (CVMX_ADD_IO_SEG(0x0001070100041200ull) + ((block_id) & 31) * 0x200000ull) 175*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_PPX_IP3_WRKQ(block_id) (CVMX_ADD_IO_SEG(0x0001070100040200ull) + ((block_id) & 31) * 0x200000ull) 176*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_PPX_IP4_GPIO(block_id) (CVMX_ADD_IO_SEG(0x0001070100047400ull) + ((block_id) & 31) * 0x200000ull) 177*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_PPX_IP4_IO(block_id) (CVMX_ADD_IO_SEG(0x0001070100044400ull) + ((block_id) & 31) * 0x200000ull) 178*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_PPX_IP4_MEM(block_id) (CVMX_ADD_IO_SEG(0x0001070100045400ull) + ((block_id) & 31) * 0x200000ull) 179*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_PPX_IP4_MIO(block_id) (CVMX_ADD_IO_SEG(0x0001070100043400ull) + ((block_id) & 31) * 0x200000ull) 180*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_PPX_IP4_PKT(block_id) (CVMX_ADD_IO_SEG(0x0001070100046400ull) + ((block_id) & 31) * 0x200000ull) 181*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_PPX_IP4_RML(block_id) (CVMX_ADD_IO_SEG(0x0001070100042400ull) + ((block_id) & 31) * 0x200000ull) 182*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_PPX_IP4_WDOG(block_id) (CVMX_ADD_IO_SEG(0x0001070100041400ull) + ((block_id) & 31) * 0x200000ull) 183*c5aa59e8SDavid Daney #define CVMX_CIU2_RAW_PPX_IP4_WRKQ(block_id) (CVMX_ADD_IO_SEG(0x0001070100040400ull) + ((block_id) & 31) * 0x200000ull) 184*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_IOX_INT_GPIO(block_id) (CVMX_ADD_IO_SEG(0x0001070108087800ull) + ((block_id) & 1) * 0x200000ull) 185*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_IOX_INT_IO(block_id) (CVMX_ADD_IO_SEG(0x0001070108084800ull) + ((block_id) & 1) * 0x200000ull) 186*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_IOX_INT_MBOX(block_id) (CVMX_ADD_IO_SEG(0x0001070108088800ull) + ((block_id) & 1) * 0x200000ull) 187*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_IOX_INT_MEM(block_id) (CVMX_ADD_IO_SEG(0x0001070108085800ull) + ((block_id) & 1) * 0x200000ull) 188*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_IOX_INT_MIO(block_id) (CVMX_ADD_IO_SEG(0x0001070108083800ull) + ((block_id) & 1) * 0x200000ull) 189*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_IOX_INT_PKT(block_id) (CVMX_ADD_IO_SEG(0x0001070108086800ull) + ((block_id) & 1) * 0x200000ull) 190*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_IOX_INT_RML(block_id) (CVMX_ADD_IO_SEG(0x0001070108082800ull) + ((block_id) & 1) * 0x200000ull) 191*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_IOX_INT_WDOG(block_id) (CVMX_ADD_IO_SEG(0x0001070108081800ull) + ((block_id) & 1) * 0x200000ull) 192*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_IOX_INT_WRKQ(block_id) (CVMX_ADD_IO_SEG(0x0001070108080800ull) + ((block_id) & 1) * 0x200000ull) 193*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_PPX_IP2_GPIO(block_id) (CVMX_ADD_IO_SEG(0x0001070100087000ull) + ((block_id) & 31) * 0x200000ull) 194*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_PPX_IP2_IO(block_id) (CVMX_ADD_IO_SEG(0x0001070100084000ull) + ((block_id) & 31) * 0x200000ull) 195*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_PPX_IP2_MBOX(block_id) (CVMX_ADD_IO_SEG(0x0001070100088000ull) + ((block_id) & 31) * 0x200000ull) 196*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_PPX_IP2_MEM(block_id) (CVMX_ADD_IO_SEG(0x0001070100085000ull) + ((block_id) & 31) * 0x200000ull) 197*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_PPX_IP2_MIO(block_id) (CVMX_ADD_IO_SEG(0x0001070100083000ull) + ((block_id) & 31) * 0x200000ull) 198*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_PPX_IP2_PKT(block_id) (CVMX_ADD_IO_SEG(0x0001070100086000ull) + ((block_id) & 31) * 0x200000ull) 199*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_PPX_IP2_RML(block_id) (CVMX_ADD_IO_SEG(0x0001070100082000ull) + ((block_id) & 31) * 0x200000ull) 200*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_PPX_IP2_WDOG(block_id) (CVMX_ADD_IO_SEG(0x0001070100081000ull) + ((block_id) & 31) * 0x200000ull) 201*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_PPX_IP2_WRKQ(block_id) (CVMX_ADD_IO_SEG(0x0001070100080000ull) + ((block_id) & 31) * 0x200000ull) 202*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_PPX_IP3_GPIO(block_id) (CVMX_ADD_IO_SEG(0x0001070100087200ull) + ((block_id) & 31) * 0x200000ull) 203*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_PPX_IP3_IO(block_id) (CVMX_ADD_IO_SEG(0x0001070100084200ull) + ((block_id) & 31) * 0x200000ull) 204*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_PPX_IP3_MBOX(block_id) (CVMX_ADD_IO_SEG(0x0001070100088200ull) + ((block_id) & 31) * 0x200000ull) 205*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_PPX_IP3_MEM(block_id) (CVMX_ADD_IO_SEG(0x0001070100085200ull) + ((block_id) & 31) * 0x200000ull) 206*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_PPX_IP3_MIO(block_id) (CVMX_ADD_IO_SEG(0x0001070100083200ull) + ((block_id) & 31) * 0x200000ull) 207*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_PPX_IP3_PKT(block_id) (CVMX_ADD_IO_SEG(0x0001070100086200ull) + ((block_id) & 31) * 0x200000ull) 208*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_PPX_IP3_RML(block_id) (CVMX_ADD_IO_SEG(0x0001070100082200ull) + ((block_id) & 31) * 0x200000ull) 209*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_PPX_IP3_WDOG(block_id) (CVMX_ADD_IO_SEG(0x0001070100081200ull) + ((block_id) & 31) * 0x200000ull) 210*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_PPX_IP3_WRKQ(block_id) (CVMX_ADD_IO_SEG(0x0001070100080200ull) + ((block_id) & 31) * 0x200000ull) 211*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_PPX_IP4_GPIO(block_id) (CVMX_ADD_IO_SEG(0x0001070100087400ull) + ((block_id) & 31) * 0x200000ull) 212*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_PPX_IP4_IO(block_id) (CVMX_ADD_IO_SEG(0x0001070100084400ull) + ((block_id) & 31) * 0x200000ull) 213*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_PPX_IP4_MBOX(block_id) (CVMX_ADD_IO_SEG(0x0001070100088400ull) + ((block_id) & 31) * 0x200000ull) 214*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_PPX_IP4_MEM(block_id) (CVMX_ADD_IO_SEG(0x0001070100085400ull) + ((block_id) & 31) * 0x200000ull) 215*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_PPX_IP4_MIO(block_id) (CVMX_ADD_IO_SEG(0x0001070100083400ull) + ((block_id) & 31) * 0x200000ull) 216*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_PPX_IP4_PKT(block_id) (CVMX_ADD_IO_SEG(0x0001070100086400ull) + ((block_id) & 31) * 0x200000ull) 217*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_PPX_IP4_RML(block_id) (CVMX_ADD_IO_SEG(0x0001070100082400ull) + ((block_id) & 31) * 0x200000ull) 218*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_PPX_IP4_WDOG(block_id) (CVMX_ADD_IO_SEG(0x0001070100081400ull) + ((block_id) & 31) * 0x200000ull) 219*c5aa59e8SDavid Daney #define CVMX_CIU2_SRC_PPX_IP4_WRKQ(block_id) (CVMX_ADD_IO_SEG(0x0001070100080400ull) + ((block_id) & 31) * 0x200000ull) 220*c5aa59e8SDavid Daney #define CVMX_CIU2_SUM_IOX_INT(offset) (CVMX_ADD_IO_SEG(0x0001070100000800ull) + ((offset) & 1) * 8) 221*c5aa59e8SDavid Daney #define CVMX_CIU2_SUM_PPX_IP2(offset) (CVMX_ADD_IO_SEG(0x0001070100000000ull) + ((offset) & 31) * 8) 222*c5aa59e8SDavid Daney #define CVMX_CIU2_SUM_PPX_IP3(offset) (CVMX_ADD_IO_SEG(0x0001070100000200ull) + ((offset) & 31) * 8) 223*c5aa59e8SDavid Daney #define CVMX_CIU2_SUM_PPX_IP4(offset) (CVMX_ADD_IO_SEG(0x0001070100000400ull) + ((offset) & 31) * 8) 224*c5aa59e8SDavid Daney 225*c5aa59e8SDavid Daney union cvmx_ciu2_ack_iox_int { 226*c5aa59e8SDavid Daney uint64_t u64; 227*c5aa59e8SDavid Daney struct cvmx_ciu2_ack_iox_int_s { 228*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 229*c5aa59e8SDavid Daney uint64_t reserved_1_63:63; 230*c5aa59e8SDavid Daney uint64_t ack:1; 231*c5aa59e8SDavid Daney #else 232*c5aa59e8SDavid Daney uint64_t ack:1; 233*c5aa59e8SDavid Daney uint64_t reserved_1_63:63; 234*c5aa59e8SDavid Daney #endif 235*c5aa59e8SDavid Daney } s; 236*c5aa59e8SDavid Daney struct cvmx_ciu2_ack_iox_int_s cn68xx; 237*c5aa59e8SDavid Daney struct cvmx_ciu2_ack_iox_int_s cn68xxp1; 238*c5aa59e8SDavid Daney }; 239*c5aa59e8SDavid Daney 240*c5aa59e8SDavid Daney union cvmx_ciu2_ack_ppx_ip2 { 241*c5aa59e8SDavid Daney uint64_t u64; 242*c5aa59e8SDavid Daney struct cvmx_ciu2_ack_ppx_ip2_s { 243*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 244*c5aa59e8SDavid Daney uint64_t reserved_1_63:63; 245*c5aa59e8SDavid Daney uint64_t ack:1; 246*c5aa59e8SDavid Daney #else 247*c5aa59e8SDavid Daney uint64_t ack:1; 248*c5aa59e8SDavid Daney uint64_t reserved_1_63:63; 249*c5aa59e8SDavid Daney #endif 250*c5aa59e8SDavid Daney } s; 251*c5aa59e8SDavid Daney struct cvmx_ciu2_ack_ppx_ip2_s cn68xx; 252*c5aa59e8SDavid Daney struct cvmx_ciu2_ack_ppx_ip2_s cn68xxp1; 253*c5aa59e8SDavid Daney }; 254*c5aa59e8SDavid Daney 255*c5aa59e8SDavid Daney union cvmx_ciu2_ack_ppx_ip3 { 256*c5aa59e8SDavid Daney uint64_t u64; 257*c5aa59e8SDavid Daney struct cvmx_ciu2_ack_ppx_ip3_s { 258*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 259*c5aa59e8SDavid Daney uint64_t reserved_1_63:63; 260*c5aa59e8SDavid Daney uint64_t ack:1; 261*c5aa59e8SDavid Daney #else 262*c5aa59e8SDavid Daney uint64_t ack:1; 263*c5aa59e8SDavid Daney uint64_t reserved_1_63:63; 264*c5aa59e8SDavid Daney #endif 265*c5aa59e8SDavid Daney } s; 266*c5aa59e8SDavid Daney struct cvmx_ciu2_ack_ppx_ip3_s cn68xx; 267*c5aa59e8SDavid Daney struct cvmx_ciu2_ack_ppx_ip3_s cn68xxp1; 268*c5aa59e8SDavid Daney }; 269*c5aa59e8SDavid Daney 270*c5aa59e8SDavid Daney union cvmx_ciu2_ack_ppx_ip4 { 271*c5aa59e8SDavid Daney uint64_t u64; 272*c5aa59e8SDavid Daney struct cvmx_ciu2_ack_ppx_ip4_s { 273*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 274*c5aa59e8SDavid Daney uint64_t reserved_1_63:63; 275*c5aa59e8SDavid Daney uint64_t ack:1; 276*c5aa59e8SDavid Daney #else 277*c5aa59e8SDavid Daney uint64_t ack:1; 278*c5aa59e8SDavid Daney uint64_t reserved_1_63:63; 279*c5aa59e8SDavid Daney #endif 280*c5aa59e8SDavid Daney } s; 281*c5aa59e8SDavid Daney struct cvmx_ciu2_ack_ppx_ip4_s cn68xx; 282*c5aa59e8SDavid Daney struct cvmx_ciu2_ack_ppx_ip4_s cn68xxp1; 283*c5aa59e8SDavid Daney }; 284*c5aa59e8SDavid Daney 285*c5aa59e8SDavid Daney union cvmx_ciu2_en_iox_int_gpio { 286*c5aa59e8SDavid Daney uint64_t u64; 287*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_gpio_s { 288*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 289*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 290*c5aa59e8SDavid Daney uint64_t gpio:16; 291*c5aa59e8SDavid Daney #else 292*c5aa59e8SDavid Daney uint64_t gpio:16; 293*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 294*c5aa59e8SDavid Daney #endif 295*c5aa59e8SDavid Daney } s; 296*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_gpio_s cn68xx; 297*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_gpio_s cn68xxp1; 298*c5aa59e8SDavid Daney }; 299*c5aa59e8SDavid Daney 300*c5aa59e8SDavid Daney union cvmx_ciu2_en_iox_int_gpio_w1c { 301*c5aa59e8SDavid Daney uint64_t u64; 302*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_gpio_w1c_s { 303*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 304*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 305*c5aa59e8SDavid Daney uint64_t gpio:16; 306*c5aa59e8SDavid Daney #else 307*c5aa59e8SDavid Daney uint64_t gpio:16; 308*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 309*c5aa59e8SDavid Daney #endif 310*c5aa59e8SDavid Daney } s; 311*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_gpio_w1c_s cn68xx; 312*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_gpio_w1c_s cn68xxp1; 313*c5aa59e8SDavid Daney }; 314*c5aa59e8SDavid Daney 315*c5aa59e8SDavid Daney union cvmx_ciu2_en_iox_int_gpio_w1s { 316*c5aa59e8SDavid Daney uint64_t u64; 317*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_gpio_w1s_s { 318*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 319*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 320*c5aa59e8SDavid Daney uint64_t gpio:16; 321*c5aa59e8SDavid Daney #else 322*c5aa59e8SDavid Daney uint64_t gpio:16; 323*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 324*c5aa59e8SDavid Daney #endif 325*c5aa59e8SDavid Daney } s; 326*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_gpio_w1s_s cn68xx; 327*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_gpio_w1s_s cn68xxp1; 328*c5aa59e8SDavid Daney }; 329*c5aa59e8SDavid Daney 330*c5aa59e8SDavid Daney union cvmx_ciu2_en_iox_int_io { 331*c5aa59e8SDavid Daney uint64_t u64; 332*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_io_s { 333*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 334*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 335*c5aa59e8SDavid Daney uint64_t pem:2; 336*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 337*c5aa59e8SDavid Daney uint64_t pci_inta:2; 338*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 339*c5aa59e8SDavid Daney uint64_t msired:1; 340*c5aa59e8SDavid Daney uint64_t pci_msi:4; 341*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 342*c5aa59e8SDavid Daney uint64_t pci_intr:4; 343*c5aa59e8SDavid Daney #else 344*c5aa59e8SDavid Daney uint64_t pci_intr:4; 345*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 346*c5aa59e8SDavid Daney uint64_t pci_msi:4; 347*c5aa59e8SDavid Daney uint64_t msired:1; 348*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 349*c5aa59e8SDavid Daney uint64_t pci_inta:2; 350*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 351*c5aa59e8SDavid Daney uint64_t pem:2; 352*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 353*c5aa59e8SDavid Daney #endif 354*c5aa59e8SDavid Daney } s; 355*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_io_s cn68xx; 356*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_io_s cn68xxp1; 357*c5aa59e8SDavid Daney }; 358*c5aa59e8SDavid Daney 359*c5aa59e8SDavid Daney union cvmx_ciu2_en_iox_int_io_w1c { 360*c5aa59e8SDavid Daney uint64_t u64; 361*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_io_w1c_s { 362*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 363*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 364*c5aa59e8SDavid Daney uint64_t pem:2; 365*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 366*c5aa59e8SDavid Daney uint64_t pci_inta:2; 367*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 368*c5aa59e8SDavid Daney uint64_t msired:1; 369*c5aa59e8SDavid Daney uint64_t pci_msi:4; 370*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 371*c5aa59e8SDavid Daney uint64_t pci_intr:4; 372*c5aa59e8SDavid Daney #else 373*c5aa59e8SDavid Daney uint64_t pci_intr:4; 374*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 375*c5aa59e8SDavid Daney uint64_t pci_msi:4; 376*c5aa59e8SDavid Daney uint64_t msired:1; 377*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 378*c5aa59e8SDavid Daney uint64_t pci_inta:2; 379*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 380*c5aa59e8SDavid Daney uint64_t pem:2; 381*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 382*c5aa59e8SDavid Daney #endif 383*c5aa59e8SDavid Daney } s; 384*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_io_w1c_s cn68xx; 385*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_io_w1c_s cn68xxp1; 386*c5aa59e8SDavid Daney }; 387*c5aa59e8SDavid Daney 388*c5aa59e8SDavid Daney union cvmx_ciu2_en_iox_int_io_w1s { 389*c5aa59e8SDavid Daney uint64_t u64; 390*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_io_w1s_s { 391*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 392*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 393*c5aa59e8SDavid Daney uint64_t pem:2; 394*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 395*c5aa59e8SDavid Daney uint64_t pci_inta:2; 396*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 397*c5aa59e8SDavid Daney uint64_t msired:1; 398*c5aa59e8SDavid Daney uint64_t pci_msi:4; 399*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 400*c5aa59e8SDavid Daney uint64_t pci_intr:4; 401*c5aa59e8SDavid Daney #else 402*c5aa59e8SDavid Daney uint64_t pci_intr:4; 403*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 404*c5aa59e8SDavid Daney uint64_t pci_msi:4; 405*c5aa59e8SDavid Daney uint64_t msired:1; 406*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 407*c5aa59e8SDavid Daney uint64_t pci_inta:2; 408*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 409*c5aa59e8SDavid Daney uint64_t pem:2; 410*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 411*c5aa59e8SDavid Daney #endif 412*c5aa59e8SDavid Daney } s; 413*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_io_w1s_s cn68xx; 414*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_io_w1s_s cn68xxp1; 415*c5aa59e8SDavid Daney }; 416*c5aa59e8SDavid Daney 417*c5aa59e8SDavid Daney union cvmx_ciu2_en_iox_int_mbox { 418*c5aa59e8SDavid Daney uint64_t u64; 419*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_mbox_s { 420*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 421*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 422*c5aa59e8SDavid Daney uint64_t mbox:4; 423*c5aa59e8SDavid Daney #else 424*c5aa59e8SDavid Daney uint64_t mbox:4; 425*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 426*c5aa59e8SDavid Daney #endif 427*c5aa59e8SDavid Daney } s; 428*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_mbox_s cn68xx; 429*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_mbox_s cn68xxp1; 430*c5aa59e8SDavid Daney }; 431*c5aa59e8SDavid Daney 432*c5aa59e8SDavid Daney union cvmx_ciu2_en_iox_int_mbox_w1c { 433*c5aa59e8SDavid Daney uint64_t u64; 434*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_mbox_w1c_s { 435*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 436*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 437*c5aa59e8SDavid Daney uint64_t mbox:4; 438*c5aa59e8SDavid Daney #else 439*c5aa59e8SDavid Daney uint64_t mbox:4; 440*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 441*c5aa59e8SDavid Daney #endif 442*c5aa59e8SDavid Daney } s; 443*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_mbox_w1c_s cn68xx; 444*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_mbox_w1c_s cn68xxp1; 445*c5aa59e8SDavid Daney }; 446*c5aa59e8SDavid Daney 447*c5aa59e8SDavid Daney union cvmx_ciu2_en_iox_int_mbox_w1s { 448*c5aa59e8SDavid Daney uint64_t u64; 449*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_mbox_w1s_s { 450*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 451*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 452*c5aa59e8SDavid Daney uint64_t mbox:4; 453*c5aa59e8SDavid Daney #else 454*c5aa59e8SDavid Daney uint64_t mbox:4; 455*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 456*c5aa59e8SDavid Daney #endif 457*c5aa59e8SDavid Daney } s; 458*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_mbox_w1s_s cn68xx; 459*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_mbox_w1s_s cn68xxp1; 460*c5aa59e8SDavid Daney }; 461*c5aa59e8SDavid Daney 462*c5aa59e8SDavid Daney union cvmx_ciu2_en_iox_int_mem { 463*c5aa59e8SDavid Daney uint64_t u64; 464*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_mem_s { 465*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 466*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 467*c5aa59e8SDavid Daney uint64_t lmc:4; 468*c5aa59e8SDavid Daney #else 469*c5aa59e8SDavid Daney uint64_t lmc:4; 470*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 471*c5aa59e8SDavid Daney #endif 472*c5aa59e8SDavid Daney } s; 473*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_mem_s cn68xx; 474*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_mem_s cn68xxp1; 475*c5aa59e8SDavid Daney }; 476*c5aa59e8SDavid Daney 477*c5aa59e8SDavid Daney union cvmx_ciu2_en_iox_int_mem_w1c { 478*c5aa59e8SDavid Daney uint64_t u64; 479*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_mem_w1c_s { 480*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 481*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 482*c5aa59e8SDavid Daney uint64_t lmc:4; 483*c5aa59e8SDavid Daney #else 484*c5aa59e8SDavid Daney uint64_t lmc:4; 485*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 486*c5aa59e8SDavid Daney #endif 487*c5aa59e8SDavid Daney } s; 488*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_mem_w1c_s cn68xx; 489*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_mem_w1c_s cn68xxp1; 490*c5aa59e8SDavid Daney }; 491*c5aa59e8SDavid Daney 492*c5aa59e8SDavid Daney union cvmx_ciu2_en_iox_int_mem_w1s { 493*c5aa59e8SDavid Daney uint64_t u64; 494*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_mem_w1s_s { 495*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 496*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 497*c5aa59e8SDavid Daney uint64_t lmc:4; 498*c5aa59e8SDavid Daney #else 499*c5aa59e8SDavid Daney uint64_t lmc:4; 500*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 501*c5aa59e8SDavid Daney #endif 502*c5aa59e8SDavid Daney } s; 503*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_mem_w1s_s cn68xx; 504*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_mem_w1s_s cn68xxp1; 505*c5aa59e8SDavid Daney }; 506*c5aa59e8SDavid Daney 507*c5aa59e8SDavid Daney union cvmx_ciu2_en_iox_int_mio { 508*c5aa59e8SDavid Daney uint64_t u64; 509*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_mio_s { 510*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 511*c5aa59e8SDavid Daney uint64_t rst:1; 512*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 513*c5aa59e8SDavid Daney uint64_t ptp:1; 514*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 515*c5aa59e8SDavid Daney uint64_t usb_hci:1; 516*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 517*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 518*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 519*c5aa59e8SDavid Daney uint64_t uart:2; 520*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 521*c5aa59e8SDavid Daney uint64_t twsi:2; 522*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 523*c5aa59e8SDavid Daney uint64_t bootdma:1; 524*c5aa59e8SDavid Daney uint64_t mio:1; 525*c5aa59e8SDavid Daney uint64_t nand:1; 526*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 527*c5aa59e8SDavid Daney uint64_t timer:4; 528*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 529*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 530*c5aa59e8SDavid Daney uint64_t ssoiq:1; 531*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 532*c5aa59e8SDavid Daney #else 533*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 534*c5aa59e8SDavid Daney uint64_t ssoiq:1; 535*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 536*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 537*c5aa59e8SDavid Daney uint64_t timer:4; 538*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 539*c5aa59e8SDavid Daney uint64_t nand:1; 540*c5aa59e8SDavid Daney uint64_t mio:1; 541*c5aa59e8SDavid Daney uint64_t bootdma:1; 542*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 543*c5aa59e8SDavid Daney uint64_t twsi:2; 544*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 545*c5aa59e8SDavid Daney uint64_t uart:2; 546*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 547*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 548*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 549*c5aa59e8SDavid Daney uint64_t usb_hci:1; 550*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 551*c5aa59e8SDavid Daney uint64_t ptp:1; 552*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 553*c5aa59e8SDavid Daney uint64_t rst:1; 554*c5aa59e8SDavid Daney #endif 555*c5aa59e8SDavid Daney } s; 556*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_mio_s cn68xx; 557*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_mio_s cn68xxp1; 558*c5aa59e8SDavid Daney }; 559*c5aa59e8SDavid Daney 560*c5aa59e8SDavid Daney union cvmx_ciu2_en_iox_int_mio_w1c { 561*c5aa59e8SDavid Daney uint64_t u64; 562*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_mio_w1c_s { 563*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 564*c5aa59e8SDavid Daney uint64_t rst:1; 565*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 566*c5aa59e8SDavid Daney uint64_t ptp:1; 567*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 568*c5aa59e8SDavid Daney uint64_t usb_hci:1; 569*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 570*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 571*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 572*c5aa59e8SDavid Daney uint64_t uart:2; 573*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 574*c5aa59e8SDavid Daney uint64_t twsi:2; 575*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 576*c5aa59e8SDavid Daney uint64_t bootdma:1; 577*c5aa59e8SDavid Daney uint64_t mio:1; 578*c5aa59e8SDavid Daney uint64_t nand:1; 579*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 580*c5aa59e8SDavid Daney uint64_t timer:4; 581*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 582*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 583*c5aa59e8SDavid Daney uint64_t ssoiq:1; 584*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 585*c5aa59e8SDavid Daney #else 586*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 587*c5aa59e8SDavid Daney uint64_t ssoiq:1; 588*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 589*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 590*c5aa59e8SDavid Daney uint64_t timer:4; 591*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 592*c5aa59e8SDavid Daney uint64_t nand:1; 593*c5aa59e8SDavid Daney uint64_t mio:1; 594*c5aa59e8SDavid Daney uint64_t bootdma:1; 595*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 596*c5aa59e8SDavid Daney uint64_t twsi:2; 597*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 598*c5aa59e8SDavid Daney uint64_t uart:2; 599*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 600*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 601*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 602*c5aa59e8SDavid Daney uint64_t usb_hci:1; 603*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 604*c5aa59e8SDavid Daney uint64_t ptp:1; 605*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 606*c5aa59e8SDavid Daney uint64_t rst:1; 607*c5aa59e8SDavid Daney #endif 608*c5aa59e8SDavid Daney } s; 609*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_mio_w1c_s cn68xx; 610*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_mio_w1c_s cn68xxp1; 611*c5aa59e8SDavid Daney }; 612*c5aa59e8SDavid Daney 613*c5aa59e8SDavid Daney union cvmx_ciu2_en_iox_int_mio_w1s { 614*c5aa59e8SDavid Daney uint64_t u64; 615*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_mio_w1s_s { 616*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 617*c5aa59e8SDavid Daney uint64_t rst:1; 618*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 619*c5aa59e8SDavid Daney uint64_t ptp:1; 620*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 621*c5aa59e8SDavid Daney uint64_t usb_hci:1; 622*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 623*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 624*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 625*c5aa59e8SDavid Daney uint64_t uart:2; 626*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 627*c5aa59e8SDavid Daney uint64_t twsi:2; 628*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 629*c5aa59e8SDavid Daney uint64_t bootdma:1; 630*c5aa59e8SDavid Daney uint64_t mio:1; 631*c5aa59e8SDavid Daney uint64_t nand:1; 632*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 633*c5aa59e8SDavid Daney uint64_t timer:4; 634*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 635*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 636*c5aa59e8SDavid Daney uint64_t ssoiq:1; 637*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 638*c5aa59e8SDavid Daney #else 639*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 640*c5aa59e8SDavid Daney uint64_t ssoiq:1; 641*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 642*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 643*c5aa59e8SDavid Daney uint64_t timer:4; 644*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 645*c5aa59e8SDavid Daney uint64_t nand:1; 646*c5aa59e8SDavid Daney uint64_t mio:1; 647*c5aa59e8SDavid Daney uint64_t bootdma:1; 648*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 649*c5aa59e8SDavid Daney uint64_t twsi:2; 650*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 651*c5aa59e8SDavid Daney uint64_t uart:2; 652*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 653*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 654*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 655*c5aa59e8SDavid Daney uint64_t usb_hci:1; 656*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 657*c5aa59e8SDavid Daney uint64_t ptp:1; 658*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 659*c5aa59e8SDavid Daney uint64_t rst:1; 660*c5aa59e8SDavid Daney #endif 661*c5aa59e8SDavid Daney } s; 662*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_mio_w1s_s cn68xx; 663*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_mio_w1s_s cn68xxp1; 664*c5aa59e8SDavid Daney }; 665*c5aa59e8SDavid Daney 666*c5aa59e8SDavid Daney union cvmx_ciu2_en_iox_int_pkt { 667*c5aa59e8SDavid Daney uint64_t u64; 668*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_pkt_s { 669*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 670*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 671*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 672*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 673*c5aa59e8SDavid Daney uint64_t ilk:1; 674*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 675*c5aa59e8SDavid Daney uint64_t mii:1; 676*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 677*c5aa59e8SDavid Daney uint64_t agl:1; 678*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 679*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 680*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 681*c5aa59e8SDavid Daney uint64_t agx:5; 682*c5aa59e8SDavid Daney #else 683*c5aa59e8SDavid Daney uint64_t agx:5; 684*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 685*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 686*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 687*c5aa59e8SDavid Daney uint64_t agl:1; 688*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 689*c5aa59e8SDavid Daney uint64_t mii:1; 690*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 691*c5aa59e8SDavid Daney uint64_t ilk:1; 692*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 693*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 694*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 695*c5aa59e8SDavid Daney #endif 696*c5aa59e8SDavid Daney } s; 697*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_pkt_s cn68xx; 698*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_pkt_cn68xxp1 { 699*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 700*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 701*c5aa59e8SDavid Daney uint64_t ilk:1; 702*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 703*c5aa59e8SDavid Daney uint64_t mii:1; 704*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 705*c5aa59e8SDavid Daney uint64_t agl:1; 706*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 707*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 708*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 709*c5aa59e8SDavid Daney uint64_t agx:5; 710*c5aa59e8SDavid Daney #else 711*c5aa59e8SDavid Daney uint64_t agx:5; 712*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 713*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 714*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 715*c5aa59e8SDavid Daney uint64_t agl:1; 716*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 717*c5aa59e8SDavid Daney uint64_t mii:1; 718*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 719*c5aa59e8SDavid Daney uint64_t ilk:1; 720*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 721*c5aa59e8SDavid Daney #endif 722*c5aa59e8SDavid Daney } cn68xxp1; 723*c5aa59e8SDavid Daney }; 724*c5aa59e8SDavid Daney 725*c5aa59e8SDavid Daney union cvmx_ciu2_en_iox_int_pkt_w1c { 726*c5aa59e8SDavid Daney uint64_t u64; 727*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_pkt_w1c_s { 728*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 729*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 730*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 731*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 732*c5aa59e8SDavid Daney uint64_t ilk:1; 733*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 734*c5aa59e8SDavid Daney uint64_t mii:1; 735*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 736*c5aa59e8SDavid Daney uint64_t agl:1; 737*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 738*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 739*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 740*c5aa59e8SDavid Daney uint64_t agx:5; 741*c5aa59e8SDavid Daney #else 742*c5aa59e8SDavid Daney uint64_t agx:5; 743*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 744*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 745*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 746*c5aa59e8SDavid Daney uint64_t agl:1; 747*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 748*c5aa59e8SDavid Daney uint64_t mii:1; 749*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 750*c5aa59e8SDavid Daney uint64_t ilk:1; 751*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 752*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 753*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 754*c5aa59e8SDavid Daney #endif 755*c5aa59e8SDavid Daney } s; 756*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_pkt_w1c_s cn68xx; 757*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_pkt_w1c_cn68xxp1 { 758*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 759*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 760*c5aa59e8SDavid Daney uint64_t ilk:1; 761*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 762*c5aa59e8SDavid Daney uint64_t mii:1; 763*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 764*c5aa59e8SDavid Daney uint64_t agl:1; 765*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 766*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 767*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 768*c5aa59e8SDavid Daney uint64_t agx:5; 769*c5aa59e8SDavid Daney #else 770*c5aa59e8SDavid Daney uint64_t agx:5; 771*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 772*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 773*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 774*c5aa59e8SDavid Daney uint64_t agl:1; 775*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 776*c5aa59e8SDavid Daney uint64_t mii:1; 777*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 778*c5aa59e8SDavid Daney uint64_t ilk:1; 779*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 780*c5aa59e8SDavid Daney #endif 781*c5aa59e8SDavid Daney } cn68xxp1; 782*c5aa59e8SDavid Daney }; 783*c5aa59e8SDavid Daney 784*c5aa59e8SDavid Daney union cvmx_ciu2_en_iox_int_pkt_w1s { 785*c5aa59e8SDavid Daney uint64_t u64; 786*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_pkt_w1s_s { 787*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 788*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 789*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 790*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 791*c5aa59e8SDavid Daney uint64_t ilk:1; 792*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 793*c5aa59e8SDavid Daney uint64_t mii:1; 794*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 795*c5aa59e8SDavid Daney uint64_t agl:1; 796*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 797*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 798*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 799*c5aa59e8SDavid Daney uint64_t agx:5; 800*c5aa59e8SDavid Daney #else 801*c5aa59e8SDavid Daney uint64_t agx:5; 802*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 803*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 804*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 805*c5aa59e8SDavid Daney uint64_t agl:1; 806*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 807*c5aa59e8SDavid Daney uint64_t mii:1; 808*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 809*c5aa59e8SDavid Daney uint64_t ilk:1; 810*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 811*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 812*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 813*c5aa59e8SDavid Daney #endif 814*c5aa59e8SDavid Daney } s; 815*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_pkt_w1s_s cn68xx; 816*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_pkt_w1s_cn68xxp1 { 817*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 818*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 819*c5aa59e8SDavid Daney uint64_t ilk:1; 820*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 821*c5aa59e8SDavid Daney uint64_t mii:1; 822*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 823*c5aa59e8SDavid Daney uint64_t agl:1; 824*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 825*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 826*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 827*c5aa59e8SDavid Daney uint64_t agx:5; 828*c5aa59e8SDavid Daney #else 829*c5aa59e8SDavid Daney uint64_t agx:5; 830*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 831*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 832*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 833*c5aa59e8SDavid Daney uint64_t agl:1; 834*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 835*c5aa59e8SDavid Daney uint64_t mii:1; 836*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 837*c5aa59e8SDavid Daney uint64_t ilk:1; 838*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 839*c5aa59e8SDavid Daney #endif 840*c5aa59e8SDavid Daney } cn68xxp1; 841*c5aa59e8SDavid Daney }; 842*c5aa59e8SDavid Daney 843*c5aa59e8SDavid Daney union cvmx_ciu2_en_iox_int_rml { 844*c5aa59e8SDavid Daney uint64_t u64; 845*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_rml_s { 846*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 847*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 848*c5aa59e8SDavid Daney uint64_t trace:4; 849*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 850*c5aa59e8SDavid Daney uint64_t l2c:1; 851*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 852*c5aa59e8SDavid Daney uint64_t dfa:1; 853*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 854*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 855*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 856*c5aa59e8SDavid Daney uint64_t dpi:1; 857*c5aa59e8SDavid Daney uint64_t sli:1; 858*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 859*c5aa59e8SDavid Daney uint64_t key:1; 860*c5aa59e8SDavid Daney uint64_t rad:1; 861*c5aa59e8SDavid Daney uint64_t tim:1; 862*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 863*c5aa59e8SDavid Daney uint64_t zip:1; 864*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 865*c5aa59e8SDavid Daney uint64_t sso:1; 866*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 867*c5aa59e8SDavid Daney uint64_t pko:1; 868*c5aa59e8SDavid Daney uint64_t pip:1; 869*c5aa59e8SDavid Daney uint64_t ipd:1; 870*c5aa59e8SDavid Daney uint64_t fpa:1; 871*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 872*c5aa59e8SDavid Daney uint64_t iob:1; 873*c5aa59e8SDavid Daney #else 874*c5aa59e8SDavid Daney uint64_t iob:1; 875*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 876*c5aa59e8SDavid Daney uint64_t fpa:1; 877*c5aa59e8SDavid Daney uint64_t ipd:1; 878*c5aa59e8SDavid Daney uint64_t pip:1; 879*c5aa59e8SDavid Daney uint64_t pko:1; 880*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 881*c5aa59e8SDavid Daney uint64_t sso:1; 882*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 883*c5aa59e8SDavid Daney uint64_t zip:1; 884*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 885*c5aa59e8SDavid Daney uint64_t tim:1; 886*c5aa59e8SDavid Daney uint64_t rad:1; 887*c5aa59e8SDavid Daney uint64_t key:1; 888*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 889*c5aa59e8SDavid Daney uint64_t sli:1; 890*c5aa59e8SDavid Daney uint64_t dpi:1; 891*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 892*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 893*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 894*c5aa59e8SDavid Daney uint64_t dfa:1; 895*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 896*c5aa59e8SDavid Daney uint64_t l2c:1; 897*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 898*c5aa59e8SDavid Daney uint64_t trace:4; 899*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 900*c5aa59e8SDavid Daney #endif 901*c5aa59e8SDavid Daney } s; 902*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_rml_s cn68xx; 903*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_rml_cn68xxp1 { 904*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 905*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 906*c5aa59e8SDavid Daney uint64_t trace:4; 907*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 908*c5aa59e8SDavid Daney uint64_t l2c:1; 909*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 910*c5aa59e8SDavid Daney uint64_t dfa:1; 911*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 912*c5aa59e8SDavid Daney uint64_t dpi:1; 913*c5aa59e8SDavid Daney uint64_t sli:1; 914*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 915*c5aa59e8SDavid Daney uint64_t key:1; 916*c5aa59e8SDavid Daney uint64_t rad:1; 917*c5aa59e8SDavid Daney uint64_t tim:1; 918*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 919*c5aa59e8SDavid Daney uint64_t zip:1; 920*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 921*c5aa59e8SDavid Daney uint64_t sso:1; 922*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 923*c5aa59e8SDavid Daney uint64_t pko:1; 924*c5aa59e8SDavid Daney uint64_t pip:1; 925*c5aa59e8SDavid Daney uint64_t ipd:1; 926*c5aa59e8SDavid Daney uint64_t fpa:1; 927*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 928*c5aa59e8SDavid Daney uint64_t iob:1; 929*c5aa59e8SDavid Daney #else 930*c5aa59e8SDavid Daney uint64_t iob:1; 931*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 932*c5aa59e8SDavid Daney uint64_t fpa:1; 933*c5aa59e8SDavid Daney uint64_t ipd:1; 934*c5aa59e8SDavid Daney uint64_t pip:1; 935*c5aa59e8SDavid Daney uint64_t pko:1; 936*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 937*c5aa59e8SDavid Daney uint64_t sso:1; 938*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 939*c5aa59e8SDavid Daney uint64_t zip:1; 940*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 941*c5aa59e8SDavid Daney uint64_t tim:1; 942*c5aa59e8SDavid Daney uint64_t rad:1; 943*c5aa59e8SDavid Daney uint64_t key:1; 944*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 945*c5aa59e8SDavid Daney uint64_t sli:1; 946*c5aa59e8SDavid Daney uint64_t dpi:1; 947*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 948*c5aa59e8SDavid Daney uint64_t dfa:1; 949*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 950*c5aa59e8SDavid Daney uint64_t l2c:1; 951*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 952*c5aa59e8SDavid Daney uint64_t trace:4; 953*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 954*c5aa59e8SDavid Daney #endif 955*c5aa59e8SDavid Daney } cn68xxp1; 956*c5aa59e8SDavid Daney }; 957*c5aa59e8SDavid Daney 958*c5aa59e8SDavid Daney union cvmx_ciu2_en_iox_int_rml_w1c { 959*c5aa59e8SDavid Daney uint64_t u64; 960*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_rml_w1c_s { 961*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 962*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 963*c5aa59e8SDavid Daney uint64_t trace:4; 964*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 965*c5aa59e8SDavid Daney uint64_t l2c:1; 966*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 967*c5aa59e8SDavid Daney uint64_t dfa:1; 968*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 969*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 970*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 971*c5aa59e8SDavid Daney uint64_t dpi:1; 972*c5aa59e8SDavid Daney uint64_t sli:1; 973*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 974*c5aa59e8SDavid Daney uint64_t key:1; 975*c5aa59e8SDavid Daney uint64_t rad:1; 976*c5aa59e8SDavid Daney uint64_t tim:1; 977*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 978*c5aa59e8SDavid Daney uint64_t zip:1; 979*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 980*c5aa59e8SDavid Daney uint64_t sso:1; 981*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 982*c5aa59e8SDavid Daney uint64_t pko:1; 983*c5aa59e8SDavid Daney uint64_t pip:1; 984*c5aa59e8SDavid Daney uint64_t ipd:1; 985*c5aa59e8SDavid Daney uint64_t fpa:1; 986*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 987*c5aa59e8SDavid Daney uint64_t iob:1; 988*c5aa59e8SDavid Daney #else 989*c5aa59e8SDavid Daney uint64_t iob:1; 990*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 991*c5aa59e8SDavid Daney uint64_t fpa:1; 992*c5aa59e8SDavid Daney uint64_t ipd:1; 993*c5aa59e8SDavid Daney uint64_t pip:1; 994*c5aa59e8SDavid Daney uint64_t pko:1; 995*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 996*c5aa59e8SDavid Daney uint64_t sso:1; 997*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 998*c5aa59e8SDavid Daney uint64_t zip:1; 999*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 1000*c5aa59e8SDavid Daney uint64_t tim:1; 1001*c5aa59e8SDavid Daney uint64_t rad:1; 1002*c5aa59e8SDavid Daney uint64_t key:1; 1003*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 1004*c5aa59e8SDavid Daney uint64_t sli:1; 1005*c5aa59e8SDavid Daney uint64_t dpi:1; 1006*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 1007*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 1008*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 1009*c5aa59e8SDavid Daney uint64_t dfa:1; 1010*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 1011*c5aa59e8SDavid Daney uint64_t l2c:1; 1012*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 1013*c5aa59e8SDavid Daney uint64_t trace:4; 1014*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 1015*c5aa59e8SDavid Daney #endif 1016*c5aa59e8SDavid Daney } s; 1017*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_rml_w1c_s cn68xx; 1018*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_rml_w1c_cn68xxp1 { 1019*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1020*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 1021*c5aa59e8SDavid Daney uint64_t trace:4; 1022*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 1023*c5aa59e8SDavid Daney uint64_t l2c:1; 1024*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 1025*c5aa59e8SDavid Daney uint64_t dfa:1; 1026*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 1027*c5aa59e8SDavid Daney uint64_t dpi:1; 1028*c5aa59e8SDavid Daney uint64_t sli:1; 1029*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 1030*c5aa59e8SDavid Daney uint64_t key:1; 1031*c5aa59e8SDavid Daney uint64_t rad:1; 1032*c5aa59e8SDavid Daney uint64_t tim:1; 1033*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 1034*c5aa59e8SDavid Daney uint64_t zip:1; 1035*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 1036*c5aa59e8SDavid Daney uint64_t sso:1; 1037*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 1038*c5aa59e8SDavid Daney uint64_t pko:1; 1039*c5aa59e8SDavid Daney uint64_t pip:1; 1040*c5aa59e8SDavid Daney uint64_t ipd:1; 1041*c5aa59e8SDavid Daney uint64_t fpa:1; 1042*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 1043*c5aa59e8SDavid Daney uint64_t iob:1; 1044*c5aa59e8SDavid Daney #else 1045*c5aa59e8SDavid Daney uint64_t iob:1; 1046*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 1047*c5aa59e8SDavid Daney uint64_t fpa:1; 1048*c5aa59e8SDavid Daney uint64_t ipd:1; 1049*c5aa59e8SDavid Daney uint64_t pip:1; 1050*c5aa59e8SDavid Daney uint64_t pko:1; 1051*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 1052*c5aa59e8SDavid Daney uint64_t sso:1; 1053*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 1054*c5aa59e8SDavid Daney uint64_t zip:1; 1055*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 1056*c5aa59e8SDavid Daney uint64_t tim:1; 1057*c5aa59e8SDavid Daney uint64_t rad:1; 1058*c5aa59e8SDavid Daney uint64_t key:1; 1059*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 1060*c5aa59e8SDavid Daney uint64_t sli:1; 1061*c5aa59e8SDavid Daney uint64_t dpi:1; 1062*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 1063*c5aa59e8SDavid Daney uint64_t dfa:1; 1064*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 1065*c5aa59e8SDavid Daney uint64_t l2c:1; 1066*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 1067*c5aa59e8SDavid Daney uint64_t trace:4; 1068*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 1069*c5aa59e8SDavid Daney #endif 1070*c5aa59e8SDavid Daney } cn68xxp1; 1071*c5aa59e8SDavid Daney }; 1072*c5aa59e8SDavid Daney 1073*c5aa59e8SDavid Daney union cvmx_ciu2_en_iox_int_rml_w1s { 1074*c5aa59e8SDavid Daney uint64_t u64; 1075*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_rml_w1s_s { 1076*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1077*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 1078*c5aa59e8SDavid Daney uint64_t trace:4; 1079*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 1080*c5aa59e8SDavid Daney uint64_t l2c:1; 1081*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 1082*c5aa59e8SDavid Daney uint64_t dfa:1; 1083*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 1084*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 1085*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 1086*c5aa59e8SDavid Daney uint64_t dpi:1; 1087*c5aa59e8SDavid Daney uint64_t sli:1; 1088*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 1089*c5aa59e8SDavid Daney uint64_t key:1; 1090*c5aa59e8SDavid Daney uint64_t rad:1; 1091*c5aa59e8SDavid Daney uint64_t tim:1; 1092*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 1093*c5aa59e8SDavid Daney uint64_t zip:1; 1094*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 1095*c5aa59e8SDavid Daney uint64_t sso:1; 1096*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 1097*c5aa59e8SDavid Daney uint64_t pko:1; 1098*c5aa59e8SDavid Daney uint64_t pip:1; 1099*c5aa59e8SDavid Daney uint64_t ipd:1; 1100*c5aa59e8SDavid Daney uint64_t fpa:1; 1101*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 1102*c5aa59e8SDavid Daney uint64_t iob:1; 1103*c5aa59e8SDavid Daney #else 1104*c5aa59e8SDavid Daney uint64_t iob:1; 1105*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 1106*c5aa59e8SDavid Daney uint64_t fpa:1; 1107*c5aa59e8SDavid Daney uint64_t ipd:1; 1108*c5aa59e8SDavid Daney uint64_t pip:1; 1109*c5aa59e8SDavid Daney uint64_t pko:1; 1110*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 1111*c5aa59e8SDavid Daney uint64_t sso:1; 1112*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 1113*c5aa59e8SDavid Daney uint64_t zip:1; 1114*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 1115*c5aa59e8SDavid Daney uint64_t tim:1; 1116*c5aa59e8SDavid Daney uint64_t rad:1; 1117*c5aa59e8SDavid Daney uint64_t key:1; 1118*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 1119*c5aa59e8SDavid Daney uint64_t sli:1; 1120*c5aa59e8SDavid Daney uint64_t dpi:1; 1121*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 1122*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 1123*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 1124*c5aa59e8SDavid Daney uint64_t dfa:1; 1125*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 1126*c5aa59e8SDavid Daney uint64_t l2c:1; 1127*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 1128*c5aa59e8SDavid Daney uint64_t trace:4; 1129*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 1130*c5aa59e8SDavid Daney #endif 1131*c5aa59e8SDavid Daney } s; 1132*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_rml_w1s_s cn68xx; 1133*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_rml_w1s_cn68xxp1 { 1134*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1135*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 1136*c5aa59e8SDavid Daney uint64_t trace:4; 1137*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 1138*c5aa59e8SDavid Daney uint64_t l2c:1; 1139*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 1140*c5aa59e8SDavid Daney uint64_t dfa:1; 1141*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 1142*c5aa59e8SDavid Daney uint64_t dpi:1; 1143*c5aa59e8SDavid Daney uint64_t sli:1; 1144*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 1145*c5aa59e8SDavid Daney uint64_t key:1; 1146*c5aa59e8SDavid Daney uint64_t rad:1; 1147*c5aa59e8SDavid Daney uint64_t tim:1; 1148*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 1149*c5aa59e8SDavid Daney uint64_t zip:1; 1150*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 1151*c5aa59e8SDavid Daney uint64_t sso:1; 1152*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 1153*c5aa59e8SDavid Daney uint64_t pko:1; 1154*c5aa59e8SDavid Daney uint64_t pip:1; 1155*c5aa59e8SDavid Daney uint64_t ipd:1; 1156*c5aa59e8SDavid Daney uint64_t fpa:1; 1157*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 1158*c5aa59e8SDavid Daney uint64_t iob:1; 1159*c5aa59e8SDavid Daney #else 1160*c5aa59e8SDavid Daney uint64_t iob:1; 1161*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 1162*c5aa59e8SDavid Daney uint64_t fpa:1; 1163*c5aa59e8SDavid Daney uint64_t ipd:1; 1164*c5aa59e8SDavid Daney uint64_t pip:1; 1165*c5aa59e8SDavid Daney uint64_t pko:1; 1166*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 1167*c5aa59e8SDavid Daney uint64_t sso:1; 1168*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 1169*c5aa59e8SDavid Daney uint64_t zip:1; 1170*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 1171*c5aa59e8SDavid Daney uint64_t tim:1; 1172*c5aa59e8SDavid Daney uint64_t rad:1; 1173*c5aa59e8SDavid Daney uint64_t key:1; 1174*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 1175*c5aa59e8SDavid Daney uint64_t sli:1; 1176*c5aa59e8SDavid Daney uint64_t dpi:1; 1177*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 1178*c5aa59e8SDavid Daney uint64_t dfa:1; 1179*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 1180*c5aa59e8SDavid Daney uint64_t l2c:1; 1181*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 1182*c5aa59e8SDavid Daney uint64_t trace:4; 1183*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 1184*c5aa59e8SDavid Daney #endif 1185*c5aa59e8SDavid Daney } cn68xxp1; 1186*c5aa59e8SDavid Daney }; 1187*c5aa59e8SDavid Daney 1188*c5aa59e8SDavid Daney union cvmx_ciu2_en_iox_int_wdog { 1189*c5aa59e8SDavid Daney uint64_t u64; 1190*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_wdog_s { 1191*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1192*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 1193*c5aa59e8SDavid Daney uint64_t wdog:32; 1194*c5aa59e8SDavid Daney #else 1195*c5aa59e8SDavid Daney uint64_t wdog:32; 1196*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 1197*c5aa59e8SDavid Daney #endif 1198*c5aa59e8SDavid Daney } s; 1199*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_wdog_s cn68xx; 1200*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_wdog_s cn68xxp1; 1201*c5aa59e8SDavid Daney }; 1202*c5aa59e8SDavid Daney 1203*c5aa59e8SDavid Daney union cvmx_ciu2_en_iox_int_wdog_w1c { 1204*c5aa59e8SDavid Daney uint64_t u64; 1205*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_wdog_w1c_s { 1206*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1207*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 1208*c5aa59e8SDavid Daney uint64_t wdog:32; 1209*c5aa59e8SDavid Daney #else 1210*c5aa59e8SDavid Daney uint64_t wdog:32; 1211*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 1212*c5aa59e8SDavid Daney #endif 1213*c5aa59e8SDavid Daney } s; 1214*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_wdog_w1c_s cn68xx; 1215*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_wdog_w1c_s cn68xxp1; 1216*c5aa59e8SDavid Daney }; 1217*c5aa59e8SDavid Daney 1218*c5aa59e8SDavid Daney union cvmx_ciu2_en_iox_int_wdog_w1s { 1219*c5aa59e8SDavid Daney uint64_t u64; 1220*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_wdog_w1s_s { 1221*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1222*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 1223*c5aa59e8SDavid Daney uint64_t wdog:32; 1224*c5aa59e8SDavid Daney #else 1225*c5aa59e8SDavid Daney uint64_t wdog:32; 1226*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 1227*c5aa59e8SDavid Daney #endif 1228*c5aa59e8SDavid Daney } s; 1229*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_wdog_w1s_s cn68xx; 1230*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_wdog_w1s_s cn68xxp1; 1231*c5aa59e8SDavid Daney }; 1232*c5aa59e8SDavid Daney 1233*c5aa59e8SDavid Daney union cvmx_ciu2_en_iox_int_wrkq { 1234*c5aa59e8SDavid Daney uint64_t u64; 1235*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_wrkq_s { 1236*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1237*c5aa59e8SDavid Daney uint64_t workq:64; 1238*c5aa59e8SDavid Daney #else 1239*c5aa59e8SDavid Daney uint64_t workq:64; 1240*c5aa59e8SDavid Daney #endif 1241*c5aa59e8SDavid Daney } s; 1242*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_wrkq_s cn68xx; 1243*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_wrkq_s cn68xxp1; 1244*c5aa59e8SDavid Daney }; 1245*c5aa59e8SDavid Daney 1246*c5aa59e8SDavid Daney union cvmx_ciu2_en_iox_int_wrkq_w1c { 1247*c5aa59e8SDavid Daney uint64_t u64; 1248*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_wrkq_w1c_s { 1249*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1250*c5aa59e8SDavid Daney uint64_t workq:64; 1251*c5aa59e8SDavid Daney #else 1252*c5aa59e8SDavid Daney uint64_t workq:64; 1253*c5aa59e8SDavid Daney #endif 1254*c5aa59e8SDavid Daney } s; 1255*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_wrkq_w1c_s cn68xx; 1256*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_wrkq_w1c_s cn68xxp1; 1257*c5aa59e8SDavid Daney }; 1258*c5aa59e8SDavid Daney 1259*c5aa59e8SDavid Daney union cvmx_ciu2_en_iox_int_wrkq_w1s { 1260*c5aa59e8SDavid Daney uint64_t u64; 1261*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_wrkq_w1s_s { 1262*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1263*c5aa59e8SDavid Daney uint64_t workq:64; 1264*c5aa59e8SDavid Daney #else 1265*c5aa59e8SDavid Daney uint64_t workq:64; 1266*c5aa59e8SDavid Daney #endif 1267*c5aa59e8SDavid Daney } s; 1268*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_wrkq_w1s_s cn68xx; 1269*c5aa59e8SDavid Daney struct cvmx_ciu2_en_iox_int_wrkq_w1s_s cn68xxp1; 1270*c5aa59e8SDavid Daney }; 1271*c5aa59e8SDavid Daney 1272*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip2_gpio { 1273*c5aa59e8SDavid Daney uint64_t u64; 1274*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_gpio_s { 1275*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1276*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 1277*c5aa59e8SDavid Daney uint64_t gpio:16; 1278*c5aa59e8SDavid Daney #else 1279*c5aa59e8SDavid Daney uint64_t gpio:16; 1280*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 1281*c5aa59e8SDavid Daney #endif 1282*c5aa59e8SDavid Daney } s; 1283*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_gpio_s cn68xx; 1284*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_gpio_s cn68xxp1; 1285*c5aa59e8SDavid Daney }; 1286*c5aa59e8SDavid Daney 1287*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip2_gpio_w1c { 1288*c5aa59e8SDavid Daney uint64_t u64; 1289*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_gpio_w1c_s { 1290*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1291*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 1292*c5aa59e8SDavid Daney uint64_t gpio:16; 1293*c5aa59e8SDavid Daney #else 1294*c5aa59e8SDavid Daney uint64_t gpio:16; 1295*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 1296*c5aa59e8SDavid Daney #endif 1297*c5aa59e8SDavid Daney } s; 1298*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_gpio_w1c_s cn68xx; 1299*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_gpio_w1c_s cn68xxp1; 1300*c5aa59e8SDavid Daney }; 1301*c5aa59e8SDavid Daney 1302*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip2_gpio_w1s { 1303*c5aa59e8SDavid Daney uint64_t u64; 1304*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_gpio_w1s_s { 1305*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1306*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 1307*c5aa59e8SDavid Daney uint64_t gpio:16; 1308*c5aa59e8SDavid Daney #else 1309*c5aa59e8SDavid Daney uint64_t gpio:16; 1310*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 1311*c5aa59e8SDavid Daney #endif 1312*c5aa59e8SDavid Daney } s; 1313*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_gpio_w1s_s cn68xx; 1314*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_gpio_w1s_s cn68xxp1; 1315*c5aa59e8SDavid Daney }; 1316*c5aa59e8SDavid Daney 1317*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip2_io { 1318*c5aa59e8SDavid Daney uint64_t u64; 1319*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_io_s { 1320*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1321*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 1322*c5aa59e8SDavid Daney uint64_t pem:2; 1323*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 1324*c5aa59e8SDavid Daney uint64_t pci_inta:2; 1325*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 1326*c5aa59e8SDavid Daney uint64_t msired:1; 1327*c5aa59e8SDavid Daney uint64_t pci_msi:4; 1328*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 1329*c5aa59e8SDavid Daney uint64_t pci_intr:4; 1330*c5aa59e8SDavid Daney #else 1331*c5aa59e8SDavid Daney uint64_t pci_intr:4; 1332*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 1333*c5aa59e8SDavid Daney uint64_t pci_msi:4; 1334*c5aa59e8SDavid Daney uint64_t msired:1; 1335*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 1336*c5aa59e8SDavid Daney uint64_t pci_inta:2; 1337*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 1338*c5aa59e8SDavid Daney uint64_t pem:2; 1339*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 1340*c5aa59e8SDavid Daney #endif 1341*c5aa59e8SDavid Daney } s; 1342*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_io_s cn68xx; 1343*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_io_s cn68xxp1; 1344*c5aa59e8SDavid Daney }; 1345*c5aa59e8SDavid Daney 1346*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip2_io_w1c { 1347*c5aa59e8SDavid Daney uint64_t u64; 1348*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_io_w1c_s { 1349*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1350*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 1351*c5aa59e8SDavid Daney uint64_t pem:2; 1352*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 1353*c5aa59e8SDavid Daney uint64_t pci_inta:2; 1354*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 1355*c5aa59e8SDavid Daney uint64_t msired:1; 1356*c5aa59e8SDavid Daney uint64_t pci_msi:4; 1357*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 1358*c5aa59e8SDavid Daney uint64_t pci_intr:4; 1359*c5aa59e8SDavid Daney #else 1360*c5aa59e8SDavid Daney uint64_t pci_intr:4; 1361*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 1362*c5aa59e8SDavid Daney uint64_t pci_msi:4; 1363*c5aa59e8SDavid Daney uint64_t msired:1; 1364*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 1365*c5aa59e8SDavid Daney uint64_t pci_inta:2; 1366*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 1367*c5aa59e8SDavid Daney uint64_t pem:2; 1368*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 1369*c5aa59e8SDavid Daney #endif 1370*c5aa59e8SDavid Daney } s; 1371*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_io_w1c_s cn68xx; 1372*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_io_w1c_s cn68xxp1; 1373*c5aa59e8SDavid Daney }; 1374*c5aa59e8SDavid Daney 1375*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip2_io_w1s { 1376*c5aa59e8SDavid Daney uint64_t u64; 1377*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_io_w1s_s { 1378*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1379*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 1380*c5aa59e8SDavid Daney uint64_t pem:2; 1381*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 1382*c5aa59e8SDavid Daney uint64_t pci_inta:2; 1383*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 1384*c5aa59e8SDavid Daney uint64_t msired:1; 1385*c5aa59e8SDavid Daney uint64_t pci_msi:4; 1386*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 1387*c5aa59e8SDavid Daney uint64_t pci_intr:4; 1388*c5aa59e8SDavid Daney #else 1389*c5aa59e8SDavid Daney uint64_t pci_intr:4; 1390*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 1391*c5aa59e8SDavid Daney uint64_t pci_msi:4; 1392*c5aa59e8SDavid Daney uint64_t msired:1; 1393*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 1394*c5aa59e8SDavid Daney uint64_t pci_inta:2; 1395*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 1396*c5aa59e8SDavid Daney uint64_t pem:2; 1397*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 1398*c5aa59e8SDavid Daney #endif 1399*c5aa59e8SDavid Daney } s; 1400*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_io_w1s_s cn68xx; 1401*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_io_w1s_s cn68xxp1; 1402*c5aa59e8SDavid Daney }; 1403*c5aa59e8SDavid Daney 1404*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip2_mbox { 1405*c5aa59e8SDavid Daney uint64_t u64; 1406*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_mbox_s { 1407*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1408*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 1409*c5aa59e8SDavid Daney uint64_t mbox:4; 1410*c5aa59e8SDavid Daney #else 1411*c5aa59e8SDavid Daney uint64_t mbox:4; 1412*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 1413*c5aa59e8SDavid Daney #endif 1414*c5aa59e8SDavid Daney } s; 1415*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_mbox_s cn68xx; 1416*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_mbox_s cn68xxp1; 1417*c5aa59e8SDavid Daney }; 1418*c5aa59e8SDavid Daney 1419*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip2_mbox_w1c { 1420*c5aa59e8SDavid Daney uint64_t u64; 1421*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_mbox_w1c_s { 1422*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1423*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 1424*c5aa59e8SDavid Daney uint64_t mbox:4; 1425*c5aa59e8SDavid Daney #else 1426*c5aa59e8SDavid Daney uint64_t mbox:4; 1427*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 1428*c5aa59e8SDavid Daney #endif 1429*c5aa59e8SDavid Daney } s; 1430*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_mbox_w1c_s cn68xx; 1431*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_mbox_w1c_s cn68xxp1; 1432*c5aa59e8SDavid Daney }; 1433*c5aa59e8SDavid Daney 1434*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip2_mbox_w1s { 1435*c5aa59e8SDavid Daney uint64_t u64; 1436*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_mbox_w1s_s { 1437*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1438*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 1439*c5aa59e8SDavid Daney uint64_t mbox:4; 1440*c5aa59e8SDavid Daney #else 1441*c5aa59e8SDavid Daney uint64_t mbox:4; 1442*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 1443*c5aa59e8SDavid Daney #endif 1444*c5aa59e8SDavid Daney } s; 1445*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_mbox_w1s_s cn68xx; 1446*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_mbox_w1s_s cn68xxp1; 1447*c5aa59e8SDavid Daney }; 1448*c5aa59e8SDavid Daney 1449*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip2_mem { 1450*c5aa59e8SDavid Daney uint64_t u64; 1451*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_mem_s { 1452*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1453*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 1454*c5aa59e8SDavid Daney uint64_t lmc:4; 1455*c5aa59e8SDavid Daney #else 1456*c5aa59e8SDavid Daney uint64_t lmc:4; 1457*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 1458*c5aa59e8SDavid Daney #endif 1459*c5aa59e8SDavid Daney } s; 1460*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_mem_s cn68xx; 1461*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_mem_s cn68xxp1; 1462*c5aa59e8SDavid Daney }; 1463*c5aa59e8SDavid Daney 1464*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip2_mem_w1c { 1465*c5aa59e8SDavid Daney uint64_t u64; 1466*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_mem_w1c_s { 1467*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1468*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 1469*c5aa59e8SDavid Daney uint64_t lmc:4; 1470*c5aa59e8SDavid Daney #else 1471*c5aa59e8SDavid Daney uint64_t lmc:4; 1472*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 1473*c5aa59e8SDavid Daney #endif 1474*c5aa59e8SDavid Daney } s; 1475*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_mem_w1c_s cn68xx; 1476*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_mem_w1c_s cn68xxp1; 1477*c5aa59e8SDavid Daney }; 1478*c5aa59e8SDavid Daney 1479*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip2_mem_w1s { 1480*c5aa59e8SDavid Daney uint64_t u64; 1481*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_mem_w1s_s { 1482*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1483*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 1484*c5aa59e8SDavid Daney uint64_t lmc:4; 1485*c5aa59e8SDavid Daney #else 1486*c5aa59e8SDavid Daney uint64_t lmc:4; 1487*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 1488*c5aa59e8SDavid Daney #endif 1489*c5aa59e8SDavid Daney } s; 1490*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_mem_w1s_s cn68xx; 1491*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_mem_w1s_s cn68xxp1; 1492*c5aa59e8SDavid Daney }; 1493*c5aa59e8SDavid Daney 1494*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip2_mio { 1495*c5aa59e8SDavid Daney uint64_t u64; 1496*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_mio_s { 1497*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1498*c5aa59e8SDavid Daney uint64_t rst:1; 1499*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 1500*c5aa59e8SDavid Daney uint64_t ptp:1; 1501*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 1502*c5aa59e8SDavid Daney uint64_t usb_hci:1; 1503*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 1504*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 1505*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 1506*c5aa59e8SDavid Daney uint64_t uart:2; 1507*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 1508*c5aa59e8SDavid Daney uint64_t twsi:2; 1509*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 1510*c5aa59e8SDavid Daney uint64_t bootdma:1; 1511*c5aa59e8SDavid Daney uint64_t mio:1; 1512*c5aa59e8SDavid Daney uint64_t nand:1; 1513*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 1514*c5aa59e8SDavid Daney uint64_t timer:4; 1515*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 1516*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 1517*c5aa59e8SDavid Daney uint64_t ssoiq:1; 1518*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 1519*c5aa59e8SDavid Daney #else 1520*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 1521*c5aa59e8SDavid Daney uint64_t ssoiq:1; 1522*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 1523*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 1524*c5aa59e8SDavid Daney uint64_t timer:4; 1525*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 1526*c5aa59e8SDavid Daney uint64_t nand:1; 1527*c5aa59e8SDavid Daney uint64_t mio:1; 1528*c5aa59e8SDavid Daney uint64_t bootdma:1; 1529*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 1530*c5aa59e8SDavid Daney uint64_t twsi:2; 1531*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 1532*c5aa59e8SDavid Daney uint64_t uart:2; 1533*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 1534*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 1535*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 1536*c5aa59e8SDavid Daney uint64_t usb_hci:1; 1537*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 1538*c5aa59e8SDavid Daney uint64_t ptp:1; 1539*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 1540*c5aa59e8SDavid Daney uint64_t rst:1; 1541*c5aa59e8SDavid Daney #endif 1542*c5aa59e8SDavid Daney } s; 1543*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_mio_s cn68xx; 1544*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_mio_s cn68xxp1; 1545*c5aa59e8SDavid Daney }; 1546*c5aa59e8SDavid Daney 1547*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip2_mio_w1c { 1548*c5aa59e8SDavid Daney uint64_t u64; 1549*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_mio_w1c_s { 1550*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1551*c5aa59e8SDavid Daney uint64_t rst:1; 1552*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 1553*c5aa59e8SDavid Daney uint64_t ptp:1; 1554*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 1555*c5aa59e8SDavid Daney uint64_t usb_hci:1; 1556*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 1557*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 1558*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 1559*c5aa59e8SDavid Daney uint64_t uart:2; 1560*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 1561*c5aa59e8SDavid Daney uint64_t twsi:2; 1562*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 1563*c5aa59e8SDavid Daney uint64_t bootdma:1; 1564*c5aa59e8SDavid Daney uint64_t mio:1; 1565*c5aa59e8SDavid Daney uint64_t nand:1; 1566*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 1567*c5aa59e8SDavid Daney uint64_t timer:4; 1568*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 1569*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 1570*c5aa59e8SDavid Daney uint64_t ssoiq:1; 1571*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 1572*c5aa59e8SDavid Daney #else 1573*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 1574*c5aa59e8SDavid Daney uint64_t ssoiq:1; 1575*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 1576*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 1577*c5aa59e8SDavid Daney uint64_t timer:4; 1578*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 1579*c5aa59e8SDavid Daney uint64_t nand:1; 1580*c5aa59e8SDavid Daney uint64_t mio:1; 1581*c5aa59e8SDavid Daney uint64_t bootdma:1; 1582*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 1583*c5aa59e8SDavid Daney uint64_t twsi:2; 1584*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 1585*c5aa59e8SDavid Daney uint64_t uart:2; 1586*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 1587*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 1588*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 1589*c5aa59e8SDavid Daney uint64_t usb_hci:1; 1590*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 1591*c5aa59e8SDavid Daney uint64_t ptp:1; 1592*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 1593*c5aa59e8SDavid Daney uint64_t rst:1; 1594*c5aa59e8SDavid Daney #endif 1595*c5aa59e8SDavid Daney } s; 1596*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_mio_w1c_s cn68xx; 1597*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_mio_w1c_s cn68xxp1; 1598*c5aa59e8SDavid Daney }; 1599*c5aa59e8SDavid Daney 1600*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip2_mio_w1s { 1601*c5aa59e8SDavid Daney uint64_t u64; 1602*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_mio_w1s_s { 1603*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1604*c5aa59e8SDavid Daney uint64_t rst:1; 1605*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 1606*c5aa59e8SDavid Daney uint64_t ptp:1; 1607*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 1608*c5aa59e8SDavid Daney uint64_t usb_hci:1; 1609*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 1610*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 1611*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 1612*c5aa59e8SDavid Daney uint64_t uart:2; 1613*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 1614*c5aa59e8SDavid Daney uint64_t twsi:2; 1615*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 1616*c5aa59e8SDavid Daney uint64_t bootdma:1; 1617*c5aa59e8SDavid Daney uint64_t mio:1; 1618*c5aa59e8SDavid Daney uint64_t nand:1; 1619*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 1620*c5aa59e8SDavid Daney uint64_t timer:4; 1621*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 1622*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 1623*c5aa59e8SDavid Daney uint64_t ssoiq:1; 1624*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 1625*c5aa59e8SDavid Daney #else 1626*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 1627*c5aa59e8SDavid Daney uint64_t ssoiq:1; 1628*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 1629*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 1630*c5aa59e8SDavid Daney uint64_t timer:4; 1631*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 1632*c5aa59e8SDavid Daney uint64_t nand:1; 1633*c5aa59e8SDavid Daney uint64_t mio:1; 1634*c5aa59e8SDavid Daney uint64_t bootdma:1; 1635*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 1636*c5aa59e8SDavid Daney uint64_t twsi:2; 1637*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 1638*c5aa59e8SDavid Daney uint64_t uart:2; 1639*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 1640*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 1641*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 1642*c5aa59e8SDavid Daney uint64_t usb_hci:1; 1643*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 1644*c5aa59e8SDavid Daney uint64_t ptp:1; 1645*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 1646*c5aa59e8SDavid Daney uint64_t rst:1; 1647*c5aa59e8SDavid Daney #endif 1648*c5aa59e8SDavid Daney } s; 1649*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_mio_w1s_s cn68xx; 1650*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_mio_w1s_s cn68xxp1; 1651*c5aa59e8SDavid Daney }; 1652*c5aa59e8SDavid Daney 1653*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip2_pkt { 1654*c5aa59e8SDavid Daney uint64_t u64; 1655*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_pkt_s { 1656*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1657*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 1658*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 1659*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 1660*c5aa59e8SDavid Daney uint64_t ilk:1; 1661*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 1662*c5aa59e8SDavid Daney uint64_t mii:1; 1663*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 1664*c5aa59e8SDavid Daney uint64_t agl:1; 1665*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 1666*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 1667*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 1668*c5aa59e8SDavid Daney uint64_t agx:5; 1669*c5aa59e8SDavid Daney #else 1670*c5aa59e8SDavid Daney uint64_t agx:5; 1671*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 1672*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 1673*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 1674*c5aa59e8SDavid Daney uint64_t agl:1; 1675*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 1676*c5aa59e8SDavid Daney uint64_t mii:1; 1677*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 1678*c5aa59e8SDavid Daney uint64_t ilk:1; 1679*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 1680*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 1681*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 1682*c5aa59e8SDavid Daney #endif 1683*c5aa59e8SDavid Daney } s; 1684*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_pkt_s cn68xx; 1685*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_pkt_cn68xxp1 { 1686*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1687*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 1688*c5aa59e8SDavid Daney uint64_t ilk:1; 1689*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 1690*c5aa59e8SDavid Daney uint64_t mii:1; 1691*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 1692*c5aa59e8SDavid Daney uint64_t agl:1; 1693*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 1694*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 1695*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 1696*c5aa59e8SDavid Daney uint64_t agx:5; 1697*c5aa59e8SDavid Daney #else 1698*c5aa59e8SDavid Daney uint64_t agx:5; 1699*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 1700*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 1701*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 1702*c5aa59e8SDavid Daney uint64_t agl:1; 1703*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 1704*c5aa59e8SDavid Daney uint64_t mii:1; 1705*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 1706*c5aa59e8SDavid Daney uint64_t ilk:1; 1707*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 1708*c5aa59e8SDavid Daney #endif 1709*c5aa59e8SDavid Daney } cn68xxp1; 1710*c5aa59e8SDavid Daney }; 1711*c5aa59e8SDavid Daney 1712*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip2_pkt_w1c { 1713*c5aa59e8SDavid Daney uint64_t u64; 1714*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_pkt_w1c_s { 1715*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1716*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 1717*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 1718*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 1719*c5aa59e8SDavid Daney uint64_t ilk:1; 1720*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 1721*c5aa59e8SDavid Daney uint64_t mii:1; 1722*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 1723*c5aa59e8SDavid Daney uint64_t agl:1; 1724*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 1725*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 1726*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 1727*c5aa59e8SDavid Daney uint64_t agx:5; 1728*c5aa59e8SDavid Daney #else 1729*c5aa59e8SDavid Daney uint64_t agx:5; 1730*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 1731*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 1732*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 1733*c5aa59e8SDavid Daney uint64_t agl:1; 1734*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 1735*c5aa59e8SDavid Daney uint64_t mii:1; 1736*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 1737*c5aa59e8SDavid Daney uint64_t ilk:1; 1738*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 1739*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 1740*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 1741*c5aa59e8SDavid Daney #endif 1742*c5aa59e8SDavid Daney } s; 1743*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_pkt_w1c_s cn68xx; 1744*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_pkt_w1c_cn68xxp1 { 1745*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1746*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 1747*c5aa59e8SDavid Daney uint64_t ilk:1; 1748*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 1749*c5aa59e8SDavid Daney uint64_t mii:1; 1750*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 1751*c5aa59e8SDavid Daney uint64_t agl:1; 1752*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 1753*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 1754*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 1755*c5aa59e8SDavid Daney uint64_t agx:5; 1756*c5aa59e8SDavid Daney #else 1757*c5aa59e8SDavid Daney uint64_t agx:5; 1758*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 1759*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 1760*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 1761*c5aa59e8SDavid Daney uint64_t agl:1; 1762*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 1763*c5aa59e8SDavid Daney uint64_t mii:1; 1764*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 1765*c5aa59e8SDavid Daney uint64_t ilk:1; 1766*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 1767*c5aa59e8SDavid Daney #endif 1768*c5aa59e8SDavid Daney } cn68xxp1; 1769*c5aa59e8SDavid Daney }; 1770*c5aa59e8SDavid Daney 1771*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip2_pkt_w1s { 1772*c5aa59e8SDavid Daney uint64_t u64; 1773*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_pkt_w1s_s { 1774*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1775*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 1776*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 1777*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 1778*c5aa59e8SDavid Daney uint64_t ilk:1; 1779*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 1780*c5aa59e8SDavid Daney uint64_t mii:1; 1781*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 1782*c5aa59e8SDavid Daney uint64_t agl:1; 1783*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 1784*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 1785*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 1786*c5aa59e8SDavid Daney uint64_t agx:5; 1787*c5aa59e8SDavid Daney #else 1788*c5aa59e8SDavid Daney uint64_t agx:5; 1789*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 1790*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 1791*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 1792*c5aa59e8SDavid Daney uint64_t agl:1; 1793*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 1794*c5aa59e8SDavid Daney uint64_t mii:1; 1795*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 1796*c5aa59e8SDavid Daney uint64_t ilk:1; 1797*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 1798*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 1799*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 1800*c5aa59e8SDavid Daney #endif 1801*c5aa59e8SDavid Daney } s; 1802*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_pkt_w1s_s cn68xx; 1803*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_pkt_w1s_cn68xxp1 { 1804*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1805*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 1806*c5aa59e8SDavid Daney uint64_t ilk:1; 1807*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 1808*c5aa59e8SDavid Daney uint64_t mii:1; 1809*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 1810*c5aa59e8SDavid Daney uint64_t agl:1; 1811*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 1812*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 1813*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 1814*c5aa59e8SDavid Daney uint64_t agx:5; 1815*c5aa59e8SDavid Daney #else 1816*c5aa59e8SDavid Daney uint64_t agx:5; 1817*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 1818*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 1819*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 1820*c5aa59e8SDavid Daney uint64_t agl:1; 1821*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 1822*c5aa59e8SDavid Daney uint64_t mii:1; 1823*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 1824*c5aa59e8SDavid Daney uint64_t ilk:1; 1825*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 1826*c5aa59e8SDavid Daney #endif 1827*c5aa59e8SDavid Daney } cn68xxp1; 1828*c5aa59e8SDavid Daney }; 1829*c5aa59e8SDavid Daney 1830*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip2_rml { 1831*c5aa59e8SDavid Daney uint64_t u64; 1832*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_rml_s { 1833*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1834*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 1835*c5aa59e8SDavid Daney uint64_t trace:4; 1836*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 1837*c5aa59e8SDavid Daney uint64_t l2c:1; 1838*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 1839*c5aa59e8SDavid Daney uint64_t dfa:1; 1840*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 1841*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 1842*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 1843*c5aa59e8SDavid Daney uint64_t dpi:1; 1844*c5aa59e8SDavid Daney uint64_t sli:1; 1845*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 1846*c5aa59e8SDavid Daney uint64_t key:1; 1847*c5aa59e8SDavid Daney uint64_t rad:1; 1848*c5aa59e8SDavid Daney uint64_t tim:1; 1849*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 1850*c5aa59e8SDavid Daney uint64_t zip:1; 1851*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 1852*c5aa59e8SDavid Daney uint64_t sso:1; 1853*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 1854*c5aa59e8SDavid Daney uint64_t pko:1; 1855*c5aa59e8SDavid Daney uint64_t pip:1; 1856*c5aa59e8SDavid Daney uint64_t ipd:1; 1857*c5aa59e8SDavid Daney uint64_t fpa:1; 1858*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 1859*c5aa59e8SDavid Daney uint64_t iob:1; 1860*c5aa59e8SDavid Daney #else 1861*c5aa59e8SDavid Daney uint64_t iob:1; 1862*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 1863*c5aa59e8SDavid Daney uint64_t fpa:1; 1864*c5aa59e8SDavid Daney uint64_t ipd:1; 1865*c5aa59e8SDavid Daney uint64_t pip:1; 1866*c5aa59e8SDavid Daney uint64_t pko:1; 1867*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 1868*c5aa59e8SDavid Daney uint64_t sso:1; 1869*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 1870*c5aa59e8SDavid Daney uint64_t zip:1; 1871*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 1872*c5aa59e8SDavid Daney uint64_t tim:1; 1873*c5aa59e8SDavid Daney uint64_t rad:1; 1874*c5aa59e8SDavid Daney uint64_t key:1; 1875*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 1876*c5aa59e8SDavid Daney uint64_t sli:1; 1877*c5aa59e8SDavid Daney uint64_t dpi:1; 1878*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 1879*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 1880*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 1881*c5aa59e8SDavid Daney uint64_t dfa:1; 1882*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 1883*c5aa59e8SDavid Daney uint64_t l2c:1; 1884*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 1885*c5aa59e8SDavid Daney uint64_t trace:4; 1886*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 1887*c5aa59e8SDavid Daney #endif 1888*c5aa59e8SDavid Daney } s; 1889*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_rml_s cn68xx; 1890*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_rml_cn68xxp1 { 1891*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1892*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 1893*c5aa59e8SDavid Daney uint64_t trace:4; 1894*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 1895*c5aa59e8SDavid Daney uint64_t l2c:1; 1896*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 1897*c5aa59e8SDavid Daney uint64_t dfa:1; 1898*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 1899*c5aa59e8SDavid Daney uint64_t dpi:1; 1900*c5aa59e8SDavid Daney uint64_t sli:1; 1901*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 1902*c5aa59e8SDavid Daney uint64_t key:1; 1903*c5aa59e8SDavid Daney uint64_t rad:1; 1904*c5aa59e8SDavid Daney uint64_t tim:1; 1905*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 1906*c5aa59e8SDavid Daney uint64_t zip:1; 1907*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 1908*c5aa59e8SDavid Daney uint64_t sso:1; 1909*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 1910*c5aa59e8SDavid Daney uint64_t pko:1; 1911*c5aa59e8SDavid Daney uint64_t pip:1; 1912*c5aa59e8SDavid Daney uint64_t ipd:1; 1913*c5aa59e8SDavid Daney uint64_t fpa:1; 1914*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 1915*c5aa59e8SDavid Daney uint64_t iob:1; 1916*c5aa59e8SDavid Daney #else 1917*c5aa59e8SDavid Daney uint64_t iob:1; 1918*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 1919*c5aa59e8SDavid Daney uint64_t fpa:1; 1920*c5aa59e8SDavid Daney uint64_t ipd:1; 1921*c5aa59e8SDavid Daney uint64_t pip:1; 1922*c5aa59e8SDavid Daney uint64_t pko:1; 1923*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 1924*c5aa59e8SDavid Daney uint64_t sso:1; 1925*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 1926*c5aa59e8SDavid Daney uint64_t zip:1; 1927*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 1928*c5aa59e8SDavid Daney uint64_t tim:1; 1929*c5aa59e8SDavid Daney uint64_t rad:1; 1930*c5aa59e8SDavid Daney uint64_t key:1; 1931*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 1932*c5aa59e8SDavid Daney uint64_t sli:1; 1933*c5aa59e8SDavid Daney uint64_t dpi:1; 1934*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 1935*c5aa59e8SDavid Daney uint64_t dfa:1; 1936*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 1937*c5aa59e8SDavid Daney uint64_t l2c:1; 1938*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 1939*c5aa59e8SDavid Daney uint64_t trace:4; 1940*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 1941*c5aa59e8SDavid Daney #endif 1942*c5aa59e8SDavid Daney } cn68xxp1; 1943*c5aa59e8SDavid Daney }; 1944*c5aa59e8SDavid Daney 1945*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip2_rml_w1c { 1946*c5aa59e8SDavid Daney uint64_t u64; 1947*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_rml_w1c_s { 1948*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1949*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 1950*c5aa59e8SDavid Daney uint64_t trace:4; 1951*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 1952*c5aa59e8SDavid Daney uint64_t l2c:1; 1953*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 1954*c5aa59e8SDavid Daney uint64_t dfa:1; 1955*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 1956*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 1957*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 1958*c5aa59e8SDavid Daney uint64_t dpi:1; 1959*c5aa59e8SDavid Daney uint64_t sli:1; 1960*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 1961*c5aa59e8SDavid Daney uint64_t key:1; 1962*c5aa59e8SDavid Daney uint64_t rad:1; 1963*c5aa59e8SDavid Daney uint64_t tim:1; 1964*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 1965*c5aa59e8SDavid Daney uint64_t zip:1; 1966*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 1967*c5aa59e8SDavid Daney uint64_t sso:1; 1968*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 1969*c5aa59e8SDavid Daney uint64_t pko:1; 1970*c5aa59e8SDavid Daney uint64_t pip:1; 1971*c5aa59e8SDavid Daney uint64_t ipd:1; 1972*c5aa59e8SDavid Daney uint64_t fpa:1; 1973*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 1974*c5aa59e8SDavid Daney uint64_t iob:1; 1975*c5aa59e8SDavid Daney #else 1976*c5aa59e8SDavid Daney uint64_t iob:1; 1977*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 1978*c5aa59e8SDavid Daney uint64_t fpa:1; 1979*c5aa59e8SDavid Daney uint64_t ipd:1; 1980*c5aa59e8SDavid Daney uint64_t pip:1; 1981*c5aa59e8SDavid Daney uint64_t pko:1; 1982*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 1983*c5aa59e8SDavid Daney uint64_t sso:1; 1984*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 1985*c5aa59e8SDavid Daney uint64_t zip:1; 1986*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 1987*c5aa59e8SDavid Daney uint64_t tim:1; 1988*c5aa59e8SDavid Daney uint64_t rad:1; 1989*c5aa59e8SDavid Daney uint64_t key:1; 1990*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 1991*c5aa59e8SDavid Daney uint64_t sli:1; 1992*c5aa59e8SDavid Daney uint64_t dpi:1; 1993*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 1994*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 1995*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 1996*c5aa59e8SDavid Daney uint64_t dfa:1; 1997*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 1998*c5aa59e8SDavid Daney uint64_t l2c:1; 1999*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 2000*c5aa59e8SDavid Daney uint64_t trace:4; 2001*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 2002*c5aa59e8SDavid Daney #endif 2003*c5aa59e8SDavid Daney } s; 2004*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_rml_w1c_s cn68xx; 2005*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_rml_w1c_cn68xxp1 { 2006*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2007*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 2008*c5aa59e8SDavid Daney uint64_t trace:4; 2009*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 2010*c5aa59e8SDavid Daney uint64_t l2c:1; 2011*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 2012*c5aa59e8SDavid Daney uint64_t dfa:1; 2013*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 2014*c5aa59e8SDavid Daney uint64_t dpi:1; 2015*c5aa59e8SDavid Daney uint64_t sli:1; 2016*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 2017*c5aa59e8SDavid Daney uint64_t key:1; 2018*c5aa59e8SDavid Daney uint64_t rad:1; 2019*c5aa59e8SDavid Daney uint64_t tim:1; 2020*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 2021*c5aa59e8SDavid Daney uint64_t zip:1; 2022*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 2023*c5aa59e8SDavid Daney uint64_t sso:1; 2024*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 2025*c5aa59e8SDavid Daney uint64_t pko:1; 2026*c5aa59e8SDavid Daney uint64_t pip:1; 2027*c5aa59e8SDavid Daney uint64_t ipd:1; 2028*c5aa59e8SDavid Daney uint64_t fpa:1; 2029*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 2030*c5aa59e8SDavid Daney uint64_t iob:1; 2031*c5aa59e8SDavid Daney #else 2032*c5aa59e8SDavid Daney uint64_t iob:1; 2033*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 2034*c5aa59e8SDavid Daney uint64_t fpa:1; 2035*c5aa59e8SDavid Daney uint64_t ipd:1; 2036*c5aa59e8SDavid Daney uint64_t pip:1; 2037*c5aa59e8SDavid Daney uint64_t pko:1; 2038*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 2039*c5aa59e8SDavid Daney uint64_t sso:1; 2040*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 2041*c5aa59e8SDavid Daney uint64_t zip:1; 2042*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 2043*c5aa59e8SDavid Daney uint64_t tim:1; 2044*c5aa59e8SDavid Daney uint64_t rad:1; 2045*c5aa59e8SDavid Daney uint64_t key:1; 2046*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 2047*c5aa59e8SDavid Daney uint64_t sli:1; 2048*c5aa59e8SDavid Daney uint64_t dpi:1; 2049*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 2050*c5aa59e8SDavid Daney uint64_t dfa:1; 2051*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 2052*c5aa59e8SDavid Daney uint64_t l2c:1; 2053*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 2054*c5aa59e8SDavid Daney uint64_t trace:4; 2055*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 2056*c5aa59e8SDavid Daney #endif 2057*c5aa59e8SDavid Daney } cn68xxp1; 2058*c5aa59e8SDavid Daney }; 2059*c5aa59e8SDavid Daney 2060*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip2_rml_w1s { 2061*c5aa59e8SDavid Daney uint64_t u64; 2062*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_rml_w1s_s { 2063*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2064*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 2065*c5aa59e8SDavid Daney uint64_t trace:4; 2066*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 2067*c5aa59e8SDavid Daney uint64_t l2c:1; 2068*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 2069*c5aa59e8SDavid Daney uint64_t dfa:1; 2070*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 2071*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 2072*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 2073*c5aa59e8SDavid Daney uint64_t dpi:1; 2074*c5aa59e8SDavid Daney uint64_t sli:1; 2075*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 2076*c5aa59e8SDavid Daney uint64_t key:1; 2077*c5aa59e8SDavid Daney uint64_t rad:1; 2078*c5aa59e8SDavid Daney uint64_t tim:1; 2079*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 2080*c5aa59e8SDavid Daney uint64_t zip:1; 2081*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 2082*c5aa59e8SDavid Daney uint64_t sso:1; 2083*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 2084*c5aa59e8SDavid Daney uint64_t pko:1; 2085*c5aa59e8SDavid Daney uint64_t pip:1; 2086*c5aa59e8SDavid Daney uint64_t ipd:1; 2087*c5aa59e8SDavid Daney uint64_t fpa:1; 2088*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 2089*c5aa59e8SDavid Daney uint64_t iob:1; 2090*c5aa59e8SDavid Daney #else 2091*c5aa59e8SDavid Daney uint64_t iob:1; 2092*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 2093*c5aa59e8SDavid Daney uint64_t fpa:1; 2094*c5aa59e8SDavid Daney uint64_t ipd:1; 2095*c5aa59e8SDavid Daney uint64_t pip:1; 2096*c5aa59e8SDavid Daney uint64_t pko:1; 2097*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 2098*c5aa59e8SDavid Daney uint64_t sso:1; 2099*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 2100*c5aa59e8SDavid Daney uint64_t zip:1; 2101*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 2102*c5aa59e8SDavid Daney uint64_t tim:1; 2103*c5aa59e8SDavid Daney uint64_t rad:1; 2104*c5aa59e8SDavid Daney uint64_t key:1; 2105*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 2106*c5aa59e8SDavid Daney uint64_t sli:1; 2107*c5aa59e8SDavid Daney uint64_t dpi:1; 2108*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 2109*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 2110*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 2111*c5aa59e8SDavid Daney uint64_t dfa:1; 2112*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 2113*c5aa59e8SDavid Daney uint64_t l2c:1; 2114*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 2115*c5aa59e8SDavid Daney uint64_t trace:4; 2116*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 2117*c5aa59e8SDavid Daney #endif 2118*c5aa59e8SDavid Daney } s; 2119*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_rml_w1s_s cn68xx; 2120*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_rml_w1s_cn68xxp1 { 2121*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2122*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 2123*c5aa59e8SDavid Daney uint64_t trace:4; 2124*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 2125*c5aa59e8SDavid Daney uint64_t l2c:1; 2126*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 2127*c5aa59e8SDavid Daney uint64_t dfa:1; 2128*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 2129*c5aa59e8SDavid Daney uint64_t dpi:1; 2130*c5aa59e8SDavid Daney uint64_t sli:1; 2131*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 2132*c5aa59e8SDavid Daney uint64_t key:1; 2133*c5aa59e8SDavid Daney uint64_t rad:1; 2134*c5aa59e8SDavid Daney uint64_t tim:1; 2135*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 2136*c5aa59e8SDavid Daney uint64_t zip:1; 2137*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 2138*c5aa59e8SDavid Daney uint64_t sso:1; 2139*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 2140*c5aa59e8SDavid Daney uint64_t pko:1; 2141*c5aa59e8SDavid Daney uint64_t pip:1; 2142*c5aa59e8SDavid Daney uint64_t ipd:1; 2143*c5aa59e8SDavid Daney uint64_t fpa:1; 2144*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 2145*c5aa59e8SDavid Daney uint64_t iob:1; 2146*c5aa59e8SDavid Daney #else 2147*c5aa59e8SDavid Daney uint64_t iob:1; 2148*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 2149*c5aa59e8SDavid Daney uint64_t fpa:1; 2150*c5aa59e8SDavid Daney uint64_t ipd:1; 2151*c5aa59e8SDavid Daney uint64_t pip:1; 2152*c5aa59e8SDavid Daney uint64_t pko:1; 2153*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 2154*c5aa59e8SDavid Daney uint64_t sso:1; 2155*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 2156*c5aa59e8SDavid Daney uint64_t zip:1; 2157*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 2158*c5aa59e8SDavid Daney uint64_t tim:1; 2159*c5aa59e8SDavid Daney uint64_t rad:1; 2160*c5aa59e8SDavid Daney uint64_t key:1; 2161*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 2162*c5aa59e8SDavid Daney uint64_t sli:1; 2163*c5aa59e8SDavid Daney uint64_t dpi:1; 2164*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 2165*c5aa59e8SDavid Daney uint64_t dfa:1; 2166*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 2167*c5aa59e8SDavid Daney uint64_t l2c:1; 2168*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 2169*c5aa59e8SDavid Daney uint64_t trace:4; 2170*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 2171*c5aa59e8SDavid Daney #endif 2172*c5aa59e8SDavid Daney } cn68xxp1; 2173*c5aa59e8SDavid Daney }; 2174*c5aa59e8SDavid Daney 2175*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip2_wdog { 2176*c5aa59e8SDavid Daney uint64_t u64; 2177*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_wdog_s { 2178*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2179*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 2180*c5aa59e8SDavid Daney uint64_t wdog:32; 2181*c5aa59e8SDavid Daney #else 2182*c5aa59e8SDavid Daney uint64_t wdog:32; 2183*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 2184*c5aa59e8SDavid Daney #endif 2185*c5aa59e8SDavid Daney } s; 2186*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_wdog_s cn68xx; 2187*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_wdog_s cn68xxp1; 2188*c5aa59e8SDavid Daney }; 2189*c5aa59e8SDavid Daney 2190*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip2_wdog_w1c { 2191*c5aa59e8SDavid Daney uint64_t u64; 2192*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_wdog_w1c_s { 2193*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2194*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 2195*c5aa59e8SDavid Daney uint64_t wdog:32; 2196*c5aa59e8SDavid Daney #else 2197*c5aa59e8SDavid Daney uint64_t wdog:32; 2198*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 2199*c5aa59e8SDavid Daney #endif 2200*c5aa59e8SDavid Daney } s; 2201*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_wdog_w1c_s cn68xx; 2202*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_wdog_w1c_s cn68xxp1; 2203*c5aa59e8SDavid Daney }; 2204*c5aa59e8SDavid Daney 2205*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip2_wdog_w1s { 2206*c5aa59e8SDavid Daney uint64_t u64; 2207*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_wdog_w1s_s { 2208*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2209*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 2210*c5aa59e8SDavid Daney uint64_t wdog:32; 2211*c5aa59e8SDavid Daney #else 2212*c5aa59e8SDavid Daney uint64_t wdog:32; 2213*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 2214*c5aa59e8SDavid Daney #endif 2215*c5aa59e8SDavid Daney } s; 2216*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_wdog_w1s_s cn68xx; 2217*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_wdog_w1s_s cn68xxp1; 2218*c5aa59e8SDavid Daney }; 2219*c5aa59e8SDavid Daney 2220*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip2_wrkq { 2221*c5aa59e8SDavid Daney uint64_t u64; 2222*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_wrkq_s { 2223*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2224*c5aa59e8SDavid Daney uint64_t workq:64; 2225*c5aa59e8SDavid Daney #else 2226*c5aa59e8SDavid Daney uint64_t workq:64; 2227*c5aa59e8SDavid Daney #endif 2228*c5aa59e8SDavid Daney } s; 2229*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_wrkq_s cn68xx; 2230*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_wrkq_s cn68xxp1; 2231*c5aa59e8SDavid Daney }; 2232*c5aa59e8SDavid Daney 2233*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip2_wrkq_w1c { 2234*c5aa59e8SDavid Daney uint64_t u64; 2235*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_wrkq_w1c_s { 2236*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2237*c5aa59e8SDavid Daney uint64_t workq:64; 2238*c5aa59e8SDavid Daney #else 2239*c5aa59e8SDavid Daney uint64_t workq:64; 2240*c5aa59e8SDavid Daney #endif 2241*c5aa59e8SDavid Daney } s; 2242*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_wrkq_w1c_s cn68xx; 2243*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_wrkq_w1c_s cn68xxp1; 2244*c5aa59e8SDavid Daney }; 2245*c5aa59e8SDavid Daney 2246*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip2_wrkq_w1s { 2247*c5aa59e8SDavid Daney uint64_t u64; 2248*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_wrkq_w1s_s { 2249*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2250*c5aa59e8SDavid Daney uint64_t workq:64; 2251*c5aa59e8SDavid Daney #else 2252*c5aa59e8SDavid Daney uint64_t workq:64; 2253*c5aa59e8SDavid Daney #endif 2254*c5aa59e8SDavid Daney } s; 2255*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_wrkq_w1s_s cn68xx; 2256*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip2_wrkq_w1s_s cn68xxp1; 2257*c5aa59e8SDavid Daney }; 2258*c5aa59e8SDavid Daney 2259*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip3_gpio { 2260*c5aa59e8SDavid Daney uint64_t u64; 2261*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_gpio_s { 2262*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2263*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 2264*c5aa59e8SDavid Daney uint64_t gpio:16; 2265*c5aa59e8SDavid Daney #else 2266*c5aa59e8SDavid Daney uint64_t gpio:16; 2267*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 2268*c5aa59e8SDavid Daney #endif 2269*c5aa59e8SDavid Daney } s; 2270*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_gpio_s cn68xx; 2271*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_gpio_s cn68xxp1; 2272*c5aa59e8SDavid Daney }; 2273*c5aa59e8SDavid Daney 2274*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip3_gpio_w1c { 2275*c5aa59e8SDavid Daney uint64_t u64; 2276*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_gpio_w1c_s { 2277*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2278*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 2279*c5aa59e8SDavid Daney uint64_t gpio:16; 2280*c5aa59e8SDavid Daney #else 2281*c5aa59e8SDavid Daney uint64_t gpio:16; 2282*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 2283*c5aa59e8SDavid Daney #endif 2284*c5aa59e8SDavid Daney } s; 2285*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_gpio_w1c_s cn68xx; 2286*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_gpio_w1c_s cn68xxp1; 2287*c5aa59e8SDavid Daney }; 2288*c5aa59e8SDavid Daney 2289*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip3_gpio_w1s { 2290*c5aa59e8SDavid Daney uint64_t u64; 2291*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_gpio_w1s_s { 2292*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2293*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 2294*c5aa59e8SDavid Daney uint64_t gpio:16; 2295*c5aa59e8SDavid Daney #else 2296*c5aa59e8SDavid Daney uint64_t gpio:16; 2297*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 2298*c5aa59e8SDavid Daney #endif 2299*c5aa59e8SDavid Daney } s; 2300*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_gpio_w1s_s cn68xx; 2301*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_gpio_w1s_s cn68xxp1; 2302*c5aa59e8SDavid Daney }; 2303*c5aa59e8SDavid Daney 2304*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip3_io { 2305*c5aa59e8SDavid Daney uint64_t u64; 2306*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_io_s { 2307*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2308*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 2309*c5aa59e8SDavid Daney uint64_t pem:2; 2310*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 2311*c5aa59e8SDavid Daney uint64_t pci_inta:2; 2312*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 2313*c5aa59e8SDavid Daney uint64_t msired:1; 2314*c5aa59e8SDavid Daney uint64_t pci_msi:4; 2315*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 2316*c5aa59e8SDavid Daney uint64_t pci_intr:4; 2317*c5aa59e8SDavid Daney #else 2318*c5aa59e8SDavid Daney uint64_t pci_intr:4; 2319*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 2320*c5aa59e8SDavid Daney uint64_t pci_msi:4; 2321*c5aa59e8SDavid Daney uint64_t msired:1; 2322*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 2323*c5aa59e8SDavid Daney uint64_t pci_inta:2; 2324*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 2325*c5aa59e8SDavid Daney uint64_t pem:2; 2326*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 2327*c5aa59e8SDavid Daney #endif 2328*c5aa59e8SDavid Daney } s; 2329*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_io_s cn68xx; 2330*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_io_s cn68xxp1; 2331*c5aa59e8SDavid Daney }; 2332*c5aa59e8SDavid Daney 2333*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip3_io_w1c { 2334*c5aa59e8SDavid Daney uint64_t u64; 2335*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_io_w1c_s { 2336*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2337*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 2338*c5aa59e8SDavid Daney uint64_t pem:2; 2339*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 2340*c5aa59e8SDavid Daney uint64_t pci_inta:2; 2341*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 2342*c5aa59e8SDavid Daney uint64_t msired:1; 2343*c5aa59e8SDavid Daney uint64_t pci_msi:4; 2344*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 2345*c5aa59e8SDavid Daney uint64_t pci_intr:4; 2346*c5aa59e8SDavid Daney #else 2347*c5aa59e8SDavid Daney uint64_t pci_intr:4; 2348*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 2349*c5aa59e8SDavid Daney uint64_t pci_msi:4; 2350*c5aa59e8SDavid Daney uint64_t msired:1; 2351*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 2352*c5aa59e8SDavid Daney uint64_t pci_inta:2; 2353*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 2354*c5aa59e8SDavid Daney uint64_t pem:2; 2355*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 2356*c5aa59e8SDavid Daney #endif 2357*c5aa59e8SDavid Daney } s; 2358*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_io_w1c_s cn68xx; 2359*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_io_w1c_s cn68xxp1; 2360*c5aa59e8SDavid Daney }; 2361*c5aa59e8SDavid Daney 2362*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip3_io_w1s { 2363*c5aa59e8SDavid Daney uint64_t u64; 2364*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_io_w1s_s { 2365*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2366*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 2367*c5aa59e8SDavid Daney uint64_t pem:2; 2368*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 2369*c5aa59e8SDavid Daney uint64_t pci_inta:2; 2370*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 2371*c5aa59e8SDavid Daney uint64_t msired:1; 2372*c5aa59e8SDavid Daney uint64_t pci_msi:4; 2373*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 2374*c5aa59e8SDavid Daney uint64_t pci_intr:4; 2375*c5aa59e8SDavid Daney #else 2376*c5aa59e8SDavid Daney uint64_t pci_intr:4; 2377*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 2378*c5aa59e8SDavid Daney uint64_t pci_msi:4; 2379*c5aa59e8SDavid Daney uint64_t msired:1; 2380*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 2381*c5aa59e8SDavid Daney uint64_t pci_inta:2; 2382*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 2383*c5aa59e8SDavid Daney uint64_t pem:2; 2384*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 2385*c5aa59e8SDavid Daney #endif 2386*c5aa59e8SDavid Daney } s; 2387*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_io_w1s_s cn68xx; 2388*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_io_w1s_s cn68xxp1; 2389*c5aa59e8SDavid Daney }; 2390*c5aa59e8SDavid Daney 2391*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip3_mbox { 2392*c5aa59e8SDavid Daney uint64_t u64; 2393*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_mbox_s { 2394*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2395*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 2396*c5aa59e8SDavid Daney uint64_t mbox:4; 2397*c5aa59e8SDavid Daney #else 2398*c5aa59e8SDavid Daney uint64_t mbox:4; 2399*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 2400*c5aa59e8SDavid Daney #endif 2401*c5aa59e8SDavid Daney } s; 2402*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_mbox_s cn68xx; 2403*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_mbox_s cn68xxp1; 2404*c5aa59e8SDavid Daney }; 2405*c5aa59e8SDavid Daney 2406*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip3_mbox_w1c { 2407*c5aa59e8SDavid Daney uint64_t u64; 2408*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_mbox_w1c_s { 2409*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2410*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 2411*c5aa59e8SDavid Daney uint64_t mbox:4; 2412*c5aa59e8SDavid Daney #else 2413*c5aa59e8SDavid Daney uint64_t mbox:4; 2414*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 2415*c5aa59e8SDavid Daney #endif 2416*c5aa59e8SDavid Daney } s; 2417*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_mbox_w1c_s cn68xx; 2418*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_mbox_w1c_s cn68xxp1; 2419*c5aa59e8SDavid Daney }; 2420*c5aa59e8SDavid Daney 2421*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip3_mbox_w1s { 2422*c5aa59e8SDavid Daney uint64_t u64; 2423*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_mbox_w1s_s { 2424*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2425*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 2426*c5aa59e8SDavid Daney uint64_t mbox:4; 2427*c5aa59e8SDavid Daney #else 2428*c5aa59e8SDavid Daney uint64_t mbox:4; 2429*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 2430*c5aa59e8SDavid Daney #endif 2431*c5aa59e8SDavid Daney } s; 2432*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_mbox_w1s_s cn68xx; 2433*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_mbox_w1s_s cn68xxp1; 2434*c5aa59e8SDavid Daney }; 2435*c5aa59e8SDavid Daney 2436*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip3_mem { 2437*c5aa59e8SDavid Daney uint64_t u64; 2438*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_mem_s { 2439*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2440*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 2441*c5aa59e8SDavid Daney uint64_t lmc:4; 2442*c5aa59e8SDavid Daney #else 2443*c5aa59e8SDavid Daney uint64_t lmc:4; 2444*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 2445*c5aa59e8SDavid Daney #endif 2446*c5aa59e8SDavid Daney } s; 2447*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_mem_s cn68xx; 2448*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_mem_s cn68xxp1; 2449*c5aa59e8SDavid Daney }; 2450*c5aa59e8SDavid Daney 2451*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip3_mem_w1c { 2452*c5aa59e8SDavid Daney uint64_t u64; 2453*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_mem_w1c_s { 2454*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2455*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 2456*c5aa59e8SDavid Daney uint64_t lmc:4; 2457*c5aa59e8SDavid Daney #else 2458*c5aa59e8SDavid Daney uint64_t lmc:4; 2459*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 2460*c5aa59e8SDavid Daney #endif 2461*c5aa59e8SDavid Daney } s; 2462*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_mem_w1c_s cn68xx; 2463*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_mem_w1c_s cn68xxp1; 2464*c5aa59e8SDavid Daney }; 2465*c5aa59e8SDavid Daney 2466*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip3_mem_w1s { 2467*c5aa59e8SDavid Daney uint64_t u64; 2468*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_mem_w1s_s { 2469*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2470*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 2471*c5aa59e8SDavid Daney uint64_t lmc:4; 2472*c5aa59e8SDavid Daney #else 2473*c5aa59e8SDavid Daney uint64_t lmc:4; 2474*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 2475*c5aa59e8SDavid Daney #endif 2476*c5aa59e8SDavid Daney } s; 2477*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_mem_w1s_s cn68xx; 2478*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_mem_w1s_s cn68xxp1; 2479*c5aa59e8SDavid Daney }; 2480*c5aa59e8SDavid Daney 2481*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip3_mio { 2482*c5aa59e8SDavid Daney uint64_t u64; 2483*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_mio_s { 2484*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2485*c5aa59e8SDavid Daney uint64_t rst:1; 2486*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 2487*c5aa59e8SDavid Daney uint64_t ptp:1; 2488*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 2489*c5aa59e8SDavid Daney uint64_t usb_hci:1; 2490*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 2491*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 2492*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 2493*c5aa59e8SDavid Daney uint64_t uart:2; 2494*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 2495*c5aa59e8SDavid Daney uint64_t twsi:2; 2496*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 2497*c5aa59e8SDavid Daney uint64_t bootdma:1; 2498*c5aa59e8SDavid Daney uint64_t mio:1; 2499*c5aa59e8SDavid Daney uint64_t nand:1; 2500*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 2501*c5aa59e8SDavid Daney uint64_t timer:4; 2502*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 2503*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 2504*c5aa59e8SDavid Daney uint64_t ssoiq:1; 2505*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 2506*c5aa59e8SDavid Daney #else 2507*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 2508*c5aa59e8SDavid Daney uint64_t ssoiq:1; 2509*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 2510*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 2511*c5aa59e8SDavid Daney uint64_t timer:4; 2512*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 2513*c5aa59e8SDavid Daney uint64_t nand:1; 2514*c5aa59e8SDavid Daney uint64_t mio:1; 2515*c5aa59e8SDavid Daney uint64_t bootdma:1; 2516*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 2517*c5aa59e8SDavid Daney uint64_t twsi:2; 2518*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 2519*c5aa59e8SDavid Daney uint64_t uart:2; 2520*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 2521*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 2522*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 2523*c5aa59e8SDavid Daney uint64_t usb_hci:1; 2524*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 2525*c5aa59e8SDavid Daney uint64_t ptp:1; 2526*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 2527*c5aa59e8SDavid Daney uint64_t rst:1; 2528*c5aa59e8SDavid Daney #endif 2529*c5aa59e8SDavid Daney } s; 2530*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_mio_s cn68xx; 2531*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_mio_s cn68xxp1; 2532*c5aa59e8SDavid Daney }; 2533*c5aa59e8SDavid Daney 2534*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip3_mio_w1c { 2535*c5aa59e8SDavid Daney uint64_t u64; 2536*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_mio_w1c_s { 2537*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2538*c5aa59e8SDavid Daney uint64_t rst:1; 2539*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 2540*c5aa59e8SDavid Daney uint64_t ptp:1; 2541*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 2542*c5aa59e8SDavid Daney uint64_t usb_hci:1; 2543*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 2544*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 2545*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 2546*c5aa59e8SDavid Daney uint64_t uart:2; 2547*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 2548*c5aa59e8SDavid Daney uint64_t twsi:2; 2549*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 2550*c5aa59e8SDavid Daney uint64_t bootdma:1; 2551*c5aa59e8SDavid Daney uint64_t mio:1; 2552*c5aa59e8SDavid Daney uint64_t nand:1; 2553*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 2554*c5aa59e8SDavid Daney uint64_t timer:4; 2555*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 2556*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 2557*c5aa59e8SDavid Daney uint64_t ssoiq:1; 2558*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 2559*c5aa59e8SDavid Daney #else 2560*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 2561*c5aa59e8SDavid Daney uint64_t ssoiq:1; 2562*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 2563*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 2564*c5aa59e8SDavid Daney uint64_t timer:4; 2565*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 2566*c5aa59e8SDavid Daney uint64_t nand:1; 2567*c5aa59e8SDavid Daney uint64_t mio:1; 2568*c5aa59e8SDavid Daney uint64_t bootdma:1; 2569*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 2570*c5aa59e8SDavid Daney uint64_t twsi:2; 2571*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 2572*c5aa59e8SDavid Daney uint64_t uart:2; 2573*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 2574*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 2575*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 2576*c5aa59e8SDavid Daney uint64_t usb_hci:1; 2577*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 2578*c5aa59e8SDavid Daney uint64_t ptp:1; 2579*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 2580*c5aa59e8SDavid Daney uint64_t rst:1; 2581*c5aa59e8SDavid Daney #endif 2582*c5aa59e8SDavid Daney } s; 2583*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_mio_w1c_s cn68xx; 2584*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_mio_w1c_s cn68xxp1; 2585*c5aa59e8SDavid Daney }; 2586*c5aa59e8SDavid Daney 2587*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip3_mio_w1s { 2588*c5aa59e8SDavid Daney uint64_t u64; 2589*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_mio_w1s_s { 2590*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2591*c5aa59e8SDavid Daney uint64_t rst:1; 2592*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 2593*c5aa59e8SDavid Daney uint64_t ptp:1; 2594*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 2595*c5aa59e8SDavid Daney uint64_t usb_hci:1; 2596*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 2597*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 2598*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 2599*c5aa59e8SDavid Daney uint64_t uart:2; 2600*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 2601*c5aa59e8SDavid Daney uint64_t twsi:2; 2602*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 2603*c5aa59e8SDavid Daney uint64_t bootdma:1; 2604*c5aa59e8SDavid Daney uint64_t mio:1; 2605*c5aa59e8SDavid Daney uint64_t nand:1; 2606*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 2607*c5aa59e8SDavid Daney uint64_t timer:4; 2608*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 2609*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 2610*c5aa59e8SDavid Daney uint64_t ssoiq:1; 2611*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 2612*c5aa59e8SDavid Daney #else 2613*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 2614*c5aa59e8SDavid Daney uint64_t ssoiq:1; 2615*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 2616*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 2617*c5aa59e8SDavid Daney uint64_t timer:4; 2618*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 2619*c5aa59e8SDavid Daney uint64_t nand:1; 2620*c5aa59e8SDavid Daney uint64_t mio:1; 2621*c5aa59e8SDavid Daney uint64_t bootdma:1; 2622*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 2623*c5aa59e8SDavid Daney uint64_t twsi:2; 2624*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 2625*c5aa59e8SDavid Daney uint64_t uart:2; 2626*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 2627*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 2628*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 2629*c5aa59e8SDavid Daney uint64_t usb_hci:1; 2630*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 2631*c5aa59e8SDavid Daney uint64_t ptp:1; 2632*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 2633*c5aa59e8SDavid Daney uint64_t rst:1; 2634*c5aa59e8SDavid Daney #endif 2635*c5aa59e8SDavid Daney } s; 2636*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_mio_w1s_s cn68xx; 2637*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_mio_w1s_s cn68xxp1; 2638*c5aa59e8SDavid Daney }; 2639*c5aa59e8SDavid Daney 2640*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip3_pkt { 2641*c5aa59e8SDavid Daney uint64_t u64; 2642*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_pkt_s { 2643*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2644*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 2645*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 2646*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 2647*c5aa59e8SDavid Daney uint64_t ilk:1; 2648*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 2649*c5aa59e8SDavid Daney uint64_t mii:1; 2650*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 2651*c5aa59e8SDavid Daney uint64_t agl:1; 2652*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 2653*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 2654*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 2655*c5aa59e8SDavid Daney uint64_t agx:5; 2656*c5aa59e8SDavid Daney #else 2657*c5aa59e8SDavid Daney uint64_t agx:5; 2658*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 2659*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 2660*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 2661*c5aa59e8SDavid Daney uint64_t agl:1; 2662*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 2663*c5aa59e8SDavid Daney uint64_t mii:1; 2664*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 2665*c5aa59e8SDavid Daney uint64_t ilk:1; 2666*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 2667*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 2668*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 2669*c5aa59e8SDavid Daney #endif 2670*c5aa59e8SDavid Daney } s; 2671*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_pkt_s cn68xx; 2672*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_pkt_cn68xxp1 { 2673*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2674*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 2675*c5aa59e8SDavid Daney uint64_t ilk:1; 2676*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 2677*c5aa59e8SDavid Daney uint64_t mii:1; 2678*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 2679*c5aa59e8SDavid Daney uint64_t agl:1; 2680*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 2681*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 2682*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 2683*c5aa59e8SDavid Daney uint64_t agx:5; 2684*c5aa59e8SDavid Daney #else 2685*c5aa59e8SDavid Daney uint64_t agx:5; 2686*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 2687*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 2688*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 2689*c5aa59e8SDavid Daney uint64_t agl:1; 2690*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 2691*c5aa59e8SDavid Daney uint64_t mii:1; 2692*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 2693*c5aa59e8SDavid Daney uint64_t ilk:1; 2694*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 2695*c5aa59e8SDavid Daney #endif 2696*c5aa59e8SDavid Daney } cn68xxp1; 2697*c5aa59e8SDavid Daney }; 2698*c5aa59e8SDavid Daney 2699*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip3_pkt_w1c { 2700*c5aa59e8SDavid Daney uint64_t u64; 2701*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_pkt_w1c_s { 2702*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2703*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 2704*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 2705*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 2706*c5aa59e8SDavid Daney uint64_t ilk:1; 2707*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 2708*c5aa59e8SDavid Daney uint64_t mii:1; 2709*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 2710*c5aa59e8SDavid Daney uint64_t agl:1; 2711*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 2712*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 2713*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 2714*c5aa59e8SDavid Daney uint64_t agx:5; 2715*c5aa59e8SDavid Daney #else 2716*c5aa59e8SDavid Daney uint64_t agx:5; 2717*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 2718*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 2719*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 2720*c5aa59e8SDavid Daney uint64_t agl:1; 2721*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 2722*c5aa59e8SDavid Daney uint64_t mii:1; 2723*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 2724*c5aa59e8SDavid Daney uint64_t ilk:1; 2725*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 2726*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 2727*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 2728*c5aa59e8SDavid Daney #endif 2729*c5aa59e8SDavid Daney } s; 2730*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_pkt_w1c_s cn68xx; 2731*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_pkt_w1c_cn68xxp1 { 2732*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2733*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 2734*c5aa59e8SDavid Daney uint64_t ilk:1; 2735*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 2736*c5aa59e8SDavid Daney uint64_t mii:1; 2737*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 2738*c5aa59e8SDavid Daney uint64_t agl:1; 2739*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 2740*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 2741*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 2742*c5aa59e8SDavid Daney uint64_t agx:5; 2743*c5aa59e8SDavid Daney #else 2744*c5aa59e8SDavid Daney uint64_t agx:5; 2745*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 2746*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 2747*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 2748*c5aa59e8SDavid Daney uint64_t agl:1; 2749*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 2750*c5aa59e8SDavid Daney uint64_t mii:1; 2751*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 2752*c5aa59e8SDavid Daney uint64_t ilk:1; 2753*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 2754*c5aa59e8SDavid Daney #endif 2755*c5aa59e8SDavid Daney } cn68xxp1; 2756*c5aa59e8SDavid Daney }; 2757*c5aa59e8SDavid Daney 2758*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip3_pkt_w1s { 2759*c5aa59e8SDavid Daney uint64_t u64; 2760*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_pkt_w1s_s { 2761*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2762*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 2763*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 2764*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 2765*c5aa59e8SDavid Daney uint64_t ilk:1; 2766*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 2767*c5aa59e8SDavid Daney uint64_t mii:1; 2768*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 2769*c5aa59e8SDavid Daney uint64_t agl:1; 2770*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 2771*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 2772*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 2773*c5aa59e8SDavid Daney uint64_t agx:5; 2774*c5aa59e8SDavid Daney #else 2775*c5aa59e8SDavid Daney uint64_t agx:5; 2776*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 2777*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 2778*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 2779*c5aa59e8SDavid Daney uint64_t agl:1; 2780*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 2781*c5aa59e8SDavid Daney uint64_t mii:1; 2782*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 2783*c5aa59e8SDavid Daney uint64_t ilk:1; 2784*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 2785*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 2786*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 2787*c5aa59e8SDavid Daney #endif 2788*c5aa59e8SDavid Daney } s; 2789*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_pkt_w1s_s cn68xx; 2790*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_pkt_w1s_cn68xxp1 { 2791*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2792*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 2793*c5aa59e8SDavid Daney uint64_t ilk:1; 2794*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 2795*c5aa59e8SDavid Daney uint64_t mii:1; 2796*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 2797*c5aa59e8SDavid Daney uint64_t agl:1; 2798*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 2799*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 2800*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 2801*c5aa59e8SDavid Daney uint64_t agx:5; 2802*c5aa59e8SDavid Daney #else 2803*c5aa59e8SDavid Daney uint64_t agx:5; 2804*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 2805*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 2806*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 2807*c5aa59e8SDavid Daney uint64_t agl:1; 2808*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 2809*c5aa59e8SDavid Daney uint64_t mii:1; 2810*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 2811*c5aa59e8SDavid Daney uint64_t ilk:1; 2812*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 2813*c5aa59e8SDavid Daney #endif 2814*c5aa59e8SDavid Daney } cn68xxp1; 2815*c5aa59e8SDavid Daney }; 2816*c5aa59e8SDavid Daney 2817*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip3_rml { 2818*c5aa59e8SDavid Daney uint64_t u64; 2819*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_rml_s { 2820*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2821*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 2822*c5aa59e8SDavid Daney uint64_t trace:4; 2823*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 2824*c5aa59e8SDavid Daney uint64_t l2c:1; 2825*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 2826*c5aa59e8SDavid Daney uint64_t dfa:1; 2827*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 2828*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 2829*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 2830*c5aa59e8SDavid Daney uint64_t dpi:1; 2831*c5aa59e8SDavid Daney uint64_t sli:1; 2832*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 2833*c5aa59e8SDavid Daney uint64_t key:1; 2834*c5aa59e8SDavid Daney uint64_t rad:1; 2835*c5aa59e8SDavid Daney uint64_t tim:1; 2836*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 2837*c5aa59e8SDavid Daney uint64_t zip:1; 2838*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 2839*c5aa59e8SDavid Daney uint64_t sso:1; 2840*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 2841*c5aa59e8SDavid Daney uint64_t pko:1; 2842*c5aa59e8SDavid Daney uint64_t pip:1; 2843*c5aa59e8SDavid Daney uint64_t ipd:1; 2844*c5aa59e8SDavid Daney uint64_t fpa:1; 2845*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 2846*c5aa59e8SDavid Daney uint64_t iob:1; 2847*c5aa59e8SDavid Daney #else 2848*c5aa59e8SDavid Daney uint64_t iob:1; 2849*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 2850*c5aa59e8SDavid Daney uint64_t fpa:1; 2851*c5aa59e8SDavid Daney uint64_t ipd:1; 2852*c5aa59e8SDavid Daney uint64_t pip:1; 2853*c5aa59e8SDavid Daney uint64_t pko:1; 2854*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 2855*c5aa59e8SDavid Daney uint64_t sso:1; 2856*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 2857*c5aa59e8SDavid Daney uint64_t zip:1; 2858*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 2859*c5aa59e8SDavid Daney uint64_t tim:1; 2860*c5aa59e8SDavid Daney uint64_t rad:1; 2861*c5aa59e8SDavid Daney uint64_t key:1; 2862*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 2863*c5aa59e8SDavid Daney uint64_t sli:1; 2864*c5aa59e8SDavid Daney uint64_t dpi:1; 2865*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 2866*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 2867*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 2868*c5aa59e8SDavid Daney uint64_t dfa:1; 2869*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 2870*c5aa59e8SDavid Daney uint64_t l2c:1; 2871*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 2872*c5aa59e8SDavid Daney uint64_t trace:4; 2873*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 2874*c5aa59e8SDavid Daney #endif 2875*c5aa59e8SDavid Daney } s; 2876*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_rml_s cn68xx; 2877*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_rml_cn68xxp1 { 2878*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2879*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 2880*c5aa59e8SDavid Daney uint64_t trace:4; 2881*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 2882*c5aa59e8SDavid Daney uint64_t l2c:1; 2883*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 2884*c5aa59e8SDavid Daney uint64_t dfa:1; 2885*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 2886*c5aa59e8SDavid Daney uint64_t dpi:1; 2887*c5aa59e8SDavid Daney uint64_t sli:1; 2888*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 2889*c5aa59e8SDavid Daney uint64_t key:1; 2890*c5aa59e8SDavid Daney uint64_t rad:1; 2891*c5aa59e8SDavid Daney uint64_t tim:1; 2892*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 2893*c5aa59e8SDavid Daney uint64_t zip:1; 2894*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 2895*c5aa59e8SDavid Daney uint64_t sso:1; 2896*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 2897*c5aa59e8SDavid Daney uint64_t pko:1; 2898*c5aa59e8SDavid Daney uint64_t pip:1; 2899*c5aa59e8SDavid Daney uint64_t ipd:1; 2900*c5aa59e8SDavid Daney uint64_t fpa:1; 2901*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 2902*c5aa59e8SDavid Daney uint64_t iob:1; 2903*c5aa59e8SDavid Daney #else 2904*c5aa59e8SDavid Daney uint64_t iob:1; 2905*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 2906*c5aa59e8SDavid Daney uint64_t fpa:1; 2907*c5aa59e8SDavid Daney uint64_t ipd:1; 2908*c5aa59e8SDavid Daney uint64_t pip:1; 2909*c5aa59e8SDavid Daney uint64_t pko:1; 2910*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 2911*c5aa59e8SDavid Daney uint64_t sso:1; 2912*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 2913*c5aa59e8SDavid Daney uint64_t zip:1; 2914*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 2915*c5aa59e8SDavid Daney uint64_t tim:1; 2916*c5aa59e8SDavid Daney uint64_t rad:1; 2917*c5aa59e8SDavid Daney uint64_t key:1; 2918*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 2919*c5aa59e8SDavid Daney uint64_t sli:1; 2920*c5aa59e8SDavid Daney uint64_t dpi:1; 2921*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 2922*c5aa59e8SDavid Daney uint64_t dfa:1; 2923*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 2924*c5aa59e8SDavid Daney uint64_t l2c:1; 2925*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 2926*c5aa59e8SDavid Daney uint64_t trace:4; 2927*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 2928*c5aa59e8SDavid Daney #endif 2929*c5aa59e8SDavid Daney } cn68xxp1; 2930*c5aa59e8SDavid Daney }; 2931*c5aa59e8SDavid Daney 2932*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip3_rml_w1c { 2933*c5aa59e8SDavid Daney uint64_t u64; 2934*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_rml_w1c_s { 2935*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2936*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 2937*c5aa59e8SDavid Daney uint64_t trace:4; 2938*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 2939*c5aa59e8SDavid Daney uint64_t l2c:1; 2940*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 2941*c5aa59e8SDavid Daney uint64_t dfa:1; 2942*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 2943*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 2944*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 2945*c5aa59e8SDavid Daney uint64_t dpi:1; 2946*c5aa59e8SDavid Daney uint64_t sli:1; 2947*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 2948*c5aa59e8SDavid Daney uint64_t key:1; 2949*c5aa59e8SDavid Daney uint64_t rad:1; 2950*c5aa59e8SDavid Daney uint64_t tim:1; 2951*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 2952*c5aa59e8SDavid Daney uint64_t zip:1; 2953*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 2954*c5aa59e8SDavid Daney uint64_t sso:1; 2955*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 2956*c5aa59e8SDavid Daney uint64_t pko:1; 2957*c5aa59e8SDavid Daney uint64_t pip:1; 2958*c5aa59e8SDavid Daney uint64_t ipd:1; 2959*c5aa59e8SDavid Daney uint64_t fpa:1; 2960*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 2961*c5aa59e8SDavid Daney uint64_t iob:1; 2962*c5aa59e8SDavid Daney #else 2963*c5aa59e8SDavid Daney uint64_t iob:1; 2964*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 2965*c5aa59e8SDavid Daney uint64_t fpa:1; 2966*c5aa59e8SDavid Daney uint64_t ipd:1; 2967*c5aa59e8SDavid Daney uint64_t pip:1; 2968*c5aa59e8SDavid Daney uint64_t pko:1; 2969*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 2970*c5aa59e8SDavid Daney uint64_t sso:1; 2971*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 2972*c5aa59e8SDavid Daney uint64_t zip:1; 2973*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 2974*c5aa59e8SDavid Daney uint64_t tim:1; 2975*c5aa59e8SDavid Daney uint64_t rad:1; 2976*c5aa59e8SDavid Daney uint64_t key:1; 2977*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 2978*c5aa59e8SDavid Daney uint64_t sli:1; 2979*c5aa59e8SDavid Daney uint64_t dpi:1; 2980*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 2981*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 2982*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 2983*c5aa59e8SDavid Daney uint64_t dfa:1; 2984*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 2985*c5aa59e8SDavid Daney uint64_t l2c:1; 2986*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 2987*c5aa59e8SDavid Daney uint64_t trace:4; 2988*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 2989*c5aa59e8SDavid Daney #endif 2990*c5aa59e8SDavid Daney } s; 2991*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_rml_w1c_s cn68xx; 2992*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_rml_w1c_cn68xxp1 { 2993*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 2994*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 2995*c5aa59e8SDavid Daney uint64_t trace:4; 2996*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 2997*c5aa59e8SDavid Daney uint64_t l2c:1; 2998*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 2999*c5aa59e8SDavid Daney uint64_t dfa:1; 3000*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 3001*c5aa59e8SDavid Daney uint64_t dpi:1; 3002*c5aa59e8SDavid Daney uint64_t sli:1; 3003*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 3004*c5aa59e8SDavid Daney uint64_t key:1; 3005*c5aa59e8SDavid Daney uint64_t rad:1; 3006*c5aa59e8SDavid Daney uint64_t tim:1; 3007*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 3008*c5aa59e8SDavid Daney uint64_t zip:1; 3009*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 3010*c5aa59e8SDavid Daney uint64_t sso:1; 3011*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 3012*c5aa59e8SDavid Daney uint64_t pko:1; 3013*c5aa59e8SDavid Daney uint64_t pip:1; 3014*c5aa59e8SDavid Daney uint64_t ipd:1; 3015*c5aa59e8SDavid Daney uint64_t fpa:1; 3016*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 3017*c5aa59e8SDavid Daney uint64_t iob:1; 3018*c5aa59e8SDavid Daney #else 3019*c5aa59e8SDavid Daney uint64_t iob:1; 3020*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 3021*c5aa59e8SDavid Daney uint64_t fpa:1; 3022*c5aa59e8SDavid Daney uint64_t ipd:1; 3023*c5aa59e8SDavid Daney uint64_t pip:1; 3024*c5aa59e8SDavid Daney uint64_t pko:1; 3025*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 3026*c5aa59e8SDavid Daney uint64_t sso:1; 3027*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 3028*c5aa59e8SDavid Daney uint64_t zip:1; 3029*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 3030*c5aa59e8SDavid Daney uint64_t tim:1; 3031*c5aa59e8SDavid Daney uint64_t rad:1; 3032*c5aa59e8SDavid Daney uint64_t key:1; 3033*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 3034*c5aa59e8SDavid Daney uint64_t sli:1; 3035*c5aa59e8SDavid Daney uint64_t dpi:1; 3036*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 3037*c5aa59e8SDavid Daney uint64_t dfa:1; 3038*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 3039*c5aa59e8SDavid Daney uint64_t l2c:1; 3040*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 3041*c5aa59e8SDavid Daney uint64_t trace:4; 3042*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 3043*c5aa59e8SDavid Daney #endif 3044*c5aa59e8SDavid Daney } cn68xxp1; 3045*c5aa59e8SDavid Daney }; 3046*c5aa59e8SDavid Daney 3047*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip3_rml_w1s { 3048*c5aa59e8SDavid Daney uint64_t u64; 3049*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_rml_w1s_s { 3050*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3051*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 3052*c5aa59e8SDavid Daney uint64_t trace:4; 3053*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 3054*c5aa59e8SDavid Daney uint64_t l2c:1; 3055*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 3056*c5aa59e8SDavid Daney uint64_t dfa:1; 3057*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 3058*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 3059*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 3060*c5aa59e8SDavid Daney uint64_t dpi:1; 3061*c5aa59e8SDavid Daney uint64_t sli:1; 3062*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 3063*c5aa59e8SDavid Daney uint64_t key:1; 3064*c5aa59e8SDavid Daney uint64_t rad:1; 3065*c5aa59e8SDavid Daney uint64_t tim:1; 3066*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 3067*c5aa59e8SDavid Daney uint64_t zip:1; 3068*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 3069*c5aa59e8SDavid Daney uint64_t sso:1; 3070*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 3071*c5aa59e8SDavid Daney uint64_t pko:1; 3072*c5aa59e8SDavid Daney uint64_t pip:1; 3073*c5aa59e8SDavid Daney uint64_t ipd:1; 3074*c5aa59e8SDavid Daney uint64_t fpa:1; 3075*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 3076*c5aa59e8SDavid Daney uint64_t iob:1; 3077*c5aa59e8SDavid Daney #else 3078*c5aa59e8SDavid Daney uint64_t iob:1; 3079*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 3080*c5aa59e8SDavid Daney uint64_t fpa:1; 3081*c5aa59e8SDavid Daney uint64_t ipd:1; 3082*c5aa59e8SDavid Daney uint64_t pip:1; 3083*c5aa59e8SDavid Daney uint64_t pko:1; 3084*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 3085*c5aa59e8SDavid Daney uint64_t sso:1; 3086*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 3087*c5aa59e8SDavid Daney uint64_t zip:1; 3088*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 3089*c5aa59e8SDavid Daney uint64_t tim:1; 3090*c5aa59e8SDavid Daney uint64_t rad:1; 3091*c5aa59e8SDavid Daney uint64_t key:1; 3092*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 3093*c5aa59e8SDavid Daney uint64_t sli:1; 3094*c5aa59e8SDavid Daney uint64_t dpi:1; 3095*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 3096*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 3097*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 3098*c5aa59e8SDavid Daney uint64_t dfa:1; 3099*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 3100*c5aa59e8SDavid Daney uint64_t l2c:1; 3101*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 3102*c5aa59e8SDavid Daney uint64_t trace:4; 3103*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 3104*c5aa59e8SDavid Daney #endif 3105*c5aa59e8SDavid Daney } s; 3106*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_rml_w1s_s cn68xx; 3107*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_rml_w1s_cn68xxp1 { 3108*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3109*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 3110*c5aa59e8SDavid Daney uint64_t trace:4; 3111*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 3112*c5aa59e8SDavid Daney uint64_t l2c:1; 3113*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 3114*c5aa59e8SDavid Daney uint64_t dfa:1; 3115*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 3116*c5aa59e8SDavid Daney uint64_t dpi:1; 3117*c5aa59e8SDavid Daney uint64_t sli:1; 3118*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 3119*c5aa59e8SDavid Daney uint64_t key:1; 3120*c5aa59e8SDavid Daney uint64_t rad:1; 3121*c5aa59e8SDavid Daney uint64_t tim:1; 3122*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 3123*c5aa59e8SDavid Daney uint64_t zip:1; 3124*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 3125*c5aa59e8SDavid Daney uint64_t sso:1; 3126*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 3127*c5aa59e8SDavid Daney uint64_t pko:1; 3128*c5aa59e8SDavid Daney uint64_t pip:1; 3129*c5aa59e8SDavid Daney uint64_t ipd:1; 3130*c5aa59e8SDavid Daney uint64_t fpa:1; 3131*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 3132*c5aa59e8SDavid Daney uint64_t iob:1; 3133*c5aa59e8SDavid Daney #else 3134*c5aa59e8SDavid Daney uint64_t iob:1; 3135*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 3136*c5aa59e8SDavid Daney uint64_t fpa:1; 3137*c5aa59e8SDavid Daney uint64_t ipd:1; 3138*c5aa59e8SDavid Daney uint64_t pip:1; 3139*c5aa59e8SDavid Daney uint64_t pko:1; 3140*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 3141*c5aa59e8SDavid Daney uint64_t sso:1; 3142*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 3143*c5aa59e8SDavid Daney uint64_t zip:1; 3144*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 3145*c5aa59e8SDavid Daney uint64_t tim:1; 3146*c5aa59e8SDavid Daney uint64_t rad:1; 3147*c5aa59e8SDavid Daney uint64_t key:1; 3148*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 3149*c5aa59e8SDavid Daney uint64_t sli:1; 3150*c5aa59e8SDavid Daney uint64_t dpi:1; 3151*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 3152*c5aa59e8SDavid Daney uint64_t dfa:1; 3153*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 3154*c5aa59e8SDavid Daney uint64_t l2c:1; 3155*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 3156*c5aa59e8SDavid Daney uint64_t trace:4; 3157*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 3158*c5aa59e8SDavid Daney #endif 3159*c5aa59e8SDavid Daney } cn68xxp1; 3160*c5aa59e8SDavid Daney }; 3161*c5aa59e8SDavid Daney 3162*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip3_wdog { 3163*c5aa59e8SDavid Daney uint64_t u64; 3164*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_wdog_s { 3165*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3166*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 3167*c5aa59e8SDavid Daney uint64_t wdog:32; 3168*c5aa59e8SDavid Daney #else 3169*c5aa59e8SDavid Daney uint64_t wdog:32; 3170*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 3171*c5aa59e8SDavid Daney #endif 3172*c5aa59e8SDavid Daney } s; 3173*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_wdog_s cn68xx; 3174*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_wdog_s cn68xxp1; 3175*c5aa59e8SDavid Daney }; 3176*c5aa59e8SDavid Daney 3177*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip3_wdog_w1c { 3178*c5aa59e8SDavid Daney uint64_t u64; 3179*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_wdog_w1c_s { 3180*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3181*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 3182*c5aa59e8SDavid Daney uint64_t wdog:32; 3183*c5aa59e8SDavid Daney #else 3184*c5aa59e8SDavid Daney uint64_t wdog:32; 3185*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 3186*c5aa59e8SDavid Daney #endif 3187*c5aa59e8SDavid Daney } s; 3188*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_wdog_w1c_s cn68xx; 3189*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_wdog_w1c_s cn68xxp1; 3190*c5aa59e8SDavid Daney }; 3191*c5aa59e8SDavid Daney 3192*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip3_wdog_w1s { 3193*c5aa59e8SDavid Daney uint64_t u64; 3194*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_wdog_w1s_s { 3195*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3196*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 3197*c5aa59e8SDavid Daney uint64_t wdog:32; 3198*c5aa59e8SDavid Daney #else 3199*c5aa59e8SDavid Daney uint64_t wdog:32; 3200*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 3201*c5aa59e8SDavid Daney #endif 3202*c5aa59e8SDavid Daney } s; 3203*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_wdog_w1s_s cn68xx; 3204*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_wdog_w1s_s cn68xxp1; 3205*c5aa59e8SDavid Daney }; 3206*c5aa59e8SDavid Daney 3207*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip3_wrkq { 3208*c5aa59e8SDavid Daney uint64_t u64; 3209*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_wrkq_s { 3210*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3211*c5aa59e8SDavid Daney uint64_t workq:64; 3212*c5aa59e8SDavid Daney #else 3213*c5aa59e8SDavid Daney uint64_t workq:64; 3214*c5aa59e8SDavid Daney #endif 3215*c5aa59e8SDavid Daney } s; 3216*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_wrkq_s cn68xx; 3217*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_wrkq_s cn68xxp1; 3218*c5aa59e8SDavid Daney }; 3219*c5aa59e8SDavid Daney 3220*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip3_wrkq_w1c { 3221*c5aa59e8SDavid Daney uint64_t u64; 3222*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_wrkq_w1c_s { 3223*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3224*c5aa59e8SDavid Daney uint64_t workq:64; 3225*c5aa59e8SDavid Daney #else 3226*c5aa59e8SDavid Daney uint64_t workq:64; 3227*c5aa59e8SDavid Daney #endif 3228*c5aa59e8SDavid Daney } s; 3229*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_wrkq_w1c_s cn68xx; 3230*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_wrkq_w1c_s cn68xxp1; 3231*c5aa59e8SDavid Daney }; 3232*c5aa59e8SDavid Daney 3233*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip3_wrkq_w1s { 3234*c5aa59e8SDavid Daney uint64_t u64; 3235*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_wrkq_w1s_s { 3236*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3237*c5aa59e8SDavid Daney uint64_t workq:64; 3238*c5aa59e8SDavid Daney #else 3239*c5aa59e8SDavid Daney uint64_t workq:64; 3240*c5aa59e8SDavid Daney #endif 3241*c5aa59e8SDavid Daney } s; 3242*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_wrkq_w1s_s cn68xx; 3243*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip3_wrkq_w1s_s cn68xxp1; 3244*c5aa59e8SDavid Daney }; 3245*c5aa59e8SDavid Daney 3246*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip4_gpio { 3247*c5aa59e8SDavid Daney uint64_t u64; 3248*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_gpio_s { 3249*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3250*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 3251*c5aa59e8SDavid Daney uint64_t gpio:16; 3252*c5aa59e8SDavid Daney #else 3253*c5aa59e8SDavid Daney uint64_t gpio:16; 3254*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 3255*c5aa59e8SDavid Daney #endif 3256*c5aa59e8SDavid Daney } s; 3257*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_gpio_s cn68xx; 3258*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_gpio_s cn68xxp1; 3259*c5aa59e8SDavid Daney }; 3260*c5aa59e8SDavid Daney 3261*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip4_gpio_w1c { 3262*c5aa59e8SDavid Daney uint64_t u64; 3263*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_gpio_w1c_s { 3264*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3265*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 3266*c5aa59e8SDavid Daney uint64_t gpio:16; 3267*c5aa59e8SDavid Daney #else 3268*c5aa59e8SDavid Daney uint64_t gpio:16; 3269*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 3270*c5aa59e8SDavid Daney #endif 3271*c5aa59e8SDavid Daney } s; 3272*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_gpio_w1c_s cn68xx; 3273*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_gpio_w1c_s cn68xxp1; 3274*c5aa59e8SDavid Daney }; 3275*c5aa59e8SDavid Daney 3276*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip4_gpio_w1s { 3277*c5aa59e8SDavid Daney uint64_t u64; 3278*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_gpio_w1s_s { 3279*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3280*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 3281*c5aa59e8SDavid Daney uint64_t gpio:16; 3282*c5aa59e8SDavid Daney #else 3283*c5aa59e8SDavid Daney uint64_t gpio:16; 3284*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 3285*c5aa59e8SDavid Daney #endif 3286*c5aa59e8SDavid Daney } s; 3287*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_gpio_w1s_s cn68xx; 3288*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_gpio_w1s_s cn68xxp1; 3289*c5aa59e8SDavid Daney }; 3290*c5aa59e8SDavid Daney 3291*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip4_io { 3292*c5aa59e8SDavid Daney uint64_t u64; 3293*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_io_s { 3294*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3295*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 3296*c5aa59e8SDavid Daney uint64_t pem:2; 3297*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 3298*c5aa59e8SDavid Daney uint64_t pci_inta:2; 3299*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 3300*c5aa59e8SDavid Daney uint64_t msired:1; 3301*c5aa59e8SDavid Daney uint64_t pci_msi:4; 3302*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 3303*c5aa59e8SDavid Daney uint64_t pci_intr:4; 3304*c5aa59e8SDavid Daney #else 3305*c5aa59e8SDavid Daney uint64_t pci_intr:4; 3306*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 3307*c5aa59e8SDavid Daney uint64_t pci_msi:4; 3308*c5aa59e8SDavid Daney uint64_t msired:1; 3309*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 3310*c5aa59e8SDavid Daney uint64_t pci_inta:2; 3311*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 3312*c5aa59e8SDavid Daney uint64_t pem:2; 3313*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 3314*c5aa59e8SDavid Daney #endif 3315*c5aa59e8SDavid Daney } s; 3316*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_io_s cn68xx; 3317*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_io_s cn68xxp1; 3318*c5aa59e8SDavid Daney }; 3319*c5aa59e8SDavid Daney 3320*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip4_io_w1c { 3321*c5aa59e8SDavid Daney uint64_t u64; 3322*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_io_w1c_s { 3323*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3324*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 3325*c5aa59e8SDavid Daney uint64_t pem:2; 3326*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 3327*c5aa59e8SDavid Daney uint64_t pci_inta:2; 3328*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 3329*c5aa59e8SDavid Daney uint64_t msired:1; 3330*c5aa59e8SDavid Daney uint64_t pci_msi:4; 3331*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 3332*c5aa59e8SDavid Daney uint64_t pci_intr:4; 3333*c5aa59e8SDavid Daney #else 3334*c5aa59e8SDavid Daney uint64_t pci_intr:4; 3335*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 3336*c5aa59e8SDavid Daney uint64_t pci_msi:4; 3337*c5aa59e8SDavid Daney uint64_t msired:1; 3338*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 3339*c5aa59e8SDavid Daney uint64_t pci_inta:2; 3340*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 3341*c5aa59e8SDavid Daney uint64_t pem:2; 3342*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 3343*c5aa59e8SDavid Daney #endif 3344*c5aa59e8SDavid Daney } s; 3345*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_io_w1c_s cn68xx; 3346*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_io_w1c_s cn68xxp1; 3347*c5aa59e8SDavid Daney }; 3348*c5aa59e8SDavid Daney 3349*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip4_io_w1s { 3350*c5aa59e8SDavid Daney uint64_t u64; 3351*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_io_w1s_s { 3352*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3353*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 3354*c5aa59e8SDavid Daney uint64_t pem:2; 3355*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 3356*c5aa59e8SDavid Daney uint64_t pci_inta:2; 3357*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 3358*c5aa59e8SDavid Daney uint64_t msired:1; 3359*c5aa59e8SDavid Daney uint64_t pci_msi:4; 3360*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 3361*c5aa59e8SDavid Daney uint64_t pci_intr:4; 3362*c5aa59e8SDavid Daney #else 3363*c5aa59e8SDavid Daney uint64_t pci_intr:4; 3364*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 3365*c5aa59e8SDavid Daney uint64_t pci_msi:4; 3366*c5aa59e8SDavid Daney uint64_t msired:1; 3367*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 3368*c5aa59e8SDavid Daney uint64_t pci_inta:2; 3369*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 3370*c5aa59e8SDavid Daney uint64_t pem:2; 3371*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 3372*c5aa59e8SDavid Daney #endif 3373*c5aa59e8SDavid Daney } s; 3374*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_io_w1s_s cn68xx; 3375*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_io_w1s_s cn68xxp1; 3376*c5aa59e8SDavid Daney }; 3377*c5aa59e8SDavid Daney 3378*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip4_mbox { 3379*c5aa59e8SDavid Daney uint64_t u64; 3380*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_mbox_s { 3381*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3382*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 3383*c5aa59e8SDavid Daney uint64_t mbox:4; 3384*c5aa59e8SDavid Daney #else 3385*c5aa59e8SDavid Daney uint64_t mbox:4; 3386*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 3387*c5aa59e8SDavid Daney #endif 3388*c5aa59e8SDavid Daney } s; 3389*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_mbox_s cn68xx; 3390*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_mbox_s cn68xxp1; 3391*c5aa59e8SDavid Daney }; 3392*c5aa59e8SDavid Daney 3393*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip4_mbox_w1c { 3394*c5aa59e8SDavid Daney uint64_t u64; 3395*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_mbox_w1c_s { 3396*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3397*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 3398*c5aa59e8SDavid Daney uint64_t mbox:4; 3399*c5aa59e8SDavid Daney #else 3400*c5aa59e8SDavid Daney uint64_t mbox:4; 3401*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 3402*c5aa59e8SDavid Daney #endif 3403*c5aa59e8SDavid Daney } s; 3404*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_mbox_w1c_s cn68xx; 3405*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_mbox_w1c_s cn68xxp1; 3406*c5aa59e8SDavid Daney }; 3407*c5aa59e8SDavid Daney 3408*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip4_mbox_w1s { 3409*c5aa59e8SDavid Daney uint64_t u64; 3410*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_mbox_w1s_s { 3411*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3412*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 3413*c5aa59e8SDavid Daney uint64_t mbox:4; 3414*c5aa59e8SDavid Daney #else 3415*c5aa59e8SDavid Daney uint64_t mbox:4; 3416*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 3417*c5aa59e8SDavid Daney #endif 3418*c5aa59e8SDavid Daney } s; 3419*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_mbox_w1s_s cn68xx; 3420*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_mbox_w1s_s cn68xxp1; 3421*c5aa59e8SDavid Daney }; 3422*c5aa59e8SDavid Daney 3423*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip4_mem { 3424*c5aa59e8SDavid Daney uint64_t u64; 3425*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_mem_s { 3426*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3427*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 3428*c5aa59e8SDavid Daney uint64_t lmc:4; 3429*c5aa59e8SDavid Daney #else 3430*c5aa59e8SDavid Daney uint64_t lmc:4; 3431*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 3432*c5aa59e8SDavid Daney #endif 3433*c5aa59e8SDavid Daney } s; 3434*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_mem_s cn68xx; 3435*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_mem_s cn68xxp1; 3436*c5aa59e8SDavid Daney }; 3437*c5aa59e8SDavid Daney 3438*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip4_mem_w1c { 3439*c5aa59e8SDavid Daney uint64_t u64; 3440*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_mem_w1c_s { 3441*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3442*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 3443*c5aa59e8SDavid Daney uint64_t lmc:4; 3444*c5aa59e8SDavid Daney #else 3445*c5aa59e8SDavid Daney uint64_t lmc:4; 3446*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 3447*c5aa59e8SDavid Daney #endif 3448*c5aa59e8SDavid Daney } s; 3449*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_mem_w1c_s cn68xx; 3450*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_mem_w1c_s cn68xxp1; 3451*c5aa59e8SDavid Daney }; 3452*c5aa59e8SDavid Daney 3453*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip4_mem_w1s { 3454*c5aa59e8SDavid Daney uint64_t u64; 3455*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_mem_w1s_s { 3456*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3457*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 3458*c5aa59e8SDavid Daney uint64_t lmc:4; 3459*c5aa59e8SDavid Daney #else 3460*c5aa59e8SDavid Daney uint64_t lmc:4; 3461*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 3462*c5aa59e8SDavid Daney #endif 3463*c5aa59e8SDavid Daney } s; 3464*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_mem_w1s_s cn68xx; 3465*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_mem_w1s_s cn68xxp1; 3466*c5aa59e8SDavid Daney }; 3467*c5aa59e8SDavid Daney 3468*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip4_mio { 3469*c5aa59e8SDavid Daney uint64_t u64; 3470*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_mio_s { 3471*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3472*c5aa59e8SDavid Daney uint64_t rst:1; 3473*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 3474*c5aa59e8SDavid Daney uint64_t ptp:1; 3475*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 3476*c5aa59e8SDavid Daney uint64_t usb_hci:1; 3477*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 3478*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 3479*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 3480*c5aa59e8SDavid Daney uint64_t uart:2; 3481*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 3482*c5aa59e8SDavid Daney uint64_t twsi:2; 3483*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 3484*c5aa59e8SDavid Daney uint64_t bootdma:1; 3485*c5aa59e8SDavid Daney uint64_t mio:1; 3486*c5aa59e8SDavid Daney uint64_t nand:1; 3487*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 3488*c5aa59e8SDavid Daney uint64_t timer:4; 3489*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 3490*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 3491*c5aa59e8SDavid Daney uint64_t ssoiq:1; 3492*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 3493*c5aa59e8SDavid Daney #else 3494*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 3495*c5aa59e8SDavid Daney uint64_t ssoiq:1; 3496*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 3497*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 3498*c5aa59e8SDavid Daney uint64_t timer:4; 3499*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 3500*c5aa59e8SDavid Daney uint64_t nand:1; 3501*c5aa59e8SDavid Daney uint64_t mio:1; 3502*c5aa59e8SDavid Daney uint64_t bootdma:1; 3503*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 3504*c5aa59e8SDavid Daney uint64_t twsi:2; 3505*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 3506*c5aa59e8SDavid Daney uint64_t uart:2; 3507*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 3508*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 3509*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 3510*c5aa59e8SDavid Daney uint64_t usb_hci:1; 3511*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 3512*c5aa59e8SDavid Daney uint64_t ptp:1; 3513*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 3514*c5aa59e8SDavid Daney uint64_t rst:1; 3515*c5aa59e8SDavid Daney #endif 3516*c5aa59e8SDavid Daney } s; 3517*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_mio_s cn68xx; 3518*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_mio_s cn68xxp1; 3519*c5aa59e8SDavid Daney }; 3520*c5aa59e8SDavid Daney 3521*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip4_mio_w1c { 3522*c5aa59e8SDavid Daney uint64_t u64; 3523*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_mio_w1c_s { 3524*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3525*c5aa59e8SDavid Daney uint64_t rst:1; 3526*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 3527*c5aa59e8SDavid Daney uint64_t ptp:1; 3528*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 3529*c5aa59e8SDavid Daney uint64_t usb_hci:1; 3530*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 3531*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 3532*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 3533*c5aa59e8SDavid Daney uint64_t uart:2; 3534*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 3535*c5aa59e8SDavid Daney uint64_t twsi:2; 3536*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 3537*c5aa59e8SDavid Daney uint64_t bootdma:1; 3538*c5aa59e8SDavid Daney uint64_t mio:1; 3539*c5aa59e8SDavid Daney uint64_t nand:1; 3540*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 3541*c5aa59e8SDavid Daney uint64_t timer:4; 3542*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 3543*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 3544*c5aa59e8SDavid Daney uint64_t ssoiq:1; 3545*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 3546*c5aa59e8SDavid Daney #else 3547*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 3548*c5aa59e8SDavid Daney uint64_t ssoiq:1; 3549*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 3550*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 3551*c5aa59e8SDavid Daney uint64_t timer:4; 3552*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 3553*c5aa59e8SDavid Daney uint64_t nand:1; 3554*c5aa59e8SDavid Daney uint64_t mio:1; 3555*c5aa59e8SDavid Daney uint64_t bootdma:1; 3556*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 3557*c5aa59e8SDavid Daney uint64_t twsi:2; 3558*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 3559*c5aa59e8SDavid Daney uint64_t uart:2; 3560*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 3561*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 3562*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 3563*c5aa59e8SDavid Daney uint64_t usb_hci:1; 3564*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 3565*c5aa59e8SDavid Daney uint64_t ptp:1; 3566*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 3567*c5aa59e8SDavid Daney uint64_t rst:1; 3568*c5aa59e8SDavid Daney #endif 3569*c5aa59e8SDavid Daney } s; 3570*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_mio_w1c_s cn68xx; 3571*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_mio_w1c_s cn68xxp1; 3572*c5aa59e8SDavid Daney }; 3573*c5aa59e8SDavid Daney 3574*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip4_mio_w1s { 3575*c5aa59e8SDavid Daney uint64_t u64; 3576*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_mio_w1s_s { 3577*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3578*c5aa59e8SDavid Daney uint64_t rst:1; 3579*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 3580*c5aa59e8SDavid Daney uint64_t ptp:1; 3581*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 3582*c5aa59e8SDavid Daney uint64_t usb_hci:1; 3583*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 3584*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 3585*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 3586*c5aa59e8SDavid Daney uint64_t uart:2; 3587*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 3588*c5aa59e8SDavid Daney uint64_t twsi:2; 3589*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 3590*c5aa59e8SDavid Daney uint64_t bootdma:1; 3591*c5aa59e8SDavid Daney uint64_t mio:1; 3592*c5aa59e8SDavid Daney uint64_t nand:1; 3593*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 3594*c5aa59e8SDavid Daney uint64_t timer:4; 3595*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 3596*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 3597*c5aa59e8SDavid Daney uint64_t ssoiq:1; 3598*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 3599*c5aa59e8SDavid Daney #else 3600*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 3601*c5aa59e8SDavid Daney uint64_t ssoiq:1; 3602*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 3603*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 3604*c5aa59e8SDavid Daney uint64_t timer:4; 3605*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 3606*c5aa59e8SDavid Daney uint64_t nand:1; 3607*c5aa59e8SDavid Daney uint64_t mio:1; 3608*c5aa59e8SDavid Daney uint64_t bootdma:1; 3609*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 3610*c5aa59e8SDavid Daney uint64_t twsi:2; 3611*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 3612*c5aa59e8SDavid Daney uint64_t uart:2; 3613*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 3614*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 3615*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 3616*c5aa59e8SDavid Daney uint64_t usb_hci:1; 3617*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 3618*c5aa59e8SDavid Daney uint64_t ptp:1; 3619*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 3620*c5aa59e8SDavid Daney uint64_t rst:1; 3621*c5aa59e8SDavid Daney #endif 3622*c5aa59e8SDavid Daney } s; 3623*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_mio_w1s_s cn68xx; 3624*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_mio_w1s_s cn68xxp1; 3625*c5aa59e8SDavid Daney }; 3626*c5aa59e8SDavid Daney 3627*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip4_pkt { 3628*c5aa59e8SDavid Daney uint64_t u64; 3629*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_pkt_s { 3630*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3631*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 3632*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 3633*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 3634*c5aa59e8SDavid Daney uint64_t ilk:1; 3635*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 3636*c5aa59e8SDavid Daney uint64_t mii:1; 3637*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 3638*c5aa59e8SDavid Daney uint64_t agl:1; 3639*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 3640*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 3641*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 3642*c5aa59e8SDavid Daney uint64_t agx:5; 3643*c5aa59e8SDavid Daney #else 3644*c5aa59e8SDavid Daney uint64_t agx:5; 3645*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 3646*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 3647*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 3648*c5aa59e8SDavid Daney uint64_t agl:1; 3649*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 3650*c5aa59e8SDavid Daney uint64_t mii:1; 3651*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 3652*c5aa59e8SDavid Daney uint64_t ilk:1; 3653*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 3654*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 3655*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 3656*c5aa59e8SDavid Daney #endif 3657*c5aa59e8SDavid Daney } s; 3658*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_pkt_s cn68xx; 3659*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_pkt_cn68xxp1 { 3660*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3661*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 3662*c5aa59e8SDavid Daney uint64_t ilk:1; 3663*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 3664*c5aa59e8SDavid Daney uint64_t mii:1; 3665*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 3666*c5aa59e8SDavid Daney uint64_t agl:1; 3667*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 3668*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 3669*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 3670*c5aa59e8SDavid Daney uint64_t agx:5; 3671*c5aa59e8SDavid Daney #else 3672*c5aa59e8SDavid Daney uint64_t agx:5; 3673*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 3674*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 3675*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 3676*c5aa59e8SDavid Daney uint64_t agl:1; 3677*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 3678*c5aa59e8SDavid Daney uint64_t mii:1; 3679*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 3680*c5aa59e8SDavid Daney uint64_t ilk:1; 3681*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 3682*c5aa59e8SDavid Daney #endif 3683*c5aa59e8SDavid Daney } cn68xxp1; 3684*c5aa59e8SDavid Daney }; 3685*c5aa59e8SDavid Daney 3686*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip4_pkt_w1c { 3687*c5aa59e8SDavid Daney uint64_t u64; 3688*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_pkt_w1c_s { 3689*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3690*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 3691*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 3692*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 3693*c5aa59e8SDavid Daney uint64_t ilk:1; 3694*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 3695*c5aa59e8SDavid Daney uint64_t mii:1; 3696*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 3697*c5aa59e8SDavid Daney uint64_t agl:1; 3698*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 3699*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 3700*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 3701*c5aa59e8SDavid Daney uint64_t agx:5; 3702*c5aa59e8SDavid Daney #else 3703*c5aa59e8SDavid Daney uint64_t agx:5; 3704*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 3705*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 3706*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 3707*c5aa59e8SDavid Daney uint64_t agl:1; 3708*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 3709*c5aa59e8SDavid Daney uint64_t mii:1; 3710*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 3711*c5aa59e8SDavid Daney uint64_t ilk:1; 3712*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 3713*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 3714*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 3715*c5aa59e8SDavid Daney #endif 3716*c5aa59e8SDavid Daney } s; 3717*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_pkt_w1c_s cn68xx; 3718*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_pkt_w1c_cn68xxp1 { 3719*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3720*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 3721*c5aa59e8SDavid Daney uint64_t ilk:1; 3722*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 3723*c5aa59e8SDavid Daney uint64_t mii:1; 3724*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 3725*c5aa59e8SDavid Daney uint64_t agl:1; 3726*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 3727*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 3728*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 3729*c5aa59e8SDavid Daney uint64_t agx:5; 3730*c5aa59e8SDavid Daney #else 3731*c5aa59e8SDavid Daney uint64_t agx:5; 3732*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 3733*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 3734*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 3735*c5aa59e8SDavid Daney uint64_t agl:1; 3736*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 3737*c5aa59e8SDavid Daney uint64_t mii:1; 3738*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 3739*c5aa59e8SDavid Daney uint64_t ilk:1; 3740*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 3741*c5aa59e8SDavid Daney #endif 3742*c5aa59e8SDavid Daney } cn68xxp1; 3743*c5aa59e8SDavid Daney }; 3744*c5aa59e8SDavid Daney 3745*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip4_pkt_w1s { 3746*c5aa59e8SDavid Daney uint64_t u64; 3747*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_pkt_w1s_s { 3748*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3749*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 3750*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 3751*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 3752*c5aa59e8SDavid Daney uint64_t ilk:1; 3753*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 3754*c5aa59e8SDavid Daney uint64_t mii:1; 3755*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 3756*c5aa59e8SDavid Daney uint64_t agl:1; 3757*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 3758*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 3759*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 3760*c5aa59e8SDavid Daney uint64_t agx:5; 3761*c5aa59e8SDavid Daney #else 3762*c5aa59e8SDavid Daney uint64_t agx:5; 3763*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 3764*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 3765*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 3766*c5aa59e8SDavid Daney uint64_t agl:1; 3767*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 3768*c5aa59e8SDavid Daney uint64_t mii:1; 3769*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 3770*c5aa59e8SDavid Daney uint64_t ilk:1; 3771*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 3772*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 3773*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 3774*c5aa59e8SDavid Daney #endif 3775*c5aa59e8SDavid Daney } s; 3776*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_pkt_w1s_s cn68xx; 3777*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_pkt_w1s_cn68xxp1 { 3778*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3779*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 3780*c5aa59e8SDavid Daney uint64_t ilk:1; 3781*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 3782*c5aa59e8SDavid Daney uint64_t mii:1; 3783*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 3784*c5aa59e8SDavid Daney uint64_t agl:1; 3785*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 3786*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 3787*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 3788*c5aa59e8SDavid Daney uint64_t agx:5; 3789*c5aa59e8SDavid Daney #else 3790*c5aa59e8SDavid Daney uint64_t agx:5; 3791*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 3792*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 3793*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 3794*c5aa59e8SDavid Daney uint64_t agl:1; 3795*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 3796*c5aa59e8SDavid Daney uint64_t mii:1; 3797*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 3798*c5aa59e8SDavid Daney uint64_t ilk:1; 3799*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 3800*c5aa59e8SDavid Daney #endif 3801*c5aa59e8SDavid Daney } cn68xxp1; 3802*c5aa59e8SDavid Daney }; 3803*c5aa59e8SDavid Daney 3804*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip4_rml { 3805*c5aa59e8SDavid Daney uint64_t u64; 3806*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_rml_s { 3807*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3808*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 3809*c5aa59e8SDavid Daney uint64_t trace:4; 3810*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 3811*c5aa59e8SDavid Daney uint64_t l2c:1; 3812*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 3813*c5aa59e8SDavid Daney uint64_t dfa:1; 3814*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 3815*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 3816*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 3817*c5aa59e8SDavid Daney uint64_t dpi:1; 3818*c5aa59e8SDavid Daney uint64_t sli:1; 3819*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 3820*c5aa59e8SDavid Daney uint64_t key:1; 3821*c5aa59e8SDavid Daney uint64_t rad:1; 3822*c5aa59e8SDavid Daney uint64_t tim:1; 3823*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 3824*c5aa59e8SDavid Daney uint64_t zip:1; 3825*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 3826*c5aa59e8SDavid Daney uint64_t sso:1; 3827*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 3828*c5aa59e8SDavid Daney uint64_t pko:1; 3829*c5aa59e8SDavid Daney uint64_t pip:1; 3830*c5aa59e8SDavid Daney uint64_t ipd:1; 3831*c5aa59e8SDavid Daney uint64_t fpa:1; 3832*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 3833*c5aa59e8SDavid Daney uint64_t iob:1; 3834*c5aa59e8SDavid Daney #else 3835*c5aa59e8SDavid Daney uint64_t iob:1; 3836*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 3837*c5aa59e8SDavid Daney uint64_t fpa:1; 3838*c5aa59e8SDavid Daney uint64_t ipd:1; 3839*c5aa59e8SDavid Daney uint64_t pip:1; 3840*c5aa59e8SDavid Daney uint64_t pko:1; 3841*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 3842*c5aa59e8SDavid Daney uint64_t sso:1; 3843*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 3844*c5aa59e8SDavid Daney uint64_t zip:1; 3845*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 3846*c5aa59e8SDavid Daney uint64_t tim:1; 3847*c5aa59e8SDavid Daney uint64_t rad:1; 3848*c5aa59e8SDavid Daney uint64_t key:1; 3849*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 3850*c5aa59e8SDavid Daney uint64_t sli:1; 3851*c5aa59e8SDavid Daney uint64_t dpi:1; 3852*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 3853*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 3854*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 3855*c5aa59e8SDavid Daney uint64_t dfa:1; 3856*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 3857*c5aa59e8SDavid Daney uint64_t l2c:1; 3858*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 3859*c5aa59e8SDavid Daney uint64_t trace:4; 3860*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 3861*c5aa59e8SDavid Daney #endif 3862*c5aa59e8SDavid Daney } s; 3863*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_rml_s cn68xx; 3864*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_rml_cn68xxp1 { 3865*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3866*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 3867*c5aa59e8SDavid Daney uint64_t trace:4; 3868*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 3869*c5aa59e8SDavid Daney uint64_t l2c:1; 3870*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 3871*c5aa59e8SDavid Daney uint64_t dfa:1; 3872*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 3873*c5aa59e8SDavid Daney uint64_t dpi:1; 3874*c5aa59e8SDavid Daney uint64_t sli:1; 3875*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 3876*c5aa59e8SDavid Daney uint64_t key:1; 3877*c5aa59e8SDavid Daney uint64_t rad:1; 3878*c5aa59e8SDavid Daney uint64_t tim:1; 3879*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 3880*c5aa59e8SDavid Daney uint64_t zip:1; 3881*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 3882*c5aa59e8SDavid Daney uint64_t sso:1; 3883*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 3884*c5aa59e8SDavid Daney uint64_t pko:1; 3885*c5aa59e8SDavid Daney uint64_t pip:1; 3886*c5aa59e8SDavid Daney uint64_t ipd:1; 3887*c5aa59e8SDavid Daney uint64_t fpa:1; 3888*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 3889*c5aa59e8SDavid Daney uint64_t iob:1; 3890*c5aa59e8SDavid Daney #else 3891*c5aa59e8SDavid Daney uint64_t iob:1; 3892*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 3893*c5aa59e8SDavid Daney uint64_t fpa:1; 3894*c5aa59e8SDavid Daney uint64_t ipd:1; 3895*c5aa59e8SDavid Daney uint64_t pip:1; 3896*c5aa59e8SDavid Daney uint64_t pko:1; 3897*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 3898*c5aa59e8SDavid Daney uint64_t sso:1; 3899*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 3900*c5aa59e8SDavid Daney uint64_t zip:1; 3901*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 3902*c5aa59e8SDavid Daney uint64_t tim:1; 3903*c5aa59e8SDavid Daney uint64_t rad:1; 3904*c5aa59e8SDavid Daney uint64_t key:1; 3905*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 3906*c5aa59e8SDavid Daney uint64_t sli:1; 3907*c5aa59e8SDavid Daney uint64_t dpi:1; 3908*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 3909*c5aa59e8SDavid Daney uint64_t dfa:1; 3910*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 3911*c5aa59e8SDavid Daney uint64_t l2c:1; 3912*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 3913*c5aa59e8SDavid Daney uint64_t trace:4; 3914*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 3915*c5aa59e8SDavid Daney #endif 3916*c5aa59e8SDavid Daney } cn68xxp1; 3917*c5aa59e8SDavid Daney }; 3918*c5aa59e8SDavid Daney 3919*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip4_rml_w1c { 3920*c5aa59e8SDavid Daney uint64_t u64; 3921*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_rml_w1c_s { 3922*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3923*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 3924*c5aa59e8SDavid Daney uint64_t trace:4; 3925*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 3926*c5aa59e8SDavid Daney uint64_t l2c:1; 3927*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 3928*c5aa59e8SDavid Daney uint64_t dfa:1; 3929*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 3930*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 3931*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 3932*c5aa59e8SDavid Daney uint64_t dpi:1; 3933*c5aa59e8SDavid Daney uint64_t sli:1; 3934*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 3935*c5aa59e8SDavid Daney uint64_t key:1; 3936*c5aa59e8SDavid Daney uint64_t rad:1; 3937*c5aa59e8SDavid Daney uint64_t tim:1; 3938*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 3939*c5aa59e8SDavid Daney uint64_t zip:1; 3940*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 3941*c5aa59e8SDavid Daney uint64_t sso:1; 3942*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 3943*c5aa59e8SDavid Daney uint64_t pko:1; 3944*c5aa59e8SDavid Daney uint64_t pip:1; 3945*c5aa59e8SDavid Daney uint64_t ipd:1; 3946*c5aa59e8SDavid Daney uint64_t fpa:1; 3947*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 3948*c5aa59e8SDavid Daney uint64_t iob:1; 3949*c5aa59e8SDavid Daney #else 3950*c5aa59e8SDavid Daney uint64_t iob:1; 3951*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 3952*c5aa59e8SDavid Daney uint64_t fpa:1; 3953*c5aa59e8SDavid Daney uint64_t ipd:1; 3954*c5aa59e8SDavid Daney uint64_t pip:1; 3955*c5aa59e8SDavid Daney uint64_t pko:1; 3956*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 3957*c5aa59e8SDavid Daney uint64_t sso:1; 3958*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 3959*c5aa59e8SDavid Daney uint64_t zip:1; 3960*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 3961*c5aa59e8SDavid Daney uint64_t tim:1; 3962*c5aa59e8SDavid Daney uint64_t rad:1; 3963*c5aa59e8SDavid Daney uint64_t key:1; 3964*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 3965*c5aa59e8SDavid Daney uint64_t sli:1; 3966*c5aa59e8SDavid Daney uint64_t dpi:1; 3967*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 3968*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 3969*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 3970*c5aa59e8SDavid Daney uint64_t dfa:1; 3971*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 3972*c5aa59e8SDavid Daney uint64_t l2c:1; 3973*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 3974*c5aa59e8SDavid Daney uint64_t trace:4; 3975*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 3976*c5aa59e8SDavid Daney #endif 3977*c5aa59e8SDavid Daney } s; 3978*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_rml_w1c_s cn68xx; 3979*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_rml_w1c_cn68xxp1 { 3980*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 3981*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 3982*c5aa59e8SDavid Daney uint64_t trace:4; 3983*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 3984*c5aa59e8SDavid Daney uint64_t l2c:1; 3985*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 3986*c5aa59e8SDavid Daney uint64_t dfa:1; 3987*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 3988*c5aa59e8SDavid Daney uint64_t dpi:1; 3989*c5aa59e8SDavid Daney uint64_t sli:1; 3990*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 3991*c5aa59e8SDavid Daney uint64_t key:1; 3992*c5aa59e8SDavid Daney uint64_t rad:1; 3993*c5aa59e8SDavid Daney uint64_t tim:1; 3994*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 3995*c5aa59e8SDavid Daney uint64_t zip:1; 3996*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 3997*c5aa59e8SDavid Daney uint64_t sso:1; 3998*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 3999*c5aa59e8SDavid Daney uint64_t pko:1; 4000*c5aa59e8SDavid Daney uint64_t pip:1; 4001*c5aa59e8SDavid Daney uint64_t ipd:1; 4002*c5aa59e8SDavid Daney uint64_t fpa:1; 4003*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 4004*c5aa59e8SDavid Daney uint64_t iob:1; 4005*c5aa59e8SDavid Daney #else 4006*c5aa59e8SDavid Daney uint64_t iob:1; 4007*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 4008*c5aa59e8SDavid Daney uint64_t fpa:1; 4009*c5aa59e8SDavid Daney uint64_t ipd:1; 4010*c5aa59e8SDavid Daney uint64_t pip:1; 4011*c5aa59e8SDavid Daney uint64_t pko:1; 4012*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 4013*c5aa59e8SDavid Daney uint64_t sso:1; 4014*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 4015*c5aa59e8SDavid Daney uint64_t zip:1; 4016*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 4017*c5aa59e8SDavid Daney uint64_t tim:1; 4018*c5aa59e8SDavid Daney uint64_t rad:1; 4019*c5aa59e8SDavid Daney uint64_t key:1; 4020*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 4021*c5aa59e8SDavid Daney uint64_t sli:1; 4022*c5aa59e8SDavid Daney uint64_t dpi:1; 4023*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 4024*c5aa59e8SDavid Daney uint64_t dfa:1; 4025*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 4026*c5aa59e8SDavid Daney uint64_t l2c:1; 4027*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 4028*c5aa59e8SDavid Daney uint64_t trace:4; 4029*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 4030*c5aa59e8SDavid Daney #endif 4031*c5aa59e8SDavid Daney } cn68xxp1; 4032*c5aa59e8SDavid Daney }; 4033*c5aa59e8SDavid Daney 4034*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip4_rml_w1s { 4035*c5aa59e8SDavid Daney uint64_t u64; 4036*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_rml_w1s_s { 4037*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4038*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 4039*c5aa59e8SDavid Daney uint64_t trace:4; 4040*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 4041*c5aa59e8SDavid Daney uint64_t l2c:1; 4042*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 4043*c5aa59e8SDavid Daney uint64_t dfa:1; 4044*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 4045*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 4046*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 4047*c5aa59e8SDavid Daney uint64_t dpi:1; 4048*c5aa59e8SDavid Daney uint64_t sli:1; 4049*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 4050*c5aa59e8SDavid Daney uint64_t key:1; 4051*c5aa59e8SDavid Daney uint64_t rad:1; 4052*c5aa59e8SDavid Daney uint64_t tim:1; 4053*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 4054*c5aa59e8SDavid Daney uint64_t zip:1; 4055*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 4056*c5aa59e8SDavid Daney uint64_t sso:1; 4057*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 4058*c5aa59e8SDavid Daney uint64_t pko:1; 4059*c5aa59e8SDavid Daney uint64_t pip:1; 4060*c5aa59e8SDavid Daney uint64_t ipd:1; 4061*c5aa59e8SDavid Daney uint64_t fpa:1; 4062*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 4063*c5aa59e8SDavid Daney uint64_t iob:1; 4064*c5aa59e8SDavid Daney #else 4065*c5aa59e8SDavid Daney uint64_t iob:1; 4066*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 4067*c5aa59e8SDavid Daney uint64_t fpa:1; 4068*c5aa59e8SDavid Daney uint64_t ipd:1; 4069*c5aa59e8SDavid Daney uint64_t pip:1; 4070*c5aa59e8SDavid Daney uint64_t pko:1; 4071*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 4072*c5aa59e8SDavid Daney uint64_t sso:1; 4073*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 4074*c5aa59e8SDavid Daney uint64_t zip:1; 4075*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 4076*c5aa59e8SDavid Daney uint64_t tim:1; 4077*c5aa59e8SDavid Daney uint64_t rad:1; 4078*c5aa59e8SDavid Daney uint64_t key:1; 4079*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 4080*c5aa59e8SDavid Daney uint64_t sli:1; 4081*c5aa59e8SDavid Daney uint64_t dpi:1; 4082*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 4083*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 4084*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 4085*c5aa59e8SDavid Daney uint64_t dfa:1; 4086*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 4087*c5aa59e8SDavid Daney uint64_t l2c:1; 4088*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 4089*c5aa59e8SDavid Daney uint64_t trace:4; 4090*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 4091*c5aa59e8SDavid Daney #endif 4092*c5aa59e8SDavid Daney } s; 4093*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_rml_w1s_s cn68xx; 4094*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_rml_w1s_cn68xxp1 { 4095*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4096*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 4097*c5aa59e8SDavid Daney uint64_t trace:4; 4098*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 4099*c5aa59e8SDavid Daney uint64_t l2c:1; 4100*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 4101*c5aa59e8SDavid Daney uint64_t dfa:1; 4102*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 4103*c5aa59e8SDavid Daney uint64_t dpi:1; 4104*c5aa59e8SDavid Daney uint64_t sli:1; 4105*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 4106*c5aa59e8SDavid Daney uint64_t key:1; 4107*c5aa59e8SDavid Daney uint64_t rad:1; 4108*c5aa59e8SDavid Daney uint64_t tim:1; 4109*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 4110*c5aa59e8SDavid Daney uint64_t zip:1; 4111*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 4112*c5aa59e8SDavid Daney uint64_t sso:1; 4113*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 4114*c5aa59e8SDavid Daney uint64_t pko:1; 4115*c5aa59e8SDavid Daney uint64_t pip:1; 4116*c5aa59e8SDavid Daney uint64_t ipd:1; 4117*c5aa59e8SDavid Daney uint64_t fpa:1; 4118*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 4119*c5aa59e8SDavid Daney uint64_t iob:1; 4120*c5aa59e8SDavid Daney #else 4121*c5aa59e8SDavid Daney uint64_t iob:1; 4122*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 4123*c5aa59e8SDavid Daney uint64_t fpa:1; 4124*c5aa59e8SDavid Daney uint64_t ipd:1; 4125*c5aa59e8SDavid Daney uint64_t pip:1; 4126*c5aa59e8SDavid Daney uint64_t pko:1; 4127*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 4128*c5aa59e8SDavid Daney uint64_t sso:1; 4129*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 4130*c5aa59e8SDavid Daney uint64_t zip:1; 4131*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 4132*c5aa59e8SDavid Daney uint64_t tim:1; 4133*c5aa59e8SDavid Daney uint64_t rad:1; 4134*c5aa59e8SDavid Daney uint64_t key:1; 4135*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 4136*c5aa59e8SDavid Daney uint64_t sli:1; 4137*c5aa59e8SDavid Daney uint64_t dpi:1; 4138*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 4139*c5aa59e8SDavid Daney uint64_t dfa:1; 4140*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 4141*c5aa59e8SDavid Daney uint64_t l2c:1; 4142*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 4143*c5aa59e8SDavid Daney uint64_t trace:4; 4144*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 4145*c5aa59e8SDavid Daney #endif 4146*c5aa59e8SDavid Daney } cn68xxp1; 4147*c5aa59e8SDavid Daney }; 4148*c5aa59e8SDavid Daney 4149*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip4_wdog { 4150*c5aa59e8SDavid Daney uint64_t u64; 4151*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_wdog_s { 4152*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4153*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 4154*c5aa59e8SDavid Daney uint64_t wdog:32; 4155*c5aa59e8SDavid Daney #else 4156*c5aa59e8SDavid Daney uint64_t wdog:32; 4157*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 4158*c5aa59e8SDavid Daney #endif 4159*c5aa59e8SDavid Daney } s; 4160*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_wdog_s cn68xx; 4161*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_wdog_s cn68xxp1; 4162*c5aa59e8SDavid Daney }; 4163*c5aa59e8SDavid Daney 4164*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip4_wdog_w1c { 4165*c5aa59e8SDavid Daney uint64_t u64; 4166*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_wdog_w1c_s { 4167*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4168*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 4169*c5aa59e8SDavid Daney uint64_t wdog:32; 4170*c5aa59e8SDavid Daney #else 4171*c5aa59e8SDavid Daney uint64_t wdog:32; 4172*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 4173*c5aa59e8SDavid Daney #endif 4174*c5aa59e8SDavid Daney } s; 4175*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_wdog_w1c_s cn68xx; 4176*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_wdog_w1c_s cn68xxp1; 4177*c5aa59e8SDavid Daney }; 4178*c5aa59e8SDavid Daney 4179*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip4_wdog_w1s { 4180*c5aa59e8SDavid Daney uint64_t u64; 4181*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_wdog_w1s_s { 4182*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4183*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 4184*c5aa59e8SDavid Daney uint64_t wdog:32; 4185*c5aa59e8SDavid Daney #else 4186*c5aa59e8SDavid Daney uint64_t wdog:32; 4187*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 4188*c5aa59e8SDavid Daney #endif 4189*c5aa59e8SDavid Daney } s; 4190*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_wdog_w1s_s cn68xx; 4191*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_wdog_w1s_s cn68xxp1; 4192*c5aa59e8SDavid Daney }; 4193*c5aa59e8SDavid Daney 4194*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip4_wrkq { 4195*c5aa59e8SDavid Daney uint64_t u64; 4196*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_wrkq_s { 4197*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4198*c5aa59e8SDavid Daney uint64_t workq:64; 4199*c5aa59e8SDavid Daney #else 4200*c5aa59e8SDavid Daney uint64_t workq:64; 4201*c5aa59e8SDavid Daney #endif 4202*c5aa59e8SDavid Daney } s; 4203*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_wrkq_s cn68xx; 4204*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_wrkq_s cn68xxp1; 4205*c5aa59e8SDavid Daney }; 4206*c5aa59e8SDavid Daney 4207*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip4_wrkq_w1c { 4208*c5aa59e8SDavid Daney uint64_t u64; 4209*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_wrkq_w1c_s { 4210*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4211*c5aa59e8SDavid Daney uint64_t workq:64; 4212*c5aa59e8SDavid Daney #else 4213*c5aa59e8SDavid Daney uint64_t workq:64; 4214*c5aa59e8SDavid Daney #endif 4215*c5aa59e8SDavid Daney } s; 4216*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_wrkq_w1c_s cn68xx; 4217*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_wrkq_w1c_s cn68xxp1; 4218*c5aa59e8SDavid Daney }; 4219*c5aa59e8SDavid Daney 4220*c5aa59e8SDavid Daney union cvmx_ciu2_en_ppx_ip4_wrkq_w1s { 4221*c5aa59e8SDavid Daney uint64_t u64; 4222*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_wrkq_w1s_s { 4223*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4224*c5aa59e8SDavid Daney uint64_t workq:64; 4225*c5aa59e8SDavid Daney #else 4226*c5aa59e8SDavid Daney uint64_t workq:64; 4227*c5aa59e8SDavid Daney #endif 4228*c5aa59e8SDavid Daney } s; 4229*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_wrkq_w1s_s cn68xx; 4230*c5aa59e8SDavid Daney struct cvmx_ciu2_en_ppx_ip4_wrkq_w1s_s cn68xxp1; 4231*c5aa59e8SDavid Daney }; 4232*c5aa59e8SDavid Daney 4233*c5aa59e8SDavid Daney union cvmx_ciu2_intr_ciu_ready { 4234*c5aa59e8SDavid Daney uint64_t u64; 4235*c5aa59e8SDavid Daney struct cvmx_ciu2_intr_ciu_ready_s { 4236*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4237*c5aa59e8SDavid Daney uint64_t reserved_1_63:63; 4238*c5aa59e8SDavid Daney uint64_t ready:1; 4239*c5aa59e8SDavid Daney #else 4240*c5aa59e8SDavid Daney uint64_t ready:1; 4241*c5aa59e8SDavid Daney uint64_t reserved_1_63:63; 4242*c5aa59e8SDavid Daney #endif 4243*c5aa59e8SDavid Daney } s; 4244*c5aa59e8SDavid Daney struct cvmx_ciu2_intr_ciu_ready_s cn68xx; 4245*c5aa59e8SDavid Daney struct cvmx_ciu2_intr_ciu_ready_s cn68xxp1; 4246*c5aa59e8SDavid Daney }; 4247*c5aa59e8SDavid Daney 4248*c5aa59e8SDavid Daney union cvmx_ciu2_intr_ram_ecc_ctl { 4249*c5aa59e8SDavid Daney uint64_t u64; 4250*c5aa59e8SDavid Daney struct cvmx_ciu2_intr_ram_ecc_ctl_s { 4251*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4252*c5aa59e8SDavid Daney uint64_t reserved_3_63:61; 4253*c5aa59e8SDavid Daney uint64_t flip_synd:2; 4254*c5aa59e8SDavid Daney uint64_t ecc_ena:1; 4255*c5aa59e8SDavid Daney #else 4256*c5aa59e8SDavid Daney uint64_t ecc_ena:1; 4257*c5aa59e8SDavid Daney uint64_t flip_synd:2; 4258*c5aa59e8SDavid Daney uint64_t reserved_3_63:61; 4259*c5aa59e8SDavid Daney #endif 4260*c5aa59e8SDavid Daney } s; 4261*c5aa59e8SDavid Daney struct cvmx_ciu2_intr_ram_ecc_ctl_s cn68xx; 4262*c5aa59e8SDavid Daney struct cvmx_ciu2_intr_ram_ecc_ctl_s cn68xxp1; 4263*c5aa59e8SDavid Daney }; 4264*c5aa59e8SDavid Daney 4265*c5aa59e8SDavid Daney union cvmx_ciu2_intr_ram_ecc_st { 4266*c5aa59e8SDavid Daney uint64_t u64; 4267*c5aa59e8SDavid Daney struct cvmx_ciu2_intr_ram_ecc_st_s { 4268*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4269*c5aa59e8SDavid Daney uint64_t reserved_23_63:41; 4270*c5aa59e8SDavid Daney uint64_t addr:7; 4271*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 4272*c5aa59e8SDavid Daney uint64_t syndrom:9; 4273*c5aa59e8SDavid Daney uint64_t reserved_2_3:2; 4274*c5aa59e8SDavid Daney uint64_t dbe:1; 4275*c5aa59e8SDavid Daney uint64_t sbe:1; 4276*c5aa59e8SDavid Daney #else 4277*c5aa59e8SDavid Daney uint64_t sbe:1; 4278*c5aa59e8SDavid Daney uint64_t dbe:1; 4279*c5aa59e8SDavid Daney uint64_t reserved_2_3:2; 4280*c5aa59e8SDavid Daney uint64_t syndrom:9; 4281*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 4282*c5aa59e8SDavid Daney uint64_t addr:7; 4283*c5aa59e8SDavid Daney uint64_t reserved_23_63:41; 4284*c5aa59e8SDavid Daney #endif 4285*c5aa59e8SDavid Daney } s; 4286*c5aa59e8SDavid Daney struct cvmx_ciu2_intr_ram_ecc_st_s cn68xx; 4287*c5aa59e8SDavid Daney struct cvmx_ciu2_intr_ram_ecc_st_s cn68xxp1; 4288*c5aa59e8SDavid Daney }; 4289*c5aa59e8SDavid Daney 4290*c5aa59e8SDavid Daney union cvmx_ciu2_intr_slowdown { 4291*c5aa59e8SDavid Daney uint64_t u64; 4292*c5aa59e8SDavid Daney struct cvmx_ciu2_intr_slowdown_s { 4293*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4294*c5aa59e8SDavid Daney uint64_t reserved_3_63:61; 4295*c5aa59e8SDavid Daney uint64_t ctl:3; 4296*c5aa59e8SDavid Daney #else 4297*c5aa59e8SDavid Daney uint64_t ctl:3; 4298*c5aa59e8SDavid Daney uint64_t reserved_3_63:61; 4299*c5aa59e8SDavid Daney #endif 4300*c5aa59e8SDavid Daney } s; 4301*c5aa59e8SDavid Daney struct cvmx_ciu2_intr_slowdown_s cn68xx; 4302*c5aa59e8SDavid Daney struct cvmx_ciu2_intr_slowdown_s cn68xxp1; 4303*c5aa59e8SDavid Daney }; 4304*c5aa59e8SDavid Daney 4305*c5aa59e8SDavid Daney union cvmx_ciu2_msi_rcvx { 4306*c5aa59e8SDavid Daney uint64_t u64; 4307*c5aa59e8SDavid Daney struct cvmx_ciu2_msi_rcvx_s { 4308*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4309*c5aa59e8SDavid Daney uint64_t reserved_1_63:63; 4310*c5aa59e8SDavid Daney uint64_t msi_rcv:1; 4311*c5aa59e8SDavid Daney #else 4312*c5aa59e8SDavid Daney uint64_t msi_rcv:1; 4313*c5aa59e8SDavid Daney uint64_t reserved_1_63:63; 4314*c5aa59e8SDavid Daney #endif 4315*c5aa59e8SDavid Daney } s; 4316*c5aa59e8SDavid Daney struct cvmx_ciu2_msi_rcvx_s cn68xx; 4317*c5aa59e8SDavid Daney struct cvmx_ciu2_msi_rcvx_s cn68xxp1; 4318*c5aa59e8SDavid Daney }; 4319*c5aa59e8SDavid Daney 4320*c5aa59e8SDavid Daney union cvmx_ciu2_msi_selx { 4321*c5aa59e8SDavid Daney uint64_t u64; 4322*c5aa59e8SDavid Daney struct cvmx_ciu2_msi_selx_s { 4323*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4324*c5aa59e8SDavid Daney uint64_t reserved_13_63:51; 4325*c5aa59e8SDavid Daney uint64_t pp_num:5; 4326*c5aa59e8SDavid Daney uint64_t reserved_6_7:2; 4327*c5aa59e8SDavid Daney uint64_t ip_num:2; 4328*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 4329*c5aa59e8SDavid Daney uint64_t en:1; 4330*c5aa59e8SDavid Daney #else 4331*c5aa59e8SDavid Daney uint64_t en:1; 4332*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 4333*c5aa59e8SDavid Daney uint64_t ip_num:2; 4334*c5aa59e8SDavid Daney uint64_t reserved_6_7:2; 4335*c5aa59e8SDavid Daney uint64_t pp_num:5; 4336*c5aa59e8SDavid Daney uint64_t reserved_13_63:51; 4337*c5aa59e8SDavid Daney #endif 4338*c5aa59e8SDavid Daney } s; 4339*c5aa59e8SDavid Daney struct cvmx_ciu2_msi_selx_s cn68xx; 4340*c5aa59e8SDavid Daney struct cvmx_ciu2_msi_selx_s cn68xxp1; 4341*c5aa59e8SDavid Daney }; 4342*c5aa59e8SDavid Daney 4343*c5aa59e8SDavid Daney union cvmx_ciu2_msired_ppx_ip2 { 4344*c5aa59e8SDavid Daney uint64_t u64; 4345*c5aa59e8SDavid Daney struct cvmx_ciu2_msired_ppx_ip2_s { 4346*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4347*c5aa59e8SDavid Daney uint64_t reserved_21_63:43; 4348*c5aa59e8SDavid Daney uint64_t intr:1; 4349*c5aa59e8SDavid Daney uint64_t reserved_17_19:3; 4350*c5aa59e8SDavid Daney uint64_t newint:1; 4351*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 4352*c5aa59e8SDavid Daney uint64_t msi_num:8; 4353*c5aa59e8SDavid Daney #else 4354*c5aa59e8SDavid Daney uint64_t msi_num:8; 4355*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 4356*c5aa59e8SDavid Daney uint64_t newint:1; 4357*c5aa59e8SDavid Daney uint64_t reserved_17_19:3; 4358*c5aa59e8SDavid Daney uint64_t intr:1; 4359*c5aa59e8SDavid Daney uint64_t reserved_21_63:43; 4360*c5aa59e8SDavid Daney #endif 4361*c5aa59e8SDavid Daney } s; 4362*c5aa59e8SDavid Daney struct cvmx_ciu2_msired_ppx_ip2_s cn68xx; 4363*c5aa59e8SDavid Daney struct cvmx_ciu2_msired_ppx_ip2_s cn68xxp1; 4364*c5aa59e8SDavid Daney }; 4365*c5aa59e8SDavid Daney 4366*c5aa59e8SDavid Daney union cvmx_ciu2_msired_ppx_ip3 { 4367*c5aa59e8SDavid Daney uint64_t u64; 4368*c5aa59e8SDavid Daney struct cvmx_ciu2_msired_ppx_ip3_s { 4369*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4370*c5aa59e8SDavid Daney uint64_t reserved_21_63:43; 4371*c5aa59e8SDavid Daney uint64_t intr:1; 4372*c5aa59e8SDavid Daney uint64_t reserved_17_19:3; 4373*c5aa59e8SDavid Daney uint64_t newint:1; 4374*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 4375*c5aa59e8SDavid Daney uint64_t msi_num:8; 4376*c5aa59e8SDavid Daney #else 4377*c5aa59e8SDavid Daney uint64_t msi_num:8; 4378*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 4379*c5aa59e8SDavid Daney uint64_t newint:1; 4380*c5aa59e8SDavid Daney uint64_t reserved_17_19:3; 4381*c5aa59e8SDavid Daney uint64_t intr:1; 4382*c5aa59e8SDavid Daney uint64_t reserved_21_63:43; 4383*c5aa59e8SDavid Daney #endif 4384*c5aa59e8SDavid Daney } s; 4385*c5aa59e8SDavid Daney struct cvmx_ciu2_msired_ppx_ip3_s cn68xx; 4386*c5aa59e8SDavid Daney struct cvmx_ciu2_msired_ppx_ip3_s cn68xxp1; 4387*c5aa59e8SDavid Daney }; 4388*c5aa59e8SDavid Daney 4389*c5aa59e8SDavid Daney union cvmx_ciu2_msired_ppx_ip4 { 4390*c5aa59e8SDavid Daney uint64_t u64; 4391*c5aa59e8SDavid Daney struct cvmx_ciu2_msired_ppx_ip4_s { 4392*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4393*c5aa59e8SDavid Daney uint64_t reserved_21_63:43; 4394*c5aa59e8SDavid Daney uint64_t intr:1; 4395*c5aa59e8SDavid Daney uint64_t reserved_17_19:3; 4396*c5aa59e8SDavid Daney uint64_t newint:1; 4397*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 4398*c5aa59e8SDavid Daney uint64_t msi_num:8; 4399*c5aa59e8SDavid Daney #else 4400*c5aa59e8SDavid Daney uint64_t msi_num:8; 4401*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 4402*c5aa59e8SDavid Daney uint64_t newint:1; 4403*c5aa59e8SDavid Daney uint64_t reserved_17_19:3; 4404*c5aa59e8SDavid Daney uint64_t intr:1; 4405*c5aa59e8SDavid Daney uint64_t reserved_21_63:43; 4406*c5aa59e8SDavid Daney #endif 4407*c5aa59e8SDavid Daney } s; 4408*c5aa59e8SDavid Daney struct cvmx_ciu2_msired_ppx_ip4_s cn68xx; 4409*c5aa59e8SDavid Daney struct cvmx_ciu2_msired_ppx_ip4_s cn68xxp1; 4410*c5aa59e8SDavid Daney }; 4411*c5aa59e8SDavid Daney 4412*c5aa59e8SDavid Daney union cvmx_ciu2_raw_iox_int_gpio { 4413*c5aa59e8SDavid Daney uint64_t u64; 4414*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_iox_int_gpio_s { 4415*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4416*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 4417*c5aa59e8SDavid Daney uint64_t gpio:16; 4418*c5aa59e8SDavid Daney #else 4419*c5aa59e8SDavid Daney uint64_t gpio:16; 4420*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 4421*c5aa59e8SDavid Daney #endif 4422*c5aa59e8SDavid Daney } s; 4423*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_iox_int_gpio_s cn68xx; 4424*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_iox_int_gpio_s cn68xxp1; 4425*c5aa59e8SDavid Daney }; 4426*c5aa59e8SDavid Daney 4427*c5aa59e8SDavid Daney union cvmx_ciu2_raw_iox_int_io { 4428*c5aa59e8SDavid Daney uint64_t u64; 4429*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_iox_int_io_s { 4430*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4431*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 4432*c5aa59e8SDavid Daney uint64_t pem:2; 4433*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 4434*c5aa59e8SDavid Daney uint64_t pci_inta:2; 4435*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 4436*c5aa59e8SDavid Daney uint64_t msired:1; 4437*c5aa59e8SDavid Daney uint64_t pci_msi:4; 4438*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 4439*c5aa59e8SDavid Daney uint64_t pci_intr:4; 4440*c5aa59e8SDavid Daney #else 4441*c5aa59e8SDavid Daney uint64_t pci_intr:4; 4442*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 4443*c5aa59e8SDavid Daney uint64_t pci_msi:4; 4444*c5aa59e8SDavid Daney uint64_t msired:1; 4445*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 4446*c5aa59e8SDavid Daney uint64_t pci_inta:2; 4447*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 4448*c5aa59e8SDavid Daney uint64_t pem:2; 4449*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 4450*c5aa59e8SDavid Daney #endif 4451*c5aa59e8SDavid Daney } s; 4452*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_iox_int_io_s cn68xx; 4453*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_iox_int_io_s cn68xxp1; 4454*c5aa59e8SDavid Daney }; 4455*c5aa59e8SDavid Daney 4456*c5aa59e8SDavid Daney union cvmx_ciu2_raw_iox_int_mem { 4457*c5aa59e8SDavid Daney uint64_t u64; 4458*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_iox_int_mem_s { 4459*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4460*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 4461*c5aa59e8SDavid Daney uint64_t lmc:4; 4462*c5aa59e8SDavid Daney #else 4463*c5aa59e8SDavid Daney uint64_t lmc:4; 4464*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 4465*c5aa59e8SDavid Daney #endif 4466*c5aa59e8SDavid Daney } s; 4467*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_iox_int_mem_s cn68xx; 4468*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_iox_int_mem_s cn68xxp1; 4469*c5aa59e8SDavid Daney }; 4470*c5aa59e8SDavid Daney 4471*c5aa59e8SDavid Daney union cvmx_ciu2_raw_iox_int_mio { 4472*c5aa59e8SDavid Daney uint64_t u64; 4473*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_iox_int_mio_s { 4474*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4475*c5aa59e8SDavid Daney uint64_t rst:1; 4476*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 4477*c5aa59e8SDavid Daney uint64_t ptp:1; 4478*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 4479*c5aa59e8SDavid Daney uint64_t usb_hci:1; 4480*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 4481*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 4482*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 4483*c5aa59e8SDavid Daney uint64_t uart:2; 4484*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 4485*c5aa59e8SDavid Daney uint64_t twsi:2; 4486*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 4487*c5aa59e8SDavid Daney uint64_t bootdma:1; 4488*c5aa59e8SDavid Daney uint64_t mio:1; 4489*c5aa59e8SDavid Daney uint64_t nand:1; 4490*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 4491*c5aa59e8SDavid Daney uint64_t timer:4; 4492*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 4493*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 4494*c5aa59e8SDavid Daney uint64_t ssoiq:1; 4495*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 4496*c5aa59e8SDavid Daney #else 4497*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 4498*c5aa59e8SDavid Daney uint64_t ssoiq:1; 4499*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 4500*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 4501*c5aa59e8SDavid Daney uint64_t timer:4; 4502*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 4503*c5aa59e8SDavid Daney uint64_t nand:1; 4504*c5aa59e8SDavid Daney uint64_t mio:1; 4505*c5aa59e8SDavid Daney uint64_t bootdma:1; 4506*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 4507*c5aa59e8SDavid Daney uint64_t twsi:2; 4508*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 4509*c5aa59e8SDavid Daney uint64_t uart:2; 4510*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 4511*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 4512*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 4513*c5aa59e8SDavid Daney uint64_t usb_hci:1; 4514*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 4515*c5aa59e8SDavid Daney uint64_t ptp:1; 4516*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 4517*c5aa59e8SDavid Daney uint64_t rst:1; 4518*c5aa59e8SDavid Daney #endif 4519*c5aa59e8SDavid Daney } s; 4520*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_iox_int_mio_s cn68xx; 4521*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_iox_int_mio_s cn68xxp1; 4522*c5aa59e8SDavid Daney }; 4523*c5aa59e8SDavid Daney 4524*c5aa59e8SDavid Daney union cvmx_ciu2_raw_iox_int_pkt { 4525*c5aa59e8SDavid Daney uint64_t u64; 4526*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_iox_int_pkt_s { 4527*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4528*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 4529*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 4530*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 4531*c5aa59e8SDavid Daney uint64_t ilk:1; 4532*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 4533*c5aa59e8SDavid Daney uint64_t mii:1; 4534*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 4535*c5aa59e8SDavid Daney uint64_t agl:1; 4536*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 4537*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 4538*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 4539*c5aa59e8SDavid Daney uint64_t agx:5; 4540*c5aa59e8SDavid Daney #else 4541*c5aa59e8SDavid Daney uint64_t agx:5; 4542*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 4543*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 4544*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 4545*c5aa59e8SDavid Daney uint64_t agl:1; 4546*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 4547*c5aa59e8SDavid Daney uint64_t mii:1; 4548*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 4549*c5aa59e8SDavid Daney uint64_t ilk:1; 4550*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 4551*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 4552*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 4553*c5aa59e8SDavid Daney #endif 4554*c5aa59e8SDavid Daney } s; 4555*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_iox_int_pkt_s cn68xx; 4556*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_iox_int_pkt_cn68xxp1 { 4557*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4558*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 4559*c5aa59e8SDavid Daney uint64_t ilk:1; 4560*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 4561*c5aa59e8SDavid Daney uint64_t mii:1; 4562*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 4563*c5aa59e8SDavid Daney uint64_t agl:1; 4564*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 4565*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 4566*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 4567*c5aa59e8SDavid Daney uint64_t agx:5; 4568*c5aa59e8SDavid Daney #else 4569*c5aa59e8SDavid Daney uint64_t agx:5; 4570*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 4571*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 4572*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 4573*c5aa59e8SDavid Daney uint64_t agl:1; 4574*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 4575*c5aa59e8SDavid Daney uint64_t mii:1; 4576*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 4577*c5aa59e8SDavid Daney uint64_t ilk:1; 4578*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 4579*c5aa59e8SDavid Daney #endif 4580*c5aa59e8SDavid Daney } cn68xxp1; 4581*c5aa59e8SDavid Daney }; 4582*c5aa59e8SDavid Daney 4583*c5aa59e8SDavid Daney union cvmx_ciu2_raw_iox_int_rml { 4584*c5aa59e8SDavid Daney uint64_t u64; 4585*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_iox_int_rml_s { 4586*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4587*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 4588*c5aa59e8SDavid Daney uint64_t trace:4; 4589*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 4590*c5aa59e8SDavid Daney uint64_t l2c:1; 4591*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 4592*c5aa59e8SDavid Daney uint64_t dfa:1; 4593*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 4594*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 4595*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 4596*c5aa59e8SDavid Daney uint64_t dpi:1; 4597*c5aa59e8SDavid Daney uint64_t sli:1; 4598*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 4599*c5aa59e8SDavid Daney uint64_t key:1; 4600*c5aa59e8SDavid Daney uint64_t rad:1; 4601*c5aa59e8SDavid Daney uint64_t tim:1; 4602*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 4603*c5aa59e8SDavid Daney uint64_t zip:1; 4604*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 4605*c5aa59e8SDavid Daney uint64_t sso:1; 4606*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 4607*c5aa59e8SDavid Daney uint64_t pko:1; 4608*c5aa59e8SDavid Daney uint64_t pip:1; 4609*c5aa59e8SDavid Daney uint64_t ipd:1; 4610*c5aa59e8SDavid Daney uint64_t fpa:1; 4611*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 4612*c5aa59e8SDavid Daney uint64_t iob:1; 4613*c5aa59e8SDavid Daney #else 4614*c5aa59e8SDavid Daney uint64_t iob:1; 4615*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 4616*c5aa59e8SDavid Daney uint64_t fpa:1; 4617*c5aa59e8SDavid Daney uint64_t ipd:1; 4618*c5aa59e8SDavid Daney uint64_t pip:1; 4619*c5aa59e8SDavid Daney uint64_t pko:1; 4620*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 4621*c5aa59e8SDavid Daney uint64_t sso:1; 4622*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 4623*c5aa59e8SDavid Daney uint64_t zip:1; 4624*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 4625*c5aa59e8SDavid Daney uint64_t tim:1; 4626*c5aa59e8SDavid Daney uint64_t rad:1; 4627*c5aa59e8SDavid Daney uint64_t key:1; 4628*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 4629*c5aa59e8SDavid Daney uint64_t sli:1; 4630*c5aa59e8SDavid Daney uint64_t dpi:1; 4631*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 4632*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 4633*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 4634*c5aa59e8SDavid Daney uint64_t dfa:1; 4635*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 4636*c5aa59e8SDavid Daney uint64_t l2c:1; 4637*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 4638*c5aa59e8SDavid Daney uint64_t trace:4; 4639*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 4640*c5aa59e8SDavid Daney #endif 4641*c5aa59e8SDavid Daney } s; 4642*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_iox_int_rml_s cn68xx; 4643*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_iox_int_rml_cn68xxp1 { 4644*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4645*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 4646*c5aa59e8SDavid Daney uint64_t trace:4; 4647*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 4648*c5aa59e8SDavid Daney uint64_t l2c:1; 4649*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 4650*c5aa59e8SDavid Daney uint64_t dfa:1; 4651*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 4652*c5aa59e8SDavid Daney uint64_t dpi:1; 4653*c5aa59e8SDavid Daney uint64_t sli:1; 4654*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 4655*c5aa59e8SDavid Daney uint64_t key:1; 4656*c5aa59e8SDavid Daney uint64_t rad:1; 4657*c5aa59e8SDavid Daney uint64_t tim:1; 4658*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 4659*c5aa59e8SDavid Daney uint64_t zip:1; 4660*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 4661*c5aa59e8SDavid Daney uint64_t sso:1; 4662*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 4663*c5aa59e8SDavid Daney uint64_t pko:1; 4664*c5aa59e8SDavid Daney uint64_t pip:1; 4665*c5aa59e8SDavid Daney uint64_t ipd:1; 4666*c5aa59e8SDavid Daney uint64_t fpa:1; 4667*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 4668*c5aa59e8SDavid Daney uint64_t iob:1; 4669*c5aa59e8SDavid Daney #else 4670*c5aa59e8SDavid Daney uint64_t iob:1; 4671*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 4672*c5aa59e8SDavid Daney uint64_t fpa:1; 4673*c5aa59e8SDavid Daney uint64_t ipd:1; 4674*c5aa59e8SDavid Daney uint64_t pip:1; 4675*c5aa59e8SDavid Daney uint64_t pko:1; 4676*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 4677*c5aa59e8SDavid Daney uint64_t sso:1; 4678*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 4679*c5aa59e8SDavid Daney uint64_t zip:1; 4680*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 4681*c5aa59e8SDavid Daney uint64_t tim:1; 4682*c5aa59e8SDavid Daney uint64_t rad:1; 4683*c5aa59e8SDavid Daney uint64_t key:1; 4684*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 4685*c5aa59e8SDavid Daney uint64_t sli:1; 4686*c5aa59e8SDavid Daney uint64_t dpi:1; 4687*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 4688*c5aa59e8SDavid Daney uint64_t dfa:1; 4689*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 4690*c5aa59e8SDavid Daney uint64_t l2c:1; 4691*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 4692*c5aa59e8SDavid Daney uint64_t trace:4; 4693*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 4694*c5aa59e8SDavid Daney #endif 4695*c5aa59e8SDavid Daney } cn68xxp1; 4696*c5aa59e8SDavid Daney }; 4697*c5aa59e8SDavid Daney 4698*c5aa59e8SDavid Daney union cvmx_ciu2_raw_iox_int_wdog { 4699*c5aa59e8SDavid Daney uint64_t u64; 4700*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_iox_int_wdog_s { 4701*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4702*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 4703*c5aa59e8SDavid Daney uint64_t wdog:32; 4704*c5aa59e8SDavid Daney #else 4705*c5aa59e8SDavid Daney uint64_t wdog:32; 4706*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 4707*c5aa59e8SDavid Daney #endif 4708*c5aa59e8SDavid Daney } s; 4709*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_iox_int_wdog_s cn68xx; 4710*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_iox_int_wdog_s cn68xxp1; 4711*c5aa59e8SDavid Daney }; 4712*c5aa59e8SDavid Daney 4713*c5aa59e8SDavid Daney union cvmx_ciu2_raw_iox_int_wrkq { 4714*c5aa59e8SDavid Daney uint64_t u64; 4715*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_iox_int_wrkq_s { 4716*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4717*c5aa59e8SDavid Daney uint64_t workq:64; 4718*c5aa59e8SDavid Daney #else 4719*c5aa59e8SDavid Daney uint64_t workq:64; 4720*c5aa59e8SDavid Daney #endif 4721*c5aa59e8SDavid Daney } s; 4722*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_iox_int_wrkq_s cn68xx; 4723*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_iox_int_wrkq_s cn68xxp1; 4724*c5aa59e8SDavid Daney }; 4725*c5aa59e8SDavid Daney 4726*c5aa59e8SDavid Daney union cvmx_ciu2_raw_ppx_ip2_gpio { 4727*c5aa59e8SDavid Daney uint64_t u64; 4728*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip2_gpio_s { 4729*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4730*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 4731*c5aa59e8SDavid Daney uint64_t gpio:16; 4732*c5aa59e8SDavid Daney #else 4733*c5aa59e8SDavid Daney uint64_t gpio:16; 4734*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 4735*c5aa59e8SDavid Daney #endif 4736*c5aa59e8SDavid Daney } s; 4737*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip2_gpio_s cn68xx; 4738*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip2_gpio_s cn68xxp1; 4739*c5aa59e8SDavid Daney }; 4740*c5aa59e8SDavid Daney 4741*c5aa59e8SDavid Daney union cvmx_ciu2_raw_ppx_ip2_io { 4742*c5aa59e8SDavid Daney uint64_t u64; 4743*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip2_io_s { 4744*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4745*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 4746*c5aa59e8SDavid Daney uint64_t pem:2; 4747*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 4748*c5aa59e8SDavid Daney uint64_t pci_inta:2; 4749*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 4750*c5aa59e8SDavid Daney uint64_t msired:1; 4751*c5aa59e8SDavid Daney uint64_t pci_msi:4; 4752*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 4753*c5aa59e8SDavid Daney uint64_t pci_intr:4; 4754*c5aa59e8SDavid Daney #else 4755*c5aa59e8SDavid Daney uint64_t pci_intr:4; 4756*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 4757*c5aa59e8SDavid Daney uint64_t pci_msi:4; 4758*c5aa59e8SDavid Daney uint64_t msired:1; 4759*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 4760*c5aa59e8SDavid Daney uint64_t pci_inta:2; 4761*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 4762*c5aa59e8SDavid Daney uint64_t pem:2; 4763*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 4764*c5aa59e8SDavid Daney #endif 4765*c5aa59e8SDavid Daney } s; 4766*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip2_io_s cn68xx; 4767*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip2_io_s cn68xxp1; 4768*c5aa59e8SDavid Daney }; 4769*c5aa59e8SDavid Daney 4770*c5aa59e8SDavid Daney union cvmx_ciu2_raw_ppx_ip2_mem { 4771*c5aa59e8SDavid Daney uint64_t u64; 4772*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip2_mem_s { 4773*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4774*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 4775*c5aa59e8SDavid Daney uint64_t lmc:4; 4776*c5aa59e8SDavid Daney #else 4777*c5aa59e8SDavid Daney uint64_t lmc:4; 4778*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 4779*c5aa59e8SDavid Daney #endif 4780*c5aa59e8SDavid Daney } s; 4781*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip2_mem_s cn68xx; 4782*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip2_mem_s cn68xxp1; 4783*c5aa59e8SDavid Daney }; 4784*c5aa59e8SDavid Daney 4785*c5aa59e8SDavid Daney union cvmx_ciu2_raw_ppx_ip2_mio { 4786*c5aa59e8SDavid Daney uint64_t u64; 4787*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip2_mio_s { 4788*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4789*c5aa59e8SDavid Daney uint64_t rst:1; 4790*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 4791*c5aa59e8SDavid Daney uint64_t ptp:1; 4792*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 4793*c5aa59e8SDavid Daney uint64_t usb_hci:1; 4794*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 4795*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 4796*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 4797*c5aa59e8SDavid Daney uint64_t uart:2; 4798*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 4799*c5aa59e8SDavid Daney uint64_t twsi:2; 4800*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 4801*c5aa59e8SDavid Daney uint64_t bootdma:1; 4802*c5aa59e8SDavid Daney uint64_t mio:1; 4803*c5aa59e8SDavid Daney uint64_t nand:1; 4804*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 4805*c5aa59e8SDavid Daney uint64_t timer:4; 4806*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 4807*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 4808*c5aa59e8SDavid Daney uint64_t ssoiq:1; 4809*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 4810*c5aa59e8SDavid Daney #else 4811*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 4812*c5aa59e8SDavid Daney uint64_t ssoiq:1; 4813*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 4814*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 4815*c5aa59e8SDavid Daney uint64_t timer:4; 4816*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 4817*c5aa59e8SDavid Daney uint64_t nand:1; 4818*c5aa59e8SDavid Daney uint64_t mio:1; 4819*c5aa59e8SDavid Daney uint64_t bootdma:1; 4820*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 4821*c5aa59e8SDavid Daney uint64_t twsi:2; 4822*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 4823*c5aa59e8SDavid Daney uint64_t uart:2; 4824*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 4825*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 4826*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 4827*c5aa59e8SDavid Daney uint64_t usb_hci:1; 4828*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 4829*c5aa59e8SDavid Daney uint64_t ptp:1; 4830*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 4831*c5aa59e8SDavid Daney uint64_t rst:1; 4832*c5aa59e8SDavid Daney #endif 4833*c5aa59e8SDavid Daney } s; 4834*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip2_mio_s cn68xx; 4835*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip2_mio_s cn68xxp1; 4836*c5aa59e8SDavid Daney }; 4837*c5aa59e8SDavid Daney 4838*c5aa59e8SDavid Daney union cvmx_ciu2_raw_ppx_ip2_pkt { 4839*c5aa59e8SDavid Daney uint64_t u64; 4840*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip2_pkt_s { 4841*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4842*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 4843*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 4844*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 4845*c5aa59e8SDavid Daney uint64_t ilk:1; 4846*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 4847*c5aa59e8SDavid Daney uint64_t mii:1; 4848*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 4849*c5aa59e8SDavid Daney uint64_t agl:1; 4850*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 4851*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 4852*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 4853*c5aa59e8SDavid Daney uint64_t agx:5; 4854*c5aa59e8SDavid Daney #else 4855*c5aa59e8SDavid Daney uint64_t agx:5; 4856*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 4857*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 4858*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 4859*c5aa59e8SDavid Daney uint64_t agl:1; 4860*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 4861*c5aa59e8SDavid Daney uint64_t mii:1; 4862*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 4863*c5aa59e8SDavid Daney uint64_t ilk:1; 4864*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 4865*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 4866*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 4867*c5aa59e8SDavid Daney #endif 4868*c5aa59e8SDavid Daney } s; 4869*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip2_pkt_s cn68xx; 4870*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip2_pkt_cn68xxp1 { 4871*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4872*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 4873*c5aa59e8SDavid Daney uint64_t ilk:1; 4874*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 4875*c5aa59e8SDavid Daney uint64_t mii:1; 4876*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 4877*c5aa59e8SDavid Daney uint64_t agl:1; 4878*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 4879*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 4880*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 4881*c5aa59e8SDavid Daney uint64_t agx:5; 4882*c5aa59e8SDavid Daney #else 4883*c5aa59e8SDavid Daney uint64_t agx:5; 4884*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 4885*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 4886*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 4887*c5aa59e8SDavid Daney uint64_t agl:1; 4888*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 4889*c5aa59e8SDavid Daney uint64_t mii:1; 4890*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 4891*c5aa59e8SDavid Daney uint64_t ilk:1; 4892*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 4893*c5aa59e8SDavid Daney #endif 4894*c5aa59e8SDavid Daney } cn68xxp1; 4895*c5aa59e8SDavid Daney }; 4896*c5aa59e8SDavid Daney 4897*c5aa59e8SDavid Daney union cvmx_ciu2_raw_ppx_ip2_rml { 4898*c5aa59e8SDavid Daney uint64_t u64; 4899*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip2_rml_s { 4900*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4901*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 4902*c5aa59e8SDavid Daney uint64_t trace:4; 4903*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 4904*c5aa59e8SDavid Daney uint64_t l2c:1; 4905*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 4906*c5aa59e8SDavid Daney uint64_t dfa:1; 4907*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 4908*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 4909*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 4910*c5aa59e8SDavid Daney uint64_t dpi:1; 4911*c5aa59e8SDavid Daney uint64_t sli:1; 4912*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 4913*c5aa59e8SDavid Daney uint64_t key:1; 4914*c5aa59e8SDavid Daney uint64_t rad:1; 4915*c5aa59e8SDavid Daney uint64_t tim:1; 4916*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 4917*c5aa59e8SDavid Daney uint64_t zip:1; 4918*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 4919*c5aa59e8SDavid Daney uint64_t sso:1; 4920*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 4921*c5aa59e8SDavid Daney uint64_t pko:1; 4922*c5aa59e8SDavid Daney uint64_t pip:1; 4923*c5aa59e8SDavid Daney uint64_t ipd:1; 4924*c5aa59e8SDavid Daney uint64_t fpa:1; 4925*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 4926*c5aa59e8SDavid Daney uint64_t iob:1; 4927*c5aa59e8SDavid Daney #else 4928*c5aa59e8SDavid Daney uint64_t iob:1; 4929*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 4930*c5aa59e8SDavid Daney uint64_t fpa:1; 4931*c5aa59e8SDavid Daney uint64_t ipd:1; 4932*c5aa59e8SDavid Daney uint64_t pip:1; 4933*c5aa59e8SDavid Daney uint64_t pko:1; 4934*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 4935*c5aa59e8SDavid Daney uint64_t sso:1; 4936*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 4937*c5aa59e8SDavid Daney uint64_t zip:1; 4938*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 4939*c5aa59e8SDavid Daney uint64_t tim:1; 4940*c5aa59e8SDavid Daney uint64_t rad:1; 4941*c5aa59e8SDavid Daney uint64_t key:1; 4942*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 4943*c5aa59e8SDavid Daney uint64_t sli:1; 4944*c5aa59e8SDavid Daney uint64_t dpi:1; 4945*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 4946*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 4947*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 4948*c5aa59e8SDavid Daney uint64_t dfa:1; 4949*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 4950*c5aa59e8SDavid Daney uint64_t l2c:1; 4951*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 4952*c5aa59e8SDavid Daney uint64_t trace:4; 4953*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 4954*c5aa59e8SDavid Daney #endif 4955*c5aa59e8SDavid Daney } s; 4956*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip2_rml_s cn68xx; 4957*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip2_rml_cn68xxp1 { 4958*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 4959*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 4960*c5aa59e8SDavid Daney uint64_t trace:4; 4961*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 4962*c5aa59e8SDavid Daney uint64_t l2c:1; 4963*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 4964*c5aa59e8SDavid Daney uint64_t dfa:1; 4965*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 4966*c5aa59e8SDavid Daney uint64_t dpi:1; 4967*c5aa59e8SDavid Daney uint64_t sli:1; 4968*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 4969*c5aa59e8SDavid Daney uint64_t key:1; 4970*c5aa59e8SDavid Daney uint64_t rad:1; 4971*c5aa59e8SDavid Daney uint64_t tim:1; 4972*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 4973*c5aa59e8SDavid Daney uint64_t zip:1; 4974*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 4975*c5aa59e8SDavid Daney uint64_t sso:1; 4976*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 4977*c5aa59e8SDavid Daney uint64_t pko:1; 4978*c5aa59e8SDavid Daney uint64_t pip:1; 4979*c5aa59e8SDavid Daney uint64_t ipd:1; 4980*c5aa59e8SDavid Daney uint64_t fpa:1; 4981*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 4982*c5aa59e8SDavid Daney uint64_t iob:1; 4983*c5aa59e8SDavid Daney #else 4984*c5aa59e8SDavid Daney uint64_t iob:1; 4985*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 4986*c5aa59e8SDavid Daney uint64_t fpa:1; 4987*c5aa59e8SDavid Daney uint64_t ipd:1; 4988*c5aa59e8SDavid Daney uint64_t pip:1; 4989*c5aa59e8SDavid Daney uint64_t pko:1; 4990*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 4991*c5aa59e8SDavid Daney uint64_t sso:1; 4992*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 4993*c5aa59e8SDavid Daney uint64_t zip:1; 4994*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 4995*c5aa59e8SDavid Daney uint64_t tim:1; 4996*c5aa59e8SDavid Daney uint64_t rad:1; 4997*c5aa59e8SDavid Daney uint64_t key:1; 4998*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 4999*c5aa59e8SDavid Daney uint64_t sli:1; 5000*c5aa59e8SDavid Daney uint64_t dpi:1; 5001*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 5002*c5aa59e8SDavid Daney uint64_t dfa:1; 5003*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 5004*c5aa59e8SDavid Daney uint64_t l2c:1; 5005*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 5006*c5aa59e8SDavid Daney uint64_t trace:4; 5007*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 5008*c5aa59e8SDavid Daney #endif 5009*c5aa59e8SDavid Daney } cn68xxp1; 5010*c5aa59e8SDavid Daney }; 5011*c5aa59e8SDavid Daney 5012*c5aa59e8SDavid Daney union cvmx_ciu2_raw_ppx_ip2_wdog { 5013*c5aa59e8SDavid Daney uint64_t u64; 5014*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip2_wdog_s { 5015*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5016*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 5017*c5aa59e8SDavid Daney uint64_t wdog:32; 5018*c5aa59e8SDavid Daney #else 5019*c5aa59e8SDavid Daney uint64_t wdog:32; 5020*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 5021*c5aa59e8SDavid Daney #endif 5022*c5aa59e8SDavid Daney } s; 5023*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip2_wdog_s cn68xx; 5024*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip2_wdog_s cn68xxp1; 5025*c5aa59e8SDavid Daney }; 5026*c5aa59e8SDavid Daney 5027*c5aa59e8SDavid Daney union cvmx_ciu2_raw_ppx_ip2_wrkq { 5028*c5aa59e8SDavid Daney uint64_t u64; 5029*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip2_wrkq_s { 5030*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5031*c5aa59e8SDavid Daney uint64_t workq:64; 5032*c5aa59e8SDavid Daney #else 5033*c5aa59e8SDavid Daney uint64_t workq:64; 5034*c5aa59e8SDavid Daney #endif 5035*c5aa59e8SDavid Daney } s; 5036*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip2_wrkq_s cn68xx; 5037*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip2_wrkq_s cn68xxp1; 5038*c5aa59e8SDavid Daney }; 5039*c5aa59e8SDavid Daney 5040*c5aa59e8SDavid Daney union cvmx_ciu2_raw_ppx_ip3_gpio { 5041*c5aa59e8SDavid Daney uint64_t u64; 5042*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip3_gpio_s { 5043*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5044*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 5045*c5aa59e8SDavid Daney uint64_t gpio:16; 5046*c5aa59e8SDavid Daney #else 5047*c5aa59e8SDavid Daney uint64_t gpio:16; 5048*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 5049*c5aa59e8SDavid Daney #endif 5050*c5aa59e8SDavid Daney } s; 5051*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip3_gpio_s cn68xx; 5052*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip3_gpio_s cn68xxp1; 5053*c5aa59e8SDavid Daney }; 5054*c5aa59e8SDavid Daney 5055*c5aa59e8SDavid Daney union cvmx_ciu2_raw_ppx_ip3_io { 5056*c5aa59e8SDavid Daney uint64_t u64; 5057*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip3_io_s { 5058*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5059*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 5060*c5aa59e8SDavid Daney uint64_t pem:2; 5061*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 5062*c5aa59e8SDavid Daney uint64_t pci_inta:2; 5063*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 5064*c5aa59e8SDavid Daney uint64_t msired:1; 5065*c5aa59e8SDavid Daney uint64_t pci_msi:4; 5066*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 5067*c5aa59e8SDavid Daney uint64_t pci_intr:4; 5068*c5aa59e8SDavid Daney #else 5069*c5aa59e8SDavid Daney uint64_t pci_intr:4; 5070*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 5071*c5aa59e8SDavid Daney uint64_t pci_msi:4; 5072*c5aa59e8SDavid Daney uint64_t msired:1; 5073*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 5074*c5aa59e8SDavid Daney uint64_t pci_inta:2; 5075*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 5076*c5aa59e8SDavid Daney uint64_t pem:2; 5077*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 5078*c5aa59e8SDavid Daney #endif 5079*c5aa59e8SDavid Daney } s; 5080*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip3_io_s cn68xx; 5081*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip3_io_s cn68xxp1; 5082*c5aa59e8SDavid Daney }; 5083*c5aa59e8SDavid Daney 5084*c5aa59e8SDavid Daney union cvmx_ciu2_raw_ppx_ip3_mem { 5085*c5aa59e8SDavid Daney uint64_t u64; 5086*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip3_mem_s { 5087*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5088*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 5089*c5aa59e8SDavid Daney uint64_t lmc:4; 5090*c5aa59e8SDavid Daney #else 5091*c5aa59e8SDavid Daney uint64_t lmc:4; 5092*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 5093*c5aa59e8SDavid Daney #endif 5094*c5aa59e8SDavid Daney } s; 5095*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip3_mem_s cn68xx; 5096*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip3_mem_s cn68xxp1; 5097*c5aa59e8SDavid Daney }; 5098*c5aa59e8SDavid Daney 5099*c5aa59e8SDavid Daney union cvmx_ciu2_raw_ppx_ip3_mio { 5100*c5aa59e8SDavid Daney uint64_t u64; 5101*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip3_mio_s { 5102*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5103*c5aa59e8SDavid Daney uint64_t rst:1; 5104*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 5105*c5aa59e8SDavid Daney uint64_t ptp:1; 5106*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 5107*c5aa59e8SDavid Daney uint64_t usb_hci:1; 5108*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 5109*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 5110*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 5111*c5aa59e8SDavid Daney uint64_t uart:2; 5112*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 5113*c5aa59e8SDavid Daney uint64_t twsi:2; 5114*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 5115*c5aa59e8SDavid Daney uint64_t bootdma:1; 5116*c5aa59e8SDavid Daney uint64_t mio:1; 5117*c5aa59e8SDavid Daney uint64_t nand:1; 5118*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 5119*c5aa59e8SDavid Daney uint64_t timer:4; 5120*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 5121*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 5122*c5aa59e8SDavid Daney uint64_t ssoiq:1; 5123*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 5124*c5aa59e8SDavid Daney #else 5125*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 5126*c5aa59e8SDavid Daney uint64_t ssoiq:1; 5127*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 5128*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 5129*c5aa59e8SDavid Daney uint64_t timer:4; 5130*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 5131*c5aa59e8SDavid Daney uint64_t nand:1; 5132*c5aa59e8SDavid Daney uint64_t mio:1; 5133*c5aa59e8SDavid Daney uint64_t bootdma:1; 5134*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 5135*c5aa59e8SDavid Daney uint64_t twsi:2; 5136*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 5137*c5aa59e8SDavid Daney uint64_t uart:2; 5138*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 5139*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 5140*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 5141*c5aa59e8SDavid Daney uint64_t usb_hci:1; 5142*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 5143*c5aa59e8SDavid Daney uint64_t ptp:1; 5144*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 5145*c5aa59e8SDavid Daney uint64_t rst:1; 5146*c5aa59e8SDavid Daney #endif 5147*c5aa59e8SDavid Daney } s; 5148*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip3_mio_s cn68xx; 5149*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip3_mio_s cn68xxp1; 5150*c5aa59e8SDavid Daney }; 5151*c5aa59e8SDavid Daney 5152*c5aa59e8SDavid Daney union cvmx_ciu2_raw_ppx_ip3_pkt { 5153*c5aa59e8SDavid Daney uint64_t u64; 5154*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip3_pkt_s { 5155*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5156*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 5157*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 5158*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 5159*c5aa59e8SDavid Daney uint64_t ilk:1; 5160*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 5161*c5aa59e8SDavid Daney uint64_t mii:1; 5162*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 5163*c5aa59e8SDavid Daney uint64_t agl:1; 5164*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 5165*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 5166*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 5167*c5aa59e8SDavid Daney uint64_t agx:5; 5168*c5aa59e8SDavid Daney #else 5169*c5aa59e8SDavid Daney uint64_t agx:5; 5170*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 5171*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 5172*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 5173*c5aa59e8SDavid Daney uint64_t agl:1; 5174*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 5175*c5aa59e8SDavid Daney uint64_t mii:1; 5176*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 5177*c5aa59e8SDavid Daney uint64_t ilk:1; 5178*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 5179*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 5180*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 5181*c5aa59e8SDavid Daney #endif 5182*c5aa59e8SDavid Daney } s; 5183*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip3_pkt_s cn68xx; 5184*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip3_pkt_cn68xxp1 { 5185*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5186*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 5187*c5aa59e8SDavid Daney uint64_t ilk:1; 5188*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 5189*c5aa59e8SDavid Daney uint64_t mii:1; 5190*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 5191*c5aa59e8SDavid Daney uint64_t agl:1; 5192*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 5193*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 5194*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 5195*c5aa59e8SDavid Daney uint64_t agx:5; 5196*c5aa59e8SDavid Daney #else 5197*c5aa59e8SDavid Daney uint64_t agx:5; 5198*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 5199*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 5200*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 5201*c5aa59e8SDavid Daney uint64_t agl:1; 5202*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 5203*c5aa59e8SDavid Daney uint64_t mii:1; 5204*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 5205*c5aa59e8SDavid Daney uint64_t ilk:1; 5206*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 5207*c5aa59e8SDavid Daney #endif 5208*c5aa59e8SDavid Daney } cn68xxp1; 5209*c5aa59e8SDavid Daney }; 5210*c5aa59e8SDavid Daney 5211*c5aa59e8SDavid Daney union cvmx_ciu2_raw_ppx_ip3_rml { 5212*c5aa59e8SDavid Daney uint64_t u64; 5213*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip3_rml_s { 5214*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5215*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 5216*c5aa59e8SDavid Daney uint64_t trace:4; 5217*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 5218*c5aa59e8SDavid Daney uint64_t l2c:1; 5219*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 5220*c5aa59e8SDavid Daney uint64_t dfa:1; 5221*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 5222*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 5223*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 5224*c5aa59e8SDavid Daney uint64_t dpi:1; 5225*c5aa59e8SDavid Daney uint64_t sli:1; 5226*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 5227*c5aa59e8SDavid Daney uint64_t key:1; 5228*c5aa59e8SDavid Daney uint64_t rad:1; 5229*c5aa59e8SDavid Daney uint64_t tim:1; 5230*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 5231*c5aa59e8SDavid Daney uint64_t zip:1; 5232*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 5233*c5aa59e8SDavid Daney uint64_t sso:1; 5234*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 5235*c5aa59e8SDavid Daney uint64_t pko:1; 5236*c5aa59e8SDavid Daney uint64_t pip:1; 5237*c5aa59e8SDavid Daney uint64_t ipd:1; 5238*c5aa59e8SDavid Daney uint64_t fpa:1; 5239*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 5240*c5aa59e8SDavid Daney uint64_t iob:1; 5241*c5aa59e8SDavid Daney #else 5242*c5aa59e8SDavid Daney uint64_t iob:1; 5243*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 5244*c5aa59e8SDavid Daney uint64_t fpa:1; 5245*c5aa59e8SDavid Daney uint64_t ipd:1; 5246*c5aa59e8SDavid Daney uint64_t pip:1; 5247*c5aa59e8SDavid Daney uint64_t pko:1; 5248*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 5249*c5aa59e8SDavid Daney uint64_t sso:1; 5250*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 5251*c5aa59e8SDavid Daney uint64_t zip:1; 5252*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 5253*c5aa59e8SDavid Daney uint64_t tim:1; 5254*c5aa59e8SDavid Daney uint64_t rad:1; 5255*c5aa59e8SDavid Daney uint64_t key:1; 5256*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 5257*c5aa59e8SDavid Daney uint64_t sli:1; 5258*c5aa59e8SDavid Daney uint64_t dpi:1; 5259*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 5260*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 5261*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 5262*c5aa59e8SDavid Daney uint64_t dfa:1; 5263*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 5264*c5aa59e8SDavid Daney uint64_t l2c:1; 5265*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 5266*c5aa59e8SDavid Daney uint64_t trace:4; 5267*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 5268*c5aa59e8SDavid Daney #endif 5269*c5aa59e8SDavid Daney } s; 5270*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip3_rml_s cn68xx; 5271*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip3_rml_cn68xxp1 { 5272*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5273*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 5274*c5aa59e8SDavid Daney uint64_t trace:4; 5275*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 5276*c5aa59e8SDavid Daney uint64_t l2c:1; 5277*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 5278*c5aa59e8SDavid Daney uint64_t dfa:1; 5279*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 5280*c5aa59e8SDavid Daney uint64_t dpi:1; 5281*c5aa59e8SDavid Daney uint64_t sli:1; 5282*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 5283*c5aa59e8SDavid Daney uint64_t key:1; 5284*c5aa59e8SDavid Daney uint64_t rad:1; 5285*c5aa59e8SDavid Daney uint64_t tim:1; 5286*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 5287*c5aa59e8SDavid Daney uint64_t zip:1; 5288*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 5289*c5aa59e8SDavid Daney uint64_t sso:1; 5290*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 5291*c5aa59e8SDavid Daney uint64_t pko:1; 5292*c5aa59e8SDavid Daney uint64_t pip:1; 5293*c5aa59e8SDavid Daney uint64_t ipd:1; 5294*c5aa59e8SDavid Daney uint64_t fpa:1; 5295*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 5296*c5aa59e8SDavid Daney uint64_t iob:1; 5297*c5aa59e8SDavid Daney #else 5298*c5aa59e8SDavid Daney uint64_t iob:1; 5299*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 5300*c5aa59e8SDavid Daney uint64_t fpa:1; 5301*c5aa59e8SDavid Daney uint64_t ipd:1; 5302*c5aa59e8SDavid Daney uint64_t pip:1; 5303*c5aa59e8SDavid Daney uint64_t pko:1; 5304*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 5305*c5aa59e8SDavid Daney uint64_t sso:1; 5306*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 5307*c5aa59e8SDavid Daney uint64_t zip:1; 5308*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 5309*c5aa59e8SDavid Daney uint64_t tim:1; 5310*c5aa59e8SDavid Daney uint64_t rad:1; 5311*c5aa59e8SDavid Daney uint64_t key:1; 5312*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 5313*c5aa59e8SDavid Daney uint64_t sli:1; 5314*c5aa59e8SDavid Daney uint64_t dpi:1; 5315*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 5316*c5aa59e8SDavid Daney uint64_t dfa:1; 5317*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 5318*c5aa59e8SDavid Daney uint64_t l2c:1; 5319*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 5320*c5aa59e8SDavid Daney uint64_t trace:4; 5321*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 5322*c5aa59e8SDavid Daney #endif 5323*c5aa59e8SDavid Daney } cn68xxp1; 5324*c5aa59e8SDavid Daney }; 5325*c5aa59e8SDavid Daney 5326*c5aa59e8SDavid Daney union cvmx_ciu2_raw_ppx_ip3_wdog { 5327*c5aa59e8SDavid Daney uint64_t u64; 5328*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip3_wdog_s { 5329*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5330*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 5331*c5aa59e8SDavid Daney uint64_t wdog:32; 5332*c5aa59e8SDavid Daney #else 5333*c5aa59e8SDavid Daney uint64_t wdog:32; 5334*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 5335*c5aa59e8SDavid Daney #endif 5336*c5aa59e8SDavid Daney } s; 5337*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip3_wdog_s cn68xx; 5338*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip3_wdog_s cn68xxp1; 5339*c5aa59e8SDavid Daney }; 5340*c5aa59e8SDavid Daney 5341*c5aa59e8SDavid Daney union cvmx_ciu2_raw_ppx_ip3_wrkq { 5342*c5aa59e8SDavid Daney uint64_t u64; 5343*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip3_wrkq_s { 5344*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5345*c5aa59e8SDavid Daney uint64_t workq:64; 5346*c5aa59e8SDavid Daney #else 5347*c5aa59e8SDavid Daney uint64_t workq:64; 5348*c5aa59e8SDavid Daney #endif 5349*c5aa59e8SDavid Daney } s; 5350*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip3_wrkq_s cn68xx; 5351*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip3_wrkq_s cn68xxp1; 5352*c5aa59e8SDavid Daney }; 5353*c5aa59e8SDavid Daney 5354*c5aa59e8SDavid Daney union cvmx_ciu2_raw_ppx_ip4_gpio { 5355*c5aa59e8SDavid Daney uint64_t u64; 5356*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip4_gpio_s { 5357*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5358*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 5359*c5aa59e8SDavid Daney uint64_t gpio:16; 5360*c5aa59e8SDavid Daney #else 5361*c5aa59e8SDavid Daney uint64_t gpio:16; 5362*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 5363*c5aa59e8SDavid Daney #endif 5364*c5aa59e8SDavid Daney } s; 5365*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip4_gpio_s cn68xx; 5366*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip4_gpio_s cn68xxp1; 5367*c5aa59e8SDavid Daney }; 5368*c5aa59e8SDavid Daney 5369*c5aa59e8SDavid Daney union cvmx_ciu2_raw_ppx_ip4_io { 5370*c5aa59e8SDavid Daney uint64_t u64; 5371*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip4_io_s { 5372*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5373*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 5374*c5aa59e8SDavid Daney uint64_t pem:2; 5375*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 5376*c5aa59e8SDavid Daney uint64_t pci_inta:2; 5377*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 5378*c5aa59e8SDavid Daney uint64_t msired:1; 5379*c5aa59e8SDavid Daney uint64_t pci_msi:4; 5380*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 5381*c5aa59e8SDavid Daney uint64_t pci_intr:4; 5382*c5aa59e8SDavid Daney #else 5383*c5aa59e8SDavid Daney uint64_t pci_intr:4; 5384*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 5385*c5aa59e8SDavid Daney uint64_t pci_msi:4; 5386*c5aa59e8SDavid Daney uint64_t msired:1; 5387*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 5388*c5aa59e8SDavid Daney uint64_t pci_inta:2; 5389*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 5390*c5aa59e8SDavid Daney uint64_t pem:2; 5391*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 5392*c5aa59e8SDavid Daney #endif 5393*c5aa59e8SDavid Daney } s; 5394*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip4_io_s cn68xx; 5395*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip4_io_s cn68xxp1; 5396*c5aa59e8SDavid Daney }; 5397*c5aa59e8SDavid Daney 5398*c5aa59e8SDavid Daney union cvmx_ciu2_raw_ppx_ip4_mem { 5399*c5aa59e8SDavid Daney uint64_t u64; 5400*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip4_mem_s { 5401*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5402*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 5403*c5aa59e8SDavid Daney uint64_t lmc:4; 5404*c5aa59e8SDavid Daney #else 5405*c5aa59e8SDavid Daney uint64_t lmc:4; 5406*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 5407*c5aa59e8SDavid Daney #endif 5408*c5aa59e8SDavid Daney } s; 5409*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip4_mem_s cn68xx; 5410*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip4_mem_s cn68xxp1; 5411*c5aa59e8SDavid Daney }; 5412*c5aa59e8SDavid Daney 5413*c5aa59e8SDavid Daney union cvmx_ciu2_raw_ppx_ip4_mio { 5414*c5aa59e8SDavid Daney uint64_t u64; 5415*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip4_mio_s { 5416*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5417*c5aa59e8SDavid Daney uint64_t rst:1; 5418*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 5419*c5aa59e8SDavid Daney uint64_t ptp:1; 5420*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 5421*c5aa59e8SDavid Daney uint64_t usb_hci:1; 5422*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 5423*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 5424*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 5425*c5aa59e8SDavid Daney uint64_t uart:2; 5426*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 5427*c5aa59e8SDavid Daney uint64_t twsi:2; 5428*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 5429*c5aa59e8SDavid Daney uint64_t bootdma:1; 5430*c5aa59e8SDavid Daney uint64_t mio:1; 5431*c5aa59e8SDavid Daney uint64_t nand:1; 5432*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 5433*c5aa59e8SDavid Daney uint64_t timer:4; 5434*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 5435*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 5436*c5aa59e8SDavid Daney uint64_t ssoiq:1; 5437*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 5438*c5aa59e8SDavid Daney #else 5439*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 5440*c5aa59e8SDavid Daney uint64_t ssoiq:1; 5441*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 5442*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 5443*c5aa59e8SDavid Daney uint64_t timer:4; 5444*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 5445*c5aa59e8SDavid Daney uint64_t nand:1; 5446*c5aa59e8SDavid Daney uint64_t mio:1; 5447*c5aa59e8SDavid Daney uint64_t bootdma:1; 5448*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 5449*c5aa59e8SDavid Daney uint64_t twsi:2; 5450*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 5451*c5aa59e8SDavid Daney uint64_t uart:2; 5452*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 5453*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 5454*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 5455*c5aa59e8SDavid Daney uint64_t usb_hci:1; 5456*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 5457*c5aa59e8SDavid Daney uint64_t ptp:1; 5458*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 5459*c5aa59e8SDavid Daney uint64_t rst:1; 5460*c5aa59e8SDavid Daney #endif 5461*c5aa59e8SDavid Daney } s; 5462*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip4_mio_s cn68xx; 5463*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip4_mio_s cn68xxp1; 5464*c5aa59e8SDavid Daney }; 5465*c5aa59e8SDavid Daney 5466*c5aa59e8SDavid Daney union cvmx_ciu2_raw_ppx_ip4_pkt { 5467*c5aa59e8SDavid Daney uint64_t u64; 5468*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip4_pkt_s { 5469*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5470*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 5471*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 5472*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 5473*c5aa59e8SDavid Daney uint64_t ilk:1; 5474*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 5475*c5aa59e8SDavid Daney uint64_t mii:1; 5476*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 5477*c5aa59e8SDavid Daney uint64_t agl:1; 5478*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 5479*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 5480*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 5481*c5aa59e8SDavid Daney uint64_t agx:5; 5482*c5aa59e8SDavid Daney #else 5483*c5aa59e8SDavid Daney uint64_t agx:5; 5484*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 5485*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 5486*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 5487*c5aa59e8SDavid Daney uint64_t agl:1; 5488*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 5489*c5aa59e8SDavid Daney uint64_t mii:1; 5490*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 5491*c5aa59e8SDavid Daney uint64_t ilk:1; 5492*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 5493*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 5494*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 5495*c5aa59e8SDavid Daney #endif 5496*c5aa59e8SDavid Daney } s; 5497*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip4_pkt_s cn68xx; 5498*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip4_pkt_cn68xxp1 { 5499*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5500*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 5501*c5aa59e8SDavid Daney uint64_t ilk:1; 5502*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 5503*c5aa59e8SDavid Daney uint64_t mii:1; 5504*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 5505*c5aa59e8SDavid Daney uint64_t agl:1; 5506*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 5507*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 5508*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 5509*c5aa59e8SDavid Daney uint64_t agx:5; 5510*c5aa59e8SDavid Daney #else 5511*c5aa59e8SDavid Daney uint64_t agx:5; 5512*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 5513*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 5514*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 5515*c5aa59e8SDavid Daney uint64_t agl:1; 5516*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 5517*c5aa59e8SDavid Daney uint64_t mii:1; 5518*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 5519*c5aa59e8SDavid Daney uint64_t ilk:1; 5520*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 5521*c5aa59e8SDavid Daney #endif 5522*c5aa59e8SDavid Daney } cn68xxp1; 5523*c5aa59e8SDavid Daney }; 5524*c5aa59e8SDavid Daney 5525*c5aa59e8SDavid Daney union cvmx_ciu2_raw_ppx_ip4_rml { 5526*c5aa59e8SDavid Daney uint64_t u64; 5527*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip4_rml_s { 5528*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5529*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 5530*c5aa59e8SDavid Daney uint64_t trace:4; 5531*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 5532*c5aa59e8SDavid Daney uint64_t l2c:1; 5533*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 5534*c5aa59e8SDavid Daney uint64_t dfa:1; 5535*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 5536*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 5537*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 5538*c5aa59e8SDavid Daney uint64_t dpi:1; 5539*c5aa59e8SDavid Daney uint64_t sli:1; 5540*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 5541*c5aa59e8SDavid Daney uint64_t key:1; 5542*c5aa59e8SDavid Daney uint64_t rad:1; 5543*c5aa59e8SDavid Daney uint64_t tim:1; 5544*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 5545*c5aa59e8SDavid Daney uint64_t zip:1; 5546*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 5547*c5aa59e8SDavid Daney uint64_t sso:1; 5548*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 5549*c5aa59e8SDavid Daney uint64_t pko:1; 5550*c5aa59e8SDavid Daney uint64_t pip:1; 5551*c5aa59e8SDavid Daney uint64_t ipd:1; 5552*c5aa59e8SDavid Daney uint64_t fpa:1; 5553*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 5554*c5aa59e8SDavid Daney uint64_t iob:1; 5555*c5aa59e8SDavid Daney #else 5556*c5aa59e8SDavid Daney uint64_t iob:1; 5557*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 5558*c5aa59e8SDavid Daney uint64_t fpa:1; 5559*c5aa59e8SDavid Daney uint64_t ipd:1; 5560*c5aa59e8SDavid Daney uint64_t pip:1; 5561*c5aa59e8SDavid Daney uint64_t pko:1; 5562*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 5563*c5aa59e8SDavid Daney uint64_t sso:1; 5564*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 5565*c5aa59e8SDavid Daney uint64_t zip:1; 5566*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 5567*c5aa59e8SDavid Daney uint64_t tim:1; 5568*c5aa59e8SDavid Daney uint64_t rad:1; 5569*c5aa59e8SDavid Daney uint64_t key:1; 5570*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 5571*c5aa59e8SDavid Daney uint64_t sli:1; 5572*c5aa59e8SDavid Daney uint64_t dpi:1; 5573*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 5574*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 5575*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 5576*c5aa59e8SDavid Daney uint64_t dfa:1; 5577*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 5578*c5aa59e8SDavid Daney uint64_t l2c:1; 5579*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 5580*c5aa59e8SDavid Daney uint64_t trace:4; 5581*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 5582*c5aa59e8SDavid Daney #endif 5583*c5aa59e8SDavid Daney } s; 5584*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip4_rml_s cn68xx; 5585*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip4_rml_cn68xxp1 { 5586*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5587*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 5588*c5aa59e8SDavid Daney uint64_t trace:4; 5589*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 5590*c5aa59e8SDavid Daney uint64_t l2c:1; 5591*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 5592*c5aa59e8SDavid Daney uint64_t dfa:1; 5593*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 5594*c5aa59e8SDavid Daney uint64_t dpi:1; 5595*c5aa59e8SDavid Daney uint64_t sli:1; 5596*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 5597*c5aa59e8SDavid Daney uint64_t key:1; 5598*c5aa59e8SDavid Daney uint64_t rad:1; 5599*c5aa59e8SDavid Daney uint64_t tim:1; 5600*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 5601*c5aa59e8SDavid Daney uint64_t zip:1; 5602*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 5603*c5aa59e8SDavid Daney uint64_t sso:1; 5604*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 5605*c5aa59e8SDavid Daney uint64_t pko:1; 5606*c5aa59e8SDavid Daney uint64_t pip:1; 5607*c5aa59e8SDavid Daney uint64_t ipd:1; 5608*c5aa59e8SDavid Daney uint64_t fpa:1; 5609*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 5610*c5aa59e8SDavid Daney uint64_t iob:1; 5611*c5aa59e8SDavid Daney #else 5612*c5aa59e8SDavid Daney uint64_t iob:1; 5613*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 5614*c5aa59e8SDavid Daney uint64_t fpa:1; 5615*c5aa59e8SDavid Daney uint64_t ipd:1; 5616*c5aa59e8SDavid Daney uint64_t pip:1; 5617*c5aa59e8SDavid Daney uint64_t pko:1; 5618*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 5619*c5aa59e8SDavid Daney uint64_t sso:1; 5620*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 5621*c5aa59e8SDavid Daney uint64_t zip:1; 5622*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 5623*c5aa59e8SDavid Daney uint64_t tim:1; 5624*c5aa59e8SDavid Daney uint64_t rad:1; 5625*c5aa59e8SDavid Daney uint64_t key:1; 5626*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 5627*c5aa59e8SDavid Daney uint64_t sli:1; 5628*c5aa59e8SDavid Daney uint64_t dpi:1; 5629*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 5630*c5aa59e8SDavid Daney uint64_t dfa:1; 5631*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 5632*c5aa59e8SDavid Daney uint64_t l2c:1; 5633*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 5634*c5aa59e8SDavid Daney uint64_t trace:4; 5635*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 5636*c5aa59e8SDavid Daney #endif 5637*c5aa59e8SDavid Daney } cn68xxp1; 5638*c5aa59e8SDavid Daney }; 5639*c5aa59e8SDavid Daney 5640*c5aa59e8SDavid Daney union cvmx_ciu2_raw_ppx_ip4_wdog { 5641*c5aa59e8SDavid Daney uint64_t u64; 5642*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip4_wdog_s { 5643*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5644*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 5645*c5aa59e8SDavid Daney uint64_t wdog:32; 5646*c5aa59e8SDavid Daney #else 5647*c5aa59e8SDavid Daney uint64_t wdog:32; 5648*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 5649*c5aa59e8SDavid Daney #endif 5650*c5aa59e8SDavid Daney } s; 5651*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip4_wdog_s cn68xx; 5652*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip4_wdog_s cn68xxp1; 5653*c5aa59e8SDavid Daney }; 5654*c5aa59e8SDavid Daney 5655*c5aa59e8SDavid Daney union cvmx_ciu2_raw_ppx_ip4_wrkq { 5656*c5aa59e8SDavid Daney uint64_t u64; 5657*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip4_wrkq_s { 5658*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5659*c5aa59e8SDavid Daney uint64_t workq:64; 5660*c5aa59e8SDavid Daney #else 5661*c5aa59e8SDavid Daney uint64_t workq:64; 5662*c5aa59e8SDavid Daney #endif 5663*c5aa59e8SDavid Daney } s; 5664*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip4_wrkq_s cn68xx; 5665*c5aa59e8SDavid Daney struct cvmx_ciu2_raw_ppx_ip4_wrkq_s cn68xxp1; 5666*c5aa59e8SDavid Daney }; 5667*c5aa59e8SDavid Daney 5668*c5aa59e8SDavid Daney union cvmx_ciu2_src_iox_int_gpio { 5669*c5aa59e8SDavid Daney uint64_t u64; 5670*c5aa59e8SDavid Daney struct cvmx_ciu2_src_iox_int_gpio_s { 5671*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5672*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 5673*c5aa59e8SDavid Daney uint64_t gpio:16; 5674*c5aa59e8SDavid Daney #else 5675*c5aa59e8SDavid Daney uint64_t gpio:16; 5676*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 5677*c5aa59e8SDavid Daney #endif 5678*c5aa59e8SDavid Daney } s; 5679*c5aa59e8SDavid Daney struct cvmx_ciu2_src_iox_int_gpio_s cn68xx; 5680*c5aa59e8SDavid Daney struct cvmx_ciu2_src_iox_int_gpio_s cn68xxp1; 5681*c5aa59e8SDavid Daney }; 5682*c5aa59e8SDavid Daney 5683*c5aa59e8SDavid Daney union cvmx_ciu2_src_iox_int_io { 5684*c5aa59e8SDavid Daney uint64_t u64; 5685*c5aa59e8SDavid Daney struct cvmx_ciu2_src_iox_int_io_s { 5686*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5687*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 5688*c5aa59e8SDavid Daney uint64_t pem:2; 5689*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 5690*c5aa59e8SDavid Daney uint64_t pci_inta:2; 5691*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 5692*c5aa59e8SDavid Daney uint64_t msired:1; 5693*c5aa59e8SDavid Daney uint64_t pci_msi:4; 5694*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 5695*c5aa59e8SDavid Daney uint64_t pci_intr:4; 5696*c5aa59e8SDavid Daney #else 5697*c5aa59e8SDavid Daney uint64_t pci_intr:4; 5698*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 5699*c5aa59e8SDavid Daney uint64_t pci_msi:4; 5700*c5aa59e8SDavid Daney uint64_t msired:1; 5701*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 5702*c5aa59e8SDavid Daney uint64_t pci_inta:2; 5703*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 5704*c5aa59e8SDavid Daney uint64_t pem:2; 5705*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 5706*c5aa59e8SDavid Daney #endif 5707*c5aa59e8SDavid Daney } s; 5708*c5aa59e8SDavid Daney struct cvmx_ciu2_src_iox_int_io_s cn68xx; 5709*c5aa59e8SDavid Daney struct cvmx_ciu2_src_iox_int_io_s cn68xxp1; 5710*c5aa59e8SDavid Daney }; 5711*c5aa59e8SDavid Daney 5712*c5aa59e8SDavid Daney union cvmx_ciu2_src_iox_int_mbox { 5713*c5aa59e8SDavid Daney uint64_t u64; 5714*c5aa59e8SDavid Daney struct cvmx_ciu2_src_iox_int_mbox_s { 5715*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5716*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 5717*c5aa59e8SDavid Daney uint64_t mbox:4; 5718*c5aa59e8SDavid Daney #else 5719*c5aa59e8SDavid Daney uint64_t mbox:4; 5720*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 5721*c5aa59e8SDavid Daney #endif 5722*c5aa59e8SDavid Daney } s; 5723*c5aa59e8SDavid Daney struct cvmx_ciu2_src_iox_int_mbox_s cn68xx; 5724*c5aa59e8SDavid Daney struct cvmx_ciu2_src_iox_int_mbox_s cn68xxp1; 5725*c5aa59e8SDavid Daney }; 5726*c5aa59e8SDavid Daney 5727*c5aa59e8SDavid Daney union cvmx_ciu2_src_iox_int_mem { 5728*c5aa59e8SDavid Daney uint64_t u64; 5729*c5aa59e8SDavid Daney struct cvmx_ciu2_src_iox_int_mem_s { 5730*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5731*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 5732*c5aa59e8SDavid Daney uint64_t lmc:4; 5733*c5aa59e8SDavid Daney #else 5734*c5aa59e8SDavid Daney uint64_t lmc:4; 5735*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 5736*c5aa59e8SDavid Daney #endif 5737*c5aa59e8SDavid Daney } s; 5738*c5aa59e8SDavid Daney struct cvmx_ciu2_src_iox_int_mem_s cn68xx; 5739*c5aa59e8SDavid Daney struct cvmx_ciu2_src_iox_int_mem_s cn68xxp1; 5740*c5aa59e8SDavid Daney }; 5741*c5aa59e8SDavid Daney 5742*c5aa59e8SDavid Daney union cvmx_ciu2_src_iox_int_mio { 5743*c5aa59e8SDavid Daney uint64_t u64; 5744*c5aa59e8SDavid Daney struct cvmx_ciu2_src_iox_int_mio_s { 5745*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5746*c5aa59e8SDavid Daney uint64_t rst:1; 5747*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 5748*c5aa59e8SDavid Daney uint64_t ptp:1; 5749*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 5750*c5aa59e8SDavid Daney uint64_t usb_hci:1; 5751*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 5752*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 5753*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 5754*c5aa59e8SDavid Daney uint64_t uart:2; 5755*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 5756*c5aa59e8SDavid Daney uint64_t twsi:2; 5757*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 5758*c5aa59e8SDavid Daney uint64_t bootdma:1; 5759*c5aa59e8SDavid Daney uint64_t mio:1; 5760*c5aa59e8SDavid Daney uint64_t nand:1; 5761*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 5762*c5aa59e8SDavid Daney uint64_t timer:4; 5763*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 5764*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 5765*c5aa59e8SDavid Daney uint64_t ssoiq:1; 5766*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 5767*c5aa59e8SDavid Daney #else 5768*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 5769*c5aa59e8SDavid Daney uint64_t ssoiq:1; 5770*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 5771*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 5772*c5aa59e8SDavid Daney uint64_t timer:4; 5773*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 5774*c5aa59e8SDavid Daney uint64_t nand:1; 5775*c5aa59e8SDavid Daney uint64_t mio:1; 5776*c5aa59e8SDavid Daney uint64_t bootdma:1; 5777*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 5778*c5aa59e8SDavid Daney uint64_t twsi:2; 5779*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 5780*c5aa59e8SDavid Daney uint64_t uart:2; 5781*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 5782*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 5783*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 5784*c5aa59e8SDavid Daney uint64_t usb_hci:1; 5785*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 5786*c5aa59e8SDavid Daney uint64_t ptp:1; 5787*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 5788*c5aa59e8SDavid Daney uint64_t rst:1; 5789*c5aa59e8SDavid Daney #endif 5790*c5aa59e8SDavid Daney } s; 5791*c5aa59e8SDavid Daney struct cvmx_ciu2_src_iox_int_mio_s cn68xx; 5792*c5aa59e8SDavid Daney struct cvmx_ciu2_src_iox_int_mio_s cn68xxp1; 5793*c5aa59e8SDavid Daney }; 5794*c5aa59e8SDavid Daney 5795*c5aa59e8SDavid Daney union cvmx_ciu2_src_iox_int_pkt { 5796*c5aa59e8SDavid Daney uint64_t u64; 5797*c5aa59e8SDavid Daney struct cvmx_ciu2_src_iox_int_pkt_s { 5798*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5799*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 5800*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 5801*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 5802*c5aa59e8SDavid Daney uint64_t ilk:1; 5803*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 5804*c5aa59e8SDavid Daney uint64_t mii:1; 5805*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 5806*c5aa59e8SDavid Daney uint64_t agl:1; 5807*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 5808*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 5809*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 5810*c5aa59e8SDavid Daney uint64_t agx:5; 5811*c5aa59e8SDavid Daney #else 5812*c5aa59e8SDavid Daney uint64_t agx:5; 5813*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 5814*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 5815*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 5816*c5aa59e8SDavid Daney uint64_t agl:1; 5817*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 5818*c5aa59e8SDavid Daney uint64_t mii:1; 5819*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 5820*c5aa59e8SDavid Daney uint64_t ilk:1; 5821*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 5822*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 5823*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 5824*c5aa59e8SDavid Daney #endif 5825*c5aa59e8SDavid Daney } s; 5826*c5aa59e8SDavid Daney struct cvmx_ciu2_src_iox_int_pkt_s cn68xx; 5827*c5aa59e8SDavid Daney struct cvmx_ciu2_src_iox_int_pkt_cn68xxp1 { 5828*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5829*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 5830*c5aa59e8SDavid Daney uint64_t ilk:1; 5831*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 5832*c5aa59e8SDavid Daney uint64_t mii:1; 5833*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 5834*c5aa59e8SDavid Daney uint64_t agl:1; 5835*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 5836*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 5837*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 5838*c5aa59e8SDavid Daney uint64_t agx:5; 5839*c5aa59e8SDavid Daney #else 5840*c5aa59e8SDavid Daney uint64_t agx:5; 5841*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 5842*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 5843*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 5844*c5aa59e8SDavid Daney uint64_t agl:1; 5845*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 5846*c5aa59e8SDavid Daney uint64_t mii:1; 5847*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 5848*c5aa59e8SDavid Daney uint64_t ilk:1; 5849*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 5850*c5aa59e8SDavid Daney #endif 5851*c5aa59e8SDavid Daney } cn68xxp1; 5852*c5aa59e8SDavid Daney }; 5853*c5aa59e8SDavid Daney 5854*c5aa59e8SDavid Daney union cvmx_ciu2_src_iox_int_rml { 5855*c5aa59e8SDavid Daney uint64_t u64; 5856*c5aa59e8SDavid Daney struct cvmx_ciu2_src_iox_int_rml_s { 5857*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5858*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 5859*c5aa59e8SDavid Daney uint64_t trace:4; 5860*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 5861*c5aa59e8SDavid Daney uint64_t l2c:1; 5862*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 5863*c5aa59e8SDavid Daney uint64_t dfa:1; 5864*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 5865*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 5866*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 5867*c5aa59e8SDavid Daney uint64_t dpi:1; 5868*c5aa59e8SDavid Daney uint64_t sli:1; 5869*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 5870*c5aa59e8SDavid Daney uint64_t key:1; 5871*c5aa59e8SDavid Daney uint64_t rad:1; 5872*c5aa59e8SDavid Daney uint64_t tim:1; 5873*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 5874*c5aa59e8SDavid Daney uint64_t zip:1; 5875*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 5876*c5aa59e8SDavid Daney uint64_t sso:1; 5877*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 5878*c5aa59e8SDavid Daney uint64_t pko:1; 5879*c5aa59e8SDavid Daney uint64_t pip:1; 5880*c5aa59e8SDavid Daney uint64_t ipd:1; 5881*c5aa59e8SDavid Daney uint64_t fpa:1; 5882*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 5883*c5aa59e8SDavid Daney uint64_t iob:1; 5884*c5aa59e8SDavid Daney #else 5885*c5aa59e8SDavid Daney uint64_t iob:1; 5886*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 5887*c5aa59e8SDavid Daney uint64_t fpa:1; 5888*c5aa59e8SDavid Daney uint64_t ipd:1; 5889*c5aa59e8SDavid Daney uint64_t pip:1; 5890*c5aa59e8SDavid Daney uint64_t pko:1; 5891*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 5892*c5aa59e8SDavid Daney uint64_t sso:1; 5893*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 5894*c5aa59e8SDavid Daney uint64_t zip:1; 5895*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 5896*c5aa59e8SDavid Daney uint64_t tim:1; 5897*c5aa59e8SDavid Daney uint64_t rad:1; 5898*c5aa59e8SDavid Daney uint64_t key:1; 5899*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 5900*c5aa59e8SDavid Daney uint64_t sli:1; 5901*c5aa59e8SDavid Daney uint64_t dpi:1; 5902*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 5903*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 5904*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 5905*c5aa59e8SDavid Daney uint64_t dfa:1; 5906*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 5907*c5aa59e8SDavid Daney uint64_t l2c:1; 5908*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 5909*c5aa59e8SDavid Daney uint64_t trace:4; 5910*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 5911*c5aa59e8SDavid Daney #endif 5912*c5aa59e8SDavid Daney } s; 5913*c5aa59e8SDavid Daney struct cvmx_ciu2_src_iox_int_rml_s cn68xx; 5914*c5aa59e8SDavid Daney struct cvmx_ciu2_src_iox_int_rml_cn68xxp1 { 5915*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5916*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 5917*c5aa59e8SDavid Daney uint64_t trace:4; 5918*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 5919*c5aa59e8SDavid Daney uint64_t l2c:1; 5920*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 5921*c5aa59e8SDavid Daney uint64_t dfa:1; 5922*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 5923*c5aa59e8SDavid Daney uint64_t dpi:1; 5924*c5aa59e8SDavid Daney uint64_t sli:1; 5925*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 5926*c5aa59e8SDavid Daney uint64_t key:1; 5927*c5aa59e8SDavid Daney uint64_t rad:1; 5928*c5aa59e8SDavid Daney uint64_t tim:1; 5929*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 5930*c5aa59e8SDavid Daney uint64_t zip:1; 5931*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 5932*c5aa59e8SDavid Daney uint64_t sso:1; 5933*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 5934*c5aa59e8SDavid Daney uint64_t pko:1; 5935*c5aa59e8SDavid Daney uint64_t pip:1; 5936*c5aa59e8SDavid Daney uint64_t ipd:1; 5937*c5aa59e8SDavid Daney uint64_t fpa:1; 5938*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 5939*c5aa59e8SDavid Daney uint64_t iob:1; 5940*c5aa59e8SDavid Daney #else 5941*c5aa59e8SDavid Daney uint64_t iob:1; 5942*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 5943*c5aa59e8SDavid Daney uint64_t fpa:1; 5944*c5aa59e8SDavid Daney uint64_t ipd:1; 5945*c5aa59e8SDavid Daney uint64_t pip:1; 5946*c5aa59e8SDavid Daney uint64_t pko:1; 5947*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 5948*c5aa59e8SDavid Daney uint64_t sso:1; 5949*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 5950*c5aa59e8SDavid Daney uint64_t zip:1; 5951*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 5952*c5aa59e8SDavid Daney uint64_t tim:1; 5953*c5aa59e8SDavid Daney uint64_t rad:1; 5954*c5aa59e8SDavid Daney uint64_t key:1; 5955*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 5956*c5aa59e8SDavid Daney uint64_t sli:1; 5957*c5aa59e8SDavid Daney uint64_t dpi:1; 5958*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 5959*c5aa59e8SDavid Daney uint64_t dfa:1; 5960*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 5961*c5aa59e8SDavid Daney uint64_t l2c:1; 5962*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 5963*c5aa59e8SDavid Daney uint64_t trace:4; 5964*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 5965*c5aa59e8SDavid Daney #endif 5966*c5aa59e8SDavid Daney } cn68xxp1; 5967*c5aa59e8SDavid Daney }; 5968*c5aa59e8SDavid Daney 5969*c5aa59e8SDavid Daney union cvmx_ciu2_src_iox_int_wdog { 5970*c5aa59e8SDavid Daney uint64_t u64; 5971*c5aa59e8SDavid Daney struct cvmx_ciu2_src_iox_int_wdog_s { 5972*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5973*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 5974*c5aa59e8SDavid Daney uint64_t wdog:32; 5975*c5aa59e8SDavid Daney #else 5976*c5aa59e8SDavid Daney uint64_t wdog:32; 5977*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 5978*c5aa59e8SDavid Daney #endif 5979*c5aa59e8SDavid Daney } s; 5980*c5aa59e8SDavid Daney struct cvmx_ciu2_src_iox_int_wdog_s cn68xx; 5981*c5aa59e8SDavid Daney struct cvmx_ciu2_src_iox_int_wdog_s cn68xxp1; 5982*c5aa59e8SDavid Daney }; 5983*c5aa59e8SDavid Daney 5984*c5aa59e8SDavid Daney union cvmx_ciu2_src_iox_int_wrkq { 5985*c5aa59e8SDavid Daney uint64_t u64; 5986*c5aa59e8SDavid Daney struct cvmx_ciu2_src_iox_int_wrkq_s { 5987*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 5988*c5aa59e8SDavid Daney uint64_t workq:64; 5989*c5aa59e8SDavid Daney #else 5990*c5aa59e8SDavid Daney uint64_t workq:64; 5991*c5aa59e8SDavid Daney #endif 5992*c5aa59e8SDavid Daney } s; 5993*c5aa59e8SDavid Daney struct cvmx_ciu2_src_iox_int_wrkq_s cn68xx; 5994*c5aa59e8SDavid Daney struct cvmx_ciu2_src_iox_int_wrkq_s cn68xxp1; 5995*c5aa59e8SDavid Daney }; 5996*c5aa59e8SDavid Daney 5997*c5aa59e8SDavid Daney union cvmx_ciu2_src_ppx_ip2_gpio { 5998*c5aa59e8SDavid Daney uint64_t u64; 5999*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip2_gpio_s { 6000*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6001*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 6002*c5aa59e8SDavid Daney uint64_t gpio:16; 6003*c5aa59e8SDavid Daney #else 6004*c5aa59e8SDavid Daney uint64_t gpio:16; 6005*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 6006*c5aa59e8SDavid Daney #endif 6007*c5aa59e8SDavid Daney } s; 6008*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip2_gpio_s cn68xx; 6009*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip2_gpio_s cn68xxp1; 6010*c5aa59e8SDavid Daney }; 6011*c5aa59e8SDavid Daney 6012*c5aa59e8SDavid Daney union cvmx_ciu2_src_ppx_ip2_io { 6013*c5aa59e8SDavid Daney uint64_t u64; 6014*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip2_io_s { 6015*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6016*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 6017*c5aa59e8SDavid Daney uint64_t pem:2; 6018*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 6019*c5aa59e8SDavid Daney uint64_t pci_inta:2; 6020*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 6021*c5aa59e8SDavid Daney uint64_t msired:1; 6022*c5aa59e8SDavid Daney uint64_t pci_msi:4; 6023*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 6024*c5aa59e8SDavid Daney uint64_t pci_intr:4; 6025*c5aa59e8SDavid Daney #else 6026*c5aa59e8SDavid Daney uint64_t pci_intr:4; 6027*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 6028*c5aa59e8SDavid Daney uint64_t pci_msi:4; 6029*c5aa59e8SDavid Daney uint64_t msired:1; 6030*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 6031*c5aa59e8SDavid Daney uint64_t pci_inta:2; 6032*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 6033*c5aa59e8SDavid Daney uint64_t pem:2; 6034*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 6035*c5aa59e8SDavid Daney #endif 6036*c5aa59e8SDavid Daney } s; 6037*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip2_io_s cn68xx; 6038*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip2_io_s cn68xxp1; 6039*c5aa59e8SDavid Daney }; 6040*c5aa59e8SDavid Daney 6041*c5aa59e8SDavid Daney union cvmx_ciu2_src_ppx_ip2_mbox { 6042*c5aa59e8SDavid Daney uint64_t u64; 6043*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip2_mbox_s { 6044*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6045*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 6046*c5aa59e8SDavid Daney uint64_t mbox:4; 6047*c5aa59e8SDavid Daney #else 6048*c5aa59e8SDavid Daney uint64_t mbox:4; 6049*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 6050*c5aa59e8SDavid Daney #endif 6051*c5aa59e8SDavid Daney } s; 6052*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip2_mbox_s cn68xx; 6053*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip2_mbox_s cn68xxp1; 6054*c5aa59e8SDavid Daney }; 6055*c5aa59e8SDavid Daney 6056*c5aa59e8SDavid Daney union cvmx_ciu2_src_ppx_ip2_mem { 6057*c5aa59e8SDavid Daney uint64_t u64; 6058*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip2_mem_s { 6059*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6060*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 6061*c5aa59e8SDavid Daney uint64_t lmc:4; 6062*c5aa59e8SDavid Daney #else 6063*c5aa59e8SDavid Daney uint64_t lmc:4; 6064*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 6065*c5aa59e8SDavid Daney #endif 6066*c5aa59e8SDavid Daney } s; 6067*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip2_mem_s cn68xx; 6068*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip2_mem_s cn68xxp1; 6069*c5aa59e8SDavid Daney }; 6070*c5aa59e8SDavid Daney 6071*c5aa59e8SDavid Daney union cvmx_ciu2_src_ppx_ip2_mio { 6072*c5aa59e8SDavid Daney uint64_t u64; 6073*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip2_mio_s { 6074*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6075*c5aa59e8SDavid Daney uint64_t rst:1; 6076*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 6077*c5aa59e8SDavid Daney uint64_t ptp:1; 6078*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 6079*c5aa59e8SDavid Daney uint64_t usb_hci:1; 6080*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 6081*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 6082*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 6083*c5aa59e8SDavid Daney uint64_t uart:2; 6084*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 6085*c5aa59e8SDavid Daney uint64_t twsi:2; 6086*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 6087*c5aa59e8SDavid Daney uint64_t bootdma:1; 6088*c5aa59e8SDavid Daney uint64_t mio:1; 6089*c5aa59e8SDavid Daney uint64_t nand:1; 6090*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 6091*c5aa59e8SDavid Daney uint64_t timer:4; 6092*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 6093*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 6094*c5aa59e8SDavid Daney uint64_t ssoiq:1; 6095*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 6096*c5aa59e8SDavid Daney #else 6097*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 6098*c5aa59e8SDavid Daney uint64_t ssoiq:1; 6099*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 6100*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 6101*c5aa59e8SDavid Daney uint64_t timer:4; 6102*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 6103*c5aa59e8SDavid Daney uint64_t nand:1; 6104*c5aa59e8SDavid Daney uint64_t mio:1; 6105*c5aa59e8SDavid Daney uint64_t bootdma:1; 6106*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 6107*c5aa59e8SDavid Daney uint64_t twsi:2; 6108*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 6109*c5aa59e8SDavid Daney uint64_t uart:2; 6110*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 6111*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 6112*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 6113*c5aa59e8SDavid Daney uint64_t usb_hci:1; 6114*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 6115*c5aa59e8SDavid Daney uint64_t ptp:1; 6116*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 6117*c5aa59e8SDavid Daney uint64_t rst:1; 6118*c5aa59e8SDavid Daney #endif 6119*c5aa59e8SDavid Daney } s; 6120*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip2_mio_s cn68xx; 6121*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip2_mio_s cn68xxp1; 6122*c5aa59e8SDavid Daney }; 6123*c5aa59e8SDavid Daney 6124*c5aa59e8SDavid Daney union cvmx_ciu2_src_ppx_ip2_pkt { 6125*c5aa59e8SDavid Daney uint64_t u64; 6126*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip2_pkt_s { 6127*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6128*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 6129*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 6130*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 6131*c5aa59e8SDavid Daney uint64_t ilk:1; 6132*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 6133*c5aa59e8SDavid Daney uint64_t mii:1; 6134*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 6135*c5aa59e8SDavid Daney uint64_t agl:1; 6136*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 6137*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 6138*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 6139*c5aa59e8SDavid Daney uint64_t agx:5; 6140*c5aa59e8SDavid Daney #else 6141*c5aa59e8SDavid Daney uint64_t agx:5; 6142*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 6143*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 6144*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 6145*c5aa59e8SDavid Daney uint64_t agl:1; 6146*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 6147*c5aa59e8SDavid Daney uint64_t mii:1; 6148*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 6149*c5aa59e8SDavid Daney uint64_t ilk:1; 6150*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 6151*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 6152*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 6153*c5aa59e8SDavid Daney #endif 6154*c5aa59e8SDavid Daney } s; 6155*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip2_pkt_s cn68xx; 6156*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip2_pkt_cn68xxp1 { 6157*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6158*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 6159*c5aa59e8SDavid Daney uint64_t ilk:1; 6160*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 6161*c5aa59e8SDavid Daney uint64_t mii:1; 6162*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 6163*c5aa59e8SDavid Daney uint64_t agl:1; 6164*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 6165*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 6166*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 6167*c5aa59e8SDavid Daney uint64_t agx:5; 6168*c5aa59e8SDavid Daney #else 6169*c5aa59e8SDavid Daney uint64_t agx:5; 6170*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 6171*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 6172*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 6173*c5aa59e8SDavid Daney uint64_t agl:1; 6174*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 6175*c5aa59e8SDavid Daney uint64_t mii:1; 6176*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 6177*c5aa59e8SDavid Daney uint64_t ilk:1; 6178*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 6179*c5aa59e8SDavid Daney #endif 6180*c5aa59e8SDavid Daney } cn68xxp1; 6181*c5aa59e8SDavid Daney }; 6182*c5aa59e8SDavid Daney 6183*c5aa59e8SDavid Daney union cvmx_ciu2_src_ppx_ip2_rml { 6184*c5aa59e8SDavid Daney uint64_t u64; 6185*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip2_rml_s { 6186*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6187*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 6188*c5aa59e8SDavid Daney uint64_t trace:4; 6189*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 6190*c5aa59e8SDavid Daney uint64_t l2c:1; 6191*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 6192*c5aa59e8SDavid Daney uint64_t dfa:1; 6193*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 6194*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 6195*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 6196*c5aa59e8SDavid Daney uint64_t dpi:1; 6197*c5aa59e8SDavid Daney uint64_t sli:1; 6198*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 6199*c5aa59e8SDavid Daney uint64_t key:1; 6200*c5aa59e8SDavid Daney uint64_t rad:1; 6201*c5aa59e8SDavid Daney uint64_t tim:1; 6202*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 6203*c5aa59e8SDavid Daney uint64_t zip:1; 6204*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 6205*c5aa59e8SDavid Daney uint64_t sso:1; 6206*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 6207*c5aa59e8SDavid Daney uint64_t pko:1; 6208*c5aa59e8SDavid Daney uint64_t pip:1; 6209*c5aa59e8SDavid Daney uint64_t ipd:1; 6210*c5aa59e8SDavid Daney uint64_t fpa:1; 6211*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 6212*c5aa59e8SDavid Daney uint64_t iob:1; 6213*c5aa59e8SDavid Daney #else 6214*c5aa59e8SDavid Daney uint64_t iob:1; 6215*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 6216*c5aa59e8SDavid Daney uint64_t fpa:1; 6217*c5aa59e8SDavid Daney uint64_t ipd:1; 6218*c5aa59e8SDavid Daney uint64_t pip:1; 6219*c5aa59e8SDavid Daney uint64_t pko:1; 6220*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 6221*c5aa59e8SDavid Daney uint64_t sso:1; 6222*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 6223*c5aa59e8SDavid Daney uint64_t zip:1; 6224*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 6225*c5aa59e8SDavid Daney uint64_t tim:1; 6226*c5aa59e8SDavid Daney uint64_t rad:1; 6227*c5aa59e8SDavid Daney uint64_t key:1; 6228*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 6229*c5aa59e8SDavid Daney uint64_t sli:1; 6230*c5aa59e8SDavid Daney uint64_t dpi:1; 6231*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 6232*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 6233*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 6234*c5aa59e8SDavid Daney uint64_t dfa:1; 6235*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 6236*c5aa59e8SDavid Daney uint64_t l2c:1; 6237*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 6238*c5aa59e8SDavid Daney uint64_t trace:4; 6239*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 6240*c5aa59e8SDavid Daney #endif 6241*c5aa59e8SDavid Daney } s; 6242*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip2_rml_s cn68xx; 6243*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip2_rml_cn68xxp1 { 6244*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6245*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 6246*c5aa59e8SDavid Daney uint64_t trace:4; 6247*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 6248*c5aa59e8SDavid Daney uint64_t l2c:1; 6249*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 6250*c5aa59e8SDavid Daney uint64_t dfa:1; 6251*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 6252*c5aa59e8SDavid Daney uint64_t dpi:1; 6253*c5aa59e8SDavid Daney uint64_t sli:1; 6254*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 6255*c5aa59e8SDavid Daney uint64_t key:1; 6256*c5aa59e8SDavid Daney uint64_t rad:1; 6257*c5aa59e8SDavid Daney uint64_t tim:1; 6258*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 6259*c5aa59e8SDavid Daney uint64_t zip:1; 6260*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 6261*c5aa59e8SDavid Daney uint64_t sso:1; 6262*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 6263*c5aa59e8SDavid Daney uint64_t pko:1; 6264*c5aa59e8SDavid Daney uint64_t pip:1; 6265*c5aa59e8SDavid Daney uint64_t ipd:1; 6266*c5aa59e8SDavid Daney uint64_t fpa:1; 6267*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 6268*c5aa59e8SDavid Daney uint64_t iob:1; 6269*c5aa59e8SDavid Daney #else 6270*c5aa59e8SDavid Daney uint64_t iob:1; 6271*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 6272*c5aa59e8SDavid Daney uint64_t fpa:1; 6273*c5aa59e8SDavid Daney uint64_t ipd:1; 6274*c5aa59e8SDavid Daney uint64_t pip:1; 6275*c5aa59e8SDavid Daney uint64_t pko:1; 6276*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 6277*c5aa59e8SDavid Daney uint64_t sso:1; 6278*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 6279*c5aa59e8SDavid Daney uint64_t zip:1; 6280*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 6281*c5aa59e8SDavid Daney uint64_t tim:1; 6282*c5aa59e8SDavid Daney uint64_t rad:1; 6283*c5aa59e8SDavid Daney uint64_t key:1; 6284*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 6285*c5aa59e8SDavid Daney uint64_t sli:1; 6286*c5aa59e8SDavid Daney uint64_t dpi:1; 6287*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 6288*c5aa59e8SDavid Daney uint64_t dfa:1; 6289*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 6290*c5aa59e8SDavid Daney uint64_t l2c:1; 6291*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 6292*c5aa59e8SDavid Daney uint64_t trace:4; 6293*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 6294*c5aa59e8SDavid Daney #endif 6295*c5aa59e8SDavid Daney } cn68xxp1; 6296*c5aa59e8SDavid Daney }; 6297*c5aa59e8SDavid Daney 6298*c5aa59e8SDavid Daney union cvmx_ciu2_src_ppx_ip2_wdog { 6299*c5aa59e8SDavid Daney uint64_t u64; 6300*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip2_wdog_s { 6301*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6302*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 6303*c5aa59e8SDavid Daney uint64_t wdog:32; 6304*c5aa59e8SDavid Daney #else 6305*c5aa59e8SDavid Daney uint64_t wdog:32; 6306*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 6307*c5aa59e8SDavid Daney #endif 6308*c5aa59e8SDavid Daney } s; 6309*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip2_wdog_s cn68xx; 6310*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip2_wdog_s cn68xxp1; 6311*c5aa59e8SDavid Daney }; 6312*c5aa59e8SDavid Daney 6313*c5aa59e8SDavid Daney union cvmx_ciu2_src_ppx_ip2_wrkq { 6314*c5aa59e8SDavid Daney uint64_t u64; 6315*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip2_wrkq_s { 6316*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6317*c5aa59e8SDavid Daney uint64_t workq:64; 6318*c5aa59e8SDavid Daney #else 6319*c5aa59e8SDavid Daney uint64_t workq:64; 6320*c5aa59e8SDavid Daney #endif 6321*c5aa59e8SDavid Daney } s; 6322*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip2_wrkq_s cn68xx; 6323*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip2_wrkq_s cn68xxp1; 6324*c5aa59e8SDavid Daney }; 6325*c5aa59e8SDavid Daney 6326*c5aa59e8SDavid Daney union cvmx_ciu2_src_ppx_ip3_gpio { 6327*c5aa59e8SDavid Daney uint64_t u64; 6328*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip3_gpio_s { 6329*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6330*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 6331*c5aa59e8SDavid Daney uint64_t gpio:16; 6332*c5aa59e8SDavid Daney #else 6333*c5aa59e8SDavid Daney uint64_t gpio:16; 6334*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 6335*c5aa59e8SDavid Daney #endif 6336*c5aa59e8SDavid Daney } s; 6337*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip3_gpio_s cn68xx; 6338*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip3_gpio_s cn68xxp1; 6339*c5aa59e8SDavid Daney }; 6340*c5aa59e8SDavid Daney 6341*c5aa59e8SDavid Daney union cvmx_ciu2_src_ppx_ip3_io { 6342*c5aa59e8SDavid Daney uint64_t u64; 6343*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip3_io_s { 6344*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6345*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 6346*c5aa59e8SDavid Daney uint64_t pem:2; 6347*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 6348*c5aa59e8SDavid Daney uint64_t pci_inta:2; 6349*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 6350*c5aa59e8SDavid Daney uint64_t msired:1; 6351*c5aa59e8SDavid Daney uint64_t pci_msi:4; 6352*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 6353*c5aa59e8SDavid Daney uint64_t pci_intr:4; 6354*c5aa59e8SDavid Daney #else 6355*c5aa59e8SDavid Daney uint64_t pci_intr:4; 6356*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 6357*c5aa59e8SDavid Daney uint64_t pci_msi:4; 6358*c5aa59e8SDavid Daney uint64_t msired:1; 6359*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 6360*c5aa59e8SDavid Daney uint64_t pci_inta:2; 6361*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 6362*c5aa59e8SDavid Daney uint64_t pem:2; 6363*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 6364*c5aa59e8SDavid Daney #endif 6365*c5aa59e8SDavid Daney } s; 6366*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip3_io_s cn68xx; 6367*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip3_io_s cn68xxp1; 6368*c5aa59e8SDavid Daney }; 6369*c5aa59e8SDavid Daney 6370*c5aa59e8SDavid Daney union cvmx_ciu2_src_ppx_ip3_mbox { 6371*c5aa59e8SDavid Daney uint64_t u64; 6372*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip3_mbox_s { 6373*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6374*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 6375*c5aa59e8SDavid Daney uint64_t mbox:4; 6376*c5aa59e8SDavid Daney #else 6377*c5aa59e8SDavid Daney uint64_t mbox:4; 6378*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 6379*c5aa59e8SDavid Daney #endif 6380*c5aa59e8SDavid Daney } s; 6381*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip3_mbox_s cn68xx; 6382*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip3_mbox_s cn68xxp1; 6383*c5aa59e8SDavid Daney }; 6384*c5aa59e8SDavid Daney 6385*c5aa59e8SDavid Daney union cvmx_ciu2_src_ppx_ip3_mem { 6386*c5aa59e8SDavid Daney uint64_t u64; 6387*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip3_mem_s { 6388*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6389*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 6390*c5aa59e8SDavid Daney uint64_t lmc:4; 6391*c5aa59e8SDavid Daney #else 6392*c5aa59e8SDavid Daney uint64_t lmc:4; 6393*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 6394*c5aa59e8SDavid Daney #endif 6395*c5aa59e8SDavid Daney } s; 6396*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip3_mem_s cn68xx; 6397*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip3_mem_s cn68xxp1; 6398*c5aa59e8SDavid Daney }; 6399*c5aa59e8SDavid Daney 6400*c5aa59e8SDavid Daney union cvmx_ciu2_src_ppx_ip3_mio { 6401*c5aa59e8SDavid Daney uint64_t u64; 6402*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip3_mio_s { 6403*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6404*c5aa59e8SDavid Daney uint64_t rst:1; 6405*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 6406*c5aa59e8SDavid Daney uint64_t ptp:1; 6407*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 6408*c5aa59e8SDavid Daney uint64_t usb_hci:1; 6409*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 6410*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 6411*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 6412*c5aa59e8SDavid Daney uint64_t uart:2; 6413*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 6414*c5aa59e8SDavid Daney uint64_t twsi:2; 6415*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 6416*c5aa59e8SDavid Daney uint64_t bootdma:1; 6417*c5aa59e8SDavid Daney uint64_t mio:1; 6418*c5aa59e8SDavid Daney uint64_t nand:1; 6419*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 6420*c5aa59e8SDavid Daney uint64_t timer:4; 6421*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 6422*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 6423*c5aa59e8SDavid Daney uint64_t ssoiq:1; 6424*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 6425*c5aa59e8SDavid Daney #else 6426*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 6427*c5aa59e8SDavid Daney uint64_t ssoiq:1; 6428*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 6429*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 6430*c5aa59e8SDavid Daney uint64_t timer:4; 6431*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 6432*c5aa59e8SDavid Daney uint64_t nand:1; 6433*c5aa59e8SDavid Daney uint64_t mio:1; 6434*c5aa59e8SDavid Daney uint64_t bootdma:1; 6435*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 6436*c5aa59e8SDavid Daney uint64_t twsi:2; 6437*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 6438*c5aa59e8SDavid Daney uint64_t uart:2; 6439*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 6440*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 6441*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 6442*c5aa59e8SDavid Daney uint64_t usb_hci:1; 6443*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 6444*c5aa59e8SDavid Daney uint64_t ptp:1; 6445*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 6446*c5aa59e8SDavid Daney uint64_t rst:1; 6447*c5aa59e8SDavid Daney #endif 6448*c5aa59e8SDavid Daney } s; 6449*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip3_mio_s cn68xx; 6450*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip3_mio_s cn68xxp1; 6451*c5aa59e8SDavid Daney }; 6452*c5aa59e8SDavid Daney 6453*c5aa59e8SDavid Daney union cvmx_ciu2_src_ppx_ip3_pkt { 6454*c5aa59e8SDavid Daney uint64_t u64; 6455*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip3_pkt_s { 6456*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6457*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 6458*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 6459*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 6460*c5aa59e8SDavid Daney uint64_t ilk:1; 6461*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 6462*c5aa59e8SDavid Daney uint64_t mii:1; 6463*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 6464*c5aa59e8SDavid Daney uint64_t agl:1; 6465*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 6466*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 6467*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 6468*c5aa59e8SDavid Daney uint64_t agx:5; 6469*c5aa59e8SDavid Daney #else 6470*c5aa59e8SDavid Daney uint64_t agx:5; 6471*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 6472*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 6473*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 6474*c5aa59e8SDavid Daney uint64_t agl:1; 6475*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 6476*c5aa59e8SDavid Daney uint64_t mii:1; 6477*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 6478*c5aa59e8SDavid Daney uint64_t ilk:1; 6479*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 6480*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 6481*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 6482*c5aa59e8SDavid Daney #endif 6483*c5aa59e8SDavid Daney } s; 6484*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip3_pkt_s cn68xx; 6485*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip3_pkt_cn68xxp1 { 6486*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6487*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 6488*c5aa59e8SDavid Daney uint64_t ilk:1; 6489*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 6490*c5aa59e8SDavid Daney uint64_t mii:1; 6491*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 6492*c5aa59e8SDavid Daney uint64_t agl:1; 6493*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 6494*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 6495*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 6496*c5aa59e8SDavid Daney uint64_t agx:5; 6497*c5aa59e8SDavid Daney #else 6498*c5aa59e8SDavid Daney uint64_t agx:5; 6499*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 6500*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 6501*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 6502*c5aa59e8SDavid Daney uint64_t agl:1; 6503*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 6504*c5aa59e8SDavid Daney uint64_t mii:1; 6505*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 6506*c5aa59e8SDavid Daney uint64_t ilk:1; 6507*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 6508*c5aa59e8SDavid Daney #endif 6509*c5aa59e8SDavid Daney } cn68xxp1; 6510*c5aa59e8SDavid Daney }; 6511*c5aa59e8SDavid Daney 6512*c5aa59e8SDavid Daney union cvmx_ciu2_src_ppx_ip3_rml { 6513*c5aa59e8SDavid Daney uint64_t u64; 6514*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip3_rml_s { 6515*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6516*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 6517*c5aa59e8SDavid Daney uint64_t trace:4; 6518*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 6519*c5aa59e8SDavid Daney uint64_t l2c:1; 6520*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 6521*c5aa59e8SDavid Daney uint64_t dfa:1; 6522*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 6523*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 6524*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 6525*c5aa59e8SDavid Daney uint64_t dpi:1; 6526*c5aa59e8SDavid Daney uint64_t sli:1; 6527*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 6528*c5aa59e8SDavid Daney uint64_t key:1; 6529*c5aa59e8SDavid Daney uint64_t rad:1; 6530*c5aa59e8SDavid Daney uint64_t tim:1; 6531*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 6532*c5aa59e8SDavid Daney uint64_t zip:1; 6533*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 6534*c5aa59e8SDavid Daney uint64_t sso:1; 6535*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 6536*c5aa59e8SDavid Daney uint64_t pko:1; 6537*c5aa59e8SDavid Daney uint64_t pip:1; 6538*c5aa59e8SDavid Daney uint64_t ipd:1; 6539*c5aa59e8SDavid Daney uint64_t fpa:1; 6540*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 6541*c5aa59e8SDavid Daney uint64_t iob:1; 6542*c5aa59e8SDavid Daney #else 6543*c5aa59e8SDavid Daney uint64_t iob:1; 6544*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 6545*c5aa59e8SDavid Daney uint64_t fpa:1; 6546*c5aa59e8SDavid Daney uint64_t ipd:1; 6547*c5aa59e8SDavid Daney uint64_t pip:1; 6548*c5aa59e8SDavid Daney uint64_t pko:1; 6549*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 6550*c5aa59e8SDavid Daney uint64_t sso:1; 6551*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 6552*c5aa59e8SDavid Daney uint64_t zip:1; 6553*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 6554*c5aa59e8SDavid Daney uint64_t tim:1; 6555*c5aa59e8SDavid Daney uint64_t rad:1; 6556*c5aa59e8SDavid Daney uint64_t key:1; 6557*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 6558*c5aa59e8SDavid Daney uint64_t sli:1; 6559*c5aa59e8SDavid Daney uint64_t dpi:1; 6560*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 6561*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 6562*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 6563*c5aa59e8SDavid Daney uint64_t dfa:1; 6564*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 6565*c5aa59e8SDavid Daney uint64_t l2c:1; 6566*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 6567*c5aa59e8SDavid Daney uint64_t trace:4; 6568*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 6569*c5aa59e8SDavid Daney #endif 6570*c5aa59e8SDavid Daney } s; 6571*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip3_rml_s cn68xx; 6572*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip3_rml_cn68xxp1 { 6573*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6574*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 6575*c5aa59e8SDavid Daney uint64_t trace:4; 6576*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 6577*c5aa59e8SDavid Daney uint64_t l2c:1; 6578*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 6579*c5aa59e8SDavid Daney uint64_t dfa:1; 6580*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 6581*c5aa59e8SDavid Daney uint64_t dpi:1; 6582*c5aa59e8SDavid Daney uint64_t sli:1; 6583*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 6584*c5aa59e8SDavid Daney uint64_t key:1; 6585*c5aa59e8SDavid Daney uint64_t rad:1; 6586*c5aa59e8SDavid Daney uint64_t tim:1; 6587*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 6588*c5aa59e8SDavid Daney uint64_t zip:1; 6589*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 6590*c5aa59e8SDavid Daney uint64_t sso:1; 6591*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 6592*c5aa59e8SDavid Daney uint64_t pko:1; 6593*c5aa59e8SDavid Daney uint64_t pip:1; 6594*c5aa59e8SDavid Daney uint64_t ipd:1; 6595*c5aa59e8SDavid Daney uint64_t fpa:1; 6596*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 6597*c5aa59e8SDavid Daney uint64_t iob:1; 6598*c5aa59e8SDavid Daney #else 6599*c5aa59e8SDavid Daney uint64_t iob:1; 6600*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 6601*c5aa59e8SDavid Daney uint64_t fpa:1; 6602*c5aa59e8SDavid Daney uint64_t ipd:1; 6603*c5aa59e8SDavid Daney uint64_t pip:1; 6604*c5aa59e8SDavid Daney uint64_t pko:1; 6605*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 6606*c5aa59e8SDavid Daney uint64_t sso:1; 6607*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 6608*c5aa59e8SDavid Daney uint64_t zip:1; 6609*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 6610*c5aa59e8SDavid Daney uint64_t tim:1; 6611*c5aa59e8SDavid Daney uint64_t rad:1; 6612*c5aa59e8SDavid Daney uint64_t key:1; 6613*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 6614*c5aa59e8SDavid Daney uint64_t sli:1; 6615*c5aa59e8SDavid Daney uint64_t dpi:1; 6616*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 6617*c5aa59e8SDavid Daney uint64_t dfa:1; 6618*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 6619*c5aa59e8SDavid Daney uint64_t l2c:1; 6620*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 6621*c5aa59e8SDavid Daney uint64_t trace:4; 6622*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 6623*c5aa59e8SDavid Daney #endif 6624*c5aa59e8SDavid Daney } cn68xxp1; 6625*c5aa59e8SDavid Daney }; 6626*c5aa59e8SDavid Daney 6627*c5aa59e8SDavid Daney union cvmx_ciu2_src_ppx_ip3_wdog { 6628*c5aa59e8SDavid Daney uint64_t u64; 6629*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip3_wdog_s { 6630*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6631*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 6632*c5aa59e8SDavid Daney uint64_t wdog:32; 6633*c5aa59e8SDavid Daney #else 6634*c5aa59e8SDavid Daney uint64_t wdog:32; 6635*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 6636*c5aa59e8SDavid Daney #endif 6637*c5aa59e8SDavid Daney } s; 6638*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip3_wdog_s cn68xx; 6639*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip3_wdog_s cn68xxp1; 6640*c5aa59e8SDavid Daney }; 6641*c5aa59e8SDavid Daney 6642*c5aa59e8SDavid Daney union cvmx_ciu2_src_ppx_ip3_wrkq { 6643*c5aa59e8SDavid Daney uint64_t u64; 6644*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip3_wrkq_s { 6645*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6646*c5aa59e8SDavid Daney uint64_t workq:64; 6647*c5aa59e8SDavid Daney #else 6648*c5aa59e8SDavid Daney uint64_t workq:64; 6649*c5aa59e8SDavid Daney #endif 6650*c5aa59e8SDavid Daney } s; 6651*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip3_wrkq_s cn68xx; 6652*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip3_wrkq_s cn68xxp1; 6653*c5aa59e8SDavid Daney }; 6654*c5aa59e8SDavid Daney 6655*c5aa59e8SDavid Daney union cvmx_ciu2_src_ppx_ip4_gpio { 6656*c5aa59e8SDavid Daney uint64_t u64; 6657*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip4_gpio_s { 6658*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6659*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 6660*c5aa59e8SDavid Daney uint64_t gpio:16; 6661*c5aa59e8SDavid Daney #else 6662*c5aa59e8SDavid Daney uint64_t gpio:16; 6663*c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 6664*c5aa59e8SDavid Daney #endif 6665*c5aa59e8SDavid Daney } s; 6666*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip4_gpio_s cn68xx; 6667*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip4_gpio_s cn68xxp1; 6668*c5aa59e8SDavid Daney }; 6669*c5aa59e8SDavid Daney 6670*c5aa59e8SDavid Daney union cvmx_ciu2_src_ppx_ip4_io { 6671*c5aa59e8SDavid Daney uint64_t u64; 6672*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip4_io_s { 6673*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6674*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 6675*c5aa59e8SDavid Daney uint64_t pem:2; 6676*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 6677*c5aa59e8SDavid Daney uint64_t pci_inta:2; 6678*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 6679*c5aa59e8SDavid Daney uint64_t msired:1; 6680*c5aa59e8SDavid Daney uint64_t pci_msi:4; 6681*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 6682*c5aa59e8SDavid Daney uint64_t pci_intr:4; 6683*c5aa59e8SDavid Daney #else 6684*c5aa59e8SDavid Daney uint64_t pci_intr:4; 6685*c5aa59e8SDavid Daney uint64_t reserved_4_7:4; 6686*c5aa59e8SDavid Daney uint64_t pci_msi:4; 6687*c5aa59e8SDavid Daney uint64_t msired:1; 6688*c5aa59e8SDavid Daney uint64_t reserved_13_15:3; 6689*c5aa59e8SDavid Daney uint64_t pci_inta:2; 6690*c5aa59e8SDavid Daney uint64_t reserved_18_31:14; 6691*c5aa59e8SDavid Daney uint64_t pem:2; 6692*c5aa59e8SDavid Daney uint64_t reserved_34_63:30; 6693*c5aa59e8SDavid Daney #endif 6694*c5aa59e8SDavid Daney } s; 6695*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip4_io_s cn68xx; 6696*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip4_io_s cn68xxp1; 6697*c5aa59e8SDavid Daney }; 6698*c5aa59e8SDavid Daney 6699*c5aa59e8SDavid Daney union cvmx_ciu2_src_ppx_ip4_mbox { 6700*c5aa59e8SDavid Daney uint64_t u64; 6701*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip4_mbox_s { 6702*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6703*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 6704*c5aa59e8SDavid Daney uint64_t mbox:4; 6705*c5aa59e8SDavid Daney #else 6706*c5aa59e8SDavid Daney uint64_t mbox:4; 6707*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 6708*c5aa59e8SDavid Daney #endif 6709*c5aa59e8SDavid Daney } s; 6710*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip4_mbox_s cn68xx; 6711*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip4_mbox_s cn68xxp1; 6712*c5aa59e8SDavid Daney }; 6713*c5aa59e8SDavid Daney 6714*c5aa59e8SDavid Daney union cvmx_ciu2_src_ppx_ip4_mem { 6715*c5aa59e8SDavid Daney uint64_t u64; 6716*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip4_mem_s { 6717*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6718*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 6719*c5aa59e8SDavid Daney uint64_t lmc:4; 6720*c5aa59e8SDavid Daney #else 6721*c5aa59e8SDavid Daney uint64_t lmc:4; 6722*c5aa59e8SDavid Daney uint64_t reserved_4_63:60; 6723*c5aa59e8SDavid Daney #endif 6724*c5aa59e8SDavid Daney } s; 6725*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip4_mem_s cn68xx; 6726*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip4_mem_s cn68xxp1; 6727*c5aa59e8SDavid Daney }; 6728*c5aa59e8SDavid Daney 6729*c5aa59e8SDavid Daney union cvmx_ciu2_src_ppx_ip4_mio { 6730*c5aa59e8SDavid Daney uint64_t u64; 6731*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip4_mio_s { 6732*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6733*c5aa59e8SDavid Daney uint64_t rst:1; 6734*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 6735*c5aa59e8SDavid Daney uint64_t ptp:1; 6736*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 6737*c5aa59e8SDavid Daney uint64_t usb_hci:1; 6738*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 6739*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 6740*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 6741*c5aa59e8SDavid Daney uint64_t uart:2; 6742*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 6743*c5aa59e8SDavid Daney uint64_t twsi:2; 6744*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 6745*c5aa59e8SDavid Daney uint64_t bootdma:1; 6746*c5aa59e8SDavid Daney uint64_t mio:1; 6747*c5aa59e8SDavid Daney uint64_t nand:1; 6748*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 6749*c5aa59e8SDavid Daney uint64_t timer:4; 6750*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 6751*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 6752*c5aa59e8SDavid Daney uint64_t ssoiq:1; 6753*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 6754*c5aa59e8SDavid Daney #else 6755*c5aa59e8SDavid Daney uint64_t ipdppthr:1; 6756*c5aa59e8SDavid Daney uint64_t ssoiq:1; 6757*c5aa59e8SDavid Daney uint64_t ipd_drp:1; 6758*c5aa59e8SDavid Daney uint64_t reserved_3_7:5; 6759*c5aa59e8SDavid Daney uint64_t timer:4; 6760*c5aa59e8SDavid Daney uint64_t reserved_12_15:4; 6761*c5aa59e8SDavid Daney uint64_t nand:1; 6762*c5aa59e8SDavid Daney uint64_t mio:1; 6763*c5aa59e8SDavid Daney uint64_t bootdma:1; 6764*c5aa59e8SDavid Daney uint64_t reserved_19_31:13; 6765*c5aa59e8SDavid Daney uint64_t twsi:2; 6766*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 6767*c5aa59e8SDavid Daney uint64_t uart:2; 6768*c5aa59e8SDavid Daney uint64_t reserved_38_39:2; 6769*c5aa59e8SDavid Daney uint64_t usb_uctl:1; 6770*c5aa59e8SDavid Daney uint64_t reserved_41_43:3; 6771*c5aa59e8SDavid Daney uint64_t usb_hci:1; 6772*c5aa59e8SDavid Daney uint64_t reserved_45_47:3; 6773*c5aa59e8SDavid Daney uint64_t ptp:1; 6774*c5aa59e8SDavid Daney uint64_t reserved_49_62:14; 6775*c5aa59e8SDavid Daney uint64_t rst:1; 6776*c5aa59e8SDavid Daney #endif 6777*c5aa59e8SDavid Daney } s; 6778*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip4_mio_s cn68xx; 6779*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip4_mio_s cn68xxp1; 6780*c5aa59e8SDavid Daney }; 6781*c5aa59e8SDavid Daney 6782*c5aa59e8SDavid Daney union cvmx_ciu2_src_ppx_ip4_pkt { 6783*c5aa59e8SDavid Daney uint64_t u64; 6784*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip4_pkt_s { 6785*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6786*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 6787*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 6788*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 6789*c5aa59e8SDavid Daney uint64_t ilk:1; 6790*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 6791*c5aa59e8SDavid Daney uint64_t mii:1; 6792*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 6793*c5aa59e8SDavid Daney uint64_t agl:1; 6794*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 6795*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 6796*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 6797*c5aa59e8SDavid Daney uint64_t agx:5; 6798*c5aa59e8SDavid Daney #else 6799*c5aa59e8SDavid Daney uint64_t agx:5; 6800*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 6801*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 6802*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 6803*c5aa59e8SDavid Daney uint64_t agl:1; 6804*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 6805*c5aa59e8SDavid Daney uint64_t mii:1; 6806*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 6807*c5aa59e8SDavid Daney uint64_t ilk:1; 6808*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 6809*c5aa59e8SDavid Daney uint64_t ilk_drp:2; 6810*c5aa59e8SDavid Daney uint64_t reserved_54_63:10; 6811*c5aa59e8SDavid Daney #endif 6812*c5aa59e8SDavid Daney } s; 6813*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip4_pkt_s cn68xx; 6814*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip4_pkt_cn68xxp1 { 6815*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6816*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 6817*c5aa59e8SDavid Daney uint64_t ilk:1; 6818*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 6819*c5aa59e8SDavid Daney uint64_t mii:1; 6820*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 6821*c5aa59e8SDavid Daney uint64_t agl:1; 6822*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 6823*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 6824*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 6825*c5aa59e8SDavid Daney uint64_t agx:5; 6826*c5aa59e8SDavid Daney #else 6827*c5aa59e8SDavid Daney uint64_t agx:5; 6828*c5aa59e8SDavid Daney uint64_t reserved_5_7:3; 6829*c5aa59e8SDavid Daney uint64_t gmx_drp:5; 6830*c5aa59e8SDavid Daney uint64_t reserved_13_31:19; 6831*c5aa59e8SDavid Daney uint64_t agl:1; 6832*c5aa59e8SDavid Daney uint64_t reserved_33_39:7; 6833*c5aa59e8SDavid Daney uint64_t mii:1; 6834*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 6835*c5aa59e8SDavid Daney uint64_t ilk:1; 6836*c5aa59e8SDavid Daney uint64_t reserved_49_63:15; 6837*c5aa59e8SDavid Daney #endif 6838*c5aa59e8SDavid Daney } cn68xxp1; 6839*c5aa59e8SDavid Daney }; 6840*c5aa59e8SDavid Daney 6841*c5aa59e8SDavid Daney union cvmx_ciu2_src_ppx_ip4_rml { 6842*c5aa59e8SDavid Daney uint64_t u64; 6843*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip4_rml_s { 6844*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6845*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 6846*c5aa59e8SDavid Daney uint64_t trace:4; 6847*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 6848*c5aa59e8SDavid Daney uint64_t l2c:1; 6849*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 6850*c5aa59e8SDavid Daney uint64_t dfa:1; 6851*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 6852*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 6853*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 6854*c5aa59e8SDavid Daney uint64_t dpi:1; 6855*c5aa59e8SDavid Daney uint64_t sli:1; 6856*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 6857*c5aa59e8SDavid Daney uint64_t key:1; 6858*c5aa59e8SDavid Daney uint64_t rad:1; 6859*c5aa59e8SDavid Daney uint64_t tim:1; 6860*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 6861*c5aa59e8SDavid Daney uint64_t zip:1; 6862*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 6863*c5aa59e8SDavid Daney uint64_t sso:1; 6864*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 6865*c5aa59e8SDavid Daney uint64_t pko:1; 6866*c5aa59e8SDavid Daney uint64_t pip:1; 6867*c5aa59e8SDavid Daney uint64_t ipd:1; 6868*c5aa59e8SDavid Daney uint64_t fpa:1; 6869*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 6870*c5aa59e8SDavid Daney uint64_t iob:1; 6871*c5aa59e8SDavid Daney #else 6872*c5aa59e8SDavid Daney uint64_t iob:1; 6873*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 6874*c5aa59e8SDavid Daney uint64_t fpa:1; 6875*c5aa59e8SDavid Daney uint64_t ipd:1; 6876*c5aa59e8SDavid Daney uint64_t pip:1; 6877*c5aa59e8SDavid Daney uint64_t pko:1; 6878*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 6879*c5aa59e8SDavid Daney uint64_t sso:1; 6880*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 6881*c5aa59e8SDavid Daney uint64_t zip:1; 6882*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 6883*c5aa59e8SDavid Daney uint64_t tim:1; 6884*c5aa59e8SDavid Daney uint64_t rad:1; 6885*c5aa59e8SDavid Daney uint64_t key:1; 6886*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 6887*c5aa59e8SDavid Daney uint64_t sli:1; 6888*c5aa59e8SDavid Daney uint64_t dpi:1; 6889*c5aa59e8SDavid Daney uint64_t reserved_34_35:2; 6890*c5aa59e8SDavid Daney uint64_t dpi_dma:1; 6891*c5aa59e8SDavid Daney uint64_t reserved_37_39:3; 6892*c5aa59e8SDavid Daney uint64_t dfa:1; 6893*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 6894*c5aa59e8SDavid Daney uint64_t l2c:1; 6895*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 6896*c5aa59e8SDavid Daney uint64_t trace:4; 6897*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 6898*c5aa59e8SDavid Daney #endif 6899*c5aa59e8SDavid Daney } s; 6900*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip4_rml_s cn68xx; 6901*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip4_rml_cn68xxp1 { 6902*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6903*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 6904*c5aa59e8SDavid Daney uint64_t trace:4; 6905*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 6906*c5aa59e8SDavid Daney uint64_t l2c:1; 6907*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 6908*c5aa59e8SDavid Daney uint64_t dfa:1; 6909*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 6910*c5aa59e8SDavid Daney uint64_t dpi:1; 6911*c5aa59e8SDavid Daney uint64_t sli:1; 6912*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 6913*c5aa59e8SDavid Daney uint64_t key:1; 6914*c5aa59e8SDavid Daney uint64_t rad:1; 6915*c5aa59e8SDavid Daney uint64_t tim:1; 6916*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 6917*c5aa59e8SDavid Daney uint64_t zip:1; 6918*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 6919*c5aa59e8SDavid Daney uint64_t sso:1; 6920*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 6921*c5aa59e8SDavid Daney uint64_t pko:1; 6922*c5aa59e8SDavid Daney uint64_t pip:1; 6923*c5aa59e8SDavid Daney uint64_t ipd:1; 6924*c5aa59e8SDavid Daney uint64_t fpa:1; 6925*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 6926*c5aa59e8SDavid Daney uint64_t iob:1; 6927*c5aa59e8SDavid Daney #else 6928*c5aa59e8SDavid Daney uint64_t iob:1; 6929*c5aa59e8SDavid Daney uint64_t reserved_1_3:3; 6930*c5aa59e8SDavid Daney uint64_t fpa:1; 6931*c5aa59e8SDavid Daney uint64_t ipd:1; 6932*c5aa59e8SDavid Daney uint64_t pip:1; 6933*c5aa59e8SDavid Daney uint64_t pko:1; 6934*c5aa59e8SDavid Daney uint64_t reserved_8_15:8; 6935*c5aa59e8SDavid Daney uint64_t sso:1; 6936*c5aa59e8SDavid Daney uint64_t reserved_17_23:7; 6937*c5aa59e8SDavid Daney uint64_t zip:1; 6938*c5aa59e8SDavid Daney uint64_t reserved_25_27:3; 6939*c5aa59e8SDavid Daney uint64_t tim:1; 6940*c5aa59e8SDavid Daney uint64_t rad:1; 6941*c5aa59e8SDavid Daney uint64_t key:1; 6942*c5aa59e8SDavid Daney uint64_t reserved_31_31:1; 6943*c5aa59e8SDavid Daney uint64_t sli:1; 6944*c5aa59e8SDavid Daney uint64_t dpi:1; 6945*c5aa59e8SDavid Daney uint64_t reserved_34_39:6; 6946*c5aa59e8SDavid Daney uint64_t dfa:1; 6947*c5aa59e8SDavid Daney uint64_t reserved_41_47:7; 6948*c5aa59e8SDavid Daney uint64_t l2c:1; 6949*c5aa59e8SDavid Daney uint64_t reserved_49_51:3; 6950*c5aa59e8SDavid Daney uint64_t trace:4; 6951*c5aa59e8SDavid Daney uint64_t reserved_56_63:8; 6952*c5aa59e8SDavid Daney #endif 6953*c5aa59e8SDavid Daney } cn68xxp1; 6954*c5aa59e8SDavid Daney }; 6955*c5aa59e8SDavid Daney 6956*c5aa59e8SDavid Daney union cvmx_ciu2_src_ppx_ip4_wdog { 6957*c5aa59e8SDavid Daney uint64_t u64; 6958*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip4_wdog_s { 6959*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6960*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 6961*c5aa59e8SDavid Daney uint64_t wdog:32; 6962*c5aa59e8SDavid Daney #else 6963*c5aa59e8SDavid Daney uint64_t wdog:32; 6964*c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 6965*c5aa59e8SDavid Daney #endif 6966*c5aa59e8SDavid Daney } s; 6967*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip4_wdog_s cn68xx; 6968*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip4_wdog_s cn68xxp1; 6969*c5aa59e8SDavid Daney }; 6970*c5aa59e8SDavid Daney 6971*c5aa59e8SDavid Daney union cvmx_ciu2_src_ppx_ip4_wrkq { 6972*c5aa59e8SDavid Daney uint64_t u64; 6973*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip4_wrkq_s { 6974*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6975*c5aa59e8SDavid Daney uint64_t workq:64; 6976*c5aa59e8SDavid Daney #else 6977*c5aa59e8SDavid Daney uint64_t workq:64; 6978*c5aa59e8SDavid Daney #endif 6979*c5aa59e8SDavid Daney } s; 6980*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip4_wrkq_s cn68xx; 6981*c5aa59e8SDavid Daney struct cvmx_ciu2_src_ppx_ip4_wrkq_s cn68xxp1; 6982*c5aa59e8SDavid Daney }; 6983*c5aa59e8SDavid Daney 6984*c5aa59e8SDavid Daney union cvmx_ciu2_sum_iox_int { 6985*c5aa59e8SDavid Daney uint64_t u64; 6986*c5aa59e8SDavid Daney struct cvmx_ciu2_sum_iox_int_s { 6987*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 6988*c5aa59e8SDavid Daney uint64_t mbox:4; 6989*c5aa59e8SDavid Daney uint64_t reserved_8_59:52; 6990*c5aa59e8SDavid Daney uint64_t gpio:1; 6991*c5aa59e8SDavid Daney uint64_t pkt:1; 6992*c5aa59e8SDavid Daney uint64_t mem:1; 6993*c5aa59e8SDavid Daney uint64_t io:1; 6994*c5aa59e8SDavid Daney uint64_t mio:1; 6995*c5aa59e8SDavid Daney uint64_t rml:1; 6996*c5aa59e8SDavid Daney uint64_t wdog:1; 6997*c5aa59e8SDavid Daney uint64_t workq:1; 6998*c5aa59e8SDavid Daney #else 6999*c5aa59e8SDavid Daney uint64_t workq:1; 7000*c5aa59e8SDavid Daney uint64_t wdog:1; 7001*c5aa59e8SDavid Daney uint64_t rml:1; 7002*c5aa59e8SDavid Daney uint64_t mio:1; 7003*c5aa59e8SDavid Daney uint64_t io:1; 7004*c5aa59e8SDavid Daney uint64_t mem:1; 7005*c5aa59e8SDavid Daney uint64_t pkt:1; 7006*c5aa59e8SDavid Daney uint64_t gpio:1; 7007*c5aa59e8SDavid Daney uint64_t reserved_8_59:52; 7008*c5aa59e8SDavid Daney uint64_t mbox:4; 7009*c5aa59e8SDavid Daney #endif 7010*c5aa59e8SDavid Daney } s; 7011*c5aa59e8SDavid Daney struct cvmx_ciu2_sum_iox_int_s cn68xx; 7012*c5aa59e8SDavid Daney struct cvmx_ciu2_sum_iox_int_s cn68xxp1; 7013*c5aa59e8SDavid Daney }; 7014*c5aa59e8SDavid Daney 7015*c5aa59e8SDavid Daney union cvmx_ciu2_sum_ppx_ip2 { 7016*c5aa59e8SDavid Daney uint64_t u64; 7017*c5aa59e8SDavid Daney struct cvmx_ciu2_sum_ppx_ip2_s { 7018*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 7019*c5aa59e8SDavid Daney uint64_t mbox:4; 7020*c5aa59e8SDavid Daney uint64_t reserved_8_59:52; 7021*c5aa59e8SDavid Daney uint64_t gpio:1; 7022*c5aa59e8SDavid Daney uint64_t pkt:1; 7023*c5aa59e8SDavid Daney uint64_t mem:1; 7024*c5aa59e8SDavid Daney uint64_t io:1; 7025*c5aa59e8SDavid Daney uint64_t mio:1; 7026*c5aa59e8SDavid Daney uint64_t rml:1; 7027*c5aa59e8SDavid Daney uint64_t wdog:1; 7028*c5aa59e8SDavid Daney uint64_t workq:1; 7029*c5aa59e8SDavid Daney #else 7030*c5aa59e8SDavid Daney uint64_t workq:1; 7031*c5aa59e8SDavid Daney uint64_t wdog:1; 7032*c5aa59e8SDavid Daney uint64_t rml:1; 7033*c5aa59e8SDavid Daney uint64_t mio:1; 7034*c5aa59e8SDavid Daney uint64_t io:1; 7035*c5aa59e8SDavid Daney uint64_t mem:1; 7036*c5aa59e8SDavid Daney uint64_t pkt:1; 7037*c5aa59e8SDavid Daney uint64_t gpio:1; 7038*c5aa59e8SDavid Daney uint64_t reserved_8_59:52; 7039*c5aa59e8SDavid Daney uint64_t mbox:4; 7040*c5aa59e8SDavid Daney #endif 7041*c5aa59e8SDavid Daney } s; 7042*c5aa59e8SDavid Daney struct cvmx_ciu2_sum_ppx_ip2_s cn68xx; 7043*c5aa59e8SDavid Daney struct cvmx_ciu2_sum_ppx_ip2_s cn68xxp1; 7044*c5aa59e8SDavid Daney }; 7045*c5aa59e8SDavid Daney 7046*c5aa59e8SDavid Daney union cvmx_ciu2_sum_ppx_ip3 { 7047*c5aa59e8SDavid Daney uint64_t u64; 7048*c5aa59e8SDavid Daney struct cvmx_ciu2_sum_ppx_ip3_s { 7049*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 7050*c5aa59e8SDavid Daney uint64_t mbox:4; 7051*c5aa59e8SDavid Daney uint64_t reserved_8_59:52; 7052*c5aa59e8SDavid Daney uint64_t gpio:1; 7053*c5aa59e8SDavid Daney uint64_t pkt:1; 7054*c5aa59e8SDavid Daney uint64_t mem:1; 7055*c5aa59e8SDavid Daney uint64_t io:1; 7056*c5aa59e8SDavid Daney uint64_t mio:1; 7057*c5aa59e8SDavid Daney uint64_t rml:1; 7058*c5aa59e8SDavid Daney uint64_t wdog:1; 7059*c5aa59e8SDavid Daney uint64_t workq:1; 7060*c5aa59e8SDavid Daney #else 7061*c5aa59e8SDavid Daney uint64_t workq:1; 7062*c5aa59e8SDavid Daney uint64_t wdog:1; 7063*c5aa59e8SDavid Daney uint64_t rml:1; 7064*c5aa59e8SDavid Daney uint64_t mio:1; 7065*c5aa59e8SDavid Daney uint64_t io:1; 7066*c5aa59e8SDavid Daney uint64_t mem:1; 7067*c5aa59e8SDavid Daney uint64_t pkt:1; 7068*c5aa59e8SDavid Daney uint64_t gpio:1; 7069*c5aa59e8SDavid Daney uint64_t reserved_8_59:52; 7070*c5aa59e8SDavid Daney uint64_t mbox:4; 7071*c5aa59e8SDavid Daney #endif 7072*c5aa59e8SDavid Daney } s; 7073*c5aa59e8SDavid Daney struct cvmx_ciu2_sum_ppx_ip3_s cn68xx; 7074*c5aa59e8SDavid Daney struct cvmx_ciu2_sum_ppx_ip3_s cn68xxp1; 7075*c5aa59e8SDavid Daney }; 7076*c5aa59e8SDavid Daney 7077*c5aa59e8SDavid Daney union cvmx_ciu2_sum_ppx_ip4 { 7078*c5aa59e8SDavid Daney uint64_t u64; 7079*c5aa59e8SDavid Daney struct cvmx_ciu2_sum_ppx_ip4_s { 7080*c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 7081*c5aa59e8SDavid Daney uint64_t mbox:4; 7082*c5aa59e8SDavid Daney uint64_t reserved_8_59:52; 7083*c5aa59e8SDavid Daney uint64_t gpio:1; 7084*c5aa59e8SDavid Daney uint64_t pkt:1; 7085*c5aa59e8SDavid Daney uint64_t mem:1; 7086*c5aa59e8SDavid Daney uint64_t io:1; 7087*c5aa59e8SDavid Daney uint64_t mio:1; 7088*c5aa59e8SDavid Daney uint64_t rml:1; 7089*c5aa59e8SDavid Daney uint64_t wdog:1; 7090*c5aa59e8SDavid Daney uint64_t workq:1; 7091*c5aa59e8SDavid Daney #else 7092*c5aa59e8SDavid Daney uint64_t workq:1; 7093*c5aa59e8SDavid Daney uint64_t wdog:1; 7094*c5aa59e8SDavid Daney uint64_t rml:1; 7095*c5aa59e8SDavid Daney uint64_t mio:1; 7096*c5aa59e8SDavid Daney uint64_t io:1; 7097*c5aa59e8SDavid Daney uint64_t mem:1; 7098*c5aa59e8SDavid Daney uint64_t pkt:1; 7099*c5aa59e8SDavid Daney uint64_t gpio:1; 7100*c5aa59e8SDavid Daney uint64_t reserved_8_59:52; 7101*c5aa59e8SDavid Daney uint64_t mbox:4; 7102*c5aa59e8SDavid Daney #endif 7103*c5aa59e8SDavid Daney } s; 7104*c5aa59e8SDavid Daney struct cvmx_ciu2_sum_ppx_ip4_s cn68xx; 7105*c5aa59e8SDavid Daney struct cvmx_ciu2_sum_ppx_ip4_s cn68xxp1; 7106*c5aa59e8SDavid Daney }; 7107*c5aa59e8SDavid Daney 7108*c5aa59e8SDavid Daney #endif 7109