18860fb82SDavid Daney /***********************license start*************** 28860fb82SDavid Daney * Author: Cavium Networks 38860fb82SDavid Daney * 48860fb82SDavid Daney * Contact: support@caviumnetworks.com 58860fb82SDavid Daney * This file is part of the OCTEON SDK 68860fb82SDavid Daney * 7*97b70298SSteven J. Hill * Copyright (c) 2003-2017 Cavium, Inc. 88860fb82SDavid Daney * 98860fb82SDavid Daney * This file is free software; you can redistribute it and/or modify 108860fb82SDavid Daney * it under the terms of the GNU General Public License, Version 2, as 118860fb82SDavid Daney * published by the Free Software Foundation. 128860fb82SDavid Daney * 138860fb82SDavid Daney * This file is distributed in the hope that it will be useful, but 148860fb82SDavid Daney * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 158860fb82SDavid Daney * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, TITLE, or 168860fb82SDavid Daney * NONINFRINGEMENT. See the GNU General Public License for more 178860fb82SDavid Daney * details. 188860fb82SDavid Daney * 198860fb82SDavid Daney * You should have received a copy of the GNU General Public License 208860fb82SDavid Daney * along with this file; if not, write to the Free Software 218860fb82SDavid Daney * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 228860fb82SDavid Daney * or visit http://www.gnu.org/licenses/. 238860fb82SDavid Daney * 248860fb82SDavid Daney * This file may also be available under a different license from Cavium. 258860fb82SDavid Daney * Contact Cavium Networks for more information 268860fb82SDavid Daney ***********************license end**************************************/ 278860fb82SDavid Daney 288860fb82SDavid Daney #ifndef __CVMX_PCIERCX_DEFS_H__ 298860fb82SDavid Daney #define __CVMX_PCIERCX_DEFS_H__ 308860fb82SDavid Daney 31*97b70298SSteven J. Hill #include <uapi/asm/bitfield.h> 32*97b70298SSteven J. Hill 33aa32a955SDavid Daney #define CVMX_PCIERCX_CFG001(block_id) (0x0000000000000004ull) 34aa32a955SDavid Daney #define CVMX_PCIERCX_CFG006(block_id) (0x0000000000000018ull) 35aa32a955SDavid Daney #define CVMX_PCIERCX_CFG008(block_id) (0x0000000000000020ull) 36aa32a955SDavid Daney #define CVMX_PCIERCX_CFG009(block_id) (0x0000000000000024ull) 37aa32a955SDavid Daney #define CVMX_PCIERCX_CFG010(block_id) (0x0000000000000028ull) 38aa32a955SDavid Daney #define CVMX_PCIERCX_CFG011(block_id) (0x000000000000002Cull) 39aa32a955SDavid Daney #define CVMX_PCIERCX_CFG030(block_id) (0x0000000000000078ull) 40aa32a955SDavid Daney #define CVMX_PCIERCX_CFG031(block_id) (0x000000000000007Cull) 41aa32a955SDavid Daney #define CVMX_PCIERCX_CFG032(block_id) (0x0000000000000080ull) 42aa32a955SDavid Daney #define CVMX_PCIERCX_CFG034(block_id) (0x0000000000000088ull) 43aa32a955SDavid Daney #define CVMX_PCIERCX_CFG035(block_id) (0x000000000000008Cull) 44aa32a955SDavid Daney #define CVMX_PCIERCX_CFG040(block_id) (0x00000000000000A0ull) 45aa32a955SDavid Daney #define CVMX_PCIERCX_CFG066(block_id) (0x0000000000000108ull) 46aa32a955SDavid Daney #define CVMX_PCIERCX_CFG069(block_id) (0x0000000000000114ull) 47aa32a955SDavid Daney #define CVMX_PCIERCX_CFG070(block_id) (0x0000000000000118ull) 48aa32a955SDavid Daney #define CVMX_PCIERCX_CFG075(block_id) (0x000000000000012Cull) 49aa32a955SDavid Daney #define CVMX_PCIERCX_CFG448(block_id) (0x0000000000000700ull) 50aa32a955SDavid Daney #define CVMX_PCIERCX_CFG452(block_id) (0x0000000000000710ull) 51aa32a955SDavid Daney #define CVMX_PCIERCX_CFG455(block_id) (0x000000000000071Cull) 52aa32a955SDavid Daney #define CVMX_PCIERCX_CFG515(block_id) (0x000000000000080Cull) 538860fb82SDavid Daney 548860fb82SDavid Daney union cvmx_pciercx_cfg001 { 558860fb82SDavid Daney uint32_t u32; 568860fb82SDavid Daney struct cvmx_pciercx_cfg001_s { 57*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t dpe:1, 58*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t sse:1, 59*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t rma:1, 60*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t rta:1, 61*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t sta:1, 62*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t devt:2, 63*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t mdpe:1, 64*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t fbb:1, 65*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t reserved_22_22:1, 66*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t m66:1, 67*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t cl:1, 68*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t i_stat:1, 69*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t reserved_11_18:8, 70*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t i_dis:1, 71*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t fbbe:1, 72*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t see:1, 73*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t ids_wcc:1, 74*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t per:1, 75*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t vps:1, 76*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t mwice:1, 77*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t scse:1, 78*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t me:1, 79*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t msae:1, 80*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t isae:1, 81*97b70298SSteven J. Hill ;)))))))))))))))))))))))) 828860fb82SDavid Daney } s; 838860fb82SDavid Daney }; 848860fb82SDavid Daney 858860fb82SDavid Daney union cvmx_pciercx_cfg006 { 868860fb82SDavid Daney uint32_t u32; 878860fb82SDavid Daney struct cvmx_pciercx_cfg006_s { 88*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t slt:8, 89*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t subbnum:8, 90*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t sbnum:8, 91*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t pbnum:8, 92*97b70298SSteven J. Hill ;)))) 938860fb82SDavid Daney } s; 948860fb82SDavid Daney }; 958860fb82SDavid Daney 968860fb82SDavid Daney union cvmx_pciercx_cfg008 { 978860fb82SDavid Daney uint32_t u32; 988860fb82SDavid Daney struct cvmx_pciercx_cfg008_s { 99*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t ml_addr:12, 100*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t reserved_16_19:4, 101*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t mb_addr:12, 102*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t reserved_0_3:4, 103*97b70298SSteven J. Hill ;)))) 1048860fb82SDavid Daney } s; 1058860fb82SDavid Daney }; 1068860fb82SDavid Daney 1078860fb82SDavid Daney union cvmx_pciercx_cfg009 { 1088860fb82SDavid Daney uint32_t u32; 1098860fb82SDavid Daney struct cvmx_pciercx_cfg009_s { 110*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t lmem_limit:12, 111*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t reserved_17_19:3, 112*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t mem64b:1, 113*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t lmem_base:12, 114*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t reserved_1_3:3, 115*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t mem64a:1, 116*97b70298SSteven J. Hill ;)))))) 1178860fb82SDavid Daney } s; 1188860fb82SDavid Daney }; 1198860fb82SDavid Daney 1208860fb82SDavid Daney union cvmx_pciercx_cfg010 { 1218860fb82SDavid Daney uint32_t u32; 1228860fb82SDavid Daney struct cvmx_pciercx_cfg010_s { 123*97b70298SSteven J. Hill uint32_t umem_base; 1248860fb82SDavid Daney } s; 1258860fb82SDavid Daney }; 1268860fb82SDavid Daney 1278860fb82SDavid Daney union cvmx_pciercx_cfg011 { 1288860fb82SDavid Daney uint32_t u32; 1298860fb82SDavid Daney struct cvmx_pciercx_cfg011_s { 130*97b70298SSteven J. Hill uint32_t umem_limit; 1318860fb82SDavid Daney } s; 1328860fb82SDavid Daney }; 1338860fb82SDavid Daney 1348860fb82SDavid Daney union cvmx_pciercx_cfg030 { 1358860fb82SDavid Daney uint32_t u32; 1368860fb82SDavid Daney struct cvmx_pciercx_cfg030_s { 137*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t reserved_22_31:10, 138*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t tp:1, 139*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t ap_d:1, 140*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t ur_d:1, 141*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t fe_d:1, 142*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t nfe_d:1, 143*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t ce_d:1, 144*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t reserved_15_15:1, 145*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t mrrs:3, 146*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t ns_en:1, 147*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t ap_en:1, 148*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t pf_en:1, 149*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t etf_en:1, 150*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t mps:3, 151*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t ro_en:1, 152*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t ur_en:1, 153*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t fe_en:1, 154*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t nfe_en:1, 155*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t ce_en:1, 156*97b70298SSteven J. Hill ;))))))))))))))))))) 1578860fb82SDavid Daney } s; 1588860fb82SDavid Daney }; 1598860fb82SDavid Daney 1608860fb82SDavid Daney union cvmx_pciercx_cfg031 { 1618860fb82SDavid Daney uint32_t u32; 1628860fb82SDavid Daney struct cvmx_pciercx_cfg031_s { 163*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t pnum:8, 164*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t reserved_23_23:1, 165*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t aspm:1, 166*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t lbnc:1, 167*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t dllarc:1, 168*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t sderc:1, 169*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t cpm:1, 170*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t l1el:3, 171*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t l0el:3, 172*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t aslpms:2, 173*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t mlw:6, 174*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t mls:4, 175*97b70298SSteven J. Hill ;)))))))))))) 176412394d1SDavid Daney } s; 1778860fb82SDavid Daney }; 1788860fb82SDavid Daney 1798860fb82SDavid Daney union cvmx_pciercx_cfg032 { 1808860fb82SDavid Daney uint32_t u32; 1818860fb82SDavid Daney struct cvmx_pciercx_cfg032_s { 182*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t lab:1, 183*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t lbm:1, 184*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t dlla:1, 185*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t scc:1, 186*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t lt:1, 187*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t reserved_26_26:1, 188*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t nlw:6, 189*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t ls:4, 190*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t reserved_12_15:4, 191*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t lab_int_enb:1, 192*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t lbm_int_enb:1, 193*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t hawd:1, 194*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t ecpm:1, 195*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t es:1, 196*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t ccc:1, 197*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t rl:1, 198*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t ld:1, 199*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t rcb:1, 200*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t reserved_2_2:1, 201*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t aslpc:2, 202*97b70298SSteven J. Hill ;)))))))))))))))))))) 2038860fb82SDavid Daney } s; 2048860fb82SDavid Daney }; 2058860fb82SDavid Daney 2068860fb82SDavid Daney union cvmx_pciercx_cfg034 { 2078860fb82SDavid Daney uint32_t u32; 2088860fb82SDavid Daney struct cvmx_pciercx_cfg034_s { 209*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t reserved_25_31:7, 210*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t dlls_c:1, 211*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t emis:1, 212*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t pds:1, 213*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t mrlss:1, 214*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t ccint_d:1, 215*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t pd_c:1, 216*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t mrls_c:1, 217*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t pf_d:1, 218*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t abp_d:1, 219*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t reserved_13_15:3, 220*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t dlls_en:1, 221*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t emic:1, 222*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t pcc:1, 223*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t pic:1, 224*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t aic:1, 225*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t hpint_en:1, 226*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t ccint_en:1, 227*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t pd_en:1, 228*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t mrls_en:1, 229*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t pf_en:1, 230*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t abp_en:1, 231*97b70298SSteven J. Hill ;)))))))))))))))))))))) 2328860fb82SDavid Daney } s; 2338860fb82SDavid Daney }; 2348860fb82SDavid Daney 2358860fb82SDavid Daney union cvmx_pciercx_cfg035 { 2368860fb82SDavid Daney uint32_t u32; 2378860fb82SDavid Daney struct cvmx_pciercx_cfg035_s { 238*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t reserved_17_31:15, 239*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t crssv:1, 240*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t reserved_5_15:11, 241*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t crssve:1, 242*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t pmeie:1, 243*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t sefee:1, 244*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t senfee:1, 245*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t secee:1, 246*97b70298SSteven J. Hill ;)))))))) 2478860fb82SDavid Daney } s; 2488860fb82SDavid Daney }; 2498860fb82SDavid Daney 2508860fb82SDavid Daney union cvmx_pciercx_cfg040 { 2518860fb82SDavid Daney uint32_t u32; 2528860fb82SDavid Daney struct cvmx_pciercx_cfg040_s { 253*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t reserved_22_31:10, 254*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t ler:1, 255*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t ep3s:1, 256*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t ep2s:1, 257*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t ep1s:1, 258*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t eqc:1, 259*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t cdl:1, 260*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t cde:4, 261*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t csos:1, 262*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t emc:1, 263*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t tm:3, 264*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t sde:1, 265*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t hasd:1, 266*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t ec:1, 267*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t tls:4, 268*97b70298SSteven J. Hill ;))))))))))))))) 2698860fb82SDavid Daney } s; 2708860fb82SDavid Daney }; 2718860fb82SDavid Daney 2728860fb82SDavid Daney union cvmx_pciercx_cfg070 { 2738860fb82SDavid Daney uint32_t u32; 2748860fb82SDavid Daney struct cvmx_pciercx_cfg070_s { 275*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t reserved_12_31:20, 276*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t tplp:1, 277*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t reserved_9_10:2, 278*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t ce:1, 279*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t cc:1, 280*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t ge:1, 281*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t gc:1, 282*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t fep:5, 283*97b70298SSteven J. Hill ;)))))))) 2848860fb82SDavid Daney } s; 2858860fb82SDavid Daney }; 2868860fb82SDavid Daney 2878860fb82SDavid Daney union cvmx_pciercx_cfg075 { 2888860fb82SDavid Daney uint32_t u32; 2898860fb82SDavid Daney struct cvmx_pciercx_cfg075_s { 290*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t reserved_3_31:29, 291*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t fere:1, 292*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t nfere:1, 293*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t cere:1, 294*97b70298SSteven J. Hill ;)))) 2958860fb82SDavid Daney } s; 2968860fb82SDavid Daney }; 2978860fb82SDavid Daney 2988860fb82SDavid Daney union cvmx_pciercx_cfg448 { 2998860fb82SDavid Daney uint32_t u32; 3008860fb82SDavid Daney struct cvmx_pciercx_cfg448_s { 301*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t rtl:16, 302*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t rtltl:16, 303*97b70298SSteven J. Hill ;)) 3048860fb82SDavid Daney } s; 3058860fb82SDavid Daney }; 3068860fb82SDavid Daney 3078860fb82SDavid Daney union cvmx_pciercx_cfg452 { 3088860fb82SDavid Daney uint32_t u32; 3098860fb82SDavid Daney struct cvmx_pciercx_cfg452_s { 310*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t reserved_26_31:6, 311*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t eccrc:1, 312*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t reserved_22_24:3, 313*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t lme:6, 314*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t reserved_12_15:4, 315*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t link_rate:4, 316*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t flm:1, 317*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t reserved_6_6:1, 318*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t dllle:1, 319*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t reserved_4_4:1, 320*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t ra:1, 321*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t le:1, 322*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t sd:1, 323*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t omr:1, 324*97b70298SSteven J. Hill ;)))))))))))))) 3258860fb82SDavid Daney } s; 3268860fb82SDavid Daney }; 3278860fb82SDavid Daney 3288860fb82SDavid Daney union cvmx_pciercx_cfg455 { 3298860fb82SDavid Daney uint32_t u32; 3308860fb82SDavid Daney struct cvmx_pciercx_cfg455_s { 331*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t m_cfg0_filt:1, 332*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t m_io_filt:1, 333*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t msg_ctrl:1, 334*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t m_cpl_ecrc_filt:1, 335*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t m_ecrc_filt:1, 336*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t m_cpl_len_err:1, 337*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t m_cpl_attr_err:1, 338*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t m_cpl_tc_err:1, 339*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t m_cpl_fun_err:1, 340*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t m_cpl_rid_err:1, 341*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t m_cpl_tag_err:1, 342*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t m_lk_filt:1, 343*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t m_cfg1_filt:1, 344*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t m_bar_match:1, 345*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t m_pois_filt:1, 346*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t m_fun:1, 347*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t dfcwt:1, 348*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t reserved_11_14:4, 349*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t skpiv:11, 350*97b70298SSteven J. Hill ;))))))))))))))))))) 3518860fb82SDavid Daney } s; 352aa32a955SDavid Daney }; 353aa32a955SDavid Daney 354aa32a955SDavid Daney union cvmx_pciercx_cfg515 { 355aa32a955SDavid Daney uint32_t u32; 356aa32a955SDavid Daney struct cvmx_pciercx_cfg515_s { 357*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t reserved_21_31:11, 358*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t s_d_e:1, 359*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t ctcrb:1, 360*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t cpyts:1, 361*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t dsc:1, 362*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t le:9, 363*97b70298SSteven J. Hill __BITFIELD_FIELD(uint32_t n_fts:8, 364*97b70298SSteven J. Hill ;))))))) 365aa32a955SDavid Daney } s; 3668860fb82SDavid Daney }; 3678860fb82SDavid Daney 3688860fb82SDavid Daney #endif 369