1af866496SDavid Daney /***********************license start*************** 2af866496SDavid Daney * Author: Cavium Networks 3af866496SDavid Daney * 4af866496SDavid Daney * Contact: support@caviumnetworks.com 5af866496SDavid Daney * This file is part of the OCTEON SDK 6af866496SDavid Daney * 7c5aa59e8SDavid Daney * Copyright (c) 2003-2012 Cavium Networks 8af866496SDavid Daney * 9af866496SDavid Daney * This file is free software; you can redistribute it and/or modify 10af866496SDavid Daney * it under the terms of the GNU General Public License, Version 2, as 11af866496SDavid Daney * published by the Free Software Foundation. 12af866496SDavid Daney * 13af866496SDavid Daney * This file is distributed in the hope that it will be useful, but 14af866496SDavid Daney * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 15af866496SDavid Daney * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, TITLE, or 16af866496SDavid Daney * NONINFRINGEMENT. See the GNU General Public License for more 17af866496SDavid Daney * details. 18af866496SDavid Daney * 19af866496SDavid Daney * You should have received a copy of the GNU General Public License 20af866496SDavid Daney * along with this file; if not, write to the Free Software 21af866496SDavid Daney * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 22af866496SDavid Daney * or visit http://www.gnu.org/licenses/. 23af866496SDavid Daney * 24af866496SDavid Daney * This file may also be available under a different license from Cavium. 25af866496SDavid Daney * Contact Cavium Networks for more information 26af866496SDavid Daney ***********************license end**************************************/ 27af866496SDavid Daney 28af866496SDavid Daney #ifndef __CVMX_FPA_DEFS_H__ 29af866496SDavid Daney #define __CVMX_FPA_DEFS_H__ 30af866496SDavid Daney 31c5aa59e8SDavid Daney #define CVMX_FPA_ADDR_RANGE_ERROR (CVMX_ADD_IO_SEG(0x0001180028000458ull)) 32c5aa59e8SDavid Daney #define CVMX_FPA_BIST_STATUS (CVMX_ADD_IO_SEG(0x00011800280000E8ull)) 33c5aa59e8SDavid Daney #define CVMX_FPA_CTL_STATUS (CVMX_ADD_IO_SEG(0x0001180028000050ull)) 34c5aa59e8SDavid Daney #define CVMX_FPA_FPF0_MARKS (CVMX_ADD_IO_SEG(0x0001180028000000ull)) 35c5aa59e8SDavid Daney #define CVMX_FPA_FPF0_SIZE (CVMX_ADD_IO_SEG(0x0001180028000058ull)) 36c5aa59e8SDavid Daney #define CVMX_FPA_FPF1_MARKS CVMX_FPA_FPFX_MARKS(1) 37c5aa59e8SDavid Daney #define CVMX_FPA_FPF2_MARKS CVMX_FPA_FPFX_MARKS(2) 38c5aa59e8SDavid Daney #define CVMX_FPA_FPF3_MARKS CVMX_FPA_FPFX_MARKS(3) 39c5aa59e8SDavid Daney #define CVMX_FPA_FPF4_MARKS CVMX_FPA_FPFX_MARKS(4) 40c5aa59e8SDavid Daney #define CVMX_FPA_FPF5_MARKS CVMX_FPA_FPFX_MARKS(5) 41c5aa59e8SDavid Daney #define CVMX_FPA_FPF6_MARKS CVMX_FPA_FPFX_MARKS(6) 42c5aa59e8SDavid Daney #define CVMX_FPA_FPF7_MARKS CVMX_FPA_FPFX_MARKS(7) 43c5aa59e8SDavid Daney #define CVMX_FPA_FPF8_MARKS (CVMX_ADD_IO_SEG(0x0001180028000240ull)) 44c5aa59e8SDavid Daney #define CVMX_FPA_FPF8_SIZE (CVMX_ADD_IO_SEG(0x0001180028000248ull)) 45c5aa59e8SDavid Daney #define CVMX_FPA_FPFX_MARKS(offset) (CVMX_ADD_IO_SEG(0x0001180028000008ull) + ((offset) & 7) * 8 - 8*1) 46c5aa59e8SDavid Daney #define CVMX_FPA_FPFX_SIZE(offset) (CVMX_ADD_IO_SEG(0x0001180028000060ull) + ((offset) & 7) * 8 - 8*1) 47c5aa59e8SDavid Daney #define CVMX_FPA_INT_ENB (CVMX_ADD_IO_SEG(0x0001180028000048ull)) 48c5aa59e8SDavid Daney #define CVMX_FPA_INT_SUM (CVMX_ADD_IO_SEG(0x0001180028000040ull)) 49c5aa59e8SDavid Daney #define CVMX_FPA_PACKET_THRESHOLD (CVMX_ADD_IO_SEG(0x0001180028000460ull)) 50c5aa59e8SDavid Daney #define CVMX_FPA_POOLX_END_ADDR(offset) (CVMX_ADD_IO_SEG(0x0001180028000358ull) + ((offset) & 15) * 8) 51c5aa59e8SDavid Daney #define CVMX_FPA_POOLX_START_ADDR(offset) (CVMX_ADD_IO_SEG(0x0001180028000258ull) + ((offset) & 15) * 8) 52c5aa59e8SDavid Daney #define CVMX_FPA_POOLX_THRESHOLD(offset) (CVMX_ADD_IO_SEG(0x0001180028000140ull) + ((offset) & 15) * 8) 53c5aa59e8SDavid Daney #define CVMX_FPA_QUE0_PAGE_INDEX CVMX_FPA_QUEX_PAGE_INDEX(0) 54c5aa59e8SDavid Daney #define CVMX_FPA_QUE1_PAGE_INDEX CVMX_FPA_QUEX_PAGE_INDEX(1) 55c5aa59e8SDavid Daney #define CVMX_FPA_QUE2_PAGE_INDEX CVMX_FPA_QUEX_PAGE_INDEX(2) 56c5aa59e8SDavid Daney #define CVMX_FPA_QUE3_PAGE_INDEX CVMX_FPA_QUEX_PAGE_INDEX(3) 57c5aa59e8SDavid Daney #define CVMX_FPA_QUE4_PAGE_INDEX CVMX_FPA_QUEX_PAGE_INDEX(4) 58c5aa59e8SDavid Daney #define CVMX_FPA_QUE5_PAGE_INDEX CVMX_FPA_QUEX_PAGE_INDEX(5) 59c5aa59e8SDavid Daney #define CVMX_FPA_QUE6_PAGE_INDEX CVMX_FPA_QUEX_PAGE_INDEX(6) 60c5aa59e8SDavid Daney #define CVMX_FPA_QUE7_PAGE_INDEX CVMX_FPA_QUEX_PAGE_INDEX(7) 61c5aa59e8SDavid Daney #define CVMX_FPA_QUE8_PAGE_INDEX (CVMX_ADD_IO_SEG(0x0001180028000250ull)) 62c5aa59e8SDavid Daney #define CVMX_FPA_QUEX_AVAILABLE(offset) (CVMX_ADD_IO_SEG(0x0001180028000098ull) + ((offset) & 15) * 8) 63c5aa59e8SDavid Daney #define CVMX_FPA_QUEX_PAGE_INDEX(offset) (CVMX_ADD_IO_SEG(0x00011800280000F0ull) + ((offset) & 7) * 8) 64c5aa59e8SDavid Daney #define CVMX_FPA_QUE_ACT (CVMX_ADD_IO_SEG(0x0001180028000138ull)) 65c5aa59e8SDavid Daney #define CVMX_FPA_QUE_EXP (CVMX_ADD_IO_SEG(0x0001180028000130ull)) 66c5aa59e8SDavid Daney #define CVMX_FPA_WART_CTL (CVMX_ADD_IO_SEG(0x00011800280000D8ull)) 67c5aa59e8SDavid Daney #define CVMX_FPA_WART_STATUS (CVMX_ADD_IO_SEG(0x00011800280000E0ull)) 68c5aa59e8SDavid Daney #define CVMX_FPA_WQE_THRESHOLD (CVMX_ADD_IO_SEG(0x0001180028000468ull)) 69*2df11221SDavid Daney #define CVMX_FPA_CLK_COUNT (CVMX_ADD_IO_SEG(0x00012800000000F0ull)) 70c5aa59e8SDavid Daney 71c5aa59e8SDavid Daney union cvmx_fpa_addr_range_error { 72c5aa59e8SDavid Daney uint64_t u64; 73c5aa59e8SDavid Daney struct cvmx_fpa_addr_range_error_s { 74c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 75c5aa59e8SDavid Daney uint64_t reserved_38_63:26; 76c5aa59e8SDavid Daney uint64_t pool:5; 77c5aa59e8SDavid Daney uint64_t addr:33; 78c5aa59e8SDavid Daney #else 79c5aa59e8SDavid Daney uint64_t addr:33; 80c5aa59e8SDavid Daney uint64_t pool:5; 81c5aa59e8SDavid Daney uint64_t reserved_38_63:26; 82c5aa59e8SDavid Daney #endif 83c5aa59e8SDavid Daney } s; 84c5aa59e8SDavid Daney }; 85af866496SDavid Daney 86af866496SDavid Daney union cvmx_fpa_bist_status { 87af866496SDavid Daney uint64_t u64; 88af866496SDavid Daney struct cvmx_fpa_bist_status_s { 89c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 90af866496SDavid Daney uint64_t reserved_5_63:59; 91af866496SDavid Daney uint64_t frd:1; 92af866496SDavid Daney uint64_t fpf0:1; 93af866496SDavid Daney uint64_t fpf1:1; 94af866496SDavid Daney uint64_t ffr:1; 95af866496SDavid Daney uint64_t fdr:1; 96c5aa59e8SDavid Daney #else 97c5aa59e8SDavid Daney uint64_t fdr:1; 98c5aa59e8SDavid Daney uint64_t ffr:1; 99c5aa59e8SDavid Daney uint64_t fpf1:1; 100c5aa59e8SDavid Daney uint64_t fpf0:1; 101c5aa59e8SDavid Daney uint64_t frd:1; 102c5aa59e8SDavid Daney uint64_t reserved_5_63:59; 103c5aa59e8SDavid Daney #endif 104af866496SDavid Daney } s; 105af866496SDavid Daney }; 106af866496SDavid Daney 107af866496SDavid Daney union cvmx_fpa_ctl_status { 108af866496SDavid Daney uint64_t u64; 109af866496SDavid Daney struct cvmx_fpa_ctl_status_s { 110c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 111c5aa59e8SDavid Daney uint64_t reserved_21_63:43; 112c5aa59e8SDavid Daney uint64_t free_en:1; 113c5aa59e8SDavid Daney uint64_t ret_off:1; 114c5aa59e8SDavid Daney uint64_t req_off:1; 115c5aa59e8SDavid Daney uint64_t reset:1; 116c5aa59e8SDavid Daney uint64_t use_ldt:1; 117c5aa59e8SDavid Daney uint64_t use_stt:1; 118c5aa59e8SDavid Daney uint64_t enb:1; 119c5aa59e8SDavid Daney uint64_t mem1_err:7; 120c5aa59e8SDavid Daney uint64_t mem0_err:7; 121c5aa59e8SDavid Daney #else 122c5aa59e8SDavid Daney uint64_t mem0_err:7; 123c5aa59e8SDavid Daney uint64_t mem1_err:7; 124c5aa59e8SDavid Daney uint64_t enb:1; 125c5aa59e8SDavid Daney uint64_t use_stt:1; 126c5aa59e8SDavid Daney uint64_t use_ldt:1; 127c5aa59e8SDavid Daney uint64_t reset:1; 128c5aa59e8SDavid Daney uint64_t req_off:1; 129c5aa59e8SDavid Daney uint64_t ret_off:1; 130c5aa59e8SDavid Daney uint64_t free_en:1; 131c5aa59e8SDavid Daney uint64_t reserved_21_63:43; 132c5aa59e8SDavid Daney #endif 133c5aa59e8SDavid Daney } s; 134c5aa59e8SDavid Daney struct cvmx_fpa_ctl_status_cn30xx { 135c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 136af866496SDavid Daney uint64_t reserved_18_63:46; 137af866496SDavid Daney uint64_t reset:1; 138af866496SDavid Daney uint64_t use_ldt:1; 139af866496SDavid Daney uint64_t use_stt:1; 140af866496SDavid Daney uint64_t enb:1; 141af866496SDavid Daney uint64_t mem1_err:7; 142af866496SDavid Daney uint64_t mem0_err:7; 143c5aa59e8SDavid Daney #else 144c5aa59e8SDavid Daney uint64_t mem0_err:7; 145c5aa59e8SDavid Daney uint64_t mem1_err:7; 146c5aa59e8SDavid Daney uint64_t enb:1; 147c5aa59e8SDavid Daney uint64_t use_stt:1; 148c5aa59e8SDavid Daney uint64_t use_ldt:1; 149c5aa59e8SDavid Daney uint64_t reset:1; 150c5aa59e8SDavid Daney uint64_t reserved_18_63:46; 151c5aa59e8SDavid Daney #endif 152c5aa59e8SDavid Daney } cn30xx; 153af866496SDavid Daney }; 154af866496SDavid Daney 155af866496SDavid Daney union cvmx_fpa_fpfx_marks { 156af866496SDavid Daney uint64_t u64; 157af866496SDavid Daney struct cvmx_fpa_fpfx_marks_s { 158c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 159af866496SDavid Daney uint64_t reserved_22_63:42; 160af866496SDavid Daney uint64_t fpf_wr:11; 161af866496SDavid Daney uint64_t fpf_rd:11; 162c5aa59e8SDavid Daney #else 163c5aa59e8SDavid Daney uint64_t fpf_rd:11; 164c5aa59e8SDavid Daney uint64_t fpf_wr:11; 165c5aa59e8SDavid Daney uint64_t reserved_22_63:42; 166c5aa59e8SDavid Daney #endif 167af866496SDavid Daney } s; 168af866496SDavid Daney }; 169af866496SDavid Daney 170af866496SDavid Daney union cvmx_fpa_fpfx_size { 171af866496SDavid Daney uint64_t u64; 172af866496SDavid Daney struct cvmx_fpa_fpfx_size_s { 173c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 174af866496SDavid Daney uint64_t reserved_11_63:53; 175af866496SDavid Daney uint64_t fpf_siz:11; 176c5aa59e8SDavid Daney #else 177c5aa59e8SDavid Daney uint64_t fpf_siz:11; 178c5aa59e8SDavid Daney uint64_t reserved_11_63:53; 179c5aa59e8SDavid Daney #endif 180af866496SDavid Daney } s; 181af866496SDavid Daney }; 182af866496SDavid Daney 183af866496SDavid Daney union cvmx_fpa_fpf0_marks { 184af866496SDavid Daney uint64_t u64; 185af866496SDavid Daney struct cvmx_fpa_fpf0_marks_s { 186c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 187af866496SDavid Daney uint64_t reserved_24_63:40; 188af866496SDavid Daney uint64_t fpf_wr:12; 189af866496SDavid Daney uint64_t fpf_rd:12; 190c5aa59e8SDavid Daney #else 191c5aa59e8SDavid Daney uint64_t fpf_rd:12; 192c5aa59e8SDavid Daney uint64_t fpf_wr:12; 193c5aa59e8SDavid Daney uint64_t reserved_24_63:40; 194c5aa59e8SDavid Daney #endif 195af866496SDavid Daney } s; 196af866496SDavid Daney }; 197af866496SDavid Daney 198af866496SDavid Daney union cvmx_fpa_fpf0_size { 199af866496SDavid Daney uint64_t u64; 200af866496SDavid Daney struct cvmx_fpa_fpf0_size_s { 201c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 202af866496SDavid Daney uint64_t reserved_12_63:52; 203af866496SDavid Daney uint64_t fpf_siz:12; 204c5aa59e8SDavid Daney #else 205c5aa59e8SDavid Daney uint64_t fpf_siz:12; 206c5aa59e8SDavid Daney uint64_t reserved_12_63:52; 207c5aa59e8SDavid Daney #endif 208af866496SDavid Daney } s; 209c5aa59e8SDavid Daney }; 210c5aa59e8SDavid Daney 211c5aa59e8SDavid Daney union cvmx_fpa_fpf8_marks { 212c5aa59e8SDavid Daney uint64_t u64; 213c5aa59e8SDavid Daney struct cvmx_fpa_fpf8_marks_s { 214c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 215c5aa59e8SDavid Daney uint64_t reserved_22_63:42; 216c5aa59e8SDavid Daney uint64_t fpf_wr:11; 217c5aa59e8SDavid Daney uint64_t fpf_rd:11; 218c5aa59e8SDavid Daney #else 219c5aa59e8SDavid Daney uint64_t fpf_rd:11; 220c5aa59e8SDavid Daney uint64_t fpf_wr:11; 221c5aa59e8SDavid Daney uint64_t reserved_22_63:42; 222c5aa59e8SDavid Daney #endif 223c5aa59e8SDavid Daney } s; 224c5aa59e8SDavid Daney }; 225c5aa59e8SDavid Daney 226c5aa59e8SDavid Daney union cvmx_fpa_fpf8_size { 227c5aa59e8SDavid Daney uint64_t u64; 228c5aa59e8SDavid Daney struct cvmx_fpa_fpf8_size_s { 229c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 230c5aa59e8SDavid Daney uint64_t reserved_12_63:52; 231c5aa59e8SDavid Daney uint64_t fpf_siz:12; 232c5aa59e8SDavid Daney #else 233c5aa59e8SDavid Daney uint64_t fpf_siz:12; 234c5aa59e8SDavid Daney uint64_t reserved_12_63:52; 235c5aa59e8SDavid Daney #endif 236c5aa59e8SDavid Daney } s; 237af866496SDavid Daney }; 238af866496SDavid Daney 239af866496SDavid Daney union cvmx_fpa_int_enb { 240af866496SDavid Daney uint64_t u64; 241af866496SDavid Daney struct cvmx_fpa_int_enb_s { 242c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 243c5aa59e8SDavid Daney uint64_t reserved_50_63:14; 244c5aa59e8SDavid Daney uint64_t paddr_e:1; 245c5aa59e8SDavid Daney uint64_t reserved_44_48:5; 246c5aa59e8SDavid Daney uint64_t free7:1; 247c5aa59e8SDavid Daney uint64_t free6:1; 248c5aa59e8SDavid Daney uint64_t free5:1; 249c5aa59e8SDavid Daney uint64_t free4:1; 250c5aa59e8SDavid Daney uint64_t free3:1; 251c5aa59e8SDavid Daney uint64_t free2:1; 252c5aa59e8SDavid Daney uint64_t free1:1; 253c5aa59e8SDavid Daney uint64_t free0:1; 254c5aa59e8SDavid Daney uint64_t pool7th:1; 255c5aa59e8SDavid Daney uint64_t pool6th:1; 256c5aa59e8SDavid Daney uint64_t pool5th:1; 257c5aa59e8SDavid Daney uint64_t pool4th:1; 258c5aa59e8SDavid Daney uint64_t pool3th:1; 259c5aa59e8SDavid Daney uint64_t pool2th:1; 260c5aa59e8SDavid Daney uint64_t pool1th:1; 261c5aa59e8SDavid Daney uint64_t pool0th:1; 262c5aa59e8SDavid Daney uint64_t q7_perr:1; 263c5aa59e8SDavid Daney uint64_t q7_coff:1; 264c5aa59e8SDavid Daney uint64_t q7_und:1; 265c5aa59e8SDavid Daney uint64_t q6_perr:1; 266c5aa59e8SDavid Daney uint64_t q6_coff:1; 267c5aa59e8SDavid Daney uint64_t q6_und:1; 268c5aa59e8SDavid Daney uint64_t q5_perr:1; 269c5aa59e8SDavid Daney uint64_t q5_coff:1; 270c5aa59e8SDavid Daney uint64_t q5_und:1; 271c5aa59e8SDavid Daney uint64_t q4_perr:1; 272c5aa59e8SDavid Daney uint64_t q4_coff:1; 273c5aa59e8SDavid Daney uint64_t q4_und:1; 274c5aa59e8SDavid Daney uint64_t q3_perr:1; 275c5aa59e8SDavid Daney uint64_t q3_coff:1; 276c5aa59e8SDavid Daney uint64_t q3_und:1; 277c5aa59e8SDavid Daney uint64_t q2_perr:1; 278c5aa59e8SDavid Daney uint64_t q2_coff:1; 279c5aa59e8SDavid Daney uint64_t q2_und:1; 280c5aa59e8SDavid Daney uint64_t q1_perr:1; 281c5aa59e8SDavid Daney uint64_t q1_coff:1; 282c5aa59e8SDavid Daney uint64_t q1_und:1; 283c5aa59e8SDavid Daney uint64_t q0_perr:1; 284c5aa59e8SDavid Daney uint64_t q0_coff:1; 285c5aa59e8SDavid Daney uint64_t q0_und:1; 286c5aa59e8SDavid Daney uint64_t fed1_dbe:1; 287c5aa59e8SDavid Daney uint64_t fed1_sbe:1; 288c5aa59e8SDavid Daney uint64_t fed0_dbe:1; 289c5aa59e8SDavid Daney uint64_t fed0_sbe:1; 290c5aa59e8SDavid Daney #else 291c5aa59e8SDavid Daney uint64_t fed0_sbe:1; 292c5aa59e8SDavid Daney uint64_t fed0_dbe:1; 293c5aa59e8SDavid Daney uint64_t fed1_sbe:1; 294c5aa59e8SDavid Daney uint64_t fed1_dbe:1; 295c5aa59e8SDavid Daney uint64_t q0_und:1; 296c5aa59e8SDavid Daney uint64_t q0_coff:1; 297c5aa59e8SDavid Daney uint64_t q0_perr:1; 298c5aa59e8SDavid Daney uint64_t q1_und:1; 299c5aa59e8SDavid Daney uint64_t q1_coff:1; 300c5aa59e8SDavid Daney uint64_t q1_perr:1; 301c5aa59e8SDavid Daney uint64_t q2_und:1; 302c5aa59e8SDavid Daney uint64_t q2_coff:1; 303c5aa59e8SDavid Daney uint64_t q2_perr:1; 304c5aa59e8SDavid Daney uint64_t q3_und:1; 305c5aa59e8SDavid Daney uint64_t q3_coff:1; 306c5aa59e8SDavid Daney uint64_t q3_perr:1; 307c5aa59e8SDavid Daney uint64_t q4_und:1; 308c5aa59e8SDavid Daney uint64_t q4_coff:1; 309c5aa59e8SDavid Daney uint64_t q4_perr:1; 310c5aa59e8SDavid Daney uint64_t q5_und:1; 311c5aa59e8SDavid Daney uint64_t q5_coff:1; 312c5aa59e8SDavid Daney uint64_t q5_perr:1; 313c5aa59e8SDavid Daney uint64_t q6_und:1; 314c5aa59e8SDavid Daney uint64_t q6_coff:1; 315c5aa59e8SDavid Daney uint64_t q6_perr:1; 316c5aa59e8SDavid Daney uint64_t q7_und:1; 317c5aa59e8SDavid Daney uint64_t q7_coff:1; 318c5aa59e8SDavid Daney uint64_t q7_perr:1; 319c5aa59e8SDavid Daney uint64_t pool0th:1; 320c5aa59e8SDavid Daney uint64_t pool1th:1; 321c5aa59e8SDavid Daney uint64_t pool2th:1; 322c5aa59e8SDavid Daney uint64_t pool3th:1; 323c5aa59e8SDavid Daney uint64_t pool4th:1; 324c5aa59e8SDavid Daney uint64_t pool5th:1; 325c5aa59e8SDavid Daney uint64_t pool6th:1; 326c5aa59e8SDavid Daney uint64_t pool7th:1; 327c5aa59e8SDavid Daney uint64_t free0:1; 328c5aa59e8SDavid Daney uint64_t free1:1; 329c5aa59e8SDavid Daney uint64_t free2:1; 330c5aa59e8SDavid Daney uint64_t free3:1; 331c5aa59e8SDavid Daney uint64_t free4:1; 332c5aa59e8SDavid Daney uint64_t free5:1; 333c5aa59e8SDavid Daney uint64_t free6:1; 334c5aa59e8SDavid Daney uint64_t free7:1; 335c5aa59e8SDavid Daney uint64_t reserved_44_48:5; 336c5aa59e8SDavid Daney uint64_t paddr_e:1; 337c5aa59e8SDavid Daney uint64_t reserved_50_63:14; 338c5aa59e8SDavid Daney #endif 339c5aa59e8SDavid Daney } s; 340c5aa59e8SDavid Daney struct cvmx_fpa_int_enb_cn30xx { 341c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 342af866496SDavid Daney uint64_t reserved_28_63:36; 343af866496SDavid Daney uint64_t q7_perr:1; 344af866496SDavid Daney uint64_t q7_coff:1; 345af866496SDavid Daney uint64_t q7_und:1; 346af866496SDavid Daney uint64_t q6_perr:1; 347af866496SDavid Daney uint64_t q6_coff:1; 348af866496SDavid Daney uint64_t q6_und:1; 349af866496SDavid Daney uint64_t q5_perr:1; 350af866496SDavid Daney uint64_t q5_coff:1; 351af866496SDavid Daney uint64_t q5_und:1; 352af866496SDavid Daney uint64_t q4_perr:1; 353af866496SDavid Daney uint64_t q4_coff:1; 354af866496SDavid Daney uint64_t q4_und:1; 355af866496SDavid Daney uint64_t q3_perr:1; 356af866496SDavid Daney uint64_t q3_coff:1; 357af866496SDavid Daney uint64_t q3_und:1; 358af866496SDavid Daney uint64_t q2_perr:1; 359af866496SDavid Daney uint64_t q2_coff:1; 360af866496SDavid Daney uint64_t q2_und:1; 361af866496SDavid Daney uint64_t q1_perr:1; 362af866496SDavid Daney uint64_t q1_coff:1; 363af866496SDavid Daney uint64_t q1_und:1; 364af866496SDavid Daney uint64_t q0_perr:1; 365af866496SDavid Daney uint64_t q0_coff:1; 366af866496SDavid Daney uint64_t q0_und:1; 367af866496SDavid Daney uint64_t fed1_dbe:1; 368af866496SDavid Daney uint64_t fed1_sbe:1; 369af866496SDavid Daney uint64_t fed0_dbe:1; 370af866496SDavid Daney uint64_t fed0_sbe:1; 371c5aa59e8SDavid Daney #else 372c5aa59e8SDavid Daney uint64_t fed0_sbe:1; 373c5aa59e8SDavid Daney uint64_t fed0_dbe:1; 374c5aa59e8SDavid Daney uint64_t fed1_sbe:1; 375c5aa59e8SDavid Daney uint64_t fed1_dbe:1; 376c5aa59e8SDavid Daney uint64_t q0_und:1; 377c5aa59e8SDavid Daney uint64_t q0_coff:1; 378c5aa59e8SDavid Daney uint64_t q0_perr:1; 379c5aa59e8SDavid Daney uint64_t q1_und:1; 380c5aa59e8SDavid Daney uint64_t q1_coff:1; 381c5aa59e8SDavid Daney uint64_t q1_perr:1; 382c5aa59e8SDavid Daney uint64_t q2_und:1; 383c5aa59e8SDavid Daney uint64_t q2_coff:1; 384c5aa59e8SDavid Daney uint64_t q2_perr:1; 385c5aa59e8SDavid Daney uint64_t q3_und:1; 386c5aa59e8SDavid Daney uint64_t q3_coff:1; 387c5aa59e8SDavid Daney uint64_t q3_perr:1; 388c5aa59e8SDavid Daney uint64_t q4_und:1; 389c5aa59e8SDavid Daney uint64_t q4_coff:1; 390c5aa59e8SDavid Daney uint64_t q4_perr:1; 391c5aa59e8SDavid Daney uint64_t q5_und:1; 392c5aa59e8SDavid Daney uint64_t q5_coff:1; 393c5aa59e8SDavid Daney uint64_t q5_perr:1; 394c5aa59e8SDavid Daney uint64_t q6_und:1; 395c5aa59e8SDavid Daney uint64_t q6_coff:1; 396c5aa59e8SDavid Daney uint64_t q6_perr:1; 397c5aa59e8SDavid Daney uint64_t q7_und:1; 398c5aa59e8SDavid Daney uint64_t q7_coff:1; 399c5aa59e8SDavid Daney uint64_t q7_perr:1; 400c5aa59e8SDavid Daney uint64_t reserved_28_63:36; 401c5aa59e8SDavid Daney #endif 402c5aa59e8SDavid Daney } cn30xx; 403c5aa59e8SDavid Daney struct cvmx_fpa_int_enb_cn61xx { 404c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 405c5aa59e8SDavid Daney uint64_t reserved_50_63:14; 406c5aa59e8SDavid Daney uint64_t paddr_e:1; 407c5aa59e8SDavid Daney uint64_t res_44:5; 408c5aa59e8SDavid Daney uint64_t free7:1; 409c5aa59e8SDavid Daney uint64_t free6:1; 410c5aa59e8SDavid Daney uint64_t free5:1; 411c5aa59e8SDavid Daney uint64_t free4:1; 412c5aa59e8SDavid Daney uint64_t free3:1; 413c5aa59e8SDavid Daney uint64_t free2:1; 414c5aa59e8SDavid Daney uint64_t free1:1; 415c5aa59e8SDavid Daney uint64_t free0:1; 416c5aa59e8SDavid Daney uint64_t pool7th:1; 417c5aa59e8SDavid Daney uint64_t pool6th:1; 418c5aa59e8SDavid Daney uint64_t pool5th:1; 419c5aa59e8SDavid Daney uint64_t pool4th:1; 420c5aa59e8SDavid Daney uint64_t pool3th:1; 421c5aa59e8SDavid Daney uint64_t pool2th:1; 422c5aa59e8SDavid Daney uint64_t pool1th:1; 423c5aa59e8SDavid Daney uint64_t pool0th:1; 424c5aa59e8SDavid Daney uint64_t q7_perr:1; 425c5aa59e8SDavid Daney uint64_t q7_coff:1; 426c5aa59e8SDavid Daney uint64_t q7_und:1; 427c5aa59e8SDavid Daney uint64_t q6_perr:1; 428c5aa59e8SDavid Daney uint64_t q6_coff:1; 429c5aa59e8SDavid Daney uint64_t q6_und:1; 430c5aa59e8SDavid Daney uint64_t q5_perr:1; 431c5aa59e8SDavid Daney uint64_t q5_coff:1; 432c5aa59e8SDavid Daney uint64_t q5_und:1; 433c5aa59e8SDavid Daney uint64_t q4_perr:1; 434c5aa59e8SDavid Daney uint64_t q4_coff:1; 435c5aa59e8SDavid Daney uint64_t q4_und:1; 436c5aa59e8SDavid Daney uint64_t q3_perr:1; 437c5aa59e8SDavid Daney uint64_t q3_coff:1; 438c5aa59e8SDavid Daney uint64_t q3_und:1; 439c5aa59e8SDavid Daney uint64_t q2_perr:1; 440c5aa59e8SDavid Daney uint64_t q2_coff:1; 441c5aa59e8SDavid Daney uint64_t q2_und:1; 442c5aa59e8SDavid Daney uint64_t q1_perr:1; 443c5aa59e8SDavid Daney uint64_t q1_coff:1; 444c5aa59e8SDavid Daney uint64_t q1_und:1; 445c5aa59e8SDavid Daney uint64_t q0_perr:1; 446c5aa59e8SDavid Daney uint64_t q0_coff:1; 447c5aa59e8SDavid Daney uint64_t q0_und:1; 448c5aa59e8SDavid Daney uint64_t fed1_dbe:1; 449c5aa59e8SDavid Daney uint64_t fed1_sbe:1; 450c5aa59e8SDavid Daney uint64_t fed0_dbe:1; 451c5aa59e8SDavid Daney uint64_t fed0_sbe:1; 452c5aa59e8SDavid Daney #else 453c5aa59e8SDavid Daney uint64_t fed0_sbe:1; 454c5aa59e8SDavid Daney uint64_t fed0_dbe:1; 455c5aa59e8SDavid Daney uint64_t fed1_sbe:1; 456c5aa59e8SDavid Daney uint64_t fed1_dbe:1; 457c5aa59e8SDavid Daney uint64_t q0_und:1; 458c5aa59e8SDavid Daney uint64_t q0_coff:1; 459c5aa59e8SDavid Daney uint64_t q0_perr:1; 460c5aa59e8SDavid Daney uint64_t q1_und:1; 461c5aa59e8SDavid Daney uint64_t q1_coff:1; 462c5aa59e8SDavid Daney uint64_t q1_perr:1; 463c5aa59e8SDavid Daney uint64_t q2_und:1; 464c5aa59e8SDavid Daney uint64_t q2_coff:1; 465c5aa59e8SDavid Daney uint64_t q2_perr:1; 466c5aa59e8SDavid Daney uint64_t q3_und:1; 467c5aa59e8SDavid Daney uint64_t q3_coff:1; 468c5aa59e8SDavid Daney uint64_t q3_perr:1; 469c5aa59e8SDavid Daney uint64_t q4_und:1; 470c5aa59e8SDavid Daney uint64_t q4_coff:1; 471c5aa59e8SDavid Daney uint64_t q4_perr:1; 472c5aa59e8SDavid Daney uint64_t q5_und:1; 473c5aa59e8SDavid Daney uint64_t q5_coff:1; 474c5aa59e8SDavid Daney uint64_t q5_perr:1; 475c5aa59e8SDavid Daney uint64_t q6_und:1; 476c5aa59e8SDavid Daney uint64_t q6_coff:1; 477c5aa59e8SDavid Daney uint64_t q6_perr:1; 478c5aa59e8SDavid Daney uint64_t q7_und:1; 479c5aa59e8SDavid Daney uint64_t q7_coff:1; 480c5aa59e8SDavid Daney uint64_t q7_perr:1; 481c5aa59e8SDavid Daney uint64_t pool0th:1; 482c5aa59e8SDavid Daney uint64_t pool1th:1; 483c5aa59e8SDavid Daney uint64_t pool2th:1; 484c5aa59e8SDavid Daney uint64_t pool3th:1; 485c5aa59e8SDavid Daney uint64_t pool4th:1; 486c5aa59e8SDavid Daney uint64_t pool5th:1; 487c5aa59e8SDavid Daney uint64_t pool6th:1; 488c5aa59e8SDavid Daney uint64_t pool7th:1; 489c5aa59e8SDavid Daney uint64_t free0:1; 490c5aa59e8SDavid Daney uint64_t free1:1; 491c5aa59e8SDavid Daney uint64_t free2:1; 492c5aa59e8SDavid Daney uint64_t free3:1; 493c5aa59e8SDavid Daney uint64_t free4:1; 494c5aa59e8SDavid Daney uint64_t free5:1; 495c5aa59e8SDavid Daney uint64_t free6:1; 496c5aa59e8SDavid Daney uint64_t free7:1; 497c5aa59e8SDavid Daney uint64_t res_44:5; 498c5aa59e8SDavid Daney uint64_t paddr_e:1; 499c5aa59e8SDavid Daney uint64_t reserved_50_63:14; 500c5aa59e8SDavid Daney #endif 501c5aa59e8SDavid Daney } cn61xx; 502c5aa59e8SDavid Daney struct cvmx_fpa_int_enb_cn63xx { 503c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 504c5aa59e8SDavid Daney uint64_t reserved_44_63:20; 505c5aa59e8SDavid Daney uint64_t free7:1; 506c5aa59e8SDavid Daney uint64_t free6:1; 507c5aa59e8SDavid Daney uint64_t free5:1; 508c5aa59e8SDavid Daney uint64_t free4:1; 509c5aa59e8SDavid Daney uint64_t free3:1; 510c5aa59e8SDavid Daney uint64_t free2:1; 511c5aa59e8SDavid Daney uint64_t free1:1; 512c5aa59e8SDavid Daney uint64_t free0:1; 513c5aa59e8SDavid Daney uint64_t pool7th:1; 514c5aa59e8SDavid Daney uint64_t pool6th:1; 515c5aa59e8SDavid Daney uint64_t pool5th:1; 516c5aa59e8SDavid Daney uint64_t pool4th:1; 517c5aa59e8SDavid Daney uint64_t pool3th:1; 518c5aa59e8SDavid Daney uint64_t pool2th:1; 519c5aa59e8SDavid Daney uint64_t pool1th:1; 520c5aa59e8SDavid Daney uint64_t pool0th:1; 521c5aa59e8SDavid Daney uint64_t q7_perr:1; 522c5aa59e8SDavid Daney uint64_t q7_coff:1; 523c5aa59e8SDavid Daney uint64_t q7_und:1; 524c5aa59e8SDavid Daney uint64_t q6_perr:1; 525c5aa59e8SDavid Daney uint64_t q6_coff:1; 526c5aa59e8SDavid Daney uint64_t q6_und:1; 527c5aa59e8SDavid Daney uint64_t q5_perr:1; 528c5aa59e8SDavid Daney uint64_t q5_coff:1; 529c5aa59e8SDavid Daney uint64_t q5_und:1; 530c5aa59e8SDavid Daney uint64_t q4_perr:1; 531c5aa59e8SDavid Daney uint64_t q4_coff:1; 532c5aa59e8SDavid Daney uint64_t q4_und:1; 533c5aa59e8SDavid Daney uint64_t q3_perr:1; 534c5aa59e8SDavid Daney uint64_t q3_coff:1; 535c5aa59e8SDavid Daney uint64_t q3_und:1; 536c5aa59e8SDavid Daney uint64_t q2_perr:1; 537c5aa59e8SDavid Daney uint64_t q2_coff:1; 538c5aa59e8SDavid Daney uint64_t q2_und:1; 539c5aa59e8SDavid Daney uint64_t q1_perr:1; 540c5aa59e8SDavid Daney uint64_t q1_coff:1; 541c5aa59e8SDavid Daney uint64_t q1_und:1; 542c5aa59e8SDavid Daney uint64_t q0_perr:1; 543c5aa59e8SDavid Daney uint64_t q0_coff:1; 544c5aa59e8SDavid Daney uint64_t q0_und:1; 545c5aa59e8SDavid Daney uint64_t fed1_dbe:1; 546c5aa59e8SDavid Daney uint64_t fed1_sbe:1; 547c5aa59e8SDavid Daney uint64_t fed0_dbe:1; 548c5aa59e8SDavid Daney uint64_t fed0_sbe:1; 549c5aa59e8SDavid Daney #else 550c5aa59e8SDavid Daney uint64_t fed0_sbe:1; 551c5aa59e8SDavid Daney uint64_t fed0_dbe:1; 552c5aa59e8SDavid Daney uint64_t fed1_sbe:1; 553c5aa59e8SDavid Daney uint64_t fed1_dbe:1; 554c5aa59e8SDavid Daney uint64_t q0_und:1; 555c5aa59e8SDavid Daney uint64_t q0_coff:1; 556c5aa59e8SDavid Daney uint64_t q0_perr:1; 557c5aa59e8SDavid Daney uint64_t q1_und:1; 558c5aa59e8SDavid Daney uint64_t q1_coff:1; 559c5aa59e8SDavid Daney uint64_t q1_perr:1; 560c5aa59e8SDavid Daney uint64_t q2_und:1; 561c5aa59e8SDavid Daney uint64_t q2_coff:1; 562c5aa59e8SDavid Daney uint64_t q2_perr:1; 563c5aa59e8SDavid Daney uint64_t q3_und:1; 564c5aa59e8SDavid Daney uint64_t q3_coff:1; 565c5aa59e8SDavid Daney uint64_t q3_perr:1; 566c5aa59e8SDavid Daney uint64_t q4_und:1; 567c5aa59e8SDavid Daney uint64_t q4_coff:1; 568c5aa59e8SDavid Daney uint64_t q4_perr:1; 569c5aa59e8SDavid Daney uint64_t q5_und:1; 570c5aa59e8SDavid Daney uint64_t q5_coff:1; 571c5aa59e8SDavid Daney uint64_t q5_perr:1; 572c5aa59e8SDavid Daney uint64_t q6_und:1; 573c5aa59e8SDavid Daney uint64_t q6_coff:1; 574c5aa59e8SDavid Daney uint64_t q6_perr:1; 575c5aa59e8SDavid Daney uint64_t q7_und:1; 576c5aa59e8SDavid Daney uint64_t q7_coff:1; 577c5aa59e8SDavid Daney uint64_t q7_perr:1; 578c5aa59e8SDavid Daney uint64_t pool0th:1; 579c5aa59e8SDavid Daney uint64_t pool1th:1; 580c5aa59e8SDavid Daney uint64_t pool2th:1; 581c5aa59e8SDavid Daney uint64_t pool3th:1; 582c5aa59e8SDavid Daney uint64_t pool4th:1; 583c5aa59e8SDavid Daney uint64_t pool5th:1; 584c5aa59e8SDavid Daney uint64_t pool6th:1; 585c5aa59e8SDavid Daney uint64_t pool7th:1; 586c5aa59e8SDavid Daney uint64_t free0:1; 587c5aa59e8SDavid Daney uint64_t free1:1; 588c5aa59e8SDavid Daney uint64_t free2:1; 589c5aa59e8SDavid Daney uint64_t free3:1; 590c5aa59e8SDavid Daney uint64_t free4:1; 591c5aa59e8SDavid Daney uint64_t free5:1; 592c5aa59e8SDavid Daney uint64_t free6:1; 593c5aa59e8SDavid Daney uint64_t free7:1; 594c5aa59e8SDavid Daney uint64_t reserved_44_63:20; 595c5aa59e8SDavid Daney #endif 596c5aa59e8SDavid Daney } cn63xx; 597c5aa59e8SDavid Daney struct cvmx_fpa_int_enb_cn68xx { 598c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 599c5aa59e8SDavid Daney uint64_t reserved_50_63:14; 600c5aa59e8SDavid Daney uint64_t paddr_e:1; 601c5aa59e8SDavid Daney uint64_t pool8th:1; 602c5aa59e8SDavid Daney uint64_t q8_perr:1; 603c5aa59e8SDavid Daney uint64_t q8_coff:1; 604c5aa59e8SDavid Daney uint64_t q8_und:1; 605c5aa59e8SDavid Daney uint64_t free8:1; 606c5aa59e8SDavid Daney uint64_t free7:1; 607c5aa59e8SDavid Daney uint64_t free6:1; 608c5aa59e8SDavid Daney uint64_t free5:1; 609c5aa59e8SDavid Daney uint64_t free4:1; 610c5aa59e8SDavid Daney uint64_t free3:1; 611c5aa59e8SDavid Daney uint64_t free2:1; 612c5aa59e8SDavid Daney uint64_t free1:1; 613c5aa59e8SDavid Daney uint64_t free0:1; 614c5aa59e8SDavid Daney uint64_t pool7th:1; 615c5aa59e8SDavid Daney uint64_t pool6th:1; 616c5aa59e8SDavid Daney uint64_t pool5th:1; 617c5aa59e8SDavid Daney uint64_t pool4th:1; 618c5aa59e8SDavid Daney uint64_t pool3th:1; 619c5aa59e8SDavid Daney uint64_t pool2th:1; 620c5aa59e8SDavid Daney uint64_t pool1th:1; 621c5aa59e8SDavid Daney uint64_t pool0th:1; 622c5aa59e8SDavid Daney uint64_t q7_perr:1; 623c5aa59e8SDavid Daney uint64_t q7_coff:1; 624c5aa59e8SDavid Daney uint64_t q7_und:1; 625c5aa59e8SDavid Daney uint64_t q6_perr:1; 626c5aa59e8SDavid Daney uint64_t q6_coff:1; 627c5aa59e8SDavid Daney uint64_t q6_und:1; 628c5aa59e8SDavid Daney uint64_t q5_perr:1; 629c5aa59e8SDavid Daney uint64_t q5_coff:1; 630c5aa59e8SDavid Daney uint64_t q5_und:1; 631c5aa59e8SDavid Daney uint64_t q4_perr:1; 632c5aa59e8SDavid Daney uint64_t q4_coff:1; 633c5aa59e8SDavid Daney uint64_t q4_und:1; 634c5aa59e8SDavid Daney uint64_t q3_perr:1; 635c5aa59e8SDavid Daney uint64_t q3_coff:1; 636c5aa59e8SDavid Daney uint64_t q3_und:1; 637c5aa59e8SDavid Daney uint64_t q2_perr:1; 638c5aa59e8SDavid Daney uint64_t q2_coff:1; 639c5aa59e8SDavid Daney uint64_t q2_und:1; 640c5aa59e8SDavid Daney uint64_t q1_perr:1; 641c5aa59e8SDavid Daney uint64_t q1_coff:1; 642c5aa59e8SDavid Daney uint64_t q1_und:1; 643c5aa59e8SDavid Daney uint64_t q0_perr:1; 644c5aa59e8SDavid Daney uint64_t q0_coff:1; 645c5aa59e8SDavid Daney uint64_t q0_und:1; 646c5aa59e8SDavid Daney uint64_t fed1_dbe:1; 647c5aa59e8SDavid Daney uint64_t fed1_sbe:1; 648c5aa59e8SDavid Daney uint64_t fed0_dbe:1; 649c5aa59e8SDavid Daney uint64_t fed0_sbe:1; 650c5aa59e8SDavid Daney #else 651c5aa59e8SDavid Daney uint64_t fed0_sbe:1; 652c5aa59e8SDavid Daney uint64_t fed0_dbe:1; 653c5aa59e8SDavid Daney uint64_t fed1_sbe:1; 654c5aa59e8SDavid Daney uint64_t fed1_dbe:1; 655c5aa59e8SDavid Daney uint64_t q0_und:1; 656c5aa59e8SDavid Daney uint64_t q0_coff:1; 657c5aa59e8SDavid Daney uint64_t q0_perr:1; 658c5aa59e8SDavid Daney uint64_t q1_und:1; 659c5aa59e8SDavid Daney uint64_t q1_coff:1; 660c5aa59e8SDavid Daney uint64_t q1_perr:1; 661c5aa59e8SDavid Daney uint64_t q2_und:1; 662c5aa59e8SDavid Daney uint64_t q2_coff:1; 663c5aa59e8SDavid Daney uint64_t q2_perr:1; 664c5aa59e8SDavid Daney uint64_t q3_und:1; 665c5aa59e8SDavid Daney uint64_t q3_coff:1; 666c5aa59e8SDavid Daney uint64_t q3_perr:1; 667c5aa59e8SDavid Daney uint64_t q4_und:1; 668c5aa59e8SDavid Daney uint64_t q4_coff:1; 669c5aa59e8SDavid Daney uint64_t q4_perr:1; 670c5aa59e8SDavid Daney uint64_t q5_und:1; 671c5aa59e8SDavid Daney uint64_t q5_coff:1; 672c5aa59e8SDavid Daney uint64_t q5_perr:1; 673c5aa59e8SDavid Daney uint64_t q6_und:1; 674c5aa59e8SDavid Daney uint64_t q6_coff:1; 675c5aa59e8SDavid Daney uint64_t q6_perr:1; 676c5aa59e8SDavid Daney uint64_t q7_und:1; 677c5aa59e8SDavid Daney uint64_t q7_coff:1; 678c5aa59e8SDavid Daney uint64_t q7_perr:1; 679c5aa59e8SDavid Daney uint64_t pool0th:1; 680c5aa59e8SDavid Daney uint64_t pool1th:1; 681c5aa59e8SDavid Daney uint64_t pool2th:1; 682c5aa59e8SDavid Daney uint64_t pool3th:1; 683c5aa59e8SDavid Daney uint64_t pool4th:1; 684c5aa59e8SDavid Daney uint64_t pool5th:1; 685c5aa59e8SDavid Daney uint64_t pool6th:1; 686c5aa59e8SDavid Daney uint64_t pool7th:1; 687c5aa59e8SDavid Daney uint64_t free0:1; 688c5aa59e8SDavid Daney uint64_t free1:1; 689c5aa59e8SDavid Daney uint64_t free2:1; 690c5aa59e8SDavid Daney uint64_t free3:1; 691c5aa59e8SDavid Daney uint64_t free4:1; 692c5aa59e8SDavid Daney uint64_t free5:1; 693c5aa59e8SDavid Daney uint64_t free6:1; 694c5aa59e8SDavid Daney uint64_t free7:1; 695c5aa59e8SDavid Daney uint64_t free8:1; 696c5aa59e8SDavid Daney uint64_t q8_und:1; 697c5aa59e8SDavid Daney uint64_t q8_coff:1; 698c5aa59e8SDavid Daney uint64_t q8_perr:1; 699c5aa59e8SDavid Daney uint64_t pool8th:1; 700c5aa59e8SDavid Daney uint64_t paddr_e:1; 701c5aa59e8SDavid Daney uint64_t reserved_50_63:14; 702c5aa59e8SDavid Daney #endif 703c5aa59e8SDavid Daney } cn68xx; 704af866496SDavid Daney }; 705af866496SDavid Daney 706af866496SDavid Daney union cvmx_fpa_int_sum { 707af866496SDavid Daney uint64_t u64; 708af866496SDavid Daney struct cvmx_fpa_int_sum_s { 709c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 710c5aa59e8SDavid Daney uint64_t reserved_50_63:14; 711c5aa59e8SDavid Daney uint64_t paddr_e:1; 712c5aa59e8SDavid Daney uint64_t pool8th:1; 713c5aa59e8SDavid Daney uint64_t q8_perr:1; 714c5aa59e8SDavid Daney uint64_t q8_coff:1; 715c5aa59e8SDavid Daney uint64_t q8_und:1; 716c5aa59e8SDavid Daney uint64_t free8:1; 717c5aa59e8SDavid Daney uint64_t free7:1; 718c5aa59e8SDavid Daney uint64_t free6:1; 719c5aa59e8SDavid Daney uint64_t free5:1; 720c5aa59e8SDavid Daney uint64_t free4:1; 721c5aa59e8SDavid Daney uint64_t free3:1; 722c5aa59e8SDavid Daney uint64_t free2:1; 723c5aa59e8SDavid Daney uint64_t free1:1; 724c5aa59e8SDavid Daney uint64_t free0:1; 725c5aa59e8SDavid Daney uint64_t pool7th:1; 726c5aa59e8SDavid Daney uint64_t pool6th:1; 727c5aa59e8SDavid Daney uint64_t pool5th:1; 728c5aa59e8SDavid Daney uint64_t pool4th:1; 729c5aa59e8SDavid Daney uint64_t pool3th:1; 730c5aa59e8SDavid Daney uint64_t pool2th:1; 731c5aa59e8SDavid Daney uint64_t pool1th:1; 732c5aa59e8SDavid Daney uint64_t pool0th:1; 733c5aa59e8SDavid Daney uint64_t q7_perr:1; 734c5aa59e8SDavid Daney uint64_t q7_coff:1; 735c5aa59e8SDavid Daney uint64_t q7_und:1; 736c5aa59e8SDavid Daney uint64_t q6_perr:1; 737c5aa59e8SDavid Daney uint64_t q6_coff:1; 738c5aa59e8SDavid Daney uint64_t q6_und:1; 739c5aa59e8SDavid Daney uint64_t q5_perr:1; 740c5aa59e8SDavid Daney uint64_t q5_coff:1; 741c5aa59e8SDavid Daney uint64_t q5_und:1; 742c5aa59e8SDavid Daney uint64_t q4_perr:1; 743c5aa59e8SDavid Daney uint64_t q4_coff:1; 744c5aa59e8SDavid Daney uint64_t q4_und:1; 745c5aa59e8SDavid Daney uint64_t q3_perr:1; 746c5aa59e8SDavid Daney uint64_t q3_coff:1; 747c5aa59e8SDavid Daney uint64_t q3_und:1; 748c5aa59e8SDavid Daney uint64_t q2_perr:1; 749c5aa59e8SDavid Daney uint64_t q2_coff:1; 750c5aa59e8SDavid Daney uint64_t q2_und:1; 751c5aa59e8SDavid Daney uint64_t q1_perr:1; 752c5aa59e8SDavid Daney uint64_t q1_coff:1; 753c5aa59e8SDavid Daney uint64_t q1_und:1; 754c5aa59e8SDavid Daney uint64_t q0_perr:1; 755c5aa59e8SDavid Daney uint64_t q0_coff:1; 756c5aa59e8SDavid Daney uint64_t q0_und:1; 757c5aa59e8SDavid Daney uint64_t fed1_dbe:1; 758c5aa59e8SDavid Daney uint64_t fed1_sbe:1; 759c5aa59e8SDavid Daney uint64_t fed0_dbe:1; 760c5aa59e8SDavid Daney uint64_t fed0_sbe:1; 761c5aa59e8SDavid Daney #else 762c5aa59e8SDavid Daney uint64_t fed0_sbe:1; 763c5aa59e8SDavid Daney uint64_t fed0_dbe:1; 764c5aa59e8SDavid Daney uint64_t fed1_sbe:1; 765c5aa59e8SDavid Daney uint64_t fed1_dbe:1; 766c5aa59e8SDavid Daney uint64_t q0_und:1; 767c5aa59e8SDavid Daney uint64_t q0_coff:1; 768c5aa59e8SDavid Daney uint64_t q0_perr:1; 769c5aa59e8SDavid Daney uint64_t q1_und:1; 770c5aa59e8SDavid Daney uint64_t q1_coff:1; 771c5aa59e8SDavid Daney uint64_t q1_perr:1; 772c5aa59e8SDavid Daney uint64_t q2_und:1; 773c5aa59e8SDavid Daney uint64_t q2_coff:1; 774c5aa59e8SDavid Daney uint64_t q2_perr:1; 775c5aa59e8SDavid Daney uint64_t q3_und:1; 776c5aa59e8SDavid Daney uint64_t q3_coff:1; 777c5aa59e8SDavid Daney uint64_t q3_perr:1; 778c5aa59e8SDavid Daney uint64_t q4_und:1; 779c5aa59e8SDavid Daney uint64_t q4_coff:1; 780c5aa59e8SDavid Daney uint64_t q4_perr:1; 781c5aa59e8SDavid Daney uint64_t q5_und:1; 782c5aa59e8SDavid Daney uint64_t q5_coff:1; 783c5aa59e8SDavid Daney uint64_t q5_perr:1; 784c5aa59e8SDavid Daney uint64_t q6_und:1; 785c5aa59e8SDavid Daney uint64_t q6_coff:1; 786c5aa59e8SDavid Daney uint64_t q6_perr:1; 787c5aa59e8SDavid Daney uint64_t q7_und:1; 788c5aa59e8SDavid Daney uint64_t q7_coff:1; 789c5aa59e8SDavid Daney uint64_t q7_perr:1; 790c5aa59e8SDavid Daney uint64_t pool0th:1; 791c5aa59e8SDavid Daney uint64_t pool1th:1; 792c5aa59e8SDavid Daney uint64_t pool2th:1; 793c5aa59e8SDavid Daney uint64_t pool3th:1; 794c5aa59e8SDavid Daney uint64_t pool4th:1; 795c5aa59e8SDavid Daney uint64_t pool5th:1; 796c5aa59e8SDavid Daney uint64_t pool6th:1; 797c5aa59e8SDavid Daney uint64_t pool7th:1; 798c5aa59e8SDavid Daney uint64_t free0:1; 799c5aa59e8SDavid Daney uint64_t free1:1; 800c5aa59e8SDavid Daney uint64_t free2:1; 801c5aa59e8SDavid Daney uint64_t free3:1; 802c5aa59e8SDavid Daney uint64_t free4:1; 803c5aa59e8SDavid Daney uint64_t free5:1; 804c5aa59e8SDavid Daney uint64_t free6:1; 805c5aa59e8SDavid Daney uint64_t free7:1; 806c5aa59e8SDavid Daney uint64_t free8:1; 807c5aa59e8SDavid Daney uint64_t q8_und:1; 808c5aa59e8SDavid Daney uint64_t q8_coff:1; 809c5aa59e8SDavid Daney uint64_t q8_perr:1; 810c5aa59e8SDavid Daney uint64_t pool8th:1; 811c5aa59e8SDavid Daney uint64_t paddr_e:1; 812c5aa59e8SDavid Daney uint64_t reserved_50_63:14; 813c5aa59e8SDavid Daney #endif 814c5aa59e8SDavid Daney } s; 815c5aa59e8SDavid Daney struct cvmx_fpa_int_sum_cn30xx { 816c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 817af866496SDavid Daney uint64_t reserved_28_63:36; 818af866496SDavid Daney uint64_t q7_perr:1; 819af866496SDavid Daney uint64_t q7_coff:1; 820af866496SDavid Daney uint64_t q7_und:1; 821af866496SDavid Daney uint64_t q6_perr:1; 822af866496SDavid Daney uint64_t q6_coff:1; 823af866496SDavid Daney uint64_t q6_und:1; 824af866496SDavid Daney uint64_t q5_perr:1; 825af866496SDavid Daney uint64_t q5_coff:1; 826af866496SDavid Daney uint64_t q5_und:1; 827af866496SDavid Daney uint64_t q4_perr:1; 828af866496SDavid Daney uint64_t q4_coff:1; 829af866496SDavid Daney uint64_t q4_und:1; 830af866496SDavid Daney uint64_t q3_perr:1; 831af866496SDavid Daney uint64_t q3_coff:1; 832af866496SDavid Daney uint64_t q3_und:1; 833af866496SDavid Daney uint64_t q2_perr:1; 834af866496SDavid Daney uint64_t q2_coff:1; 835af866496SDavid Daney uint64_t q2_und:1; 836af866496SDavid Daney uint64_t q1_perr:1; 837af866496SDavid Daney uint64_t q1_coff:1; 838af866496SDavid Daney uint64_t q1_und:1; 839af866496SDavid Daney uint64_t q0_perr:1; 840af866496SDavid Daney uint64_t q0_coff:1; 841af866496SDavid Daney uint64_t q0_und:1; 842af866496SDavid Daney uint64_t fed1_dbe:1; 843af866496SDavid Daney uint64_t fed1_sbe:1; 844af866496SDavid Daney uint64_t fed0_dbe:1; 845af866496SDavid Daney uint64_t fed0_sbe:1; 846c5aa59e8SDavid Daney #else 847c5aa59e8SDavid Daney uint64_t fed0_sbe:1; 848c5aa59e8SDavid Daney uint64_t fed0_dbe:1; 849c5aa59e8SDavid Daney uint64_t fed1_sbe:1; 850c5aa59e8SDavid Daney uint64_t fed1_dbe:1; 851c5aa59e8SDavid Daney uint64_t q0_und:1; 852c5aa59e8SDavid Daney uint64_t q0_coff:1; 853c5aa59e8SDavid Daney uint64_t q0_perr:1; 854c5aa59e8SDavid Daney uint64_t q1_und:1; 855c5aa59e8SDavid Daney uint64_t q1_coff:1; 856c5aa59e8SDavid Daney uint64_t q1_perr:1; 857c5aa59e8SDavid Daney uint64_t q2_und:1; 858c5aa59e8SDavid Daney uint64_t q2_coff:1; 859c5aa59e8SDavid Daney uint64_t q2_perr:1; 860c5aa59e8SDavid Daney uint64_t q3_und:1; 861c5aa59e8SDavid Daney uint64_t q3_coff:1; 862c5aa59e8SDavid Daney uint64_t q3_perr:1; 863c5aa59e8SDavid Daney uint64_t q4_und:1; 864c5aa59e8SDavid Daney uint64_t q4_coff:1; 865c5aa59e8SDavid Daney uint64_t q4_perr:1; 866c5aa59e8SDavid Daney uint64_t q5_und:1; 867c5aa59e8SDavid Daney uint64_t q5_coff:1; 868c5aa59e8SDavid Daney uint64_t q5_perr:1; 869c5aa59e8SDavid Daney uint64_t q6_und:1; 870c5aa59e8SDavid Daney uint64_t q6_coff:1; 871c5aa59e8SDavid Daney uint64_t q6_perr:1; 872c5aa59e8SDavid Daney uint64_t q7_und:1; 873c5aa59e8SDavid Daney uint64_t q7_coff:1; 874c5aa59e8SDavid Daney uint64_t q7_perr:1; 875c5aa59e8SDavid Daney uint64_t reserved_28_63:36; 876c5aa59e8SDavid Daney #endif 877c5aa59e8SDavid Daney } cn30xx; 878c5aa59e8SDavid Daney struct cvmx_fpa_int_sum_cn61xx { 879c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 880c5aa59e8SDavid Daney uint64_t reserved_50_63:14; 881c5aa59e8SDavid Daney uint64_t paddr_e:1; 882c5aa59e8SDavid Daney uint64_t reserved_44_48:5; 883c5aa59e8SDavid Daney uint64_t free7:1; 884c5aa59e8SDavid Daney uint64_t free6:1; 885c5aa59e8SDavid Daney uint64_t free5:1; 886c5aa59e8SDavid Daney uint64_t free4:1; 887c5aa59e8SDavid Daney uint64_t free3:1; 888c5aa59e8SDavid Daney uint64_t free2:1; 889c5aa59e8SDavid Daney uint64_t free1:1; 890c5aa59e8SDavid Daney uint64_t free0:1; 891c5aa59e8SDavid Daney uint64_t pool7th:1; 892c5aa59e8SDavid Daney uint64_t pool6th:1; 893c5aa59e8SDavid Daney uint64_t pool5th:1; 894c5aa59e8SDavid Daney uint64_t pool4th:1; 895c5aa59e8SDavid Daney uint64_t pool3th:1; 896c5aa59e8SDavid Daney uint64_t pool2th:1; 897c5aa59e8SDavid Daney uint64_t pool1th:1; 898c5aa59e8SDavid Daney uint64_t pool0th:1; 899c5aa59e8SDavid Daney uint64_t q7_perr:1; 900c5aa59e8SDavid Daney uint64_t q7_coff:1; 901c5aa59e8SDavid Daney uint64_t q7_und:1; 902c5aa59e8SDavid Daney uint64_t q6_perr:1; 903c5aa59e8SDavid Daney uint64_t q6_coff:1; 904c5aa59e8SDavid Daney uint64_t q6_und:1; 905c5aa59e8SDavid Daney uint64_t q5_perr:1; 906c5aa59e8SDavid Daney uint64_t q5_coff:1; 907c5aa59e8SDavid Daney uint64_t q5_und:1; 908c5aa59e8SDavid Daney uint64_t q4_perr:1; 909c5aa59e8SDavid Daney uint64_t q4_coff:1; 910c5aa59e8SDavid Daney uint64_t q4_und:1; 911c5aa59e8SDavid Daney uint64_t q3_perr:1; 912c5aa59e8SDavid Daney uint64_t q3_coff:1; 913c5aa59e8SDavid Daney uint64_t q3_und:1; 914c5aa59e8SDavid Daney uint64_t q2_perr:1; 915c5aa59e8SDavid Daney uint64_t q2_coff:1; 916c5aa59e8SDavid Daney uint64_t q2_und:1; 917c5aa59e8SDavid Daney uint64_t q1_perr:1; 918c5aa59e8SDavid Daney uint64_t q1_coff:1; 919c5aa59e8SDavid Daney uint64_t q1_und:1; 920c5aa59e8SDavid Daney uint64_t q0_perr:1; 921c5aa59e8SDavid Daney uint64_t q0_coff:1; 922c5aa59e8SDavid Daney uint64_t q0_und:1; 923c5aa59e8SDavid Daney uint64_t fed1_dbe:1; 924c5aa59e8SDavid Daney uint64_t fed1_sbe:1; 925c5aa59e8SDavid Daney uint64_t fed0_dbe:1; 926c5aa59e8SDavid Daney uint64_t fed0_sbe:1; 927c5aa59e8SDavid Daney #else 928c5aa59e8SDavid Daney uint64_t fed0_sbe:1; 929c5aa59e8SDavid Daney uint64_t fed0_dbe:1; 930c5aa59e8SDavid Daney uint64_t fed1_sbe:1; 931c5aa59e8SDavid Daney uint64_t fed1_dbe:1; 932c5aa59e8SDavid Daney uint64_t q0_und:1; 933c5aa59e8SDavid Daney uint64_t q0_coff:1; 934c5aa59e8SDavid Daney uint64_t q0_perr:1; 935c5aa59e8SDavid Daney uint64_t q1_und:1; 936c5aa59e8SDavid Daney uint64_t q1_coff:1; 937c5aa59e8SDavid Daney uint64_t q1_perr:1; 938c5aa59e8SDavid Daney uint64_t q2_und:1; 939c5aa59e8SDavid Daney uint64_t q2_coff:1; 940c5aa59e8SDavid Daney uint64_t q2_perr:1; 941c5aa59e8SDavid Daney uint64_t q3_und:1; 942c5aa59e8SDavid Daney uint64_t q3_coff:1; 943c5aa59e8SDavid Daney uint64_t q3_perr:1; 944c5aa59e8SDavid Daney uint64_t q4_und:1; 945c5aa59e8SDavid Daney uint64_t q4_coff:1; 946c5aa59e8SDavid Daney uint64_t q4_perr:1; 947c5aa59e8SDavid Daney uint64_t q5_und:1; 948c5aa59e8SDavid Daney uint64_t q5_coff:1; 949c5aa59e8SDavid Daney uint64_t q5_perr:1; 950c5aa59e8SDavid Daney uint64_t q6_und:1; 951c5aa59e8SDavid Daney uint64_t q6_coff:1; 952c5aa59e8SDavid Daney uint64_t q6_perr:1; 953c5aa59e8SDavid Daney uint64_t q7_und:1; 954c5aa59e8SDavid Daney uint64_t q7_coff:1; 955c5aa59e8SDavid Daney uint64_t q7_perr:1; 956c5aa59e8SDavid Daney uint64_t pool0th:1; 957c5aa59e8SDavid Daney uint64_t pool1th:1; 958c5aa59e8SDavid Daney uint64_t pool2th:1; 959c5aa59e8SDavid Daney uint64_t pool3th:1; 960c5aa59e8SDavid Daney uint64_t pool4th:1; 961c5aa59e8SDavid Daney uint64_t pool5th:1; 962c5aa59e8SDavid Daney uint64_t pool6th:1; 963c5aa59e8SDavid Daney uint64_t pool7th:1; 964c5aa59e8SDavid Daney uint64_t free0:1; 965c5aa59e8SDavid Daney uint64_t free1:1; 966c5aa59e8SDavid Daney uint64_t free2:1; 967c5aa59e8SDavid Daney uint64_t free3:1; 968c5aa59e8SDavid Daney uint64_t free4:1; 969c5aa59e8SDavid Daney uint64_t free5:1; 970c5aa59e8SDavid Daney uint64_t free6:1; 971c5aa59e8SDavid Daney uint64_t free7:1; 972c5aa59e8SDavid Daney uint64_t reserved_44_48:5; 973c5aa59e8SDavid Daney uint64_t paddr_e:1; 974c5aa59e8SDavid Daney uint64_t reserved_50_63:14; 975c5aa59e8SDavid Daney #endif 976c5aa59e8SDavid Daney } cn61xx; 977c5aa59e8SDavid Daney struct cvmx_fpa_int_sum_cn63xx { 978c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 979c5aa59e8SDavid Daney uint64_t reserved_44_63:20; 980c5aa59e8SDavid Daney uint64_t free7:1; 981c5aa59e8SDavid Daney uint64_t free6:1; 982c5aa59e8SDavid Daney uint64_t free5:1; 983c5aa59e8SDavid Daney uint64_t free4:1; 984c5aa59e8SDavid Daney uint64_t free3:1; 985c5aa59e8SDavid Daney uint64_t free2:1; 986c5aa59e8SDavid Daney uint64_t free1:1; 987c5aa59e8SDavid Daney uint64_t free0:1; 988c5aa59e8SDavid Daney uint64_t pool7th:1; 989c5aa59e8SDavid Daney uint64_t pool6th:1; 990c5aa59e8SDavid Daney uint64_t pool5th:1; 991c5aa59e8SDavid Daney uint64_t pool4th:1; 992c5aa59e8SDavid Daney uint64_t pool3th:1; 993c5aa59e8SDavid Daney uint64_t pool2th:1; 994c5aa59e8SDavid Daney uint64_t pool1th:1; 995c5aa59e8SDavid Daney uint64_t pool0th:1; 996c5aa59e8SDavid Daney uint64_t q7_perr:1; 997c5aa59e8SDavid Daney uint64_t q7_coff:1; 998c5aa59e8SDavid Daney uint64_t q7_und:1; 999c5aa59e8SDavid Daney uint64_t q6_perr:1; 1000c5aa59e8SDavid Daney uint64_t q6_coff:1; 1001c5aa59e8SDavid Daney uint64_t q6_und:1; 1002c5aa59e8SDavid Daney uint64_t q5_perr:1; 1003c5aa59e8SDavid Daney uint64_t q5_coff:1; 1004c5aa59e8SDavid Daney uint64_t q5_und:1; 1005c5aa59e8SDavid Daney uint64_t q4_perr:1; 1006c5aa59e8SDavid Daney uint64_t q4_coff:1; 1007c5aa59e8SDavid Daney uint64_t q4_und:1; 1008c5aa59e8SDavid Daney uint64_t q3_perr:1; 1009c5aa59e8SDavid Daney uint64_t q3_coff:1; 1010c5aa59e8SDavid Daney uint64_t q3_und:1; 1011c5aa59e8SDavid Daney uint64_t q2_perr:1; 1012c5aa59e8SDavid Daney uint64_t q2_coff:1; 1013c5aa59e8SDavid Daney uint64_t q2_und:1; 1014c5aa59e8SDavid Daney uint64_t q1_perr:1; 1015c5aa59e8SDavid Daney uint64_t q1_coff:1; 1016c5aa59e8SDavid Daney uint64_t q1_und:1; 1017c5aa59e8SDavid Daney uint64_t q0_perr:1; 1018c5aa59e8SDavid Daney uint64_t q0_coff:1; 1019c5aa59e8SDavid Daney uint64_t q0_und:1; 1020c5aa59e8SDavid Daney uint64_t fed1_dbe:1; 1021c5aa59e8SDavid Daney uint64_t fed1_sbe:1; 1022c5aa59e8SDavid Daney uint64_t fed0_dbe:1; 1023c5aa59e8SDavid Daney uint64_t fed0_sbe:1; 1024c5aa59e8SDavid Daney #else 1025c5aa59e8SDavid Daney uint64_t fed0_sbe:1; 1026c5aa59e8SDavid Daney uint64_t fed0_dbe:1; 1027c5aa59e8SDavid Daney uint64_t fed1_sbe:1; 1028c5aa59e8SDavid Daney uint64_t fed1_dbe:1; 1029c5aa59e8SDavid Daney uint64_t q0_und:1; 1030c5aa59e8SDavid Daney uint64_t q0_coff:1; 1031c5aa59e8SDavid Daney uint64_t q0_perr:1; 1032c5aa59e8SDavid Daney uint64_t q1_und:1; 1033c5aa59e8SDavid Daney uint64_t q1_coff:1; 1034c5aa59e8SDavid Daney uint64_t q1_perr:1; 1035c5aa59e8SDavid Daney uint64_t q2_und:1; 1036c5aa59e8SDavid Daney uint64_t q2_coff:1; 1037c5aa59e8SDavid Daney uint64_t q2_perr:1; 1038c5aa59e8SDavid Daney uint64_t q3_und:1; 1039c5aa59e8SDavid Daney uint64_t q3_coff:1; 1040c5aa59e8SDavid Daney uint64_t q3_perr:1; 1041c5aa59e8SDavid Daney uint64_t q4_und:1; 1042c5aa59e8SDavid Daney uint64_t q4_coff:1; 1043c5aa59e8SDavid Daney uint64_t q4_perr:1; 1044c5aa59e8SDavid Daney uint64_t q5_und:1; 1045c5aa59e8SDavid Daney uint64_t q5_coff:1; 1046c5aa59e8SDavid Daney uint64_t q5_perr:1; 1047c5aa59e8SDavid Daney uint64_t q6_und:1; 1048c5aa59e8SDavid Daney uint64_t q6_coff:1; 1049c5aa59e8SDavid Daney uint64_t q6_perr:1; 1050c5aa59e8SDavid Daney uint64_t q7_und:1; 1051c5aa59e8SDavid Daney uint64_t q7_coff:1; 1052c5aa59e8SDavid Daney uint64_t q7_perr:1; 1053c5aa59e8SDavid Daney uint64_t pool0th:1; 1054c5aa59e8SDavid Daney uint64_t pool1th:1; 1055c5aa59e8SDavid Daney uint64_t pool2th:1; 1056c5aa59e8SDavid Daney uint64_t pool3th:1; 1057c5aa59e8SDavid Daney uint64_t pool4th:1; 1058c5aa59e8SDavid Daney uint64_t pool5th:1; 1059c5aa59e8SDavid Daney uint64_t pool6th:1; 1060c5aa59e8SDavid Daney uint64_t pool7th:1; 1061c5aa59e8SDavid Daney uint64_t free0:1; 1062c5aa59e8SDavid Daney uint64_t free1:1; 1063c5aa59e8SDavid Daney uint64_t free2:1; 1064c5aa59e8SDavid Daney uint64_t free3:1; 1065c5aa59e8SDavid Daney uint64_t free4:1; 1066c5aa59e8SDavid Daney uint64_t free5:1; 1067c5aa59e8SDavid Daney uint64_t free6:1; 1068c5aa59e8SDavid Daney uint64_t free7:1; 1069c5aa59e8SDavid Daney uint64_t reserved_44_63:20; 1070c5aa59e8SDavid Daney #endif 1071c5aa59e8SDavid Daney } cn63xx; 1072c5aa59e8SDavid Daney }; 1073c5aa59e8SDavid Daney 1074c5aa59e8SDavid Daney union cvmx_fpa_packet_threshold { 1075c5aa59e8SDavid Daney uint64_t u64; 1076c5aa59e8SDavid Daney struct cvmx_fpa_packet_threshold_s { 1077c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1078c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 1079c5aa59e8SDavid Daney uint64_t thresh:32; 1080c5aa59e8SDavid Daney #else 1081c5aa59e8SDavid Daney uint64_t thresh:32; 1082c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 1083c5aa59e8SDavid Daney #endif 1084af866496SDavid Daney } s; 1085c5aa59e8SDavid Daney }; 1086c5aa59e8SDavid Daney 1087c5aa59e8SDavid Daney union cvmx_fpa_poolx_end_addr { 1088c5aa59e8SDavid Daney uint64_t u64; 1089c5aa59e8SDavid Daney struct cvmx_fpa_poolx_end_addr_s { 1090c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1091c5aa59e8SDavid Daney uint64_t reserved_33_63:31; 1092c5aa59e8SDavid Daney uint64_t addr:33; 1093c5aa59e8SDavid Daney #else 1094c5aa59e8SDavid Daney uint64_t addr:33; 1095c5aa59e8SDavid Daney uint64_t reserved_33_63:31; 1096c5aa59e8SDavid Daney #endif 1097c5aa59e8SDavid Daney } s; 1098c5aa59e8SDavid Daney }; 1099c5aa59e8SDavid Daney 1100c5aa59e8SDavid Daney union cvmx_fpa_poolx_start_addr { 1101c5aa59e8SDavid Daney uint64_t u64; 1102c5aa59e8SDavid Daney struct cvmx_fpa_poolx_start_addr_s { 1103c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1104c5aa59e8SDavid Daney uint64_t reserved_33_63:31; 1105c5aa59e8SDavid Daney uint64_t addr:33; 1106c5aa59e8SDavid Daney #else 1107c5aa59e8SDavid Daney uint64_t addr:33; 1108c5aa59e8SDavid Daney uint64_t reserved_33_63:31; 1109c5aa59e8SDavid Daney #endif 1110c5aa59e8SDavid Daney } s; 1111c5aa59e8SDavid Daney }; 1112c5aa59e8SDavid Daney 1113c5aa59e8SDavid Daney union cvmx_fpa_poolx_threshold { 1114c5aa59e8SDavid Daney uint64_t u64; 1115c5aa59e8SDavid Daney struct cvmx_fpa_poolx_threshold_s { 1116c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1117c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 1118c5aa59e8SDavid Daney uint64_t thresh:32; 1119c5aa59e8SDavid Daney #else 1120c5aa59e8SDavid Daney uint64_t thresh:32; 1121c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 1122c5aa59e8SDavid Daney #endif 1123c5aa59e8SDavid Daney } s; 1124c5aa59e8SDavid Daney struct cvmx_fpa_poolx_threshold_cn61xx { 1125c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1126c5aa59e8SDavid Daney uint64_t reserved_29_63:35; 1127c5aa59e8SDavid Daney uint64_t thresh:29; 1128c5aa59e8SDavid Daney #else 1129c5aa59e8SDavid Daney uint64_t thresh:29; 1130c5aa59e8SDavid Daney uint64_t reserved_29_63:35; 1131c5aa59e8SDavid Daney #endif 1132c5aa59e8SDavid Daney } cn61xx; 1133af866496SDavid Daney }; 1134af866496SDavid Daney 1135af866496SDavid Daney union cvmx_fpa_quex_available { 1136af866496SDavid Daney uint64_t u64; 1137af866496SDavid Daney struct cvmx_fpa_quex_available_s { 1138c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1139c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 1140c5aa59e8SDavid Daney uint64_t que_siz:32; 1141c5aa59e8SDavid Daney #else 1142c5aa59e8SDavid Daney uint64_t que_siz:32; 1143c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 1144c5aa59e8SDavid Daney #endif 1145c5aa59e8SDavid Daney } s; 1146c5aa59e8SDavid Daney struct cvmx_fpa_quex_available_cn30xx { 1147c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1148af866496SDavid Daney uint64_t reserved_29_63:35; 1149af866496SDavid Daney uint64_t que_siz:29; 1150c5aa59e8SDavid Daney #else 1151c5aa59e8SDavid Daney uint64_t que_siz:29; 1152c5aa59e8SDavid Daney uint64_t reserved_29_63:35; 1153c5aa59e8SDavid Daney #endif 1154c5aa59e8SDavid Daney } cn30xx; 1155af866496SDavid Daney }; 1156af866496SDavid Daney 1157af866496SDavid Daney union cvmx_fpa_quex_page_index { 1158af866496SDavid Daney uint64_t u64; 1159af866496SDavid Daney struct cvmx_fpa_quex_page_index_s { 1160c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1161af866496SDavid Daney uint64_t reserved_25_63:39; 1162af866496SDavid Daney uint64_t pg_num:25; 1163c5aa59e8SDavid Daney #else 1164c5aa59e8SDavid Daney uint64_t pg_num:25; 1165c5aa59e8SDavid Daney uint64_t reserved_25_63:39; 1166c5aa59e8SDavid Daney #endif 1167af866496SDavid Daney } s; 1168c5aa59e8SDavid Daney }; 1169c5aa59e8SDavid Daney 1170c5aa59e8SDavid Daney union cvmx_fpa_que8_page_index { 1171c5aa59e8SDavid Daney uint64_t u64; 1172c5aa59e8SDavid Daney struct cvmx_fpa_que8_page_index_s { 1173c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1174c5aa59e8SDavid Daney uint64_t reserved_25_63:39; 1175c5aa59e8SDavid Daney uint64_t pg_num:25; 1176c5aa59e8SDavid Daney #else 1177c5aa59e8SDavid Daney uint64_t pg_num:25; 1178c5aa59e8SDavid Daney uint64_t reserved_25_63:39; 1179c5aa59e8SDavid Daney #endif 1180c5aa59e8SDavid Daney } s; 1181af866496SDavid Daney }; 1182af866496SDavid Daney 1183af866496SDavid Daney union cvmx_fpa_que_act { 1184af866496SDavid Daney uint64_t u64; 1185af866496SDavid Daney struct cvmx_fpa_que_act_s { 1186c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1187af866496SDavid Daney uint64_t reserved_29_63:35; 1188af866496SDavid Daney uint64_t act_que:3; 1189af866496SDavid Daney uint64_t act_indx:26; 1190c5aa59e8SDavid Daney #else 1191c5aa59e8SDavid Daney uint64_t act_indx:26; 1192c5aa59e8SDavid Daney uint64_t act_que:3; 1193c5aa59e8SDavid Daney uint64_t reserved_29_63:35; 1194c5aa59e8SDavid Daney #endif 1195af866496SDavid Daney } s; 1196af866496SDavid Daney }; 1197af866496SDavid Daney 1198af866496SDavid Daney union cvmx_fpa_que_exp { 1199af866496SDavid Daney uint64_t u64; 1200af866496SDavid Daney struct cvmx_fpa_que_exp_s { 1201c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1202af866496SDavid Daney uint64_t reserved_29_63:35; 1203af866496SDavid Daney uint64_t exp_que:3; 1204af866496SDavid Daney uint64_t exp_indx:26; 1205c5aa59e8SDavid Daney #else 1206c5aa59e8SDavid Daney uint64_t exp_indx:26; 1207c5aa59e8SDavid Daney uint64_t exp_que:3; 1208c5aa59e8SDavid Daney uint64_t reserved_29_63:35; 1209c5aa59e8SDavid Daney #endif 1210af866496SDavid Daney } s; 1211af866496SDavid Daney }; 1212af866496SDavid Daney 1213af866496SDavid Daney union cvmx_fpa_wart_ctl { 1214af866496SDavid Daney uint64_t u64; 1215af866496SDavid Daney struct cvmx_fpa_wart_ctl_s { 1216c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1217af866496SDavid Daney uint64_t reserved_16_63:48; 1218af866496SDavid Daney uint64_t ctl:16; 1219c5aa59e8SDavid Daney #else 1220c5aa59e8SDavid Daney uint64_t ctl:16; 1221c5aa59e8SDavid Daney uint64_t reserved_16_63:48; 1222c5aa59e8SDavid Daney #endif 1223af866496SDavid Daney } s; 1224af866496SDavid Daney }; 1225af866496SDavid Daney 1226af866496SDavid Daney union cvmx_fpa_wart_status { 1227af866496SDavid Daney uint64_t u64; 1228af866496SDavid Daney struct cvmx_fpa_wart_status_s { 1229c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1230af866496SDavid Daney uint64_t reserved_32_63:32; 1231af866496SDavid Daney uint64_t status:32; 1232c5aa59e8SDavid Daney #else 1233c5aa59e8SDavid Daney uint64_t status:32; 1234c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 1235c5aa59e8SDavid Daney #endif 1236af866496SDavid Daney } s; 1237af866496SDavid Daney }; 1238af866496SDavid Daney 1239c5aa59e8SDavid Daney union cvmx_fpa_wqe_threshold { 1240c5aa59e8SDavid Daney uint64_t u64; 1241c5aa59e8SDavid Daney struct cvmx_fpa_wqe_threshold_s { 1242c5aa59e8SDavid Daney #ifdef __BIG_ENDIAN_BITFIELD 1243c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 1244c5aa59e8SDavid Daney uint64_t thresh:32; 1245c5aa59e8SDavid Daney #else 1246c5aa59e8SDavid Daney uint64_t thresh:32; 1247c5aa59e8SDavid Daney uint64_t reserved_32_63:32; 1248c5aa59e8SDavid Daney #endif 1249c5aa59e8SDavid Daney } s; 1250c5aa59e8SDavid Daney }; 1251c5aa59e8SDavid Daney 1252af866496SDavid Daney #endif 1253