18c2ecf20Sopenharmony_ci/***********************license start*************** 28c2ecf20Sopenharmony_ci * Author: Cavium Inc. 38c2ecf20Sopenharmony_ci * 48c2ecf20Sopenharmony_ci * Contact: support@cavium.com 58c2ecf20Sopenharmony_ci * This file is part of the OCTEON SDK 68c2ecf20Sopenharmony_ci * 78c2ecf20Sopenharmony_ci * Copyright (c) 2003-2012 Cavium Inc. 88c2ecf20Sopenharmony_ci * 98c2ecf20Sopenharmony_ci * This file is free software; you can redistribute it and/or modify 108c2ecf20Sopenharmony_ci * it under the terms of the GNU General Public License, Version 2, as 118c2ecf20Sopenharmony_ci * published by the Free Software Foundation. 128c2ecf20Sopenharmony_ci * 138c2ecf20Sopenharmony_ci * This file is distributed in the hope that it will be useful, but 148c2ecf20Sopenharmony_ci * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 158c2ecf20Sopenharmony_ci * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, TITLE, or 168c2ecf20Sopenharmony_ci * NONINFRINGEMENT. See the GNU General Public License for more 178c2ecf20Sopenharmony_ci * details. 188c2ecf20Sopenharmony_ci * 198c2ecf20Sopenharmony_ci * You should have received a copy of the GNU General Public License 208c2ecf20Sopenharmony_ci * along with this file; if not, write to the Free Software 218c2ecf20Sopenharmony_ci * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 228c2ecf20Sopenharmony_ci * or visit http://www.gnu.org/licenses/. 238c2ecf20Sopenharmony_ci * 248c2ecf20Sopenharmony_ci * This file may also be available under a different license from Cavium. 258c2ecf20Sopenharmony_ci * Contact Cavium Inc. for more information 268c2ecf20Sopenharmony_ci ***********************license end**************************************/ 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci#ifndef __CVMX_LMCX_DEFS_H__ 298c2ecf20Sopenharmony_ci#define __CVMX_LMCX_DEFS_H__ 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ci#define CVMX_LMCX_BIST_CTL(block_id) (CVMX_ADD_IO_SEG(0x00011800880000F0ull) + ((block_id) & 1) * 0x60000000ull) 328c2ecf20Sopenharmony_ci#define CVMX_LMCX_BIST_RESULT(block_id) (CVMX_ADD_IO_SEG(0x00011800880000F8ull) + ((block_id) & 1) * 0x60000000ull) 338c2ecf20Sopenharmony_ci#define CVMX_LMCX_CHAR_CTL(block_id) (CVMX_ADD_IO_SEG(0x0001180088000220ull) + ((block_id) & 3) * 0x1000000ull) 348c2ecf20Sopenharmony_ci#define CVMX_LMCX_CHAR_MASK0(block_id) (CVMX_ADD_IO_SEG(0x0001180088000228ull) + ((block_id) & 3) * 0x1000000ull) 358c2ecf20Sopenharmony_ci#define CVMX_LMCX_CHAR_MASK1(block_id) (CVMX_ADD_IO_SEG(0x0001180088000230ull) + ((block_id) & 3) * 0x1000000ull) 368c2ecf20Sopenharmony_ci#define CVMX_LMCX_CHAR_MASK2(block_id) (CVMX_ADD_IO_SEG(0x0001180088000238ull) + ((block_id) & 3) * 0x1000000ull) 378c2ecf20Sopenharmony_ci#define CVMX_LMCX_CHAR_MASK3(block_id) (CVMX_ADD_IO_SEG(0x0001180088000240ull) + ((block_id) & 3) * 0x1000000ull) 388c2ecf20Sopenharmony_ci#define CVMX_LMCX_CHAR_MASK4(block_id) (CVMX_ADD_IO_SEG(0x0001180088000318ull) + ((block_id) & 3) * 0x1000000ull) 398c2ecf20Sopenharmony_ci#define CVMX_LMCX_COMP_CTL(block_id) (CVMX_ADD_IO_SEG(0x0001180088000028ull) + ((block_id) & 1) * 0x60000000ull) 408c2ecf20Sopenharmony_ci#define CVMX_LMCX_COMP_CTL2(block_id) (CVMX_ADD_IO_SEG(0x00011800880001B8ull) + ((block_id) & 3) * 0x1000000ull) 418c2ecf20Sopenharmony_ci#define CVMX_LMCX_CONFIG(block_id) (CVMX_ADD_IO_SEG(0x0001180088000188ull) + ((block_id) & 3) * 0x1000000ull) 428c2ecf20Sopenharmony_ci#define CVMX_LMCX_CONTROL(block_id) (CVMX_ADD_IO_SEG(0x0001180088000190ull) + ((block_id) & 3) * 0x1000000ull) 438c2ecf20Sopenharmony_ci#define CVMX_LMCX_CTL(block_id) (CVMX_ADD_IO_SEG(0x0001180088000010ull) + ((block_id) & 1) * 0x60000000ull) 448c2ecf20Sopenharmony_ci#define CVMX_LMCX_CTL1(block_id) (CVMX_ADD_IO_SEG(0x0001180088000090ull) + ((block_id) & 1) * 0x60000000ull) 458c2ecf20Sopenharmony_ci#define CVMX_LMCX_DCLK_CNT(block_id) (CVMX_ADD_IO_SEG(0x00011800880001E0ull) + ((block_id) & 3) * 0x1000000ull) 468c2ecf20Sopenharmony_ci#define CVMX_LMCX_DCLK_CNT_HI(block_id) (CVMX_ADD_IO_SEG(0x0001180088000070ull) + ((block_id) & 1) * 0x60000000ull) 478c2ecf20Sopenharmony_ci#define CVMX_LMCX_DCLK_CNT_LO(block_id) (CVMX_ADD_IO_SEG(0x0001180088000068ull) + ((block_id) & 1) * 0x60000000ull) 488c2ecf20Sopenharmony_ci#define CVMX_LMCX_DCLK_CTL(block_id) (CVMX_ADD_IO_SEG(0x00011800880000B8ull) + ((block_id) & 1) * 0x60000000ull) 498c2ecf20Sopenharmony_ci#define CVMX_LMCX_DDR2_CTL(block_id) (CVMX_ADD_IO_SEG(0x0001180088000018ull) + ((block_id) & 1) * 0x60000000ull) 508c2ecf20Sopenharmony_ci#define CVMX_LMCX_DDR_PLL_CTL(block_id) (CVMX_ADD_IO_SEG(0x0001180088000258ull) + ((block_id) & 3) * 0x1000000ull) 518c2ecf20Sopenharmony_ci#define CVMX_LMCX_DELAY_CFG(block_id) (CVMX_ADD_IO_SEG(0x0001180088000088ull) + ((block_id) & 1) * 0x60000000ull) 528c2ecf20Sopenharmony_ci#define CVMX_LMCX_DIMMX_PARAMS(offset, block_id) (CVMX_ADD_IO_SEG(0x0001180088000270ull) + (((offset) & 1) + ((block_id) & 3) * 0x200000ull) * 8) 538c2ecf20Sopenharmony_ci#define CVMX_LMCX_DIMM_CTL(block_id) (CVMX_ADD_IO_SEG(0x0001180088000310ull) + ((block_id) & 3) * 0x1000000ull) 548c2ecf20Sopenharmony_ci#define CVMX_LMCX_DLL_CTL(block_id) (CVMX_ADD_IO_SEG(0x00011800880000C0ull) + ((block_id) & 1) * 0x60000000ull) 558c2ecf20Sopenharmony_ci#define CVMX_LMCX_DLL_CTL2(block_id) (CVMX_ADD_IO_SEG(0x00011800880001C8ull) + ((block_id) & 3) * 0x1000000ull) 568c2ecf20Sopenharmony_ci#define CVMX_LMCX_DLL_CTL3(block_id) (CVMX_ADD_IO_SEG(0x0001180088000218ull) + ((block_id) & 3) * 0x1000000ull) 578c2ecf20Sopenharmony_cistatic inline uint64_t CVMX_LMCX_DUAL_MEMCFG(unsigned long block_id) 588c2ecf20Sopenharmony_ci{ 598c2ecf20Sopenharmony_ci switch (cvmx_get_octeon_family()) { 608c2ecf20Sopenharmony_ci case OCTEON_CNF71XX & OCTEON_FAMILY_MASK: 618c2ecf20Sopenharmony_ci case OCTEON_CN50XX & OCTEON_FAMILY_MASK: 628c2ecf20Sopenharmony_ci case OCTEON_CN58XX & OCTEON_FAMILY_MASK: 638c2ecf20Sopenharmony_ci case OCTEON_CN66XX & OCTEON_FAMILY_MASK: 648c2ecf20Sopenharmony_ci case OCTEON_CN52XX & OCTEON_FAMILY_MASK: 658c2ecf20Sopenharmony_ci case OCTEON_CN61XX & OCTEON_FAMILY_MASK: 668c2ecf20Sopenharmony_ci case OCTEON_CN63XX & OCTEON_FAMILY_MASK: 678c2ecf20Sopenharmony_ci return CVMX_ADD_IO_SEG(0x0001180088000098ull) + (block_id) * 0x60000000ull; 688c2ecf20Sopenharmony_ci case OCTEON_CN56XX & OCTEON_FAMILY_MASK: 698c2ecf20Sopenharmony_ci return CVMX_ADD_IO_SEG(0x0001180088000098ull) + (block_id) * 0x60000000ull; 708c2ecf20Sopenharmony_ci case OCTEON_CN68XX & OCTEON_FAMILY_MASK: 718c2ecf20Sopenharmony_ci return CVMX_ADD_IO_SEG(0x0001180088000098ull) + (block_id) * 0x1000000ull; 728c2ecf20Sopenharmony_ci } 738c2ecf20Sopenharmony_ci return CVMX_ADD_IO_SEG(0x0001180088000098ull) + (block_id) * 0x60000000ull; 748c2ecf20Sopenharmony_ci} 758c2ecf20Sopenharmony_ci 768c2ecf20Sopenharmony_cistatic inline uint64_t CVMX_LMCX_ECC_SYND(unsigned long block_id) 778c2ecf20Sopenharmony_ci{ 788c2ecf20Sopenharmony_ci switch (cvmx_get_octeon_family()) { 798c2ecf20Sopenharmony_ci case OCTEON_CN30XX & OCTEON_FAMILY_MASK: 808c2ecf20Sopenharmony_ci case OCTEON_CN50XX & OCTEON_FAMILY_MASK: 818c2ecf20Sopenharmony_ci case OCTEON_CN38XX & OCTEON_FAMILY_MASK: 828c2ecf20Sopenharmony_ci case OCTEON_CN31XX & OCTEON_FAMILY_MASK: 838c2ecf20Sopenharmony_ci case OCTEON_CN58XX & OCTEON_FAMILY_MASK: 848c2ecf20Sopenharmony_ci case OCTEON_CN66XX & OCTEON_FAMILY_MASK: 858c2ecf20Sopenharmony_ci case OCTEON_CN52XX & OCTEON_FAMILY_MASK: 868c2ecf20Sopenharmony_ci case OCTEON_CN61XX & OCTEON_FAMILY_MASK: 878c2ecf20Sopenharmony_ci case OCTEON_CNF71XX & OCTEON_FAMILY_MASK: 888c2ecf20Sopenharmony_ci case OCTEON_CN63XX & OCTEON_FAMILY_MASK: 898c2ecf20Sopenharmony_ci return CVMX_ADD_IO_SEG(0x0001180088000038ull) + (block_id) * 0x60000000ull; 908c2ecf20Sopenharmony_ci case OCTEON_CN56XX & OCTEON_FAMILY_MASK: 918c2ecf20Sopenharmony_ci return CVMX_ADD_IO_SEG(0x0001180088000038ull) + (block_id) * 0x60000000ull; 928c2ecf20Sopenharmony_ci case OCTEON_CN68XX & OCTEON_FAMILY_MASK: 938c2ecf20Sopenharmony_ci return CVMX_ADD_IO_SEG(0x0001180088000038ull) + (block_id) * 0x1000000ull; 948c2ecf20Sopenharmony_ci } 958c2ecf20Sopenharmony_ci return CVMX_ADD_IO_SEG(0x0001180088000038ull) + (block_id) * 0x60000000ull; 968c2ecf20Sopenharmony_ci} 978c2ecf20Sopenharmony_ci 988c2ecf20Sopenharmony_cistatic inline uint64_t CVMX_LMCX_FADR(unsigned long block_id) 998c2ecf20Sopenharmony_ci{ 1008c2ecf20Sopenharmony_ci switch (cvmx_get_octeon_family()) { 1018c2ecf20Sopenharmony_ci case OCTEON_CN30XX & OCTEON_FAMILY_MASK: 1028c2ecf20Sopenharmony_ci case OCTEON_CN50XX & OCTEON_FAMILY_MASK: 1038c2ecf20Sopenharmony_ci case OCTEON_CN38XX & OCTEON_FAMILY_MASK: 1048c2ecf20Sopenharmony_ci case OCTEON_CN31XX & OCTEON_FAMILY_MASK: 1058c2ecf20Sopenharmony_ci case OCTEON_CN58XX & OCTEON_FAMILY_MASK: 1068c2ecf20Sopenharmony_ci case OCTEON_CN66XX & OCTEON_FAMILY_MASK: 1078c2ecf20Sopenharmony_ci case OCTEON_CN52XX & OCTEON_FAMILY_MASK: 1088c2ecf20Sopenharmony_ci case OCTEON_CN61XX & OCTEON_FAMILY_MASK: 1098c2ecf20Sopenharmony_ci case OCTEON_CNF71XX & OCTEON_FAMILY_MASK: 1108c2ecf20Sopenharmony_ci case OCTEON_CN63XX & OCTEON_FAMILY_MASK: 1118c2ecf20Sopenharmony_ci return CVMX_ADD_IO_SEG(0x0001180088000020ull) + (block_id) * 0x60000000ull; 1128c2ecf20Sopenharmony_ci case OCTEON_CN56XX & OCTEON_FAMILY_MASK: 1138c2ecf20Sopenharmony_ci return CVMX_ADD_IO_SEG(0x0001180088000020ull) + (block_id) * 0x60000000ull; 1148c2ecf20Sopenharmony_ci case OCTEON_CN68XX & OCTEON_FAMILY_MASK: 1158c2ecf20Sopenharmony_ci return CVMX_ADD_IO_SEG(0x0001180088000020ull) + (block_id) * 0x1000000ull; 1168c2ecf20Sopenharmony_ci } 1178c2ecf20Sopenharmony_ci return CVMX_ADD_IO_SEG(0x0001180088000020ull) + (block_id) * 0x60000000ull; 1188c2ecf20Sopenharmony_ci} 1198c2ecf20Sopenharmony_ci 1208c2ecf20Sopenharmony_ci#define CVMX_LMCX_IFB_CNT(block_id) (CVMX_ADD_IO_SEG(0x00011800880001D0ull) + ((block_id) & 3) * 0x1000000ull) 1218c2ecf20Sopenharmony_ci#define CVMX_LMCX_IFB_CNT_HI(block_id) (CVMX_ADD_IO_SEG(0x0001180088000050ull) + ((block_id) & 1) * 0x60000000ull) 1228c2ecf20Sopenharmony_ci#define CVMX_LMCX_IFB_CNT_LO(block_id) (CVMX_ADD_IO_SEG(0x0001180088000048ull) + ((block_id) & 1) * 0x60000000ull) 1238c2ecf20Sopenharmony_ci#define CVMX_LMCX_INT(block_id) (CVMX_ADD_IO_SEG(0x00011800880001F0ull) + ((block_id) & 3) * 0x1000000ull) 1248c2ecf20Sopenharmony_ci#define CVMX_LMCX_INT_EN(block_id) (CVMX_ADD_IO_SEG(0x00011800880001E8ull) + ((block_id) & 3) * 0x1000000ull) 1258c2ecf20Sopenharmony_ci#define CVMX_LMCX_MEM_CFG0(block_id) (CVMX_ADD_IO_SEG(0x0001180088000000ull) + ((block_id) & 1) * 0x60000000ull) 1268c2ecf20Sopenharmony_ci#define CVMX_LMCX_MEM_CFG1(block_id) (CVMX_ADD_IO_SEG(0x0001180088000008ull) + ((block_id) & 1) * 0x60000000ull) 1278c2ecf20Sopenharmony_ci#define CVMX_LMCX_MODEREG_PARAMS0(block_id) (CVMX_ADD_IO_SEG(0x00011800880001A8ull) + ((block_id) & 3) * 0x1000000ull) 1288c2ecf20Sopenharmony_ci#define CVMX_LMCX_MODEREG_PARAMS1(block_id) (CVMX_ADD_IO_SEG(0x0001180088000260ull) + ((block_id) & 3) * 0x1000000ull) 1298c2ecf20Sopenharmony_cistatic inline uint64_t CVMX_LMCX_NXM(unsigned long block_id) 1308c2ecf20Sopenharmony_ci{ 1318c2ecf20Sopenharmony_ci switch (cvmx_get_octeon_family()) { 1328c2ecf20Sopenharmony_ci case OCTEON_CNF71XX & OCTEON_FAMILY_MASK: 1338c2ecf20Sopenharmony_ci case OCTEON_CN61XX & OCTEON_FAMILY_MASK: 1348c2ecf20Sopenharmony_ci case OCTEON_CN66XX & OCTEON_FAMILY_MASK: 1358c2ecf20Sopenharmony_ci case OCTEON_CN52XX & OCTEON_FAMILY_MASK: 1368c2ecf20Sopenharmony_ci case OCTEON_CN58XX & OCTEON_FAMILY_MASK: 1378c2ecf20Sopenharmony_ci case OCTEON_CN63XX & OCTEON_FAMILY_MASK: 1388c2ecf20Sopenharmony_ci return CVMX_ADD_IO_SEG(0x00011800880000C8ull) + (block_id) * 0x60000000ull; 1398c2ecf20Sopenharmony_ci case OCTEON_CN56XX & OCTEON_FAMILY_MASK: 1408c2ecf20Sopenharmony_ci return CVMX_ADD_IO_SEG(0x00011800880000C8ull) + (block_id) * 0x60000000ull; 1418c2ecf20Sopenharmony_ci case OCTEON_CN68XX & OCTEON_FAMILY_MASK: 1428c2ecf20Sopenharmony_ci return CVMX_ADD_IO_SEG(0x00011800880000C8ull) + (block_id) * 0x1000000ull; 1438c2ecf20Sopenharmony_ci } 1448c2ecf20Sopenharmony_ci return CVMX_ADD_IO_SEG(0x00011800880000C8ull) + (block_id) * 0x60000000ull; 1458c2ecf20Sopenharmony_ci} 1468c2ecf20Sopenharmony_ci 1478c2ecf20Sopenharmony_ci#define CVMX_LMCX_OPS_CNT(block_id) (CVMX_ADD_IO_SEG(0x00011800880001D8ull) + ((block_id) & 3) * 0x1000000ull) 1488c2ecf20Sopenharmony_ci#define CVMX_LMCX_OPS_CNT_HI(block_id) (CVMX_ADD_IO_SEG(0x0001180088000060ull) + ((block_id) & 1) * 0x60000000ull) 1498c2ecf20Sopenharmony_ci#define CVMX_LMCX_OPS_CNT_LO(block_id) (CVMX_ADD_IO_SEG(0x0001180088000058ull) + ((block_id) & 1) * 0x60000000ull) 1508c2ecf20Sopenharmony_ci#define CVMX_LMCX_PHY_CTL(block_id) (CVMX_ADD_IO_SEG(0x0001180088000210ull) + ((block_id) & 3) * 0x1000000ull) 1518c2ecf20Sopenharmony_ci#define CVMX_LMCX_PLL_BWCTL(block_id) (CVMX_ADD_IO_SEG(0x0001180088000040ull)) 1528c2ecf20Sopenharmony_ci#define CVMX_LMCX_PLL_CTL(block_id) (CVMX_ADD_IO_SEG(0x00011800880000A8ull) + ((block_id) & 1) * 0x60000000ull) 1538c2ecf20Sopenharmony_ci#define CVMX_LMCX_PLL_STATUS(block_id) (CVMX_ADD_IO_SEG(0x00011800880000B0ull) + ((block_id) & 1) * 0x60000000ull) 1548c2ecf20Sopenharmony_ci#define CVMX_LMCX_READ_LEVEL_CTL(block_id) (CVMX_ADD_IO_SEG(0x0001180088000140ull) + ((block_id) & 1) * 0x60000000ull) 1558c2ecf20Sopenharmony_ci#define CVMX_LMCX_READ_LEVEL_DBG(block_id) (CVMX_ADD_IO_SEG(0x0001180088000148ull) + ((block_id) & 1) * 0x60000000ull) 1568c2ecf20Sopenharmony_ci#define CVMX_LMCX_READ_LEVEL_RANKX(offset, block_id) (CVMX_ADD_IO_SEG(0x0001180088000100ull) + (((offset) & 3) + ((block_id) & 1) * 0xC000000ull) * 8) 1578c2ecf20Sopenharmony_ci#define CVMX_LMCX_RESET_CTL(block_id) (CVMX_ADD_IO_SEG(0x0001180088000180ull) + ((block_id) & 3) * 0x1000000ull) 1588c2ecf20Sopenharmony_ci#define CVMX_LMCX_RLEVEL_CTL(block_id) (CVMX_ADD_IO_SEG(0x00011800880002A0ull) + ((block_id) & 3) * 0x1000000ull) 1598c2ecf20Sopenharmony_ci#define CVMX_LMCX_RLEVEL_DBG(block_id) (CVMX_ADD_IO_SEG(0x00011800880002A8ull) + ((block_id) & 3) * 0x1000000ull) 1608c2ecf20Sopenharmony_ci#define CVMX_LMCX_RLEVEL_RANKX(offset, block_id) (CVMX_ADD_IO_SEG(0x0001180088000280ull) + (((offset) & 3) + ((block_id) & 3) * 0x200000ull) * 8) 1618c2ecf20Sopenharmony_ci#define CVMX_LMCX_RODT_COMP_CTL(block_id) (CVMX_ADD_IO_SEG(0x00011800880000A0ull) + ((block_id) & 1) * 0x60000000ull) 1628c2ecf20Sopenharmony_ci#define CVMX_LMCX_RODT_CTL(block_id) (CVMX_ADD_IO_SEG(0x0001180088000078ull) + ((block_id) & 1) * 0x60000000ull) 1638c2ecf20Sopenharmony_ci#define CVMX_LMCX_RODT_MASK(block_id) (CVMX_ADD_IO_SEG(0x0001180088000268ull) + ((block_id) & 3) * 0x1000000ull) 1648c2ecf20Sopenharmony_ci#define CVMX_LMCX_SCRAMBLED_FADR(block_id) (CVMX_ADD_IO_SEG(0x0001180088000330ull)) 1658c2ecf20Sopenharmony_ci#define CVMX_LMCX_SCRAMBLE_CFG0(block_id) (CVMX_ADD_IO_SEG(0x0001180088000320ull)) 1668c2ecf20Sopenharmony_ci#define CVMX_LMCX_SCRAMBLE_CFG1(block_id) (CVMX_ADD_IO_SEG(0x0001180088000328ull)) 1678c2ecf20Sopenharmony_ci#define CVMX_LMCX_SLOT_CTL0(block_id) (CVMX_ADD_IO_SEG(0x00011800880001F8ull) + ((block_id) & 3) * 0x1000000ull) 1688c2ecf20Sopenharmony_ci#define CVMX_LMCX_SLOT_CTL1(block_id) (CVMX_ADD_IO_SEG(0x0001180088000200ull) + ((block_id) & 3) * 0x1000000ull) 1698c2ecf20Sopenharmony_ci#define CVMX_LMCX_SLOT_CTL2(block_id) (CVMX_ADD_IO_SEG(0x0001180088000208ull) + ((block_id) & 3) * 0x1000000ull) 1708c2ecf20Sopenharmony_ci#define CVMX_LMCX_TIMING_PARAMS0(block_id) (CVMX_ADD_IO_SEG(0x0001180088000198ull) + ((block_id) & 3) * 0x1000000ull) 1718c2ecf20Sopenharmony_ci#define CVMX_LMCX_TIMING_PARAMS1(block_id) (CVMX_ADD_IO_SEG(0x00011800880001A0ull) + ((block_id) & 3) * 0x1000000ull) 1728c2ecf20Sopenharmony_ci#define CVMX_LMCX_TRO_CTL(block_id) (CVMX_ADD_IO_SEG(0x0001180088000248ull) + ((block_id) & 3) * 0x1000000ull) 1738c2ecf20Sopenharmony_ci#define CVMX_LMCX_TRO_STAT(block_id) (CVMX_ADD_IO_SEG(0x0001180088000250ull) + ((block_id) & 3) * 0x1000000ull) 1748c2ecf20Sopenharmony_ci#define CVMX_LMCX_WLEVEL_CTL(block_id) (CVMX_ADD_IO_SEG(0x0001180088000300ull) + ((block_id) & 3) * 0x1000000ull) 1758c2ecf20Sopenharmony_ci#define CVMX_LMCX_WLEVEL_DBG(block_id) (CVMX_ADD_IO_SEG(0x0001180088000308ull) + ((block_id) & 3) * 0x1000000ull) 1768c2ecf20Sopenharmony_ci#define CVMX_LMCX_WLEVEL_RANKX(offset, block_id) (CVMX_ADD_IO_SEG(0x00011800880002B0ull) + (((offset) & 3) + ((block_id) & 3) * 0x200000ull) * 8) 1778c2ecf20Sopenharmony_ci#define CVMX_LMCX_WODT_CTL0(block_id) (CVMX_ADD_IO_SEG(0x0001180088000030ull) + ((block_id) & 1) * 0x60000000ull) 1788c2ecf20Sopenharmony_ci#define CVMX_LMCX_WODT_CTL1(block_id) (CVMX_ADD_IO_SEG(0x0001180088000080ull) + ((block_id) & 1) * 0x60000000ull) 1798c2ecf20Sopenharmony_ci#define CVMX_LMCX_WODT_MASK(block_id) (CVMX_ADD_IO_SEG(0x00011800880001B0ull) + ((block_id) & 3) * 0x1000000ull) 1808c2ecf20Sopenharmony_ci 1818c2ecf20Sopenharmony_ciunion cvmx_lmcx_bist_ctl { 1828c2ecf20Sopenharmony_ci uint64_t u64; 1838c2ecf20Sopenharmony_ci struct cvmx_lmcx_bist_ctl_s { 1848c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 1858c2ecf20Sopenharmony_ci uint64_t reserved_1_63:63; 1868c2ecf20Sopenharmony_ci uint64_t start:1; 1878c2ecf20Sopenharmony_ci#else 1888c2ecf20Sopenharmony_ci uint64_t start:1; 1898c2ecf20Sopenharmony_ci uint64_t reserved_1_63:63; 1908c2ecf20Sopenharmony_ci#endif 1918c2ecf20Sopenharmony_ci } s; 1928c2ecf20Sopenharmony_ci}; 1938c2ecf20Sopenharmony_ci 1948c2ecf20Sopenharmony_ciunion cvmx_lmcx_bist_result { 1958c2ecf20Sopenharmony_ci uint64_t u64; 1968c2ecf20Sopenharmony_ci struct cvmx_lmcx_bist_result_s { 1978c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 1988c2ecf20Sopenharmony_ci uint64_t reserved_11_63:53; 1998c2ecf20Sopenharmony_ci uint64_t csrd2e:1; 2008c2ecf20Sopenharmony_ci uint64_t csre2d:1; 2018c2ecf20Sopenharmony_ci uint64_t mwf:1; 2028c2ecf20Sopenharmony_ci uint64_t mwd:3; 2038c2ecf20Sopenharmony_ci uint64_t mwc:1; 2048c2ecf20Sopenharmony_ci uint64_t mrf:1; 2058c2ecf20Sopenharmony_ci uint64_t mrd:3; 2068c2ecf20Sopenharmony_ci#else 2078c2ecf20Sopenharmony_ci uint64_t mrd:3; 2088c2ecf20Sopenharmony_ci uint64_t mrf:1; 2098c2ecf20Sopenharmony_ci uint64_t mwc:1; 2108c2ecf20Sopenharmony_ci uint64_t mwd:3; 2118c2ecf20Sopenharmony_ci uint64_t mwf:1; 2128c2ecf20Sopenharmony_ci uint64_t csre2d:1; 2138c2ecf20Sopenharmony_ci uint64_t csrd2e:1; 2148c2ecf20Sopenharmony_ci uint64_t reserved_11_63:53; 2158c2ecf20Sopenharmony_ci#endif 2168c2ecf20Sopenharmony_ci } s; 2178c2ecf20Sopenharmony_ci struct cvmx_lmcx_bist_result_cn50xx { 2188c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 2198c2ecf20Sopenharmony_ci uint64_t reserved_9_63:55; 2208c2ecf20Sopenharmony_ci uint64_t mwf:1; 2218c2ecf20Sopenharmony_ci uint64_t mwd:3; 2228c2ecf20Sopenharmony_ci uint64_t mwc:1; 2238c2ecf20Sopenharmony_ci uint64_t mrf:1; 2248c2ecf20Sopenharmony_ci uint64_t mrd:3; 2258c2ecf20Sopenharmony_ci#else 2268c2ecf20Sopenharmony_ci uint64_t mrd:3; 2278c2ecf20Sopenharmony_ci uint64_t mrf:1; 2288c2ecf20Sopenharmony_ci uint64_t mwc:1; 2298c2ecf20Sopenharmony_ci uint64_t mwd:3; 2308c2ecf20Sopenharmony_ci uint64_t mwf:1; 2318c2ecf20Sopenharmony_ci uint64_t reserved_9_63:55; 2328c2ecf20Sopenharmony_ci#endif 2338c2ecf20Sopenharmony_ci } cn50xx; 2348c2ecf20Sopenharmony_ci}; 2358c2ecf20Sopenharmony_ci 2368c2ecf20Sopenharmony_ciunion cvmx_lmcx_char_ctl { 2378c2ecf20Sopenharmony_ci uint64_t u64; 2388c2ecf20Sopenharmony_ci struct cvmx_lmcx_char_ctl_s { 2398c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 2408c2ecf20Sopenharmony_ci uint64_t reserved_44_63:20; 2418c2ecf20Sopenharmony_ci uint64_t dr:1; 2428c2ecf20Sopenharmony_ci uint64_t skew_on:1; 2438c2ecf20Sopenharmony_ci uint64_t en:1; 2448c2ecf20Sopenharmony_ci uint64_t sel:1; 2458c2ecf20Sopenharmony_ci uint64_t prog:8; 2468c2ecf20Sopenharmony_ci uint64_t prbs:32; 2478c2ecf20Sopenharmony_ci#else 2488c2ecf20Sopenharmony_ci uint64_t prbs:32; 2498c2ecf20Sopenharmony_ci uint64_t prog:8; 2508c2ecf20Sopenharmony_ci uint64_t sel:1; 2518c2ecf20Sopenharmony_ci uint64_t en:1; 2528c2ecf20Sopenharmony_ci uint64_t skew_on:1; 2538c2ecf20Sopenharmony_ci uint64_t dr:1; 2548c2ecf20Sopenharmony_ci uint64_t reserved_44_63:20; 2558c2ecf20Sopenharmony_ci#endif 2568c2ecf20Sopenharmony_ci } s; 2578c2ecf20Sopenharmony_ci struct cvmx_lmcx_char_ctl_cn63xx { 2588c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 2598c2ecf20Sopenharmony_ci uint64_t reserved_42_63:22; 2608c2ecf20Sopenharmony_ci uint64_t en:1; 2618c2ecf20Sopenharmony_ci uint64_t sel:1; 2628c2ecf20Sopenharmony_ci uint64_t prog:8; 2638c2ecf20Sopenharmony_ci uint64_t prbs:32; 2648c2ecf20Sopenharmony_ci#else 2658c2ecf20Sopenharmony_ci uint64_t prbs:32; 2668c2ecf20Sopenharmony_ci uint64_t prog:8; 2678c2ecf20Sopenharmony_ci uint64_t sel:1; 2688c2ecf20Sopenharmony_ci uint64_t en:1; 2698c2ecf20Sopenharmony_ci uint64_t reserved_42_63:22; 2708c2ecf20Sopenharmony_ci#endif 2718c2ecf20Sopenharmony_ci } cn63xx; 2728c2ecf20Sopenharmony_ci}; 2738c2ecf20Sopenharmony_ci 2748c2ecf20Sopenharmony_ciunion cvmx_lmcx_char_mask0 { 2758c2ecf20Sopenharmony_ci uint64_t u64; 2768c2ecf20Sopenharmony_ci struct cvmx_lmcx_char_mask0_s { 2778c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 2788c2ecf20Sopenharmony_ci uint64_t mask:64; 2798c2ecf20Sopenharmony_ci#else 2808c2ecf20Sopenharmony_ci uint64_t mask:64; 2818c2ecf20Sopenharmony_ci#endif 2828c2ecf20Sopenharmony_ci } s; 2838c2ecf20Sopenharmony_ci}; 2848c2ecf20Sopenharmony_ci 2858c2ecf20Sopenharmony_ciunion cvmx_lmcx_char_mask1 { 2868c2ecf20Sopenharmony_ci uint64_t u64; 2878c2ecf20Sopenharmony_ci struct cvmx_lmcx_char_mask1_s { 2888c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 2898c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 2908c2ecf20Sopenharmony_ci uint64_t mask:8; 2918c2ecf20Sopenharmony_ci#else 2928c2ecf20Sopenharmony_ci uint64_t mask:8; 2938c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 2948c2ecf20Sopenharmony_ci#endif 2958c2ecf20Sopenharmony_ci } s; 2968c2ecf20Sopenharmony_ci}; 2978c2ecf20Sopenharmony_ci 2988c2ecf20Sopenharmony_ciunion cvmx_lmcx_char_mask2 { 2998c2ecf20Sopenharmony_ci uint64_t u64; 3008c2ecf20Sopenharmony_ci struct cvmx_lmcx_char_mask2_s { 3018c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 3028c2ecf20Sopenharmony_ci uint64_t mask:64; 3038c2ecf20Sopenharmony_ci#else 3048c2ecf20Sopenharmony_ci uint64_t mask:64; 3058c2ecf20Sopenharmony_ci#endif 3068c2ecf20Sopenharmony_ci } s; 3078c2ecf20Sopenharmony_ci}; 3088c2ecf20Sopenharmony_ci 3098c2ecf20Sopenharmony_ciunion cvmx_lmcx_char_mask3 { 3108c2ecf20Sopenharmony_ci uint64_t u64; 3118c2ecf20Sopenharmony_ci struct cvmx_lmcx_char_mask3_s { 3128c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 3138c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 3148c2ecf20Sopenharmony_ci uint64_t mask:8; 3158c2ecf20Sopenharmony_ci#else 3168c2ecf20Sopenharmony_ci uint64_t mask:8; 3178c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 3188c2ecf20Sopenharmony_ci#endif 3198c2ecf20Sopenharmony_ci } s; 3208c2ecf20Sopenharmony_ci}; 3218c2ecf20Sopenharmony_ci 3228c2ecf20Sopenharmony_ciunion cvmx_lmcx_char_mask4 { 3238c2ecf20Sopenharmony_ci uint64_t u64; 3248c2ecf20Sopenharmony_ci struct cvmx_lmcx_char_mask4_s { 3258c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 3268c2ecf20Sopenharmony_ci uint64_t reserved_33_63:31; 3278c2ecf20Sopenharmony_ci uint64_t reset_n_mask:1; 3288c2ecf20Sopenharmony_ci uint64_t a_mask:16; 3298c2ecf20Sopenharmony_ci uint64_t ba_mask:3; 3308c2ecf20Sopenharmony_ci uint64_t we_n_mask:1; 3318c2ecf20Sopenharmony_ci uint64_t cas_n_mask:1; 3328c2ecf20Sopenharmony_ci uint64_t ras_n_mask:1; 3338c2ecf20Sopenharmony_ci uint64_t odt1_mask:2; 3348c2ecf20Sopenharmony_ci uint64_t odt0_mask:2; 3358c2ecf20Sopenharmony_ci uint64_t cs1_n_mask:2; 3368c2ecf20Sopenharmony_ci uint64_t cs0_n_mask:2; 3378c2ecf20Sopenharmony_ci uint64_t cke_mask:2; 3388c2ecf20Sopenharmony_ci#else 3398c2ecf20Sopenharmony_ci uint64_t cke_mask:2; 3408c2ecf20Sopenharmony_ci uint64_t cs0_n_mask:2; 3418c2ecf20Sopenharmony_ci uint64_t cs1_n_mask:2; 3428c2ecf20Sopenharmony_ci uint64_t odt0_mask:2; 3438c2ecf20Sopenharmony_ci uint64_t odt1_mask:2; 3448c2ecf20Sopenharmony_ci uint64_t ras_n_mask:1; 3458c2ecf20Sopenharmony_ci uint64_t cas_n_mask:1; 3468c2ecf20Sopenharmony_ci uint64_t we_n_mask:1; 3478c2ecf20Sopenharmony_ci uint64_t ba_mask:3; 3488c2ecf20Sopenharmony_ci uint64_t a_mask:16; 3498c2ecf20Sopenharmony_ci uint64_t reset_n_mask:1; 3508c2ecf20Sopenharmony_ci uint64_t reserved_33_63:31; 3518c2ecf20Sopenharmony_ci#endif 3528c2ecf20Sopenharmony_ci } s; 3538c2ecf20Sopenharmony_ci}; 3548c2ecf20Sopenharmony_ci 3558c2ecf20Sopenharmony_ciunion cvmx_lmcx_comp_ctl { 3568c2ecf20Sopenharmony_ci uint64_t u64; 3578c2ecf20Sopenharmony_ci struct cvmx_lmcx_comp_ctl_s { 3588c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 3598c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 3608c2ecf20Sopenharmony_ci uint64_t nctl_csr:4; 3618c2ecf20Sopenharmony_ci uint64_t nctl_clk:4; 3628c2ecf20Sopenharmony_ci uint64_t nctl_cmd:4; 3638c2ecf20Sopenharmony_ci uint64_t nctl_dat:4; 3648c2ecf20Sopenharmony_ci uint64_t pctl_csr:4; 3658c2ecf20Sopenharmony_ci uint64_t pctl_clk:4; 3668c2ecf20Sopenharmony_ci uint64_t reserved_0_7:8; 3678c2ecf20Sopenharmony_ci#else 3688c2ecf20Sopenharmony_ci uint64_t reserved_0_7:8; 3698c2ecf20Sopenharmony_ci uint64_t pctl_clk:4; 3708c2ecf20Sopenharmony_ci uint64_t pctl_csr:4; 3718c2ecf20Sopenharmony_ci uint64_t nctl_dat:4; 3728c2ecf20Sopenharmony_ci uint64_t nctl_cmd:4; 3738c2ecf20Sopenharmony_ci uint64_t nctl_clk:4; 3748c2ecf20Sopenharmony_ci uint64_t nctl_csr:4; 3758c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 3768c2ecf20Sopenharmony_ci#endif 3778c2ecf20Sopenharmony_ci } s; 3788c2ecf20Sopenharmony_ci struct cvmx_lmcx_comp_ctl_cn30xx { 3798c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 3808c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 3818c2ecf20Sopenharmony_ci uint64_t nctl_csr:4; 3828c2ecf20Sopenharmony_ci uint64_t nctl_clk:4; 3838c2ecf20Sopenharmony_ci uint64_t nctl_cmd:4; 3848c2ecf20Sopenharmony_ci uint64_t nctl_dat:4; 3858c2ecf20Sopenharmony_ci uint64_t pctl_csr:4; 3868c2ecf20Sopenharmony_ci uint64_t pctl_clk:4; 3878c2ecf20Sopenharmony_ci uint64_t pctl_cmd:4; 3888c2ecf20Sopenharmony_ci uint64_t pctl_dat:4; 3898c2ecf20Sopenharmony_ci#else 3908c2ecf20Sopenharmony_ci uint64_t pctl_dat:4; 3918c2ecf20Sopenharmony_ci uint64_t pctl_cmd:4; 3928c2ecf20Sopenharmony_ci uint64_t pctl_clk:4; 3938c2ecf20Sopenharmony_ci uint64_t pctl_csr:4; 3948c2ecf20Sopenharmony_ci uint64_t nctl_dat:4; 3958c2ecf20Sopenharmony_ci uint64_t nctl_cmd:4; 3968c2ecf20Sopenharmony_ci uint64_t nctl_clk:4; 3978c2ecf20Sopenharmony_ci uint64_t nctl_csr:4; 3988c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 3998c2ecf20Sopenharmony_ci#endif 4008c2ecf20Sopenharmony_ci } cn30xx; 4018c2ecf20Sopenharmony_ci struct cvmx_lmcx_comp_ctl_cn50xx { 4028c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 4038c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 4048c2ecf20Sopenharmony_ci uint64_t nctl_csr:4; 4058c2ecf20Sopenharmony_ci uint64_t reserved_20_27:8; 4068c2ecf20Sopenharmony_ci uint64_t nctl_dat:4; 4078c2ecf20Sopenharmony_ci uint64_t pctl_csr:4; 4088c2ecf20Sopenharmony_ci uint64_t reserved_5_11:7; 4098c2ecf20Sopenharmony_ci uint64_t pctl_dat:5; 4108c2ecf20Sopenharmony_ci#else 4118c2ecf20Sopenharmony_ci uint64_t pctl_dat:5; 4128c2ecf20Sopenharmony_ci uint64_t reserved_5_11:7; 4138c2ecf20Sopenharmony_ci uint64_t pctl_csr:4; 4148c2ecf20Sopenharmony_ci uint64_t nctl_dat:4; 4158c2ecf20Sopenharmony_ci uint64_t reserved_20_27:8; 4168c2ecf20Sopenharmony_ci uint64_t nctl_csr:4; 4178c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 4188c2ecf20Sopenharmony_ci#endif 4198c2ecf20Sopenharmony_ci } cn50xx; 4208c2ecf20Sopenharmony_ci struct cvmx_lmcx_comp_ctl_cn58xxp1 { 4218c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 4228c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 4238c2ecf20Sopenharmony_ci uint64_t nctl_csr:4; 4248c2ecf20Sopenharmony_ci uint64_t reserved_20_27:8; 4258c2ecf20Sopenharmony_ci uint64_t nctl_dat:4; 4268c2ecf20Sopenharmony_ci uint64_t pctl_csr:4; 4278c2ecf20Sopenharmony_ci uint64_t reserved_4_11:8; 4288c2ecf20Sopenharmony_ci uint64_t pctl_dat:4; 4298c2ecf20Sopenharmony_ci#else 4308c2ecf20Sopenharmony_ci uint64_t pctl_dat:4; 4318c2ecf20Sopenharmony_ci uint64_t reserved_4_11:8; 4328c2ecf20Sopenharmony_ci uint64_t pctl_csr:4; 4338c2ecf20Sopenharmony_ci uint64_t nctl_dat:4; 4348c2ecf20Sopenharmony_ci uint64_t reserved_20_27:8; 4358c2ecf20Sopenharmony_ci uint64_t nctl_csr:4; 4368c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 4378c2ecf20Sopenharmony_ci#endif 4388c2ecf20Sopenharmony_ci } cn58xxp1; 4398c2ecf20Sopenharmony_ci}; 4408c2ecf20Sopenharmony_ci 4418c2ecf20Sopenharmony_ciunion cvmx_lmcx_comp_ctl2 { 4428c2ecf20Sopenharmony_ci uint64_t u64; 4438c2ecf20Sopenharmony_ci struct cvmx_lmcx_comp_ctl2_s { 4448c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 4458c2ecf20Sopenharmony_ci uint64_t reserved_34_63:30; 4468c2ecf20Sopenharmony_ci uint64_t ddr__ptune:4; 4478c2ecf20Sopenharmony_ci uint64_t ddr__ntune:4; 4488c2ecf20Sopenharmony_ci uint64_t m180:1; 4498c2ecf20Sopenharmony_ci uint64_t byp:1; 4508c2ecf20Sopenharmony_ci uint64_t ptune:4; 4518c2ecf20Sopenharmony_ci uint64_t ntune:4; 4528c2ecf20Sopenharmony_ci uint64_t rodt_ctl:4; 4538c2ecf20Sopenharmony_ci uint64_t cmd_ctl:4; 4548c2ecf20Sopenharmony_ci uint64_t ck_ctl:4; 4558c2ecf20Sopenharmony_ci uint64_t dqx_ctl:4; 4568c2ecf20Sopenharmony_ci#else 4578c2ecf20Sopenharmony_ci uint64_t dqx_ctl:4; 4588c2ecf20Sopenharmony_ci uint64_t ck_ctl:4; 4598c2ecf20Sopenharmony_ci uint64_t cmd_ctl:4; 4608c2ecf20Sopenharmony_ci uint64_t rodt_ctl:4; 4618c2ecf20Sopenharmony_ci uint64_t ntune:4; 4628c2ecf20Sopenharmony_ci uint64_t ptune:4; 4638c2ecf20Sopenharmony_ci uint64_t byp:1; 4648c2ecf20Sopenharmony_ci uint64_t m180:1; 4658c2ecf20Sopenharmony_ci uint64_t ddr__ntune:4; 4668c2ecf20Sopenharmony_ci uint64_t ddr__ptune:4; 4678c2ecf20Sopenharmony_ci uint64_t reserved_34_63:30; 4688c2ecf20Sopenharmony_ci#endif 4698c2ecf20Sopenharmony_ci } s; 4708c2ecf20Sopenharmony_ci}; 4718c2ecf20Sopenharmony_ci 4728c2ecf20Sopenharmony_ciunion cvmx_lmcx_config { 4738c2ecf20Sopenharmony_ci uint64_t u64; 4748c2ecf20Sopenharmony_ci struct cvmx_lmcx_config_s { 4758c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 4768c2ecf20Sopenharmony_ci uint64_t reserved_61_63:3; 4778c2ecf20Sopenharmony_ci uint64_t mode32b:1; 4788c2ecf20Sopenharmony_ci uint64_t scrz:1; 4798c2ecf20Sopenharmony_ci uint64_t early_unload_d1_r1:1; 4808c2ecf20Sopenharmony_ci uint64_t early_unload_d1_r0:1; 4818c2ecf20Sopenharmony_ci uint64_t early_unload_d0_r1:1; 4828c2ecf20Sopenharmony_ci uint64_t early_unload_d0_r0:1; 4838c2ecf20Sopenharmony_ci uint64_t init_status:4; 4848c2ecf20Sopenharmony_ci uint64_t mirrmask:4; 4858c2ecf20Sopenharmony_ci uint64_t rankmask:4; 4868c2ecf20Sopenharmony_ci uint64_t rank_ena:1; 4878c2ecf20Sopenharmony_ci uint64_t sref_with_dll:1; 4888c2ecf20Sopenharmony_ci uint64_t early_dqx:1; 4898c2ecf20Sopenharmony_ci uint64_t sequence:3; 4908c2ecf20Sopenharmony_ci uint64_t ref_zqcs_int:19; 4918c2ecf20Sopenharmony_ci uint64_t reset:1; 4928c2ecf20Sopenharmony_ci uint64_t ecc_adr:1; 4938c2ecf20Sopenharmony_ci uint64_t forcewrite:4; 4948c2ecf20Sopenharmony_ci uint64_t idlepower:3; 4958c2ecf20Sopenharmony_ci uint64_t pbank_lsb:4; 4968c2ecf20Sopenharmony_ci uint64_t row_lsb:3; 4978c2ecf20Sopenharmony_ci uint64_t ecc_ena:1; 4988c2ecf20Sopenharmony_ci uint64_t init_start:1; 4998c2ecf20Sopenharmony_ci#else 5008c2ecf20Sopenharmony_ci uint64_t init_start:1; 5018c2ecf20Sopenharmony_ci uint64_t ecc_ena:1; 5028c2ecf20Sopenharmony_ci uint64_t row_lsb:3; 5038c2ecf20Sopenharmony_ci uint64_t pbank_lsb:4; 5048c2ecf20Sopenharmony_ci uint64_t idlepower:3; 5058c2ecf20Sopenharmony_ci uint64_t forcewrite:4; 5068c2ecf20Sopenharmony_ci uint64_t ecc_adr:1; 5078c2ecf20Sopenharmony_ci uint64_t reset:1; 5088c2ecf20Sopenharmony_ci uint64_t ref_zqcs_int:19; 5098c2ecf20Sopenharmony_ci uint64_t sequence:3; 5108c2ecf20Sopenharmony_ci uint64_t early_dqx:1; 5118c2ecf20Sopenharmony_ci uint64_t sref_with_dll:1; 5128c2ecf20Sopenharmony_ci uint64_t rank_ena:1; 5138c2ecf20Sopenharmony_ci uint64_t rankmask:4; 5148c2ecf20Sopenharmony_ci uint64_t mirrmask:4; 5158c2ecf20Sopenharmony_ci uint64_t init_status:4; 5168c2ecf20Sopenharmony_ci uint64_t early_unload_d0_r0:1; 5178c2ecf20Sopenharmony_ci uint64_t early_unload_d0_r1:1; 5188c2ecf20Sopenharmony_ci uint64_t early_unload_d1_r0:1; 5198c2ecf20Sopenharmony_ci uint64_t early_unload_d1_r1:1; 5208c2ecf20Sopenharmony_ci uint64_t scrz:1; 5218c2ecf20Sopenharmony_ci uint64_t mode32b:1; 5228c2ecf20Sopenharmony_ci uint64_t reserved_61_63:3; 5238c2ecf20Sopenharmony_ci#endif 5248c2ecf20Sopenharmony_ci } s; 5258c2ecf20Sopenharmony_ci struct cvmx_lmcx_config_cn63xx { 5268c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 5278c2ecf20Sopenharmony_ci uint64_t reserved_59_63:5; 5288c2ecf20Sopenharmony_ci uint64_t early_unload_d1_r1:1; 5298c2ecf20Sopenharmony_ci uint64_t early_unload_d1_r0:1; 5308c2ecf20Sopenharmony_ci uint64_t early_unload_d0_r1:1; 5318c2ecf20Sopenharmony_ci uint64_t early_unload_d0_r0:1; 5328c2ecf20Sopenharmony_ci uint64_t init_status:4; 5338c2ecf20Sopenharmony_ci uint64_t mirrmask:4; 5348c2ecf20Sopenharmony_ci uint64_t rankmask:4; 5358c2ecf20Sopenharmony_ci uint64_t rank_ena:1; 5368c2ecf20Sopenharmony_ci uint64_t sref_with_dll:1; 5378c2ecf20Sopenharmony_ci uint64_t early_dqx:1; 5388c2ecf20Sopenharmony_ci uint64_t sequence:3; 5398c2ecf20Sopenharmony_ci uint64_t ref_zqcs_int:19; 5408c2ecf20Sopenharmony_ci uint64_t reset:1; 5418c2ecf20Sopenharmony_ci uint64_t ecc_adr:1; 5428c2ecf20Sopenharmony_ci uint64_t forcewrite:4; 5438c2ecf20Sopenharmony_ci uint64_t idlepower:3; 5448c2ecf20Sopenharmony_ci uint64_t pbank_lsb:4; 5458c2ecf20Sopenharmony_ci uint64_t row_lsb:3; 5468c2ecf20Sopenharmony_ci uint64_t ecc_ena:1; 5478c2ecf20Sopenharmony_ci uint64_t init_start:1; 5488c2ecf20Sopenharmony_ci#else 5498c2ecf20Sopenharmony_ci uint64_t init_start:1; 5508c2ecf20Sopenharmony_ci uint64_t ecc_ena:1; 5518c2ecf20Sopenharmony_ci uint64_t row_lsb:3; 5528c2ecf20Sopenharmony_ci uint64_t pbank_lsb:4; 5538c2ecf20Sopenharmony_ci uint64_t idlepower:3; 5548c2ecf20Sopenharmony_ci uint64_t forcewrite:4; 5558c2ecf20Sopenharmony_ci uint64_t ecc_adr:1; 5568c2ecf20Sopenharmony_ci uint64_t reset:1; 5578c2ecf20Sopenharmony_ci uint64_t ref_zqcs_int:19; 5588c2ecf20Sopenharmony_ci uint64_t sequence:3; 5598c2ecf20Sopenharmony_ci uint64_t early_dqx:1; 5608c2ecf20Sopenharmony_ci uint64_t sref_with_dll:1; 5618c2ecf20Sopenharmony_ci uint64_t rank_ena:1; 5628c2ecf20Sopenharmony_ci uint64_t rankmask:4; 5638c2ecf20Sopenharmony_ci uint64_t mirrmask:4; 5648c2ecf20Sopenharmony_ci uint64_t init_status:4; 5658c2ecf20Sopenharmony_ci uint64_t early_unload_d0_r0:1; 5668c2ecf20Sopenharmony_ci uint64_t early_unload_d0_r1:1; 5678c2ecf20Sopenharmony_ci uint64_t early_unload_d1_r0:1; 5688c2ecf20Sopenharmony_ci uint64_t early_unload_d1_r1:1; 5698c2ecf20Sopenharmony_ci uint64_t reserved_59_63:5; 5708c2ecf20Sopenharmony_ci#endif 5718c2ecf20Sopenharmony_ci } cn63xx; 5728c2ecf20Sopenharmony_ci struct cvmx_lmcx_config_cn63xxp1 { 5738c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 5748c2ecf20Sopenharmony_ci uint64_t reserved_55_63:9; 5758c2ecf20Sopenharmony_ci uint64_t init_status:4; 5768c2ecf20Sopenharmony_ci uint64_t mirrmask:4; 5778c2ecf20Sopenharmony_ci uint64_t rankmask:4; 5788c2ecf20Sopenharmony_ci uint64_t rank_ena:1; 5798c2ecf20Sopenharmony_ci uint64_t sref_with_dll:1; 5808c2ecf20Sopenharmony_ci uint64_t early_dqx:1; 5818c2ecf20Sopenharmony_ci uint64_t sequence:3; 5828c2ecf20Sopenharmony_ci uint64_t ref_zqcs_int:19; 5838c2ecf20Sopenharmony_ci uint64_t reset:1; 5848c2ecf20Sopenharmony_ci uint64_t ecc_adr:1; 5858c2ecf20Sopenharmony_ci uint64_t forcewrite:4; 5868c2ecf20Sopenharmony_ci uint64_t idlepower:3; 5878c2ecf20Sopenharmony_ci uint64_t pbank_lsb:4; 5888c2ecf20Sopenharmony_ci uint64_t row_lsb:3; 5898c2ecf20Sopenharmony_ci uint64_t ecc_ena:1; 5908c2ecf20Sopenharmony_ci uint64_t init_start:1; 5918c2ecf20Sopenharmony_ci#else 5928c2ecf20Sopenharmony_ci uint64_t init_start:1; 5938c2ecf20Sopenharmony_ci uint64_t ecc_ena:1; 5948c2ecf20Sopenharmony_ci uint64_t row_lsb:3; 5958c2ecf20Sopenharmony_ci uint64_t pbank_lsb:4; 5968c2ecf20Sopenharmony_ci uint64_t idlepower:3; 5978c2ecf20Sopenharmony_ci uint64_t forcewrite:4; 5988c2ecf20Sopenharmony_ci uint64_t ecc_adr:1; 5998c2ecf20Sopenharmony_ci uint64_t reset:1; 6008c2ecf20Sopenharmony_ci uint64_t ref_zqcs_int:19; 6018c2ecf20Sopenharmony_ci uint64_t sequence:3; 6028c2ecf20Sopenharmony_ci uint64_t early_dqx:1; 6038c2ecf20Sopenharmony_ci uint64_t sref_with_dll:1; 6048c2ecf20Sopenharmony_ci uint64_t rank_ena:1; 6058c2ecf20Sopenharmony_ci uint64_t rankmask:4; 6068c2ecf20Sopenharmony_ci uint64_t mirrmask:4; 6078c2ecf20Sopenharmony_ci uint64_t init_status:4; 6088c2ecf20Sopenharmony_ci uint64_t reserved_55_63:9; 6098c2ecf20Sopenharmony_ci#endif 6108c2ecf20Sopenharmony_ci } cn63xxp1; 6118c2ecf20Sopenharmony_ci struct cvmx_lmcx_config_cn66xx { 6128c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 6138c2ecf20Sopenharmony_ci uint64_t reserved_60_63:4; 6148c2ecf20Sopenharmony_ci uint64_t scrz:1; 6158c2ecf20Sopenharmony_ci uint64_t early_unload_d1_r1:1; 6168c2ecf20Sopenharmony_ci uint64_t early_unload_d1_r0:1; 6178c2ecf20Sopenharmony_ci uint64_t early_unload_d0_r1:1; 6188c2ecf20Sopenharmony_ci uint64_t early_unload_d0_r0:1; 6198c2ecf20Sopenharmony_ci uint64_t init_status:4; 6208c2ecf20Sopenharmony_ci uint64_t mirrmask:4; 6218c2ecf20Sopenharmony_ci uint64_t rankmask:4; 6228c2ecf20Sopenharmony_ci uint64_t rank_ena:1; 6238c2ecf20Sopenharmony_ci uint64_t sref_with_dll:1; 6248c2ecf20Sopenharmony_ci uint64_t early_dqx:1; 6258c2ecf20Sopenharmony_ci uint64_t sequence:3; 6268c2ecf20Sopenharmony_ci uint64_t ref_zqcs_int:19; 6278c2ecf20Sopenharmony_ci uint64_t reset:1; 6288c2ecf20Sopenharmony_ci uint64_t ecc_adr:1; 6298c2ecf20Sopenharmony_ci uint64_t forcewrite:4; 6308c2ecf20Sopenharmony_ci uint64_t idlepower:3; 6318c2ecf20Sopenharmony_ci uint64_t pbank_lsb:4; 6328c2ecf20Sopenharmony_ci uint64_t row_lsb:3; 6338c2ecf20Sopenharmony_ci uint64_t ecc_ena:1; 6348c2ecf20Sopenharmony_ci uint64_t init_start:1; 6358c2ecf20Sopenharmony_ci#else 6368c2ecf20Sopenharmony_ci uint64_t init_start:1; 6378c2ecf20Sopenharmony_ci uint64_t ecc_ena:1; 6388c2ecf20Sopenharmony_ci uint64_t row_lsb:3; 6398c2ecf20Sopenharmony_ci uint64_t pbank_lsb:4; 6408c2ecf20Sopenharmony_ci uint64_t idlepower:3; 6418c2ecf20Sopenharmony_ci uint64_t forcewrite:4; 6428c2ecf20Sopenharmony_ci uint64_t ecc_adr:1; 6438c2ecf20Sopenharmony_ci uint64_t reset:1; 6448c2ecf20Sopenharmony_ci uint64_t ref_zqcs_int:19; 6458c2ecf20Sopenharmony_ci uint64_t sequence:3; 6468c2ecf20Sopenharmony_ci uint64_t early_dqx:1; 6478c2ecf20Sopenharmony_ci uint64_t sref_with_dll:1; 6488c2ecf20Sopenharmony_ci uint64_t rank_ena:1; 6498c2ecf20Sopenharmony_ci uint64_t rankmask:4; 6508c2ecf20Sopenharmony_ci uint64_t mirrmask:4; 6518c2ecf20Sopenharmony_ci uint64_t init_status:4; 6528c2ecf20Sopenharmony_ci uint64_t early_unload_d0_r0:1; 6538c2ecf20Sopenharmony_ci uint64_t early_unload_d0_r1:1; 6548c2ecf20Sopenharmony_ci uint64_t early_unload_d1_r0:1; 6558c2ecf20Sopenharmony_ci uint64_t early_unload_d1_r1:1; 6568c2ecf20Sopenharmony_ci uint64_t scrz:1; 6578c2ecf20Sopenharmony_ci uint64_t reserved_60_63:4; 6588c2ecf20Sopenharmony_ci#endif 6598c2ecf20Sopenharmony_ci } cn66xx; 6608c2ecf20Sopenharmony_ci}; 6618c2ecf20Sopenharmony_ci 6628c2ecf20Sopenharmony_ciunion cvmx_lmcx_control { 6638c2ecf20Sopenharmony_ci uint64_t u64; 6648c2ecf20Sopenharmony_ci struct cvmx_lmcx_control_s { 6658c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 6668c2ecf20Sopenharmony_ci uint64_t scramble_ena:1; 6678c2ecf20Sopenharmony_ci uint64_t thrcnt:12; 6688c2ecf20Sopenharmony_ci uint64_t persub:8; 6698c2ecf20Sopenharmony_ci uint64_t thrmax:4; 6708c2ecf20Sopenharmony_ci uint64_t crm_cnt:5; 6718c2ecf20Sopenharmony_ci uint64_t crm_thr:5; 6728c2ecf20Sopenharmony_ci uint64_t crm_max:5; 6738c2ecf20Sopenharmony_ci uint64_t rodt_bprch:1; 6748c2ecf20Sopenharmony_ci uint64_t wodt_bprch:1; 6758c2ecf20Sopenharmony_ci uint64_t bprch:2; 6768c2ecf20Sopenharmony_ci uint64_t ext_zqcs_dis:1; 6778c2ecf20Sopenharmony_ci uint64_t int_zqcs_dis:1; 6788c2ecf20Sopenharmony_ci uint64_t auto_dclkdis:1; 6798c2ecf20Sopenharmony_ci uint64_t xor_bank:1; 6808c2ecf20Sopenharmony_ci uint64_t max_write_batch:4; 6818c2ecf20Sopenharmony_ci uint64_t nxm_write_en:1; 6828c2ecf20Sopenharmony_ci uint64_t elev_prio_dis:1; 6838c2ecf20Sopenharmony_ci uint64_t inorder_wr:1; 6848c2ecf20Sopenharmony_ci uint64_t inorder_rd:1; 6858c2ecf20Sopenharmony_ci uint64_t throttle_wr:1; 6868c2ecf20Sopenharmony_ci uint64_t throttle_rd:1; 6878c2ecf20Sopenharmony_ci uint64_t fprch2:2; 6888c2ecf20Sopenharmony_ci uint64_t pocas:1; 6898c2ecf20Sopenharmony_ci uint64_t ddr2t:1; 6908c2ecf20Sopenharmony_ci uint64_t bwcnt:1; 6918c2ecf20Sopenharmony_ci uint64_t rdimm_ena:1; 6928c2ecf20Sopenharmony_ci#else 6938c2ecf20Sopenharmony_ci uint64_t rdimm_ena:1; 6948c2ecf20Sopenharmony_ci uint64_t bwcnt:1; 6958c2ecf20Sopenharmony_ci uint64_t ddr2t:1; 6968c2ecf20Sopenharmony_ci uint64_t pocas:1; 6978c2ecf20Sopenharmony_ci uint64_t fprch2:2; 6988c2ecf20Sopenharmony_ci uint64_t throttle_rd:1; 6998c2ecf20Sopenharmony_ci uint64_t throttle_wr:1; 7008c2ecf20Sopenharmony_ci uint64_t inorder_rd:1; 7018c2ecf20Sopenharmony_ci uint64_t inorder_wr:1; 7028c2ecf20Sopenharmony_ci uint64_t elev_prio_dis:1; 7038c2ecf20Sopenharmony_ci uint64_t nxm_write_en:1; 7048c2ecf20Sopenharmony_ci uint64_t max_write_batch:4; 7058c2ecf20Sopenharmony_ci uint64_t xor_bank:1; 7068c2ecf20Sopenharmony_ci uint64_t auto_dclkdis:1; 7078c2ecf20Sopenharmony_ci uint64_t int_zqcs_dis:1; 7088c2ecf20Sopenharmony_ci uint64_t ext_zqcs_dis:1; 7098c2ecf20Sopenharmony_ci uint64_t bprch:2; 7108c2ecf20Sopenharmony_ci uint64_t wodt_bprch:1; 7118c2ecf20Sopenharmony_ci uint64_t rodt_bprch:1; 7128c2ecf20Sopenharmony_ci uint64_t crm_max:5; 7138c2ecf20Sopenharmony_ci uint64_t crm_thr:5; 7148c2ecf20Sopenharmony_ci uint64_t crm_cnt:5; 7158c2ecf20Sopenharmony_ci uint64_t thrmax:4; 7168c2ecf20Sopenharmony_ci uint64_t persub:8; 7178c2ecf20Sopenharmony_ci uint64_t thrcnt:12; 7188c2ecf20Sopenharmony_ci uint64_t scramble_ena:1; 7198c2ecf20Sopenharmony_ci#endif 7208c2ecf20Sopenharmony_ci } s; 7218c2ecf20Sopenharmony_ci struct cvmx_lmcx_control_cn63xx { 7228c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 7238c2ecf20Sopenharmony_ci uint64_t reserved_24_63:40; 7248c2ecf20Sopenharmony_ci uint64_t rodt_bprch:1; 7258c2ecf20Sopenharmony_ci uint64_t wodt_bprch:1; 7268c2ecf20Sopenharmony_ci uint64_t bprch:2; 7278c2ecf20Sopenharmony_ci uint64_t ext_zqcs_dis:1; 7288c2ecf20Sopenharmony_ci uint64_t int_zqcs_dis:1; 7298c2ecf20Sopenharmony_ci uint64_t auto_dclkdis:1; 7308c2ecf20Sopenharmony_ci uint64_t xor_bank:1; 7318c2ecf20Sopenharmony_ci uint64_t max_write_batch:4; 7328c2ecf20Sopenharmony_ci uint64_t nxm_write_en:1; 7338c2ecf20Sopenharmony_ci uint64_t elev_prio_dis:1; 7348c2ecf20Sopenharmony_ci uint64_t inorder_wr:1; 7358c2ecf20Sopenharmony_ci uint64_t inorder_rd:1; 7368c2ecf20Sopenharmony_ci uint64_t throttle_wr:1; 7378c2ecf20Sopenharmony_ci uint64_t throttle_rd:1; 7388c2ecf20Sopenharmony_ci uint64_t fprch2:2; 7398c2ecf20Sopenharmony_ci uint64_t pocas:1; 7408c2ecf20Sopenharmony_ci uint64_t ddr2t:1; 7418c2ecf20Sopenharmony_ci uint64_t bwcnt:1; 7428c2ecf20Sopenharmony_ci uint64_t rdimm_ena:1; 7438c2ecf20Sopenharmony_ci#else 7448c2ecf20Sopenharmony_ci uint64_t rdimm_ena:1; 7458c2ecf20Sopenharmony_ci uint64_t bwcnt:1; 7468c2ecf20Sopenharmony_ci uint64_t ddr2t:1; 7478c2ecf20Sopenharmony_ci uint64_t pocas:1; 7488c2ecf20Sopenharmony_ci uint64_t fprch2:2; 7498c2ecf20Sopenharmony_ci uint64_t throttle_rd:1; 7508c2ecf20Sopenharmony_ci uint64_t throttle_wr:1; 7518c2ecf20Sopenharmony_ci uint64_t inorder_rd:1; 7528c2ecf20Sopenharmony_ci uint64_t inorder_wr:1; 7538c2ecf20Sopenharmony_ci uint64_t elev_prio_dis:1; 7548c2ecf20Sopenharmony_ci uint64_t nxm_write_en:1; 7558c2ecf20Sopenharmony_ci uint64_t max_write_batch:4; 7568c2ecf20Sopenharmony_ci uint64_t xor_bank:1; 7578c2ecf20Sopenharmony_ci uint64_t auto_dclkdis:1; 7588c2ecf20Sopenharmony_ci uint64_t int_zqcs_dis:1; 7598c2ecf20Sopenharmony_ci uint64_t ext_zqcs_dis:1; 7608c2ecf20Sopenharmony_ci uint64_t bprch:2; 7618c2ecf20Sopenharmony_ci uint64_t wodt_bprch:1; 7628c2ecf20Sopenharmony_ci uint64_t rodt_bprch:1; 7638c2ecf20Sopenharmony_ci uint64_t reserved_24_63:40; 7648c2ecf20Sopenharmony_ci#endif 7658c2ecf20Sopenharmony_ci } cn63xx; 7668c2ecf20Sopenharmony_ci struct cvmx_lmcx_control_cn66xx { 7678c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 7688c2ecf20Sopenharmony_ci uint64_t scramble_ena:1; 7698c2ecf20Sopenharmony_ci uint64_t reserved_24_62:39; 7708c2ecf20Sopenharmony_ci uint64_t rodt_bprch:1; 7718c2ecf20Sopenharmony_ci uint64_t wodt_bprch:1; 7728c2ecf20Sopenharmony_ci uint64_t bprch:2; 7738c2ecf20Sopenharmony_ci uint64_t ext_zqcs_dis:1; 7748c2ecf20Sopenharmony_ci uint64_t int_zqcs_dis:1; 7758c2ecf20Sopenharmony_ci uint64_t auto_dclkdis:1; 7768c2ecf20Sopenharmony_ci uint64_t xor_bank:1; 7778c2ecf20Sopenharmony_ci uint64_t max_write_batch:4; 7788c2ecf20Sopenharmony_ci uint64_t nxm_write_en:1; 7798c2ecf20Sopenharmony_ci uint64_t elev_prio_dis:1; 7808c2ecf20Sopenharmony_ci uint64_t inorder_wr:1; 7818c2ecf20Sopenharmony_ci uint64_t inorder_rd:1; 7828c2ecf20Sopenharmony_ci uint64_t throttle_wr:1; 7838c2ecf20Sopenharmony_ci uint64_t throttle_rd:1; 7848c2ecf20Sopenharmony_ci uint64_t fprch2:2; 7858c2ecf20Sopenharmony_ci uint64_t pocas:1; 7868c2ecf20Sopenharmony_ci uint64_t ddr2t:1; 7878c2ecf20Sopenharmony_ci uint64_t bwcnt:1; 7888c2ecf20Sopenharmony_ci uint64_t rdimm_ena:1; 7898c2ecf20Sopenharmony_ci#else 7908c2ecf20Sopenharmony_ci uint64_t rdimm_ena:1; 7918c2ecf20Sopenharmony_ci uint64_t bwcnt:1; 7928c2ecf20Sopenharmony_ci uint64_t ddr2t:1; 7938c2ecf20Sopenharmony_ci uint64_t pocas:1; 7948c2ecf20Sopenharmony_ci uint64_t fprch2:2; 7958c2ecf20Sopenharmony_ci uint64_t throttle_rd:1; 7968c2ecf20Sopenharmony_ci uint64_t throttle_wr:1; 7978c2ecf20Sopenharmony_ci uint64_t inorder_rd:1; 7988c2ecf20Sopenharmony_ci uint64_t inorder_wr:1; 7998c2ecf20Sopenharmony_ci uint64_t elev_prio_dis:1; 8008c2ecf20Sopenharmony_ci uint64_t nxm_write_en:1; 8018c2ecf20Sopenharmony_ci uint64_t max_write_batch:4; 8028c2ecf20Sopenharmony_ci uint64_t xor_bank:1; 8038c2ecf20Sopenharmony_ci uint64_t auto_dclkdis:1; 8048c2ecf20Sopenharmony_ci uint64_t int_zqcs_dis:1; 8058c2ecf20Sopenharmony_ci uint64_t ext_zqcs_dis:1; 8068c2ecf20Sopenharmony_ci uint64_t bprch:2; 8078c2ecf20Sopenharmony_ci uint64_t wodt_bprch:1; 8088c2ecf20Sopenharmony_ci uint64_t rodt_bprch:1; 8098c2ecf20Sopenharmony_ci uint64_t reserved_24_62:39; 8108c2ecf20Sopenharmony_ci uint64_t scramble_ena:1; 8118c2ecf20Sopenharmony_ci#endif 8128c2ecf20Sopenharmony_ci } cn66xx; 8138c2ecf20Sopenharmony_ci struct cvmx_lmcx_control_cn68xx { 8148c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 8158c2ecf20Sopenharmony_ci uint64_t reserved_63_63:1; 8168c2ecf20Sopenharmony_ci uint64_t thrcnt:12; 8178c2ecf20Sopenharmony_ci uint64_t persub:8; 8188c2ecf20Sopenharmony_ci uint64_t thrmax:4; 8198c2ecf20Sopenharmony_ci uint64_t crm_cnt:5; 8208c2ecf20Sopenharmony_ci uint64_t crm_thr:5; 8218c2ecf20Sopenharmony_ci uint64_t crm_max:5; 8228c2ecf20Sopenharmony_ci uint64_t rodt_bprch:1; 8238c2ecf20Sopenharmony_ci uint64_t wodt_bprch:1; 8248c2ecf20Sopenharmony_ci uint64_t bprch:2; 8258c2ecf20Sopenharmony_ci uint64_t ext_zqcs_dis:1; 8268c2ecf20Sopenharmony_ci uint64_t int_zqcs_dis:1; 8278c2ecf20Sopenharmony_ci uint64_t auto_dclkdis:1; 8288c2ecf20Sopenharmony_ci uint64_t xor_bank:1; 8298c2ecf20Sopenharmony_ci uint64_t max_write_batch:4; 8308c2ecf20Sopenharmony_ci uint64_t nxm_write_en:1; 8318c2ecf20Sopenharmony_ci uint64_t elev_prio_dis:1; 8328c2ecf20Sopenharmony_ci uint64_t inorder_wr:1; 8338c2ecf20Sopenharmony_ci uint64_t inorder_rd:1; 8348c2ecf20Sopenharmony_ci uint64_t throttle_wr:1; 8358c2ecf20Sopenharmony_ci uint64_t throttle_rd:1; 8368c2ecf20Sopenharmony_ci uint64_t fprch2:2; 8378c2ecf20Sopenharmony_ci uint64_t pocas:1; 8388c2ecf20Sopenharmony_ci uint64_t ddr2t:1; 8398c2ecf20Sopenharmony_ci uint64_t bwcnt:1; 8408c2ecf20Sopenharmony_ci uint64_t rdimm_ena:1; 8418c2ecf20Sopenharmony_ci#else 8428c2ecf20Sopenharmony_ci uint64_t rdimm_ena:1; 8438c2ecf20Sopenharmony_ci uint64_t bwcnt:1; 8448c2ecf20Sopenharmony_ci uint64_t ddr2t:1; 8458c2ecf20Sopenharmony_ci uint64_t pocas:1; 8468c2ecf20Sopenharmony_ci uint64_t fprch2:2; 8478c2ecf20Sopenharmony_ci uint64_t throttle_rd:1; 8488c2ecf20Sopenharmony_ci uint64_t throttle_wr:1; 8498c2ecf20Sopenharmony_ci uint64_t inorder_rd:1; 8508c2ecf20Sopenharmony_ci uint64_t inorder_wr:1; 8518c2ecf20Sopenharmony_ci uint64_t elev_prio_dis:1; 8528c2ecf20Sopenharmony_ci uint64_t nxm_write_en:1; 8538c2ecf20Sopenharmony_ci uint64_t max_write_batch:4; 8548c2ecf20Sopenharmony_ci uint64_t xor_bank:1; 8558c2ecf20Sopenharmony_ci uint64_t auto_dclkdis:1; 8568c2ecf20Sopenharmony_ci uint64_t int_zqcs_dis:1; 8578c2ecf20Sopenharmony_ci uint64_t ext_zqcs_dis:1; 8588c2ecf20Sopenharmony_ci uint64_t bprch:2; 8598c2ecf20Sopenharmony_ci uint64_t wodt_bprch:1; 8608c2ecf20Sopenharmony_ci uint64_t rodt_bprch:1; 8618c2ecf20Sopenharmony_ci uint64_t crm_max:5; 8628c2ecf20Sopenharmony_ci uint64_t crm_thr:5; 8638c2ecf20Sopenharmony_ci uint64_t crm_cnt:5; 8648c2ecf20Sopenharmony_ci uint64_t thrmax:4; 8658c2ecf20Sopenharmony_ci uint64_t persub:8; 8668c2ecf20Sopenharmony_ci uint64_t thrcnt:12; 8678c2ecf20Sopenharmony_ci uint64_t reserved_63_63:1; 8688c2ecf20Sopenharmony_ci#endif 8698c2ecf20Sopenharmony_ci } cn68xx; 8708c2ecf20Sopenharmony_ci}; 8718c2ecf20Sopenharmony_ci 8728c2ecf20Sopenharmony_ciunion cvmx_lmcx_ctl { 8738c2ecf20Sopenharmony_ci uint64_t u64; 8748c2ecf20Sopenharmony_ci struct cvmx_lmcx_ctl_s { 8758c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 8768c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 8778c2ecf20Sopenharmony_ci uint64_t ddr__nctl:4; 8788c2ecf20Sopenharmony_ci uint64_t ddr__pctl:4; 8798c2ecf20Sopenharmony_ci uint64_t slow_scf:1; 8808c2ecf20Sopenharmony_ci uint64_t xor_bank:1; 8818c2ecf20Sopenharmony_ci uint64_t max_write_batch:4; 8828c2ecf20Sopenharmony_ci uint64_t pll_div2:1; 8838c2ecf20Sopenharmony_ci uint64_t pll_bypass:1; 8848c2ecf20Sopenharmony_ci uint64_t rdimm_ena:1; 8858c2ecf20Sopenharmony_ci uint64_t r2r_slot:1; 8868c2ecf20Sopenharmony_ci uint64_t inorder_mwf:1; 8878c2ecf20Sopenharmony_ci uint64_t inorder_mrf:1; 8888c2ecf20Sopenharmony_ci uint64_t reserved_10_11:2; 8898c2ecf20Sopenharmony_ci uint64_t fprch2:1; 8908c2ecf20Sopenharmony_ci uint64_t bprch:1; 8918c2ecf20Sopenharmony_ci uint64_t sil_lat:2; 8928c2ecf20Sopenharmony_ci uint64_t tskw:2; 8938c2ecf20Sopenharmony_ci uint64_t qs_dic:2; 8948c2ecf20Sopenharmony_ci uint64_t dic:2; 8958c2ecf20Sopenharmony_ci#else 8968c2ecf20Sopenharmony_ci uint64_t dic:2; 8978c2ecf20Sopenharmony_ci uint64_t qs_dic:2; 8988c2ecf20Sopenharmony_ci uint64_t tskw:2; 8998c2ecf20Sopenharmony_ci uint64_t sil_lat:2; 9008c2ecf20Sopenharmony_ci uint64_t bprch:1; 9018c2ecf20Sopenharmony_ci uint64_t fprch2:1; 9028c2ecf20Sopenharmony_ci uint64_t reserved_10_11:2; 9038c2ecf20Sopenharmony_ci uint64_t inorder_mrf:1; 9048c2ecf20Sopenharmony_ci uint64_t inorder_mwf:1; 9058c2ecf20Sopenharmony_ci uint64_t r2r_slot:1; 9068c2ecf20Sopenharmony_ci uint64_t rdimm_ena:1; 9078c2ecf20Sopenharmony_ci uint64_t pll_bypass:1; 9088c2ecf20Sopenharmony_ci uint64_t pll_div2:1; 9098c2ecf20Sopenharmony_ci uint64_t max_write_batch:4; 9108c2ecf20Sopenharmony_ci uint64_t xor_bank:1; 9118c2ecf20Sopenharmony_ci uint64_t slow_scf:1; 9128c2ecf20Sopenharmony_ci uint64_t ddr__pctl:4; 9138c2ecf20Sopenharmony_ci uint64_t ddr__nctl:4; 9148c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 9158c2ecf20Sopenharmony_ci#endif 9168c2ecf20Sopenharmony_ci } s; 9178c2ecf20Sopenharmony_ci struct cvmx_lmcx_ctl_cn30xx { 9188c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 9198c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 9208c2ecf20Sopenharmony_ci uint64_t ddr__nctl:4; 9218c2ecf20Sopenharmony_ci uint64_t ddr__pctl:4; 9228c2ecf20Sopenharmony_ci uint64_t slow_scf:1; 9238c2ecf20Sopenharmony_ci uint64_t xor_bank:1; 9248c2ecf20Sopenharmony_ci uint64_t max_write_batch:4; 9258c2ecf20Sopenharmony_ci uint64_t pll_div2:1; 9268c2ecf20Sopenharmony_ci uint64_t pll_bypass:1; 9278c2ecf20Sopenharmony_ci uint64_t rdimm_ena:1; 9288c2ecf20Sopenharmony_ci uint64_t r2r_slot:1; 9298c2ecf20Sopenharmony_ci uint64_t inorder_mwf:1; 9308c2ecf20Sopenharmony_ci uint64_t inorder_mrf:1; 9318c2ecf20Sopenharmony_ci uint64_t dreset:1; 9328c2ecf20Sopenharmony_ci uint64_t mode32b:1; 9338c2ecf20Sopenharmony_ci uint64_t fprch2:1; 9348c2ecf20Sopenharmony_ci uint64_t bprch:1; 9358c2ecf20Sopenharmony_ci uint64_t sil_lat:2; 9368c2ecf20Sopenharmony_ci uint64_t tskw:2; 9378c2ecf20Sopenharmony_ci uint64_t qs_dic:2; 9388c2ecf20Sopenharmony_ci uint64_t dic:2; 9398c2ecf20Sopenharmony_ci#else 9408c2ecf20Sopenharmony_ci uint64_t dic:2; 9418c2ecf20Sopenharmony_ci uint64_t qs_dic:2; 9428c2ecf20Sopenharmony_ci uint64_t tskw:2; 9438c2ecf20Sopenharmony_ci uint64_t sil_lat:2; 9448c2ecf20Sopenharmony_ci uint64_t bprch:1; 9458c2ecf20Sopenharmony_ci uint64_t fprch2:1; 9468c2ecf20Sopenharmony_ci uint64_t mode32b:1; 9478c2ecf20Sopenharmony_ci uint64_t dreset:1; 9488c2ecf20Sopenharmony_ci uint64_t inorder_mrf:1; 9498c2ecf20Sopenharmony_ci uint64_t inorder_mwf:1; 9508c2ecf20Sopenharmony_ci uint64_t r2r_slot:1; 9518c2ecf20Sopenharmony_ci uint64_t rdimm_ena:1; 9528c2ecf20Sopenharmony_ci uint64_t pll_bypass:1; 9538c2ecf20Sopenharmony_ci uint64_t pll_div2:1; 9548c2ecf20Sopenharmony_ci uint64_t max_write_batch:4; 9558c2ecf20Sopenharmony_ci uint64_t xor_bank:1; 9568c2ecf20Sopenharmony_ci uint64_t slow_scf:1; 9578c2ecf20Sopenharmony_ci uint64_t ddr__pctl:4; 9588c2ecf20Sopenharmony_ci uint64_t ddr__nctl:4; 9598c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 9608c2ecf20Sopenharmony_ci#endif 9618c2ecf20Sopenharmony_ci } cn30xx; 9628c2ecf20Sopenharmony_ci struct cvmx_lmcx_ctl_cn38xx { 9638c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 9648c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 9658c2ecf20Sopenharmony_ci uint64_t ddr__nctl:4; 9668c2ecf20Sopenharmony_ci uint64_t ddr__pctl:4; 9678c2ecf20Sopenharmony_ci uint64_t slow_scf:1; 9688c2ecf20Sopenharmony_ci uint64_t xor_bank:1; 9698c2ecf20Sopenharmony_ci uint64_t max_write_batch:4; 9708c2ecf20Sopenharmony_ci uint64_t reserved_16_17:2; 9718c2ecf20Sopenharmony_ci uint64_t rdimm_ena:1; 9728c2ecf20Sopenharmony_ci uint64_t r2r_slot:1; 9738c2ecf20Sopenharmony_ci uint64_t inorder_mwf:1; 9748c2ecf20Sopenharmony_ci uint64_t inorder_mrf:1; 9758c2ecf20Sopenharmony_ci uint64_t set_zero:1; 9768c2ecf20Sopenharmony_ci uint64_t mode128b:1; 9778c2ecf20Sopenharmony_ci uint64_t fprch2:1; 9788c2ecf20Sopenharmony_ci uint64_t bprch:1; 9798c2ecf20Sopenharmony_ci uint64_t sil_lat:2; 9808c2ecf20Sopenharmony_ci uint64_t tskw:2; 9818c2ecf20Sopenharmony_ci uint64_t qs_dic:2; 9828c2ecf20Sopenharmony_ci uint64_t dic:2; 9838c2ecf20Sopenharmony_ci#else 9848c2ecf20Sopenharmony_ci uint64_t dic:2; 9858c2ecf20Sopenharmony_ci uint64_t qs_dic:2; 9868c2ecf20Sopenharmony_ci uint64_t tskw:2; 9878c2ecf20Sopenharmony_ci uint64_t sil_lat:2; 9888c2ecf20Sopenharmony_ci uint64_t bprch:1; 9898c2ecf20Sopenharmony_ci uint64_t fprch2:1; 9908c2ecf20Sopenharmony_ci uint64_t mode128b:1; 9918c2ecf20Sopenharmony_ci uint64_t set_zero:1; 9928c2ecf20Sopenharmony_ci uint64_t inorder_mrf:1; 9938c2ecf20Sopenharmony_ci uint64_t inorder_mwf:1; 9948c2ecf20Sopenharmony_ci uint64_t r2r_slot:1; 9958c2ecf20Sopenharmony_ci uint64_t rdimm_ena:1; 9968c2ecf20Sopenharmony_ci uint64_t reserved_16_17:2; 9978c2ecf20Sopenharmony_ci uint64_t max_write_batch:4; 9988c2ecf20Sopenharmony_ci uint64_t xor_bank:1; 9998c2ecf20Sopenharmony_ci uint64_t slow_scf:1; 10008c2ecf20Sopenharmony_ci uint64_t ddr__pctl:4; 10018c2ecf20Sopenharmony_ci uint64_t ddr__nctl:4; 10028c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 10038c2ecf20Sopenharmony_ci#endif 10048c2ecf20Sopenharmony_ci } cn38xx; 10058c2ecf20Sopenharmony_ci struct cvmx_lmcx_ctl_cn50xx { 10068c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 10078c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 10088c2ecf20Sopenharmony_ci uint64_t ddr__nctl:4; 10098c2ecf20Sopenharmony_ci uint64_t ddr__pctl:4; 10108c2ecf20Sopenharmony_ci uint64_t slow_scf:1; 10118c2ecf20Sopenharmony_ci uint64_t xor_bank:1; 10128c2ecf20Sopenharmony_ci uint64_t max_write_batch:4; 10138c2ecf20Sopenharmony_ci uint64_t reserved_17_17:1; 10148c2ecf20Sopenharmony_ci uint64_t pll_bypass:1; 10158c2ecf20Sopenharmony_ci uint64_t rdimm_ena:1; 10168c2ecf20Sopenharmony_ci uint64_t r2r_slot:1; 10178c2ecf20Sopenharmony_ci uint64_t inorder_mwf:1; 10188c2ecf20Sopenharmony_ci uint64_t inorder_mrf:1; 10198c2ecf20Sopenharmony_ci uint64_t dreset:1; 10208c2ecf20Sopenharmony_ci uint64_t mode32b:1; 10218c2ecf20Sopenharmony_ci uint64_t fprch2:1; 10228c2ecf20Sopenharmony_ci uint64_t bprch:1; 10238c2ecf20Sopenharmony_ci uint64_t sil_lat:2; 10248c2ecf20Sopenharmony_ci uint64_t tskw:2; 10258c2ecf20Sopenharmony_ci uint64_t qs_dic:2; 10268c2ecf20Sopenharmony_ci uint64_t dic:2; 10278c2ecf20Sopenharmony_ci#else 10288c2ecf20Sopenharmony_ci uint64_t dic:2; 10298c2ecf20Sopenharmony_ci uint64_t qs_dic:2; 10308c2ecf20Sopenharmony_ci uint64_t tskw:2; 10318c2ecf20Sopenharmony_ci uint64_t sil_lat:2; 10328c2ecf20Sopenharmony_ci uint64_t bprch:1; 10338c2ecf20Sopenharmony_ci uint64_t fprch2:1; 10348c2ecf20Sopenharmony_ci uint64_t mode32b:1; 10358c2ecf20Sopenharmony_ci uint64_t dreset:1; 10368c2ecf20Sopenharmony_ci uint64_t inorder_mrf:1; 10378c2ecf20Sopenharmony_ci uint64_t inorder_mwf:1; 10388c2ecf20Sopenharmony_ci uint64_t r2r_slot:1; 10398c2ecf20Sopenharmony_ci uint64_t rdimm_ena:1; 10408c2ecf20Sopenharmony_ci uint64_t pll_bypass:1; 10418c2ecf20Sopenharmony_ci uint64_t reserved_17_17:1; 10428c2ecf20Sopenharmony_ci uint64_t max_write_batch:4; 10438c2ecf20Sopenharmony_ci uint64_t xor_bank:1; 10448c2ecf20Sopenharmony_ci uint64_t slow_scf:1; 10458c2ecf20Sopenharmony_ci uint64_t ddr__pctl:4; 10468c2ecf20Sopenharmony_ci uint64_t ddr__nctl:4; 10478c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 10488c2ecf20Sopenharmony_ci#endif 10498c2ecf20Sopenharmony_ci } cn50xx; 10508c2ecf20Sopenharmony_ci struct cvmx_lmcx_ctl_cn52xx { 10518c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 10528c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 10538c2ecf20Sopenharmony_ci uint64_t ddr__nctl:4; 10548c2ecf20Sopenharmony_ci uint64_t ddr__pctl:4; 10558c2ecf20Sopenharmony_ci uint64_t slow_scf:1; 10568c2ecf20Sopenharmony_ci uint64_t xor_bank:1; 10578c2ecf20Sopenharmony_ci uint64_t max_write_batch:4; 10588c2ecf20Sopenharmony_ci uint64_t reserved_16_17:2; 10598c2ecf20Sopenharmony_ci uint64_t rdimm_ena:1; 10608c2ecf20Sopenharmony_ci uint64_t r2r_slot:1; 10618c2ecf20Sopenharmony_ci uint64_t inorder_mwf:1; 10628c2ecf20Sopenharmony_ci uint64_t inorder_mrf:1; 10638c2ecf20Sopenharmony_ci uint64_t dreset:1; 10648c2ecf20Sopenharmony_ci uint64_t mode32b:1; 10658c2ecf20Sopenharmony_ci uint64_t fprch2:1; 10668c2ecf20Sopenharmony_ci uint64_t bprch:1; 10678c2ecf20Sopenharmony_ci uint64_t sil_lat:2; 10688c2ecf20Sopenharmony_ci uint64_t tskw:2; 10698c2ecf20Sopenharmony_ci uint64_t qs_dic:2; 10708c2ecf20Sopenharmony_ci uint64_t dic:2; 10718c2ecf20Sopenharmony_ci#else 10728c2ecf20Sopenharmony_ci uint64_t dic:2; 10738c2ecf20Sopenharmony_ci uint64_t qs_dic:2; 10748c2ecf20Sopenharmony_ci uint64_t tskw:2; 10758c2ecf20Sopenharmony_ci uint64_t sil_lat:2; 10768c2ecf20Sopenharmony_ci uint64_t bprch:1; 10778c2ecf20Sopenharmony_ci uint64_t fprch2:1; 10788c2ecf20Sopenharmony_ci uint64_t mode32b:1; 10798c2ecf20Sopenharmony_ci uint64_t dreset:1; 10808c2ecf20Sopenharmony_ci uint64_t inorder_mrf:1; 10818c2ecf20Sopenharmony_ci uint64_t inorder_mwf:1; 10828c2ecf20Sopenharmony_ci uint64_t r2r_slot:1; 10838c2ecf20Sopenharmony_ci uint64_t rdimm_ena:1; 10848c2ecf20Sopenharmony_ci uint64_t reserved_16_17:2; 10858c2ecf20Sopenharmony_ci uint64_t max_write_batch:4; 10868c2ecf20Sopenharmony_ci uint64_t xor_bank:1; 10878c2ecf20Sopenharmony_ci uint64_t slow_scf:1; 10888c2ecf20Sopenharmony_ci uint64_t ddr__pctl:4; 10898c2ecf20Sopenharmony_ci uint64_t ddr__nctl:4; 10908c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 10918c2ecf20Sopenharmony_ci#endif 10928c2ecf20Sopenharmony_ci } cn52xx; 10938c2ecf20Sopenharmony_ci struct cvmx_lmcx_ctl_cn58xx { 10948c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 10958c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 10968c2ecf20Sopenharmony_ci uint64_t ddr__nctl:4; 10978c2ecf20Sopenharmony_ci uint64_t ddr__pctl:4; 10988c2ecf20Sopenharmony_ci uint64_t slow_scf:1; 10998c2ecf20Sopenharmony_ci uint64_t xor_bank:1; 11008c2ecf20Sopenharmony_ci uint64_t max_write_batch:4; 11018c2ecf20Sopenharmony_ci uint64_t reserved_16_17:2; 11028c2ecf20Sopenharmony_ci uint64_t rdimm_ena:1; 11038c2ecf20Sopenharmony_ci uint64_t r2r_slot:1; 11048c2ecf20Sopenharmony_ci uint64_t inorder_mwf:1; 11058c2ecf20Sopenharmony_ci uint64_t inorder_mrf:1; 11068c2ecf20Sopenharmony_ci uint64_t dreset:1; 11078c2ecf20Sopenharmony_ci uint64_t mode128b:1; 11088c2ecf20Sopenharmony_ci uint64_t fprch2:1; 11098c2ecf20Sopenharmony_ci uint64_t bprch:1; 11108c2ecf20Sopenharmony_ci uint64_t sil_lat:2; 11118c2ecf20Sopenharmony_ci uint64_t tskw:2; 11128c2ecf20Sopenharmony_ci uint64_t qs_dic:2; 11138c2ecf20Sopenharmony_ci uint64_t dic:2; 11148c2ecf20Sopenharmony_ci#else 11158c2ecf20Sopenharmony_ci uint64_t dic:2; 11168c2ecf20Sopenharmony_ci uint64_t qs_dic:2; 11178c2ecf20Sopenharmony_ci uint64_t tskw:2; 11188c2ecf20Sopenharmony_ci uint64_t sil_lat:2; 11198c2ecf20Sopenharmony_ci uint64_t bprch:1; 11208c2ecf20Sopenharmony_ci uint64_t fprch2:1; 11218c2ecf20Sopenharmony_ci uint64_t mode128b:1; 11228c2ecf20Sopenharmony_ci uint64_t dreset:1; 11238c2ecf20Sopenharmony_ci uint64_t inorder_mrf:1; 11248c2ecf20Sopenharmony_ci uint64_t inorder_mwf:1; 11258c2ecf20Sopenharmony_ci uint64_t r2r_slot:1; 11268c2ecf20Sopenharmony_ci uint64_t rdimm_ena:1; 11278c2ecf20Sopenharmony_ci uint64_t reserved_16_17:2; 11288c2ecf20Sopenharmony_ci uint64_t max_write_batch:4; 11298c2ecf20Sopenharmony_ci uint64_t xor_bank:1; 11308c2ecf20Sopenharmony_ci uint64_t slow_scf:1; 11318c2ecf20Sopenharmony_ci uint64_t ddr__pctl:4; 11328c2ecf20Sopenharmony_ci uint64_t ddr__nctl:4; 11338c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 11348c2ecf20Sopenharmony_ci#endif 11358c2ecf20Sopenharmony_ci } cn58xx; 11368c2ecf20Sopenharmony_ci}; 11378c2ecf20Sopenharmony_ci 11388c2ecf20Sopenharmony_ciunion cvmx_lmcx_ctl1 { 11398c2ecf20Sopenharmony_ci uint64_t u64; 11408c2ecf20Sopenharmony_ci struct cvmx_lmcx_ctl1_s { 11418c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 11428c2ecf20Sopenharmony_ci uint64_t reserved_21_63:43; 11438c2ecf20Sopenharmony_ci uint64_t ecc_adr:1; 11448c2ecf20Sopenharmony_ci uint64_t forcewrite:4; 11458c2ecf20Sopenharmony_ci uint64_t idlepower:3; 11468c2ecf20Sopenharmony_ci uint64_t sequence:3; 11478c2ecf20Sopenharmony_ci uint64_t sil_mode:1; 11488c2ecf20Sopenharmony_ci uint64_t dcc_enable:1; 11498c2ecf20Sopenharmony_ci uint64_t reserved_2_7:6; 11508c2ecf20Sopenharmony_ci uint64_t data_layout:2; 11518c2ecf20Sopenharmony_ci#else 11528c2ecf20Sopenharmony_ci uint64_t data_layout:2; 11538c2ecf20Sopenharmony_ci uint64_t reserved_2_7:6; 11548c2ecf20Sopenharmony_ci uint64_t dcc_enable:1; 11558c2ecf20Sopenharmony_ci uint64_t sil_mode:1; 11568c2ecf20Sopenharmony_ci uint64_t sequence:3; 11578c2ecf20Sopenharmony_ci uint64_t idlepower:3; 11588c2ecf20Sopenharmony_ci uint64_t forcewrite:4; 11598c2ecf20Sopenharmony_ci uint64_t ecc_adr:1; 11608c2ecf20Sopenharmony_ci uint64_t reserved_21_63:43; 11618c2ecf20Sopenharmony_ci#endif 11628c2ecf20Sopenharmony_ci } s; 11638c2ecf20Sopenharmony_ci struct cvmx_lmcx_ctl1_cn30xx { 11648c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 11658c2ecf20Sopenharmony_ci uint64_t reserved_2_63:62; 11668c2ecf20Sopenharmony_ci uint64_t data_layout:2; 11678c2ecf20Sopenharmony_ci#else 11688c2ecf20Sopenharmony_ci uint64_t data_layout:2; 11698c2ecf20Sopenharmony_ci uint64_t reserved_2_63:62; 11708c2ecf20Sopenharmony_ci#endif 11718c2ecf20Sopenharmony_ci } cn30xx; 11728c2ecf20Sopenharmony_ci struct cvmx_lmcx_ctl1_cn50xx { 11738c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 11748c2ecf20Sopenharmony_ci uint64_t reserved_10_63:54; 11758c2ecf20Sopenharmony_ci uint64_t sil_mode:1; 11768c2ecf20Sopenharmony_ci uint64_t dcc_enable:1; 11778c2ecf20Sopenharmony_ci uint64_t reserved_2_7:6; 11788c2ecf20Sopenharmony_ci uint64_t data_layout:2; 11798c2ecf20Sopenharmony_ci#else 11808c2ecf20Sopenharmony_ci uint64_t data_layout:2; 11818c2ecf20Sopenharmony_ci uint64_t reserved_2_7:6; 11828c2ecf20Sopenharmony_ci uint64_t dcc_enable:1; 11838c2ecf20Sopenharmony_ci uint64_t sil_mode:1; 11848c2ecf20Sopenharmony_ci uint64_t reserved_10_63:54; 11858c2ecf20Sopenharmony_ci#endif 11868c2ecf20Sopenharmony_ci } cn50xx; 11878c2ecf20Sopenharmony_ci struct cvmx_lmcx_ctl1_cn52xx { 11888c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 11898c2ecf20Sopenharmony_ci uint64_t reserved_21_63:43; 11908c2ecf20Sopenharmony_ci uint64_t ecc_adr:1; 11918c2ecf20Sopenharmony_ci uint64_t forcewrite:4; 11928c2ecf20Sopenharmony_ci uint64_t idlepower:3; 11938c2ecf20Sopenharmony_ci uint64_t sequence:3; 11948c2ecf20Sopenharmony_ci uint64_t sil_mode:1; 11958c2ecf20Sopenharmony_ci uint64_t dcc_enable:1; 11968c2ecf20Sopenharmony_ci uint64_t reserved_0_7:8; 11978c2ecf20Sopenharmony_ci#else 11988c2ecf20Sopenharmony_ci uint64_t reserved_0_7:8; 11998c2ecf20Sopenharmony_ci uint64_t dcc_enable:1; 12008c2ecf20Sopenharmony_ci uint64_t sil_mode:1; 12018c2ecf20Sopenharmony_ci uint64_t sequence:3; 12028c2ecf20Sopenharmony_ci uint64_t idlepower:3; 12038c2ecf20Sopenharmony_ci uint64_t forcewrite:4; 12048c2ecf20Sopenharmony_ci uint64_t ecc_adr:1; 12058c2ecf20Sopenharmony_ci uint64_t reserved_21_63:43; 12068c2ecf20Sopenharmony_ci#endif 12078c2ecf20Sopenharmony_ci } cn52xx; 12088c2ecf20Sopenharmony_ci struct cvmx_lmcx_ctl1_cn58xx { 12098c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 12108c2ecf20Sopenharmony_ci uint64_t reserved_10_63:54; 12118c2ecf20Sopenharmony_ci uint64_t sil_mode:1; 12128c2ecf20Sopenharmony_ci uint64_t dcc_enable:1; 12138c2ecf20Sopenharmony_ci uint64_t reserved_0_7:8; 12148c2ecf20Sopenharmony_ci#else 12158c2ecf20Sopenharmony_ci uint64_t reserved_0_7:8; 12168c2ecf20Sopenharmony_ci uint64_t dcc_enable:1; 12178c2ecf20Sopenharmony_ci uint64_t sil_mode:1; 12188c2ecf20Sopenharmony_ci uint64_t reserved_10_63:54; 12198c2ecf20Sopenharmony_ci#endif 12208c2ecf20Sopenharmony_ci } cn58xx; 12218c2ecf20Sopenharmony_ci}; 12228c2ecf20Sopenharmony_ci 12238c2ecf20Sopenharmony_ciunion cvmx_lmcx_dclk_cnt { 12248c2ecf20Sopenharmony_ci uint64_t u64; 12258c2ecf20Sopenharmony_ci struct cvmx_lmcx_dclk_cnt_s { 12268c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 12278c2ecf20Sopenharmony_ci uint64_t dclkcnt:64; 12288c2ecf20Sopenharmony_ci#else 12298c2ecf20Sopenharmony_ci uint64_t dclkcnt:64; 12308c2ecf20Sopenharmony_ci#endif 12318c2ecf20Sopenharmony_ci } s; 12328c2ecf20Sopenharmony_ci}; 12338c2ecf20Sopenharmony_ci 12348c2ecf20Sopenharmony_ciunion cvmx_lmcx_dclk_cnt_hi { 12358c2ecf20Sopenharmony_ci uint64_t u64; 12368c2ecf20Sopenharmony_ci struct cvmx_lmcx_dclk_cnt_hi_s { 12378c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 12388c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 12398c2ecf20Sopenharmony_ci uint64_t dclkcnt_hi:32; 12408c2ecf20Sopenharmony_ci#else 12418c2ecf20Sopenharmony_ci uint64_t dclkcnt_hi:32; 12428c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 12438c2ecf20Sopenharmony_ci#endif 12448c2ecf20Sopenharmony_ci } s; 12458c2ecf20Sopenharmony_ci}; 12468c2ecf20Sopenharmony_ci 12478c2ecf20Sopenharmony_ciunion cvmx_lmcx_dclk_cnt_lo { 12488c2ecf20Sopenharmony_ci uint64_t u64; 12498c2ecf20Sopenharmony_ci struct cvmx_lmcx_dclk_cnt_lo_s { 12508c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 12518c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 12528c2ecf20Sopenharmony_ci uint64_t dclkcnt_lo:32; 12538c2ecf20Sopenharmony_ci#else 12548c2ecf20Sopenharmony_ci uint64_t dclkcnt_lo:32; 12558c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 12568c2ecf20Sopenharmony_ci#endif 12578c2ecf20Sopenharmony_ci } s; 12588c2ecf20Sopenharmony_ci}; 12598c2ecf20Sopenharmony_ci 12608c2ecf20Sopenharmony_ciunion cvmx_lmcx_dclk_ctl { 12618c2ecf20Sopenharmony_ci uint64_t u64; 12628c2ecf20Sopenharmony_ci struct cvmx_lmcx_dclk_ctl_s { 12638c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 12648c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 12658c2ecf20Sopenharmony_ci uint64_t off90_ena:1; 12668c2ecf20Sopenharmony_ci uint64_t dclk90_byp:1; 12678c2ecf20Sopenharmony_ci uint64_t dclk90_ld:1; 12688c2ecf20Sopenharmony_ci uint64_t dclk90_vlu:5; 12698c2ecf20Sopenharmony_ci#else 12708c2ecf20Sopenharmony_ci uint64_t dclk90_vlu:5; 12718c2ecf20Sopenharmony_ci uint64_t dclk90_ld:1; 12728c2ecf20Sopenharmony_ci uint64_t dclk90_byp:1; 12738c2ecf20Sopenharmony_ci uint64_t off90_ena:1; 12748c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 12758c2ecf20Sopenharmony_ci#endif 12768c2ecf20Sopenharmony_ci } s; 12778c2ecf20Sopenharmony_ci}; 12788c2ecf20Sopenharmony_ci 12798c2ecf20Sopenharmony_ciunion cvmx_lmcx_ddr2_ctl { 12808c2ecf20Sopenharmony_ci uint64_t u64; 12818c2ecf20Sopenharmony_ci struct cvmx_lmcx_ddr2_ctl_s { 12828c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 12838c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 12848c2ecf20Sopenharmony_ci uint64_t bank8:1; 12858c2ecf20Sopenharmony_ci uint64_t burst8:1; 12868c2ecf20Sopenharmony_ci uint64_t addlat:3; 12878c2ecf20Sopenharmony_ci uint64_t pocas:1; 12888c2ecf20Sopenharmony_ci uint64_t bwcnt:1; 12898c2ecf20Sopenharmony_ci uint64_t twr:3; 12908c2ecf20Sopenharmony_ci uint64_t silo_hc:1; 12918c2ecf20Sopenharmony_ci uint64_t ddr_eof:4; 12928c2ecf20Sopenharmony_ci uint64_t tfaw:5; 12938c2ecf20Sopenharmony_ci uint64_t crip_mode:1; 12948c2ecf20Sopenharmony_ci uint64_t ddr2t:1; 12958c2ecf20Sopenharmony_ci uint64_t odt_ena:1; 12968c2ecf20Sopenharmony_ci uint64_t qdll_ena:1; 12978c2ecf20Sopenharmony_ci uint64_t dll90_vlu:5; 12988c2ecf20Sopenharmony_ci uint64_t dll90_byp:1; 12998c2ecf20Sopenharmony_ci uint64_t rdqs:1; 13008c2ecf20Sopenharmony_ci uint64_t ddr2:1; 13018c2ecf20Sopenharmony_ci#else 13028c2ecf20Sopenharmony_ci uint64_t ddr2:1; 13038c2ecf20Sopenharmony_ci uint64_t rdqs:1; 13048c2ecf20Sopenharmony_ci uint64_t dll90_byp:1; 13058c2ecf20Sopenharmony_ci uint64_t dll90_vlu:5; 13068c2ecf20Sopenharmony_ci uint64_t qdll_ena:1; 13078c2ecf20Sopenharmony_ci uint64_t odt_ena:1; 13088c2ecf20Sopenharmony_ci uint64_t ddr2t:1; 13098c2ecf20Sopenharmony_ci uint64_t crip_mode:1; 13108c2ecf20Sopenharmony_ci uint64_t tfaw:5; 13118c2ecf20Sopenharmony_ci uint64_t ddr_eof:4; 13128c2ecf20Sopenharmony_ci uint64_t silo_hc:1; 13138c2ecf20Sopenharmony_ci uint64_t twr:3; 13148c2ecf20Sopenharmony_ci uint64_t bwcnt:1; 13158c2ecf20Sopenharmony_ci uint64_t pocas:1; 13168c2ecf20Sopenharmony_ci uint64_t addlat:3; 13178c2ecf20Sopenharmony_ci uint64_t burst8:1; 13188c2ecf20Sopenharmony_ci uint64_t bank8:1; 13198c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 13208c2ecf20Sopenharmony_ci#endif 13218c2ecf20Sopenharmony_ci } s; 13228c2ecf20Sopenharmony_ci struct cvmx_lmcx_ddr2_ctl_cn30xx { 13238c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 13248c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 13258c2ecf20Sopenharmony_ci uint64_t bank8:1; 13268c2ecf20Sopenharmony_ci uint64_t burst8:1; 13278c2ecf20Sopenharmony_ci uint64_t addlat:3; 13288c2ecf20Sopenharmony_ci uint64_t pocas:1; 13298c2ecf20Sopenharmony_ci uint64_t bwcnt:1; 13308c2ecf20Sopenharmony_ci uint64_t twr:3; 13318c2ecf20Sopenharmony_ci uint64_t silo_hc:1; 13328c2ecf20Sopenharmony_ci uint64_t ddr_eof:4; 13338c2ecf20Sopenharmony_ci uint64_t tfaw:5; 13348c2ecf20Sopenharmony_ci uint64_t crip_mode:1; 13358c2ecf20Sopenharmony_ci uint64_t ddr2t:1; 13368c2ecf20Sopenharmony_ci uint64_t odt_ena:1; 13378c2ecf20Sopenharmony_ci uint64_t qdll_ena:1; 13388c2ecf20Sopenharmony_ci uint64_t dll90_vlu:5; 13398c2ecf20Sopenharmony_ci uint64_t dll90_byp:1; 13408c2ecf20Sopenharmony_ci uint64_t reserved_1_1:1; 13418c2ecf20Sopenharmony_ci uint64_t ddr2:1; 13428c2ecf20Sopenharmony_ci#else 13438c2ecf20Sopenharmony_ci uint64_t ddr2:1; 13448c2ecf20Sopenharmony_ci uint64_t reserved_1_1:1; 13458c2ecf20Sopenharmony_ci uint64_t dll90_byp:1; 13468c2ecf20Sopenharmony_ci uint64_t dll90_vlu:5; 13478c2ecf20Sopenharmony_ci uint64_t qdll_ena:1; 13488c2ecf20Sopenharmony_ci uint64_t odt_ena:1; 13498c2ecf20Sopenharmony_ci uint64_t ddr2t:1; 13508c2ecf20Sopenharmony_ci uint64_t crip_mode:1; 13518c2ecf20Sopenharmony_ci uint64_t tfaw:5; 13528c2ecf20Sopenharmony_ci uint64_t ddr_eof:4; 13538c2ecf20Sopenharmony_ci uint64_t silo_hc:1; 13548c2ecf20Sopenharmony_ci uint64_t twr:3; 13558c2ecf20Sopenharmony_ci uint64_t bwcnt:1; 13568c2ecf20Sopenharmony_ci uint64_t pocas:1; 13578c2ecf20Sopenharmony_ci uint64_t addlat:3; 13588c2ecf20Sopenharmony_ci uint64_t burst8:1; 13598c2ecf20Sopenharmony_ci uint64_t bank8:1; 13608c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 13618c2ecf20Sopenharmony_ci#endif 13628c2ecf20Sopenharmony_ci } cn30xx; 13638c2ecf20Sopenharmony_ci}; 13648c2ecf20Sopenharmony_ci 13658c2ecf20Sopenharmony_ciunion cvmx_lmcx_ddr_pll_ctl { 13668c2ecf20Sopenharmony_ci uint64_t u64; 13678c2ecf20Sopenharmony_ci struct cvmx_lmcx_ddr_pll_ctl_s { 13688c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 13698c2ecf20Sopenharmony_ci uint64_t reserved_27_63:37; 13708c2ecf20Sopenharmony_ci uint64_t jtg_test_mode:1; 13718c2ecf20Sopenharmony_ci uint64_t dfm_div_reset:1; 13728c2ecf20Sopenharmony_ci uint64_t dfm_ps_en:3; 13738c2ecf20Sopenharmony_ci uint64_t ddr_div_reset:1; 13748c2ecf20Sopenharmony_ci uint64_t ddr_ps_en:3; 13758c2ecf20Sopenharmony_ci uint64_t diffamp:4; 13768c2ecf20Sopenharmony_ci uint64_t cps:3; 13778c2ecf20Sopenharmony_ci uint64_t cpb:3; 13788c2ecf20Sopenharmony_ci uint64_t reset_n:1; 13798c2ecf20Sopenharmony_ci uint64_t clkf:7; 13808c2ecf20Sopenharmony_ci#else 13818c2ecf20Sopenharmony_ci uint64_t clkf:7; 13828c2ecf20Sopenharmony_ci uint64_t reset_n:1; 13838c2ecf20Sopenharmony_ci uint64_t cpb:3; 13848c2ecf20Sopenharmony_ci uint64_t cps:3; 13858c2ecf20Sopenharmony_ci uint64_t diffamp:4; 13868c2ecf20Sopenharmony_ci uint64_t ddr_ps_en:3; 13878c2ecf20Sopenharmony_ci uint64_t ddr_div_reset:1; 13888c2ecf20Sopenharmony_ci uint64_t dfm_ps_en:3; 13898c2ecf20Sopenharmony_ci uint64_t dfm_div_reset:1; 13908c2ecf20Sopenharmony_ci uint64_t jtg_test_mode:1; 13918c2ecf20Sopenharmony_ci uint64_t reserved_27_63:37; 13928c2ecf20Sopenharmony_ci#endif 13938c2ecf20Sopenharmony_ci } s; 13948c2ecf20Sopenharmony_ci}; 13958c2ecf20Sopenharmony_ci 13968c2ecf20Sopenharmony_ciunion cvmx_lmcx_delay_cfg { 13978c2ecf20Sopenharmony_ci uint64_t u64; 13988c2ecf20Sopenharmony_ci struct cvmx_lmcx_delay_cfg_s { 13998c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 14008c2ecf20Sopenharmony_ci uint64_t reserved_15_63:49; 14018c2ecf20Sopenharmony_ci uint64_t dq:5; 14028c2ecf20Sopenharmony_ci uint64_t cmd:5; 14038c2ecf20Sopenharmony_ci uint64_t clk:5; 14048c2ecf20Sopenharmony_ci#else 14058c2ecf20Sopenharmony_ci uint64_t clk:5; 14068c2ecf20Sopenharmony_ci uint64_t cmd:5; 14078c2ecf20Sopenharmony_ci uint64_t dq:5; 14088c2ecf20Sopenharmony_ci uint64_t reserved_15_63:49; 14098c2ecf20Sopenharmony_ci#endif 14108c2ecf20Sopenharmony_ci } s; 14118c2ecf20Sopenharmony_ci struct cvmx_lmcx_delay_cfg_cn38xx { 14128c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 14138c2ecf20Sopenharmony_ci uint64_t reserved_14_63:50; 14148c2ecf20Sopenharmony_ci uint64_t dq:4; 14158c2ecf20Sopenharmony_ci uint64_t reserved_9_9:1; 14168c2ecf20Sopenharmony_ci uint64_t cmd:4; 14178c2ecf20Sopenharmony_ci uint64_t reserved_4_4:1; 14188c2ecf20Sopenharmony_ci uint64_t clk:4; 14198c2ecf20Sopenharmony_ci#else 14208c2ecf20Sopenharmony_ci uint64_t clk:4; 14218c2ecf20Sopenharmony_ci uint64_t reserved_4_4:1; 14228c2ecf20Sopenharmony_ci uint64_t cmd:4; 14238c2ecf20Sopenharmony_ci uint64_t reserved_9_9:1; 14248c2ecf20Sopenharmony_ci uint64_t dq:4; 14258c2ecf20Sopenharmony_ci uint64_t reserved_14_63:50; 14268c2ecf20Sopenharmony_ci#endif 14278c2ecf20Sopenharmony_ci } cn38xx; 14288c2ecf20Sopenharmony_ci}; 14298c2ecf20Sopenharmony_ci 14308c2ecf20Sopenharmony_ciunion cvmx_lmcx_dimmx_params { 14318c2ecf20Sopenharmony_ci uint64_t u64; 14328c2ecf20Sopenharmony_ci struct cvmx_lmcx_dimmx_params_s { 14338c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 14348c2ecf20Sopenharmony_ci uint64_t rc15:4; 14358c2ecf20Sopenharmony_ci uint64_t rc14:4; 14368c2ecf20Sopenharmony_ci uint64_t rc13:4; 14378c2ecf20Sopenharmony_ci uint64_t rc12:4; 14388c2ecf20Sopenharmony_ci uint64_t rc11:4; 14398c2ecf20Sopenharmony_ci uint64_t rc10:4; 14408c2ecf20Sopenharmony_ci uint64_t rc9:4; 14418c2ecf20Sopenharmony_ci uint64_t rc8:4; 14428c2ecf20Sopenharmony_ci uint64_t rc7:4; 14438c2ecf20Sopenharmony_ci uint64_t rc6:4; 14448c2ecf20Sopenharmony_ci uint64_t rc5:4; 14458c2ecf20Sopenharmony_ci uint64_t rc4:4; 14468c2ecf20Sopenharmony_ci uint64_t rc3:4; 14478c2ecf20Sopenharmony_ci uint64_t rc2:4; 14488c2ecf20Sopenharmony_ci uint64_t rc1:4; 14498c2ecf20Sopenharmony_ci uint64_t rc0:4; 14508c2ecf20Sopenharmony_ci#else 14518c2ecf20Sopenharmony_ci uint64_t rc0:4; 14528c2ecf20Sopenharmony_ci uint64_t rc1:4; 14538c2ecf20Sopenharmony_ci uint64_t rc2:4; 14548c2ecf20Sopenharmony_ci uint64_t rc3:4; 14558c2ecf20Sopenharmony_ci uint64_t rc4:4; 14568c2ecf20Sopenharmony_ci uint64_t rc5:4; 14578c2ecf20Sopenharmony_ci uint64_t rc6:4; 14588c2ecf20Sopenharmony_ci uint64_t rc7:4; 14598c2ecf20Sopenharmony_ci uint64_t rc8:4; 14608c2ecf20Sopenharmony_ci uint64_t rc9:4; 14618c2ecf20Sopenharmony_ci uint64_t rc10:4; 14628c2ecf20Sopenharmony_ci uint64_t rc11:4; 14638c2ecf20Sopenharmony_ci uint64_t rc12:4; 14648c2ecf20Sopenharmony_ci uint64_t rc13:4; 14658c2ecf20Sopenharmony_ci uint64_t rc14:4; 14668c2ecf20Sopenharmony_ci uint64_t rc15:4; 14678c2ecf20Sopenharmony_ci#endif 14688c2ecf20Sopenharmony_ci } s; 14698c2ecf20Sopenharmony_ci}; 14708c2ecf20Sopenharmony_ci 14718c2ecf20Sopenharmony_ciunion cvmx_lmcx_dimm_ctl { 14728c2ecf20Sopenharmony_ci uint64_t u64; 14738c2ecf20Sopenharmony_ci struct cvmx_lmcx_dimm_ctl_s { 14748c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 14758c2ecf20Sopenharmony_ci uint64_t reserved_46_63:18; 14768c2ecf20Sopenharmony_ci uint64_t parity:1; 14778c2ecf20Sopenharmony_ci uint64_t tcws:13; 14788c2ecf20Sopenharmony_ci uint64_t dimm1_wmask:16; 14798c2ecf20Sopenharmony_ci uint64_t dimm0_wmask:16; 14808c2ecf20Sopenharmony_ci#else 14818c2ecf20Sopenharmony_ci uint64_t dimm0_wmask:16; 14828c2ecf20Sopenharmony_ci uint64_t dimm1_wmask:16; 14838c2ecf20Sopenharmony_ci uint64_t tcws:13; 14848c2ecf20Sopenharmony_ci uint64_t parity:1; 14858c2ecf20Sopenharmony_ci uint64_t reserved_46_63:18; 14868c2ecf20Sopenharmony_ci#endif 14878c2ecf20Sopenharmony_ci } s; 14888c2ecf20Sopenharmony_ci}; 14898c2ecf20Sopenharmony_ci 14908c2ecf20Sopenharmony_ciunion cvmx_lmcx_dll_ctl { 14918c2ecf20Sopenharmony_ci uint64_t u64; 14928c2ecf20Sopenharmony_ci struct cvmx_lmcx_dll_ctl_s { 14938c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 14948c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 14958c2ecf20Sopenharmony_ci uint64_t dreset:1; 14968c2ecf20Sopenharmony_ci uint64_t dll90_byp:1; 14978c2ecf20Sopenharmony_ci uint64_t dll90_ena:1; 14988c2ecf20Sopenharmony_ci uint64_t dll90_vlu:5; 14998c2ecf20Sopenharmony_ci#else 15008c2ecf20Sopenharmony_ci uint64_t dll90_vlu:5; 15018c2ecf20Sopenharmony_ci uint64_t dll90_ena:1; 15028c2ecf20Sopenharmony_ci uint64_t dll90_byp:1; 15038c2ecf20Sopenharmony_ci uint64_t dreset:1; 15048c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 15058c2ecf20Sopenharmony_ci#endif 15068c2ecf20Sopenharmony_ci } s; 15078c2ecf20Sopenharmony_ci}; 15088c2ecf20Sopenharmony_ci 15098c2ecf20Sopenharmony_ciunion cvmx_lmcx_dll_ctl2 { 15108c2ecf20Sopenharmony_ci uint64_t u64; 15118c2ecf20Sopenharmony_ci struct cvmx_lmcx_dll_ctl2_s { 15128c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 15138c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 15148c2ecf20Sopenharmony_ci uint64_t intf_en:1; 15158c2ecf20Sopenharmony_ci uint64_t dll_bringup:1; 15168c2ecf20Sopenharmony_ci uint64_t dreset:1; 15178c2ecf20Sopenharmony_ci uint64_t quad_dll_ena:1; 15188c2ecf20Sopenharmony_ci uint64_t byp_sel:4; 15198c2ecf20Sopenharmony_ci uint64_t byp_setting:8; 15208c2ecf20Sopenharmony_ci#else 15218c2ecf20Sopenharmony_ci uint64_t byp_setting:8; 15228c2ecf20Sopenharmony_ci uint64_t byp_sel:4; 15238c2ecf20Sopenharmony_ci uint64_t quad_dll_ena:1; 15248c2ecf20Sopenharmony_ci uint64_t dreset:1; 15258c2ecf20Sopenharmony_ci uint64_t dll_bringup:1; 15268c2ecf20Sopenharmony_ci uint64_t intf_en:1; 15278c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 15288c2ecf20Sopenharmony_ci#endif 15298c2ecf20Sopenharmony_ci } s; 15308c2ecf20Sopenharmony_ci struct cvmx_lmcx_dll_ctl2_cn63xx { 15318c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 15328c2ecf20Sopenharmony_ci uint64_t reserved_15_63:49; 15338c2ecf20Sopenharmony_ci uint64_t dll_bringup:1; 15348c2ecf20Sopenharmony_ci uint64_t dreset:1; 15358c2ecf20Sopenharmony_ci uint64_t quad_dll_ena:1; 15368c2ecf20Sopenharmony_ci uint64_t byp_sel:4; 15378c2ecf20Sopenharmony_ci uint64_t byp_setting:8; 15388c2ecf20Sopenharmony_ci#else 15398c2ecf20Sopenharmony_ci uint64_t byp_setting:8; 15408c2ecf20Sopenharmony_ci uint64_t byp_sel:4; 15418c2ecf20Sopenharmony_ci uint64_t quad_dll_ena:1; 15428c2ecf20Sopenharmony_ci uint64_t dreset:1; 15438c2ecf20Sopenharmony_ci uint64_t dll_bringup:1; 15448c2ecf20Sopenharmony_ci uint64_t reserved_15_63:49; 15458c2ecf20Sopenharmony_ci#endif 15468c2ecf20Sopenharmony_ci } cn63xx; 15478c2ecf20Sopenharmony_ci}; 15488c2ecf20Sopenharmony_ci 15498c2ecf20Sopenharmony_ciunion cvmx_lmcx_dll_ctl3 { 15508c2ecf20Sopenharmony_ci uint64_t u64; 15518c2ecf20Sopenharmony_ci struct cvmx_lmcx_dll_ctl3_s { 15528c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 15538c2ecf20Sopenharmony_ci uint64_t reserved_41_63:23; 15548c2ecf20Sopenharmony_ci uint64_t dclk90_fwd:1; 15558c2ecf20Sopenharmony_ci uint64_t ddr_90_dly_byp:1; 15568c2ecf20Sopenharmony_ci uint64_t dclk90_recal_dis:1; 15578c2ecf20Sopenharmony_ci uint64_t dclk90_byp_sel:1; 15588c2ecf20Sopenharmony_ci uint64_t dclk90_byp_setting:8; 15598c2ecf20Sopenharmony_ci uint64_t dll_fast:1; 15608c2ecf20Sopenharmony_ci uint64_t dll90_setting:8; 15618c2ecf20Sopenharmony_ci uint64_t fine_tune_mode:1; 15628c2ecf20Sopenharmony_ci uint64_t dll_mode:1; 15638c2ecf20Sopenharmony_ci uint64_t dll90_byte_sel:4; 15648c2ecf20Sopenharmony_ci uint64_t offset_ena:1; 15658c2ecf20Sopenharmony_ci uint64_t load_offset:1; 15668c2ecf20Sopenharmony_ci uint64_t mode_sel:2; 15678c2ecf20Sopenharmony_ci uint64_t byte_sel:4; 15688c2ecf20Sopenharmony_ci uint64_t offset:6; 15698c2ecf20Sopenharmony_ci#else 15708c2ecf20Sopenharmony_ci uint64_t offset:6; 15718c2ecf20Sopenharmony_ci uint64_t byte_sel:4; 15728c2ecf20Sopenharmony_ci uint64_t mode_sel:2; 15738c2ecf20Sopenharmony_ci uint64_t load_offset:1; 15748c2ecf20Sopenharmony_ci uint64_t offset_ena:1; 15758c2ecf20Sopenharmony_ci uint64_t dll90_byte_sel:4; 15768c2ecf20Sopenharmony_ci uint64_t dll_mode:1; 15778c2ecf20Sopenharmony_ci uint64_t fine_tune_mode:1; 15788c2ecf20Sopenharmony_ci uint64_t dll90_setting:8; 15798c2ecf20Sopenharmony_ci uint64_t dll_fast:1; 15808c2ecf20Sopenharmony_ci uint64_t dclk90_byp_setting:8; 15818c2ecf20Sopenharmony_ci uint64_t dclk90_byp_sel:1; 15828c2ecf20Sopenharmony_ci uint64_t dclk90_recal_dis:1; 15838c2ecf20Sopenharmony_ci uint64_t ddr_90_dly_byp:1; 15848c2ecf20Sopenharmony_ci uint64_t dclk90_fwd:1; 15858c2ecf20Sopenharmony_ci uint64_t reserved_41_63:23; 15868c2ecf20Sopenharmony_ci#endif 15878c2ecf20Sopenharmony_ci } s; 15888c2ecf20Sopenharmony_ci struct cvmx_lmcx_dll_ctl3_cn63xx { 15898c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 15908c2ecf20Sopenharmony_ci uint64_t reserved_29_63:35; 15918c2ecf20Sopenharmony_ci uint64_t dll_fast:1; 15928c2ecf20Sopenharmony_ci uint64_t dll90_setting:8; 15938c2ecf20Sopenharmony_ci uint64_t fine_tune_mode:1; 15948c2ecf20Sopenharmony_ci uint64_t dll_mode:1; 15958c2ecf20Sopenharmony_ci uint64_t dll90_byte_sel:4; 15968c2ecf20Sopenharmony_ci uint64_t offset_ena:1; 15978c2ecf20Sopenharmony_ci uint64_t load_offset:1; 15988c2ecf20Sopenharmony_ci uint64_t mode_sel:2; 15998c2ecf20Sopenharmony_ci uint64_t byte_sel:4; 16008c2ecf20Sopenharmony_ci uint64_t offset:6; 16018c2ecf20Sopenharmony_ci#else 16028c2ecf20Sopenharmony_ci uint64_t offset:6; 16038c2ecf20Sopenharmony_ci uint64_t byte_sel:4; 16048c2ecf20Sopenharmony_ci uint64_t mode_sel:2; 16058c2ecf20Sopenharmony_ci uint64_t load_offset:1; 16068c2ecf20Sopenharmony_ci uint64_t offset_ena:1; 16078c2ecf20Sopenharmony_ci uint64_t dll90_byte_sel:4; 16088c2ecf20Sopenharmony_ci uint64_t dll_mode:1; 16098c2ecf20Sopenharmony_ci uint64_t fine_tune_mode:1; 16108c2ecf20Sopenharmony_ci uint64_t dll90_setting:8; 16118c2ecf20Sopenharmony_ci uint64_t dll_fast:1; 16128c2ecf20Sopenharmony_ci uint64_t reserved_29_63:35; 16138c2ecf20Sopenharmony_ci#endif 16148c2ecf20Sopenharmony_ci } cn63xx; 16158c2ecf20Sopenharmony_ci}; 16168c2ecf20Sopenharmony_ci 16178c2ecf20Sopenharmony_ciunion cvmx_lmcx_dual_memcfg { 16188c2ecf20Sopenharmony_ci uint64_t u64; 16198c2ecf20Sopenharmony_ci struct cvmx_lmcx_dual_memcfg_s { 16208c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 16218c2ecf20Sopenharmony_ci uint64_t reserved_20_63:44; 16228c2ecf20Sopenharmony_ci uint64_t bank8:1; 16238c2ecf20Sopenharmony_ci uint64_t row_lsb:3; 16248c2ecf20Sopenharmony_ci uint64_t reserved_8_15:8; 16258c2ecf20Sopenharmony_ci uint64_t cs_mask:8; 16268c2ecf20Sopenharmony_ci#else 16278c2ecf20Sopenharmony_ci uint64_t cs_mask:8; 16288c2ecf20Sopenharmony_ci uint64_t reserved_8_15:8; 16298c2ecf20Sopenharmony_ci uint64_t row_lsb:3; 16308c2ecf20Sopenharmony_ci uint64_t bank8:1; 16318c2ecf20Sopenharmony_ci uint64_t reserved_20_63:44; 16328c2ecf20Sopenharmony_ci#endif 16338c2ecf20Sopenharmony_ci } s; 16348c2ecf20Sopenharmony_ci struct cvmx_lmcx_dual_memcfg_cn61xx { 16358c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 16368c2ecf20Sopenharmony_ci uint64_t reserved_19_63:45; 16378c2ecf20Sopenharmony_ci uint64_t row_lsb:3; 16388c2ecf20Sopenharmony_ci uint64_t reserved_8_15:8; 16398c2ecf20Sopenharmony_ci uint64_t cs_mask:8; 16408c2ecf20Sopenharmony_ci#else 16418c2ecf20Sopenharmony_ci uint64_t cs_mask:8; 16428c2ecf20Sopenharmony_ci uint64_t reserved_8_15:8; 16438c2ecf20Sopenharmony_ci uint64_t row_lsb:3; 16448c2ecf20Sopenharmony_ci uint64_t reserved_19_63:45; 16458c2ecf20Sopenharmony_ci#endif 16468c2ecf20Sopenharmony_ci } cn61xx; 16478c2ecf20Sopenharmony_ci}; 16488c2ecf20Sopenharmony_ci 16498c2ecf20Sopenharmony_ciunion cvmx_lmcx_ecc_synd { 16508c2ecf20Sopenharmony_ci uint64_t u64; 16518c2ecf20Sopenharmony_ci struct cvmx_lmcx_ecc_synd_s { 16528c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 16538c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 16548c2ecf20Sopenharmony_ci uint64_t mrdsyn3:8; 16558c2ecf20Sopenharmony_ci uint64_t mrdsyn2:8; 16568c2ecf20Sopenharmony_ci uint64_t mrdsyn1:8; 16578c2ecf20Sopenharmony_ci uint64_t mrdsyn0:8; 16588c2ecf20Sopenharmony_ci#else 16598c2ecf20Sopenharmony_ci uint64_t mrdsyn0:8; 16608c2ecf20Sopenharmony_ci uint64_t mrdsyn1:8; 16618c2ecf20Sopenharmony_ci uint64_t mrdsyn2:8; 16628c2ecf20Sopenharmony_ci uint64_t mrdsyn3:8; 16638c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 16648c2ecf20Sopenharmony_ci#endif 16658c2ecf20Sopenharmony_ci } s; 16668c2ecf20Sopenharmony_ci}; 16678c2ecf20Sopenharmony_ci 16688c2ecf20Sopenharmony_ciunion cvmx_lmcx_fadr { 16698c2ecf20Sopenharmony_ci uint64_t u64; 16708c2ecf20Sopenharmony_ci struct cvmx_lmcx_fadr_s { 16718c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 16728c2ecf20Sopenharmony_ci uint64_t reserved_0_63:64; 16738c2ecf20Sopenharmony_ci#else 16748c2ecf20Sopenharmony_ci uint64_t reserved_0_63:64; 16758c2ecf20Sopenharmony_ci#endif 16768c2ecf20Sopenharmony_ci } s; 16778c2ecf20Sopenharmony_ci struct cvmx_lmcx_fadr_cn30xx { 16788c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 16798c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 16808c2ecf20Sopenharmony_ci uint64_t fdimm:2; 16818c2ecf20Sopenharmony_ci uint64_t fbunk:1; 16828c2ecf20Sopenharmony_ci uint64_t fbank:3; 16838c2ecf20Sopenharmony_ci uint64_t frow:14; 16848c2ecf20Sopenharmony_ci uint64_t fcol:12; 16858c2ecf20Sopenharmony_ci#else 16868c2ecf20Sopenharmony_ci uint64_t fcol:12; 16878c2ecf20Sopenharmony_ci uint64_t frow:14; 16888c2ecf20Sopenharmony_ci uint64_t fbank:3; 16898c2ecf20Sopenharmony_ci uint64_t fbunk:1; 16908c2ecf20Sopenharmony_ci uint64_t fdimm:2; 16918c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 16928c2ecf20Sopenharmony_ci#endif 16938c2ecf20Sopenharmony_ci } cn30xx; 16948c2ecf20Sopenharmony_ci struct cvmx_lmcx_fadr_cn61xx { 16958c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 16968c2ecf20Sopenharmony_ci uint64_t reserved_36_63:28; 16978c2ecf20Sopenharmony_ci uint64_t fdimm:2; 16988c2ecf20Sopenharmony_ci uint64_t fbunk:1; 16998c2ecf20Sopenharmony_ci uint64_t fbank:3; 17008c2ecf20Sopenharmony_ci uint64_t frow:16; 17018c2ecf20Sopenharmony_ci uint64_t fcol:14; 17028c2ecf20Sopenharmony_ci#else 17038c2ecf20Sopenharmony_ci uint64_t fcol:14; 17048c2ecf20Sopenharmony_ci uint64_t frow:16; 17058c2ecf20Sopenharmony_ci uint64_t fbank:3; 17068c2ecf20Sopenharmony_ci uint64_t fbunk:1; 17078c2ecf20Sopenharmony_ci uint64_t fdimm:2; 17088c2ecf20Sopenharmony_ci uint64_t reserved_36_63:28; 17098c2ecf20Sopenharmony_ci#endif 17108c2ecf20Sopenharmony_ci } cn61xx; 17118c2ecf20Sopenharmony_ci}; 17128c2ecf20Sopenharmony_ci 17138c2ecf20Sopenharmony_ciunion cvmx_lmcx_ifb_cnt { 17148c2ecf20Sopenharmony_ci uint64_t u64; 17158c2ecf20Sopenharmony_ci struct cvmx_lmcx_ifb_cnt_s { 17168c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 17178c2ecf20Sopenharmony_ci uint64_t ifbcnt:64; 17188c2ecf20Sopenharmony_ci#else 17198c2ecf20Sopenharmony_ci uint64_t ifbcnt:64; 17208c2ecf20Sopenharmony_ci#endif 17218c2ecf20Sopenharmony_ci } s; 17228c2ecf20Sopenharmony_ci}; 17238c2ecf20Sopenharmony_ci 17248c2ecf20Sopenharmony_ciunion cvmx_lmcx_ifb_cnt_hi { 17258c2ecf20Sopenharmony_ci uint64_t u64; 17268c2ecf20Sopenharmony_ci struct cvmx_lmcx_ifb_cnt_hi_s { 17278c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 17288c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 17298c2ecf20Sopenharmony_ci uint64_t ifbcnt_hi:32; 17308c2ecf20Sopenharmony_ci#else 17318c2ecf20Sopenharmony_ci uint64_t ifbcnt_hi:32; 17328c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 17338c2ecf20Sopenharmony_ci#endif 17348c2ecf20Sopenharmony_ci } s; 17358c2ecf20Sopenharmony_ci}; 17368c2ecf20Sopenharmony_ci 17378c2ecf20Sopenharmony_ciunion cvmx_lmcx_ifb_cnt_lo { 17388c2ecf20Sopenharmony_ci uint64_t u64; 17398c2ecf20Sopenharmony_ci struct cvmx_lmcx_ifb_cnt_lo_s { 17408c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 17418c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 17428c2ecf20Sopenharmony_ci uint64_t ifbcnt_lo:32; 17438c2ecf20Sopenharmony_ci#else 17448c2ecf20Sopenharmony_ci uint64_t ifbcnt_lo:32; 17458c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 17468c2ecf20Sopenharmony_ci#endif 17478c2ecf20Sopenharmony_ci } s; 17488c2ecf20Sopenharmony_ci}; 17498c2ecf20Sopenharmony_ci 17508c2ecf20Sopenharmony_ciunion cvmx_lmcx_int { 17518c2ecf20Sopenharmony_ci uint64_t u64; 17528c2ecf20Sopenharmony_ci struct cvmx_lmcx_int_s { 17538c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 17548c2ecf20Sopenharmony_ci uint64_t reserved_9_63:55; 17558c2ecf20Sopenharmony_ci uint64_t ded_err:4; 17568c2ecf20Sopenharmony_ci uint64_t sec_err:4; 17578c2ecf20Sopenharmony_ci uint64_t nxm_wr_err:1; 17588c2ecf20Sopenharmony_ci#else 17598c2ecf20Sopenharmony_ci uint64_t nxm_wr_err:1; 17608c2ecf20Sopenharmony_ci uint64_t sec_err:4; 17618c2ecf20Sopenharmony_ci uint64_t ded_err:4; 17628c2ecf20Sopenharmony_ci uint64_t reserved_9_63:55; 17638c2ecf20Sopenharmony_ci#endif 17648c2ecf20Sopenharmony_ci } s; 17658c2ecf20Sopenharmony_ci}; 17668c2ecf20Sopenharmony_ci 17678c2ecf20Sopenharmony_ciunion cvmx_lmcx_int_en { 17688c2ecf20Sopenharmony_ci uint64_t u64; 17698c2ecf20Sopenharmony_ci struct cvmx_lmcx_int_en_s { 17708c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 17718c2ecf20Sopenharmony_ci uint64_t reserved_3_63:61; 17728c2ecf20Sopenharmony_ci uint64_t intr_ded_ena:1; 17738c2ecf20Sopenharmony_ci uint64_t intr_sec_ena:1; 17748c2ecf20Sopenharmony_ci uint64_t intr_nxm_wr_ena:1; 17758c2ecf20Sopenharmony_ci#else 17768c2ecf20Sopenharmony_ci uint64_t intr_nxm_wr_ena:1; 17778c2ecf20Sopenharmony_ci uint64_t intr_sec_ena:1; 17788c2ecf20Sopenharmony_ci uint64_t intr_ded_ena:1; 17798c2ecf20Sopenharmony_ci uint64_t reserved_3_63:61; 17808c2ecf20Sopenharmony_ci#endif 17818c2ecf20Sopenharmony_ci } s; 17828c2ecf20Sopenharmony_ci}; 17838c2ecf20Sopenharmony_ci 17848c2ecf20Sopenharmony_ciunion cvmx_lmcx_mem_cfg0 { 17858c2ecf20Sopenharmony_ci uint64_t u64; 17868c2ecf20Sopenharmony_ci struct cvmx_lmcx_mem_cfg0_s { 17878c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 17888c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 17898c2ecf20Sopenharmony_ci uint64_t reset:1; 17908c2ecf20Sopenharmony_ci uint64_t silo_qc:1; 17918c2ecf20Sopenharmony_ci uint64_t bunk_ena:1; 17928c2ecf20Sopenharmony_ci uint64_t ded_err:4; 17938c2ecf20Sopenharmony_ci uint64_t sec_err:4; 17948c2ecf20Sopenharmony_ci uint64_t intr_ded_ena:1; 17958c2ecf20Sopenharmony_ci uint64_t intr_sec_ena:1; 17968c2ecf20Sopenharmony_ci uint64_t tcl:4; 17978c2ecf20Sopenharmony_ci uint64_t ref_int:6; 17988c2ecf20Sopenharmony_ci uint64_t pbank_lsb:4; 17998c2ecf20Sopenharmony_ci uint64_t row_lsb:3; 18008c2ecf20Sopenharmony_ci uint64_t ecc_ena:1; 18018c2ecf20Sopenharmony_ci uint64_t init_start:1; 18028c2ecf20Sopenharmony_ci#else 18038c2ecf20Sopenharmony_ci uint64_t init_start:1; 18048c2ecf20Sopenharmony_ci uint64_t ecc_ena:1; 18058c2ecf20Sopenharmony_ci uint64_t row_lsb:3; 18068c2ecf20Sopenharmony_ci uint64_t pbank_lsb:4; 18078c2ecf20Sopenharmony_ci uint64_t ref_int:6; 18088c2ecf20Sopenharmony_ci uint64_t tcl:4; 18098c2ecf20Sopenharmony_ci uint64_t intr_sec_ena:1; 18108c2ecf20Sopenharmony_ci uint64_t intr_ded_ena:1; 18118c2ecf20Sopenharmony_ci uint64_t sec_err:4; 18128c2ecf20Sopenharmony_ci uint64_t ded_err:4; 18138c2ecf20Sopenharmony_ci uint64_t bunk_ena:1; 18148c2ecf20Sopenharmony_ci uint64_t silo_qc:1; 18158c2ecf20Sopenharmony_ci uint64_t reset:1; 18168c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 18178c2ecf20Sopenharmony_ci#endif 18188c2ecf20Sopenharmony_ci } s; 18198c2ecf20Sopenharmony_ci}; 18208c2ecf20Sopenharmony_ci 18218c2ecf20Sopenharmony_ciunion cvmx_lmcx_mem_cfg1 { 18228c2ecf20Sopenharmony_ci uint64_t u64; 18238c2ecf20Sopenharmony_ci struct cvmx_lmcx_mem_cfg1_s { 18248c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 18258c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 18268c2ecf20Sopenharmony_ci uint64_t comp_bypass:1; 18278c2ecf20Sopenharmony_ci uint64_t trrd:3; 18288c2ecf20Sopenharmony_ci uint64_t caslat:3; 18298c2ecf20Sopenharmony_ci uint64_t tmrd:3; 18308c2ecf20Sopenharmony_ci uint64_t trfc:5; 18318c2ecf20Sopenharmony_ci uint64_t trp:4; 18328c2ecf20Sopenharmony_ci uint64_t twtr:4; 18338c2ecf20Sopenharmony_ci uint64_t trcd:4; 18348c2ecf20Sopenharmony_ci uint64_t tras:5; 18358c2ecf20Sopenharmony_ci#else 18368c2ecf20Sopenharmony_ci uint64_t tras:5; 18378c2ecf20Sopenharmony_ci uint64_t trcd:4; 18388c2ecf20Sopenharmony_ci uint64_t twtr:4; 18398c2ecf20Sopenharmony_ci uint64_t trp:4; 18408c2ecf20Sopenharmony_ci uint64_t trfc:5; 18418c2ecf20Sopenharmony_ci uint64_t tmrd:3; 18428c2ecf20Sopenharmony_ci uint64_t caslat:3; 18438c2ecf20Sopenharmony_ci uint64_t trrd:3; 18448c2ecf20Sopenharmony_ci uint64_t comp_bypass:1; 18458c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 18468c2ecf20Sopenharmony_ci#endif 18478c2ecf20Sopenharmony_ci } s; 18488c2ecf20Sopenharmony_ci struct cvmx_lmcx_mem_cfg1_cn38xx { 18498c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 18508c2ecf20Sopenharmony_ci uint64_t reserved_31_63:33; 18518c2ecf20Sopenharmony_ci uint64_t trrd:3; 18528c2ecf20Sopenharmony_ci uint64_t caslat:3; 18538c2ecf20Sopenharmony_ci uint64_t tmrd:3; 18548c2ecf20Sopenharmony_ci uint64_t trfc:5; 18558c2ecf20Sopenharmony_ci uint64_t trp:4; 18568c2ecf20Sopenharmony_ci uint64_t twtr:4; 18578c2ecf20Sopenharmony_ci uint64_t trcd:4; 18588c2ecf20Sopenharmony_ci uint64_t tras:5; 18598c2ecf20Sopenharmony_ci#else 18608c2ecf20Sopenharmony_ci uint64_t tras:5; 18618c2ecf20Sopenharmony_ci uint64_t trcd:4; 18628c2ecf20Sopenharmony_ci uint64_t twtr:4; 18638c2ecf20Sopenharmony_ci uint64_t trp:4; 18648c2ecf20Sopenharmony_ci uint64_t trfc:5; 18658c2ecf20Sopenharmony_ci uint64_t tmrd:3; 18668c2ecf20Sopenharmony_ci uint64_t caslat:3; 18678c2ecf20Sopenharmony_ci uint64_t trrd:3; 18688c2ecf20Sopenharmony_ci uint64_t reserved_31_63:33; 18698c2ecf20Sopenharmony_ci#endif 18708c2ecf20Sopenharmony_ci } cn38xx; 18718c2ecf20Sopenharmony_ci}; 18728c2ecf20Sopenharmony_ci 18738c2ecf20Sopenharmony_ciunion cvmx_lmcx_modereg_params0 { 18748c2ecf20Sopenharmony_ci uint64_t u64; 18758c2ecf20Sopenharmony_ci struct cvmx_lmcx_modereg_params0_s { 18768c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 18778c2ecf20Sopenharmony_ci uint64_t reserved_25_63:39; 18788c2ecf20Sopenharmony_ci uint64_t ppd:1; 18798c2ecf20Sopenharmony_ci uint64_t wrp:3; 18808c2ecf20Sopenharmony_ci uint64_t dllr:1; 18818c2ecf20Sopenharmony_ci uint64_t tm:1; 18828c2ecf20Sopenharmony_ci uint64_t rbt:1; 18838c2ecf20Sopenharmony_ci uint64_t cl:4; 18848c2ecf20Sopenharmony_ci uint64_t bl:2; 18858c2ecf20Sopenharmony_ci uint64_t qoff:1; 18868c2ecf20Sopenharmony_ci uint64_t tdqs:1; 18878c2ecf20Sopenharmony_ci uint64_t wlev:1; 18888c2ecf20Sopenharmony_ci uint64_t al:2; 18898c2ecf20Sopenharmony_ci uint64_t dll:1; 18908c2ecf20Sopenharmony_ci uint64_t mpr:1; 18918c2ecf20Sopenharmony_ci uint64_t mprloc:2; 18928c2ecf20Sopenharmony_ci uint64_t cwl:3; 18938c2ecf20Sopenharmony_ci#else 18948c2ecf20Sopenharmony_ci uint64_t cwl:3; 18958c2ecf20Sopenharmony_ci uint64_t mprloc:2; 18968c2ecf20Sopenharmony_ci uint64_t mpr:1; 18978c2ecf20Sopenharmony_ci uint64_t dll:1; 18988c2ecf20Sopenharmony_ci uint64_t al:2; 18998c2ecf20Sopenharmony_ci uint64_t wlev:1; 19008c2ecf20Sopenharmony_ci uint64_t tdqs:1; 19018c2ecf20Sopenharmony_ci uint64_t qoff:1; 19028c2ecf20Sopenharmony_ci uint64_t bl:2; 19038c2ecf20Sopenharmony_ci uint64_t cl:4; 19048c2ecf20Sopenharmony_ci uint64_t rbt:1; 19058c2ecf20Sopenharmony_ci uint64_t tm:1; 19068c2ecf20Sopenharmony_ci uint64_t dllr:1; 19078c2ecf20Sopenharmony_ci uint64_t wrp:3; 19088c2ecf20Sopenharmony_ci uint64_t ppd:1; 19098c2ecf20Sopenharmony_ci uint64_t reserved_25_63:39; 19108c2ecf20Sopenharmony_ci#endif 19118c2ecf20Sopenharmony_ci } s; 19128c2ecf20Sopenharmony_ci}; 19138c2ecf20Sopenharmony_ci 19148c2ecf20Sopenharmony_ciunion cvmx_lmcx_modereg_params1 { 19158c2ecf20Sopenharmony_ci uint64_t u64; 19168c2ecf20Sopenharmony_ci struct cvmx_lmcx_modereg_params1_s { 19178c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 19188c2ecf20Sopenharmony_ci uint64_t reserved_48_63:16; 19198c2ecf20Sopenharmony_ci uint64_t rtt_nom_11:3; 19208c2ecf20Sopenharmony_ci uint64_t dic_11:2; 19218c2ecf20Sopenharmony_ci uint64_t rtt_wr_11:2; 19228c2ecf20Sopenharmony_ci uint64_t srt_11:1; 19238c2ecf20Sopenharmony_ci uint64_t asr_11:1; 19248c2ecf20Sopenharmony_ci uint64_t pasr_11:3; 19258c2ecf20Sopenharmony_ci uint64_t rtt_nom_10:3; 19268c2ecf20Sopenharmony_ci uint64_t dic_10:2; 19278c2ecf20Sopenharmony_ci uint64_t rtt_wr_10:2; 19288c2ecf20Sopenharmony_ci uint64_t srt_10:1; 19298c2ecf20Sopenharmony_ci uint64_t asr_10:1; 19308c2ecf20Sopenharmony_ci uint64_t pasr_10:3; 19318c2ecf20Sopenharmony_ci uint64_t rtt_nom_01:3; 19328c2ecf20Sopenharmony_ci uint64_t dic_01:2; 19338c2ecf20Sopenharmony_ci uint64_t rtt_wr_01:2; 19348c2ecf20Sopenharmony_ci uint64_t srt_01:1; 19358c2ecf20Sopenharmony_ci uint64_t asr_01:1; 19368c2ecf20Sopenharmony_ci uint64_t pasr_01:3; 19378c2ecf20Sopenharmony_ci uint64_t rtt_nom_00:3; 19388c2ecf20Sopenharmony_ci uint64_t dic_00:2; 19398c2ecf20Sopenharmony_ci uint64_t rtt_wr_00:2; 19408c2ecf20Sopenharmony_ci uint64_t srt_00:1; 19418c2ecf20Sopenharmony_ci uint64_t asr_00:1; 19428c2ecf20Sopenharmony_ci uint64_t pasr_00:3; 19438c2ecf20Sopenharmony_ci#else 19448c2ecf20Sopenharmony_ci uint64_t pasr_00:3; 19458c2ecf20Sopenharmony_ci uint64_t asr_00:1; 19468c2ecf20Sopenharmony_ci uint64_t srt_00:1; 19478c2ecf20Sopenharmony_ci uint64_t rtt_wr_00:2; 19488c2ecf20Sopenharmony_ci uint64_t dic_00:2; 19498c2ecf20Sopenharmony_ci uint64_t rtt_nom_00:3; 19508c2ecf20Sopenharmony_ci uint64_t pasr_01:3; 19518c2ecf20Sopenharmony_ci uint64_t asr_01:1; 19528c2ecf20Sopenharmony_ci uint64_t srt_01:1; 19538c2ecf20Sopenharmony_ci uint64_t rtt_wr_01:2; 19548c2ecf20Sopenharmony_ci uint64_t dic_01:2; 19558c2ecf20Sopenharmony_ci uint64_t rtt_nom_01:3; 19568c2ecf20Sopenharmony_ci uint64_t pasr_10:3; 19578c2ecf20Sopenharmony_ci uint64_t asr_10:1; 19588c2ecf20Sopenharmony_ci uint64_t srt_10:1; 19598c2ecf20Sopenharmony_ci uint64_t rtt_wr_10:2; 19608c2ecf20Sopenharmony_ci uint64_t dic_10:2; 19618c2ecf20Sopenharmony_ci uint64_t rtt_nom_10:3; 19628c2ecf20Sopenharmony_ci uint64_t pasr_11:3; 19638c2ecf20Sopenharmony_ci uint64_t asr_11:1; 19648c2ecf20Sopenharmony_ci uint64_t srt_11:1; 19658c2ecf20Sopenharmony_ci uint64_t rtt_wr_11:2; 19668c2ecf20Sopenharmony_ci uint64_t dic_11:2; 19678c2ecf20Sopenharmony_ci uint64_t rtt_nom_11:3; 19688c2ecf20Sopenharmony_ci uint64_t reserved_48_63:16; 19698c2ecf20Sopenharmony_ci#endif 19708c2ecf20Sopenharmony_ci } s; 19718c2ecf20Sopenharmony_ci}; 19728c2ecf20Sopenharmony_ci 19738c2ecf20Sopenharmony_ciunion cvmx_lmcx_nxm { 19748c2ecf20Sopenharmony_ci uint64_t u64; 19758c2ecf20Sopenharmony_ci struct cvmx_lmcx_nxm_s { 19768c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 19778c2ecf20Sopenharmony_ci uint64_t reserved_40_63:24; 19788c2ecf20Sopenharmony_ci uint64_t mem_msb_d3_r1:4; 19798c2ecf20Sopenharmony_ci uint64_t mem_msb_d3_r0:4; 19808c2ecf20Sopenharmony_ci uint64_t mem_msb_d2_r1:4; 19818c2ecf20Sopenharmony_ci uint64_t mem_msb_d2_r0:4; 19828c2ecf20Sopenharmony_ci uint64_t mem_msb_d1_r1:4; 19838c2ecf20Sopenharmony_ci uint64_t mem_msb_d1_r0:4; 19848c2ecf20Sopenharmony_ci uint64_t mem_msb_d0_r1:4; 19858c2ecf20Sopenharmony_ci uint64_t mem_msb_d0_r0:4; 19868c2ecf20Sopenharmony_ci uint64_t cs_mask:8; 19878c2ecf20Sopenharmony_ci#else 19888c2ecf20Sopenharmony_ci uint64_t cs_mask:8; 19898c2ecf20Sopenharmony_ci uint64_t mem_msb_d0_r0:4; 19908c2ecf20Sopenharmony_ci uint64_t mem_msb_d0_r1:4; 19918c2ecf20Sopenharmony_ci uint64_t mem_msb_d1_r0:4; 19928c2ecf20Sopenharmony_ci uint64_t mem_msb_d1_r1:4; 19938c2ecf20Sopenharmony_ci uint64_t mem_msb_d2_r0:4; 19948c2ecf20Sopenharmony_ci uint64_t mem_msb_d2_r1:4; 19958c2ecf20Sopenharmony_ci uint64_t mem_msb_d3_r0:4; 19968c2ecf20Sopenharmony_ci uint64_t mem_msb_d3_r1:4; 19978c2ecf20Sopenharmony_ci uint64_t reserved_40_63:24; 19988c2ecf20Sopenharmony_ci#endif 19998c2ecf20Sopenharmony_ci } s; 20008c2ecf20Sopenharmony_ci struct cvmx_lmcx_nxm_cn52xx { 20018c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 20028c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 20038c2ecf20Sopenharmony_ci uint64_t cs_mask:8; 20048c2ecf20Sopenharmony_ci#else 20058c2ecf20Sopenharmony_ci uint64_t cs_mask:8; 20068c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 20078c2ecf20Sopenharmony_ci#endif 20088c2ecf20Sopenharmony_ci } cn52xx; 20098c2ecf20Sopenharmony_ci}; 20108c2ecf20Sopenharmony_ci 20118c2ecf20Sopenharmony_ciunion cvmx_lmcx_ops_cnt { 20128c2ecf20Sopenharmony_ci uint64_t u64; 20138c2ecf20Sopenharmony_ci struct cvmx_lmcx_ops_cnt_s { 20148c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 20158c2ecf20Sopenharmony_ci uint64_t opscnt:64; 20168c2ecf20Sopenharmony_ci#else 20178c2ecf20Sopenharmony_ci uint64_t opscnt:64; 20188c2ecf20Sopenharmony_ci#endif 20198c2ecf20Sopenharmony_ci } s; 20208c2ecf20Sopenharmony_ci}; 20218c2ecf20Sopenharmony_ci 20228c2ecf20Sopenharmony_ciunion cvmx_lmcx_ops_cnt_hi { 20238c2ecf20Sopenharmony_ci uint64_t u64; 20248c2ecf20Sopenharmony_ci struct cvmx_lmcx_ops_cnt_hi_s { 20258c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 20268c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 20278c2ecf20Sopenharmony_ci uint64_t opscnt_hi:32; 20288c2ecf20Sopenharmony_ci#else 20298c2ecf20Sopenharmony_ci uint64_t opscnt_hi:32; 20308c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 20318c2ecf20Sopenharmony_ci#endif 20328c2ecf20Sopenharmony_ci } s; 20338c2ecf20Sopenharmony_ci}; 20348c2ecf20Sopenharmony_ci 20358c2ecf20Sopenharmony_ciunion cvmx_lmcx_ops_cnt_lo { 20368c2ecf20Sopenharmony_ci uint64_t u64; 20378c2ecf20Sopenharmony_ci struct cvmx_lmcx_ops_cnt_lo_s { 20388c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 20398c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 20408c2ecf20Sopenharmony_ci uint64_t opscnt_lo:32; 20418c2ecf20Sopenharmony_ci#else 20428c2ecf20Sopenharmony_ci uint64_t opscnt_lo:32; 20438c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 20448c2ecf20Sopenharmony_ci#endif 20458c2ecf20Sopenharmony_ci } s; 20468c2ecf20Sopenharmony_ci}; 20478c2ecf20Sopenharmony_ci 20488c2ecf20Sopenharmony_ciunion cvmx_lmcx_phy_ctl { 20498c2ecf20Sopenharmony_ci uint64_t u64; 20508c2ecf20Sopenharmony_ci struct cvmx_lmcx_phy_ctl_s { 20518c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 20528c2ecf20Sopenharmony_ci uint64_t reserved_15_63:49; 20538c2ecf20Sopenharmony_ci uint64_t rx_always_on:1; 20548c2ecf20Sopenharmony_ci uint64_t lv_mode:1; 20558c2ecf20Sopenharmony_ci uint64_t ck_tune1:1; 20568c2ecf20Sopenharmony_ci uint64_t ck_dlyout1:4; 20578c2ecf20Sopenharmony_ci uint64_t ck_tune0:1; 20588c2ecf20Sopenharmony_ci uint64_t ck_dlyout0:4; 20598c2ecf20Sopenharmony_ci uint64_t loopback:1; 20608c2ecf20Sopenharmony_ci uint64_t loopback_pos:1; 20618c2ecf20Sopenharmony_ci uint64_t ts_stagger:1; 20628c2ecf20Sopenharmony_ci#else 20638c2ecf20Sopenharmony_ci uint64_t ts_stagger:1; 20648c2ecf20Sopenharmony_ci uint64_t loopback_pos:1; 20658c2ecf20Sopenharmony_ci uint64_t loopback:1; 20668c2ecf20Sopenharmony_ci uint64_t ck_dlyout0:4; 20678c2ecf20Sopenharmony_ci uint64_t ck_tune0:1; 20688c2ecf20Sopenharmony_ci uint64_t ck_dlyout1:4; 20698c2ecf20Sopenharmony_ci uint64_t ck_tune1:1; 20708c2ecf20Sopenharmony_ci uint64_t lv_mode:1; 20718c2ecf20Sopenharmony_ci uint64_t rx_always_on:1; 20728c2ecf20Sopenharmony_ci uint64_t reserved_15_63:49; 20738c2ecf20Sopenharmony_ci#endif 20748c2ecf20Sopenharmony_ci } s; 20758c2ecf20Sopenharmony_ci struct cvmx_lmcx_phy_ctl_cn63xxp1 { 20768c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 20778c2ecf20Sopenharmony_ci uint64_t reserved_14_63:50; 20788c2ecf20Sopenharmony_ci uint64_t lv_mode:1; 20798c2ecf20Sopenharmony_ci uint64_t ck_tune1:1; 20808c2ecf20Sopenharmony_ci uint64_t ck_dlyout1:4; 20818c2ecf20Sopenharmony_ci uint64_t ck_tune0:1; 20828c2ecf20Sopenharmony_ci uint64_t ck_dlyout0:4; 20838c2ecf20Sopenharmony_ci uint64_t loopback:1; 20848c2ecf20Sopenharmony_ci uint64_t loopback_pos:1; 20858c2ecf20Sopenharmony_ci uint64_t ts_stagger:1; 20868c2ecf20Sopenharmony_ci#else 20878c2ecf20Sopenharmony_ci uint64_t ts_stagger:1; 20888c2ecf20Sopenharmony_ci uint64_t loopback_pos:1; 20898c2ecf20Sopenharmony_ci uint64_t loopback:1; 20908c2ecf20Sopenharmony_ci uint64_t ck_dlyout0:4; 20918c2ecf20Sopenharmony_ci uint64_t ck_tune0:1; 20928c2ecf20Sopenharmony_ci uint64_t ck_dlyout1:4; 20938c2ecf20Sopenharmony_ci uint64_t ck_tune1:1; 20948c2ecf20Sopenharmony_ci uint64_t lv_mode:1; 20958c2ecf20Sopenharmony_ci uint64_t reserved_14_63:50; 20968c2ecf20Sopenharmony_ci#endif 20978c2ecf20Sopenharmony_ci } cn63xxp1; 20988c2ecf20Sopenharmony_ci}; 20998c2ecf20Sopenharmony_ci 21008c2ecf20Sopenharmony_ciunion cvmx_lmcx_pll_bwctl { 21018c2ecf20Sopenharmony_ci uint64_t u64; 21028c2ecf20Sopenharmony_ci struct cvmx_lmcx_pll_bwctl_s { 21038c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 21048c2ecf20Sopenharmony_ci uint64_t reserved_5_63:59; 21058c2ecf20Sopenharmony_ci uint64_t bwupd:1; 21068c2ecf20Sopenharmony_ci uint64_t bwctl:4; 21078c2ecf20Sopenharmony_ci#else 21088c2ecf20Sopenharmony_ci uint64_t bwctl:4; 21098c2ecf20Sopenharmony_ci uint64_t bwupd:1; 21108c2ecf20Sopenharmony_ci uint64_t reserved_5_63:59; 21118c2ecf20Sopenharmony_ci#endif 21128c2ecf20Sopenharmony_ci } s; 21138c2ecf20Sopenharmony_ci}; 21148c2ecf20Sopenharmony_ci 21158c2ecf20Sopenharmony_ciunion cvmx_lmcx_pll_ctl { 21168c2ecf20Sopenharmony_ci uint64_t u64; 21178c2ecf20Sopenharmony_ci struct cvmx_lmcx_pll_ctl_s { 21188c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 21198c2ecf20Sopenharmony_ci uint64_t reserved_30_63:34; 21208c2ecf20Sopenharmony_ci uint64_t bypass:1; 21218c2ecf20Sopenharmony_ci uint64_t fasten_n:1; 21228c2ecf20Sopenharmony_ci uint64_t div_reset:1; 21238c2ecf20Sopenharmony_ci uint64_t reset_n:1; 21248c2ecf20Sopenharmony_ci uint64_t clkf:12; 21258c2ecf20Sopenharmony_ci uint64_t clkr:6; 21268c2ecf20Sopenharmony_ci uint64_t reserved_6_7:2; 21278c2ecf20Sopenharmony_ci uint64_t en16:1; 21288c2ecf20Sopenharmony_ci uint64_t en12:1; 21298c2ecf20Sopenharmony_ci uint64_t en8:1; 21308c2ecf20Sopenharmony_ci uint64_t en6:1; 21318c2ecf20Sopenharmony_ci uint64_t en4:1; 21328c2ecf20Sopenharmony_ci uint64_t en2:1; 21338c2ecf20Sopenharmony_ci#else 21348c2ecf20Sopenharmony_ci uint64_t en2:1; 21358c2ecf20Sopenharmony_ci uint64_t en4:1; 21368c2ecf20Sopenharmony_ci uint64_t en6:1; 21378c2ecf20Sopenharmony_ci uint64_t en8:1; 21388c2ecf20Sopenharmony_ci uint64_t en12:1; 21398c2ecf20Sopenharmony_ci uint64_t en16:1; 21408c2ecf20Sopenharmony_ci uint64_t reserved_6_7:2; 21418c2ecf20Sopenharmony_ci uint64_t clkr:6; 21428c2ecf20Sopenharmony_ci uint64_t clkf:12; 21438c2ecf20Sopenharmony_ci uint64_t reset_n:1; 21448c2ecf20Sopenharmony_ci uint64_t div_reset:1; 21458c2ecf20Sopenharmony_ci uint64_t fasten_n:1; 21468c2ecf20Sopenharmony_ci uint64_t bypass:1; 21478c2ecf20Sopenharmony_ci uint64_t reserved_30_63:34; 21488c2ecf20Sopenharmony_ci#endif 21498c2ecf20Sopenharmony_ci } s; 21508c2ecf20Sopenharmony_ci struct cvmx_lmcx_pll_ctl_cn50xx { 21518c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 21528c2ecf20Sopenharmony_ci uint64_t reserved_29_63:35; 21538c2ecf20Sopenharmony_ci uint64_t fasten_n:1; 21548c2ecf20Sopenharmony_ci uint64_t div_reset:1; 21558c2ecf20Sopenharmony_ci uint64_t reset_n:1; 21568c2ecf20Sopenharmony_ci uint64_t clkf:12; 21578c2ecf20Sopenharmony_ci uint64_t clkr:6; 21588c2ecf20Sopenharmony_ci uint64_t reserved_6_7:2; 21598c2ecf20Sopenharmony_ci uint64_t en16:1; 21608c2ecf20Sopenharmony_ci uint64_t en12:1; 21618c2ecf20Sopenharmony_ci uint64_t en8:1; 21628c2ecf20Sopenharmony_ci uint64_t en6:1; 21638c2ecf20Sopenharmony_ci uint64_t en4:1; 21648c2ecf20Sopenharmony_ci uint64_t en2:1; 21658c2ecf20Sopenharmony_ci#else 21668c2ecf20Sopenharmony_ci uint64_t en2:1; 21678c2ecf20Sopenharmony_ci uint64_t en4:1; 21688c2ecf20Sopenharmony_ci uint64_t en6:1; 21698c2ecf20Sopenharmony_ci uint64_t en8:1; 21708c2ecf20Sopenharmony_ci uint64_t en12:1; 21718c2ecf20Sopenharmony_ci uint64_t en16:1; 21728c2ecf20Sopenharmony_ci uint64_t reserved_6_7:2; 21738c2ecf20Sopenharmony_ci uint64_t clkr:6; 21748c2ecf20Sopenharmony_ci uint64_t clkf:12; 21758c2ecf20Sopenharmony_ci uint64_t reset_n:1; 21768c2ecf20Sopenharmony_ci uint64_t div_reset:1; 21778c2ecf20Sopenharmony_ci uint64_t fasten_n:1; 21788c2ecf20Sopenharmony_ci uint64_t reserved_29_63:35; 21798c2ecf20Sopenharmony_ci#endif 21808c2ecf20Sopenharmony_ci } cn50xx; 21818c2ecf20Sopenharmony_ci struct cvmx_lmcx_pll_ctl_cn56xxp1 { 21828c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 21838c2ecf20Sopenharmony_ci uint64_t reserved_28_63:36; 21848c2ecf20Sopenharmony_ci uint64_t div_reset:1; 21858c2ecf20Sopenharmony_ci uint64_t reset_n:1; 21868c2ecf20Sopenharmony_ci uint64_t clkf:12; 21878c2ecf20Sopenharmony_ci uint64_t clkr:6; 21888c2ecf20Sopenharmony_ci uint64_t reserved_6_7:2; 21898c2ecf20Sopenharmony_ci uint64_t en16:1; 21908c2ecf20Sopenharmony_ci uint64_t en12:1; 21918c2ecf20Sopenharmony_ci uint64_t en8:1; 21928c2ecf20Sopenharmony_ci uint64_t en6:1; 21938c2ecf20Sopenharmony_ci uint64_t en4:1; 21948c2ecf20Sopenharmony_ci uint64_t en2:1; 21958c2ecf20Sopenharmony_ci#else 21968c2ecf20Sopenharmony_ci uint64_t en2:1; 21978c2ecf20Sopenharmony_ci uint64_t en4:1; 21988c2ecf20Sopenharmony_ci uint64_t en6:1; 21998c2ecf20Sopenharmony_ci uint64_t en8:1; 22008c2ecf20Sopenharmony_ci uint64_t en12:1; 22018c2ecf20Sopenharmony_ci uint64_t en16:1; 22028c2ecf20Sopenharmony_ci uint64_t reserved_6_7:2; 22038c2ecf20Sopenharmony_ci uint64_t clkr:6; 22048c2ecf20Sopenharmony_ci uint64_t clkf:12; 22058c2ecf20Sopenharmony_ci uint64_t reset_n:1; 22068c2ecf20Sopenharmony_ci uint64_t div_reset:1; 22078c2ecf20Sopenharmony_ci uint64_t reserved_28_63:36; 22088c2ecf20Sopenharmony_ci#endif 22098c2ecf20Sopenharmony_ci } cn56xxp1; 22108c2ecf20Sopenharmony_ci}; 22118c2ecf20Sopenharmony_ci 22128c2ecf20Sopenharmony_ciunion cvmx_lmcx_pll_status { 22138c2ecf20Sopenharmony_ci uint64_t u64; 22148c2ecf20Sopenharmony_ci struct cvmx_lmcx_pll_status_s { 22158c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 22168c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 22178c2ecf20Sopenharmony_ci uint64_t ddr__nctl:5; 22188c2ecf20Sopenharmony_ci uint64_t ddr__pctl:5; 22198c2ecf20Sopenharmony_ci uint64_t reserved_2_21:20; 22208c2ecf20Sopenharmony_ci uint64_t rfslip:1; 22218c2ecf20Sopenharmony_ci uint64_t fbslip:1; 22228c2ecf20Sopenharmony_ci#else 22238c2ecf20Sopenharmony_ci uint64_t fbslip:1; 22248c2ecf20Sopenharmony_ci uint64_t rfslip:1; 22258c2ecf20Sopenharmony_ci uint64_t reserved_2_21:20; 22268c2ecf20Sopenharmony_ci uint64_t ddr__pctl:5; 22278c2ecf20Sopenharmony_ci uint64_t ddr__nctl:5; 22288c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 22298c2ecf20Sopenharmony_ci#endif 22308c2ecf20Sopenharmony_ci } s; 22318c2ecf20Sopenharmony_ci struct cvmx_lmcx_pll_status_cn58xxp1 { 22328c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 22338c2ecf20Sopenharmony_ci uint64_t reserved_2_63:62; 22348c2ecf20Sopenharmony_ci uint64_t rfslip:1; 22358c2ecf20Sopenharmony_ci uint64_t fbslip:1; 22368c2ecf20Sopenharmony_ci#else 22378c2ecf20Sopenharmony_ci uint64_t fbslip:1; 22388c2ecf20Sopenharmony_ci uint64_t rfslip:1; 22398c2ecf20Sopenharmony_ci uint64_t reserved_2_63:62; 22408c2ecf20Sopenharmony_ci#endif 22418c2ecf20Sopenharmony_ci } cn58xxp1; 22428c2ecf20Sopenharmony_ci}; 22438c2ecf20Sopenharmony_ci 22448c2ecf20Sopenharmony_ciunion cvmx_lmcx_read_level_ctl { 22458c2ecf20Sopenharmony_ci uint64_t u64; 22468c2ecf20Sopenharmony_ci struct cvmx_lmcx_read_level_ctl_s { 22478c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 22488c2ecf20Sopenharmony_ci uint64_t reserved_44_63:20; 22498c2ecf20Sopenharmony_ci uint64_t rankmask:4; 22508c2ecf20Sopenharmony_ci uint64_t pattern:8; 22518c2ecf20Sopenharmony_ci uint64_t row:16; 22528c2ecf20Sopenharmony_ci uint64_t col:12; 22538c2ecf20Sopenharmony_ci uint64_t reserved_3_3:1; 22548c2ecf20Sopenharmony_ci uint64_t bnk:3; 22558c2ecf20Sopenharmony_ci#else 22568c2ecf20Sopenharmony_ci uint64_t bnk:3; 22578c2ecf20Sopenharmony_ci uint64_t reserved_3_3:1; 22588c2ecf20Sopenharmony_ci uint64_t col:12; 22598c2ecf20Sopenharmony_ci uint64_t row:16; 22608c2ecf20Sopenharmony_ci uint64_t pattern:8; 22618c2ecf20Sopenharmony_ci uint64_t rankmask:4; 22628c2ecf20Sopenharmony_ci uint64_t reserved_44_63:20; 22638c2ecf20Sopenharmony_ci#endif 22648c2ecf20Sopenharmony_ci } s; 22658c2ecf20Sopenharmony_ci}; 22668c2ecf20Sopenharmony_ci 22678c2ecf20Sopenharmony_ciunion cvmx_lmcx_read_level_dbg { 22688c2ecf20Sopenharmony_ci uint64_t u64; 22698c2ecf20Sopenharmony_ci struct cvmx_lmcx_read_level_dbg_s { 22708c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 22718c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 22728c2ecf20Sopenharmony_ci uint64_t bitmask:16; 22738c2ecf20Sopenharmony_ci uint64_t reserved_4_15:12; 22748c2ecf20Sopenharmony_ci uint64_t byte:4; 22758c2ecf20Sopenharmony_ci#else 22768c2ecf20Sopenharmony_ci uint64_t byte:4; 22778c2ecf20Sopenharmony_ci uint64_t reserved_4_15:12; 22788c2ecf20Sopenharmony_ci uint64_t bitmask:16; 22798c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 22808c2ecf20Sopenharmony_ci#endif 22818c2ecf20Sopenharmony_ci } s; 22828c2ecf20Sopenharmony_ci}; 22838c2ecf20Sopenharmony_ci 22848c2ecf20Sopenharmony_ciunion cvmx_lmcx_read_level_rankx { 22858c2ecf20Sopenharmony_ci uint64_t u64; 22868c2ecf20Sopenharmony_ci struct cvmx_lmcx_read_level_rankx_s { 22878c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 22888c2ecf20Sopenharmony_ci uint64_t reserved_38_63:26; 22898c2ecf20Sopenharmony_ci uint64_t status:2; 22908c2ecf20Sopenharmony_ci uint64_t byte8:4; 22918c2ecf20Sopenharmony_ci uint64_t byte7:4; 22928c2ecf20Sopenharmony_ci uint64_t byte6:4; 22938c2ecf20Sopenharmony_ci uint64_t byte5:4; 22948c2ecf20Sopenharmony_ci uint64_t byte4:4; 22958c2ecf20Sopenharmony_ci uint64_t byte3:4; 22968c2ecf20Sopenharmony_ci uint64_t byte2:4; 22978c2ecf20Sopenharmony_ci uint64_t byte1:4; 22988c2ecf20Sopenharmony_ci uint64_t byte0:4; 22998c2ecf20Sopenharmony_ci#else 23008c2ecf20Sopenharmony_ci uint64_t byte0:4; 23018c2ecf20Sopenharmony_ci uint64_t byte1:4; 23028c2ecf20Sopenharmony_ci uint64_t byte2:4; 23038c2ecf20Sopenharmony_ci uint64_t byte3:4; 23048c2ecf20Sopenharmony_ci uint64_t byte4:4; 23058c2ecf20Sopenharmony_ci uint64_t byte5:4; 23068c2ecf20Sopenharmony_ci uint64_t byte6:4; 23078c2ecf20Sopenharmony_ci uint64_t byte7:4; 23088c2ecf20Sopenharmony_ci uint64_t byte8:4; 23098c2ecf20Sopenharmony_ci uint64_t status:2; 23108c2ecf20Sopenharmony_ci uint64_t reserved_38_63:26; 23118c2ecf20Sopenharmony_ci#endif 23128c2ecf20Sopenharmony_ci } s; 23138c2ecf20Sopenharmony_ci}; 23148c2ecf20Sopenharmony_ci 23158c2ecf20Sopenharmony_ciunion cvmx_lmcx_reset_ctl { 23168c2ecf20Sopenharmony_ci uint64_t u64; 23178c2ecf20Sopenharmony_ci struct cvmx_lmcx_reset_ctl_s { 23188c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 23198c2ecf20Sopenharmony_ci uint64_t reserved_4_63:60; 23208c2ecf20Sopenharmony_ci uint64_t ddr3psv:1; 23218c2ecf20Sopenharmony_ci uint64_t ddr3psoft:1; 23228c2ecf20Sopenharmony_ci uint64_t ddr3pwarm:1; 23238c2ecf20Sopenharmony_ci uint64_t ddr3rst:1; 23248c2ecf20Sopenharmony_ci#else 23258c2ecf20Sopenharmony_ci uint64_t ddr3rst:1; 23268c2ecf20Sopenharmony_ci uint64_t ddr3pwarm:1; 23278c2ecf20Sopenharmony_ci uint64_t ddr3psoft:1; 23288c2ecf20Sopenharmony_ci uint64_t ddr3psv:1; 23298c2ecf20Sopenharmony_ci uint64_t reserved_4_63:60; 23308c2ecf20Sopenharmony_ci#endif 23318c2ecf20Sopenharmony_ci } s; 23328c2ecf20Sopenharmony_ci}; 23338c2ecf20Sopenharmony_ci 23348c2ecf20Sopenharmony_ciunion cvmx_lmcx_rlevel_ctl { 23358c2ecf20Sopenharmony_ci uint64_t u64; 23368c2ecf20Sopenharmony_ci struct cvmx_lmcx_rlevel_ctl_s { 23378c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 23388c2ecf20Sopenharmony_ci uint64_t reserved_22_63:42; 23398c2ecf20Sopenharmony_ci uint64_t delay_unload_3:1; 23408c2ecf20Sopenharmony_ci uint64_t delay_unload_2:1; 23418c2ecf20Sopenharmony_ci uint64_t delay_unload_1:1; 23428c2ecf20Sopenharmony_ci uint64_t delay_unload_0:1; 23438c2ecf20Sopenharmony_ci uint64_t bitmask:8; 23448c2ecf20Sopenharmony_ci uint64_t or_dis:1; 23458c2ecf20Sopenharmony_ci uint64_t offset_en:1; 23468c2ecf20Sopenharmony_ci uint64_t offset:4; 23478c2ecf20Sopenharmony_ci uint64_t byte:4; 23488c2ecf20Sopenharmony_ci#else 23498c2ecf20Sopenharmony_ci uint64_t byte:4; 23508c2ecf20Sopenharmony_ci uint64_t offset:4; 23518c2ecf20Sopenharmony_ci uint64_t offset_en:1; 23528c2ecf20Sopenharmony_ci uint64_t or_dis:1; 23538c2ecf20Sopenharmony_ci uint64_t bitmask:8; 23548c2ecf20Sopenharmony_ci uint64_t delay_unload_0:1; 23558c2ecf20Sopenharmony_ci uint64_t delay_unload_1:1; 23568c2ecf20Sopenharmony_ci uint64_t delay_unload_2:1; 23578c2ecf20Sopenharmony_ci uint64_t delay_unload_3:1; 23588c2ecf20Sopenharmony_ci uint64_t reserved_22_63:42; 23598c2ecf20Sopenharmony_ci#endif 23608c2ecf20Sopenharmony_ci } s; 23618c2ecf20Sopenharmony_ci struct cvmx_lmcx_rlevel_ctl_cn63xxp1 { 23628c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 23638c2ecf20Sopenharmony_ci uint64_t reserved_9_63:55; 23648c2ecf20Sopenharmony_ci uint64_t offset_en:1; 23658c2ecf20Sopenharmony_ci uint64_t offset:4; 23668c2ecf20Sopenharmony_ci uint64_t byte:4; 23678c2ecf20Sopenharmony_ci#else 23688c2ecf20Sopenharmony_ci uint64_t byte:4; 23698c2ecf20Sopenharmony_ci uint64_t offset:4; 23708c2ecf20Sopenharmony_ci uint64_t offset_en:1; 23718c2ecf20Sopenharmony_ci uint64_t reserved_9_63:55; 23728c2ecf20Sopenharmony_ci#endif 23738c2ecf20Sopenharmony_ci } cn63xxp1; 23748c2ecf20Sopenharmony_ci}; 23758c2ecf20Sopenharmony_ci 23768c2ecf20Sopenharmony_ciunion cvmx_lmcx_rlevel_dbg { 23778c2ecf20Sopenharmony_ci uint64_t u64; 23788c2ecf20Sopenharmony_ci struct cvmx_lmcx_rlevel_dbg_s { 23798c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 23808c2ecf20Sopenharmony_ci uint64_t bitmask:64; 23818c2ecf20Sopenharmony_ci#else 23828c2ecf20Sopenharmony_ci uint64_t bitmask:64; 23838c2ecf20Sopenharmony_ci#endif 23848c2ecf20Sopenharmony_ci } s; 23858c2ecf20Sopenharmony_ci}; 23868c2ecf20Sopenharmony_ci 23878c2ecf20Sopenharmony_ciunion cvmx_lmcx_rlevel_rankx { 23888c2ecf20Sopenharmony_ci uint64_t u64; 23898c2ecf20Sopenharmony_ci struct cvmx_lmcx_rlevel_rankx_s { 23908c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 23918c2ecf20Sopenharmony_ci uint64_t reserved_56_63:8; 23928c2ecf20Sopenharmony_ci uint64_t status:2; 23938c2ecf20Sopenharmony_ci uint64_t byte8:6; 23948c2ecf20Sopenharmony_ci uint64_t byte7:6; 23958c2ecf20Sopenharmony_ci uint64_t byte6:6; 23968c2ecf20Sopenharmony_ci uint64_t byte5:6; 23978c2ecf20Sopenharmony_ci uint64_t byte4:6; 23988c2ecf20Sopenharmony_ci uint64_t byte3:6; 23998c2ecf20Sopenharmony_ci uint64_t byte2:6; 24008c2ecf20Sopenharmony_ci uint64_t byte1:6; 24018c2ecf20Sopenharmony_ci uint64_t byte0:6; 24028c2ecf20Sopenharmony_ci#else 24038c2ecf20Sopenharmony_ci uint64_t byte0:6; 24048c2ecf20Sopenharmony_ci uint64_t byte1:6; 24058c2ecf20Sopenharmony_ci uint64_t byte2:6; 24068c2ecf20Sopenharmony_ci uint64_t byte3:6; 24078c2ecf20Sopenharmony_ci uint64_t byte4:6; 24088c2ecf20Sopenharmony_ci uint64_t byte5:6; 24098c2ecf20Sopenharmony_ci uint64_t byte6:6; 24108c2ecf20Sopenharmony_ci uint64_t byte7:6; 24118c2ecf20Sopenharmony_ci uint64_t byte8:6; 24128c2ecf20Sopenharmony_ci uint64_t status:2; 24138c2ecf20Sopenharmony_ci uint64_t reserved_56_63:8; 24148c2ecf20Sopenharmony_ci#endif 24158c2ecf20Sopenharmony_ci } s; 24168c2ecf20Sopenharmony_ci}; 24178c2ecf20Sopenharmony_ci 24188c2ecf20Sopenharmony_ciunion cvmx_lmcx_rodt_comp_ctl { 24198c2ecf20Sopenharmony_ci uint64_t u64; 24208c2ecf20Sopenharmony_ci struct cvmx_lmcx_rodt_comp_ctl_s { 24218c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 24228c2ecf20Sopenharmony_ci uint64_t reserved_17_63:47; 24238c2ecf20Sopenharmony_ci uint64_t enable:1; 24248c2ecf20Sopenharmony_ci uint64_t reserved_12_15:4; 24258c2ecf20Sopenharmony_ci uint64_t nctl:4; 24268c2ecf20Sopenharmony_ci uint64_t reserved_5_7:3; 24278c2ecf20Sopenharmony_ci uint64_t pctl:5; 24288c2ecf20Sopenharmony_ci#else 24298c2ecf20Sopenharmony_ci uint64_t pctl:5; 24308c2ecf20Sopenharmony_ci uint64_t reserved_5_7:3; 24318c2ecf20Sopenharmony_ci uint64_t nctl:4; 24328c2ecf20Sopenharmony_ci uint64_t reserved_12_15:4; 24338c2ecf20Sopenharmony_ci uint64_t enable:1; 24348c2ecf20Sopenharmony_ci uint64_t reserved_17_63:47; 24358c2ecf20Sopenharmony_ci#endif 24368c2ecf20Sopenharmony_ci } s; 24378c2ecf20Sopenharmony_ci}; 24388c2ecf20Sopenharmony_ci 24398c2ecf20Sopenharmony_ciunion cvmx_lmcx_rodt_ctl { 24408c2ecf20Sopenharmony_ci uint64_t u64; 24418c2ecf20Sopenharmony_ci struct cvmx_lmcx_rodt_ctl_s { 24428c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 24438c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 24448c2ecf20Sopenharmony_ci uint64_t rodt_hi3:4; 24458c2ecf20Sopenharmony_ci uint64_t rodt_hi2:4; 24468c2ecf20Sopenharmony_ci uint64_t rodt_hi1:4; 24478c2ecf20Sopenharmony_ci uint64_t rodt_hi0:4; 24488c2ecf20Sopenharmony_ci uint64_t rodt_lo3:4; 24498c2ecf20Sopenharmony_ci uint64_t rodt_lo2:4; 24508c2ecf20Sopenharmony_ci uint64_t rodt_lo1:4; 24518c2ecf20Sopenharmony_ci uint64_t rodt_lo0:4; 24528c2ecf20Sopenharmony_ci#else 24538c2ecf20Sopenharmony_ci uint64_t rodt_lo0:4; 24548c2ecf20Sopenharmony_ci uint64_t rodt_lo1:4; 24558c2ecf20Sopenharmony_ci uint64_t rodt_lo2:4; 24568c2ecf20Sopenharmony_ci uint64_t rodt_lo3:4; 24578c2ecf20Sopenharmony_ci uint64_t rodt_hi0:4; 24588c2ecf20Sopenharmony_ci uint64_t rodt_hi1:4; 24598c2ecf20Sopenharmony_ci uint64_t rodt_hi2:4; 24608c2ecf20Sopenharmony_ci uint64_t rodt_hi3:4; 24618c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 24628c2ecf20Sopenharmony_ci#endif 24638c2ecf20Sopenharmony_ci } s; 24648c2ecf20Sopenharmony_ci}; 24658c2ecf20Sopenharmony_ci 24668c2ecf20Sopenharmony_ciunion cvmx_lmcx_rodt_mask { 24678c2ecf20Sopenharmony_ci uint64_t u64; 24688c2ecf20Sopenharmony_ci struct cvmx_lmcx_rodt_mask_s { 24698c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 24708c2ecf20Sopenharmony_ci uint64_t rodt_d3_r1:8; 24718c2ecf20Sopenharmony_ci uint64_t rodt_d3_r0:8; 24728c2ecf20Sopenharmony_ci uint64_t rodt_d2_r1:8; 24738c2ecf20Sopenharmony_ci uint64_t rodt_d2_r0:8; 24748c2ecf20Sopenharmony_ci uint64_t rodt_d1_r1:8; 24758c2ecf20Sopenharmony_ci uint64_t rodt_d1_r0:8; 24768c2ecf20Sopenharmony_ci uint64_t rodt_d0_r1:8; 24778c2ecf20Sopenharmony_ci uint64_t rodt_d0_r0:8; 24788c2ecf20Sopenharmony_ci#else 24798c2ecf20Sopenharmony_ci uint64_t rodt_d0_r0:8; 24808c2ecf20Sopenharmony_ci uint64_t rodt_d0_r1:8; 24818c2ecf20Sopenharmony_ci uint64_t rodt_d1_r0:8; 24828c2ecf20Sopenharmony_ci uint64_t rodt_d1_r1:8; 24838c2ecf20Sopenharmony_ci uint64_t rodt_d2_r0:8; 24848c2ecf20Sopenharmony_ci uint64_t rodt_d2_r1:8; 24858c2ecf20Sopenharmony_ci uint64_t rodt_d3_r0:8; 24868c2ecf20Sopenharmony_ci uint64_t rodt_d3_r1:8; 24878c2ecf20Sopenharmony_ci#endif 24888c2ecf20Sopenharmony_ci } s; 24898c2ecf20Sopenharmony_ci}; 24908c2ecf20Sopenharmony_ci 24918c2ecf20Sopenharmony_ciunion cvmx_lmcx_scramble_cfg0 { 24928c2ecf20Sopenharmony_ci uint64_t u64; 24938c2ecf20Sopenharmony_ci struct cvmx_lmcx_scramble_cfg0_s { 24948c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 24958c2ecf20Sopenharmony_ci uint64_t key:64; 24968c2ecf20Sopenharmony_ci#else 24978c2ecf20Sopenharmony_ci uint64_t key:64; 24988c2ecf20Sopenharmony_ci#endif 24998c2ecf20Sopenharmony_ci } s; 25008c2ecf20Sopenharmony_ci}; 25018c2ecf20Sopenharmony_ci 25028c2ecf20Sopenharmony_ciunion cvmx_lmcx_scramble_cfg1 { 25038c2ecf20Sopenharmony_ci uint64_t u64; 25048c2ecf20Sopenharmony_ci struct cvmx_lmcx_scramble_cfg1_s { 25058c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 25068c2ecf20Sopenharmony_ci uint64_t key:64; 25078c2ecf20Sopenharmony_ci#else 25088c2ecf20Sopenharmony_ci uint64_t key:64; 25098c2ecf20Sopenharmony_ci#endif 25108c2ecf20Sopenharmony_ci } s; 25118c2ecf20Sopenharmony_ci}; 25128c2ecf20Sopenharmony_ci 25138c2ecf20Sopenharmony_ciunion cvmx_lmcx_scrambled_fadr { 25148c2ecf20Sopenharmony_ci uint64_t u64; 25158c2ecf20Sopenharmony_ci struct cvmx_lmcx_scrambled_fadr_s { 25168c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 25178c2ecf20Sopenharmony_ci uint64_t reserved_36_63:28; 25188c2ecf20Sopenharmony_ci uint64_t fdimm:2; 25198c2ecf20Sopenharmony_ci uint64_t fbunk:1; 25208c2ecf20Sopenharmony_ci uint64_t fbank:3; 25218c2ecf20Sopenharmony_ci uint64_t frow:16; 25228c2ecf20Sopenharmony_ci uint64_t fcol:14; 25238c2ecf20Sopenharmony_ci#else 25248c2ecf20Sopenharmony_ci uint64_t fcol:14; 25258c2ecf20Sopenharmony_ci uint64_t frow:16; 25268c2ecf20Sopenharmony_ci uint64_t fbank:3; 25278c2ecf20Sopenharmony_ci uint64_t fbunk:1; 25288c2ecf20Sopenharmony_ci uint64_t fdimm:2; 25298c2ecf20Sopenharmony_ci uint64_t reserved_36_63:28; 25308c2ecf20Sopenharmony_ci#endif 25318c2ecf20Sopenharmony_ci } s; 25328c2ecf20Sopenharmony_ci}; 25338c2ecf20Sopenharmony_ci 25348c2ecf20Sopenharmony_ciunion cvmx_lmcx_slot_ctl0 { 25358c2ecf20Sopenharmony_ci uint64_t u64; 25368c2ecf20Sopenharmony_ci struct cvmx_lmcx_slot_ctl0_s { 25378c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 25388c2ecf20Sopenharmony_ci uint64_t reserved_24_63:40; 25398c2ecf20Sopenharmony_ci uint64_t w2w_init:6; 25408c2ecf20Sopenharmony_ci uint64_t w2r_init:6; 25418c2ecf20Sopenharmony_ci uint64_t r2w_init:6; 25428c2ecf20Sopenharmony_ci uint64_t r2r_init:6; 25438c2ecf20Sopenharmony_ci#else 25448c2ecf20Sopenharmony_ci uint64_t r2r_init:6; 25458c2ecf20Sopenharmony_ci uint64_t r2w_init:6; 25468c2ecf20Sopenharmony_ci uint64_t w2r_init:6; 25478c2ecf20Sopenharmony_ci uint64_t w2w_init:6; 25488c2ecf20Sopenharmony_ci uint64_t reserved_24_63:40; 25498c2ecf20Sopenharmony_ci#endif 25508c2ecf20Sopenharmony_ci } s; 25518c2ecf20Sopenharmony_ci}; 25528c2ecf20Sopenharmony_ci 25538c2ecf20Sopenharmony_ciunion cvmx_lmcx_slot_ctl1 { 25548c2ecf20Sopenharmony_ci uint64_t u64; 25558c2ecf20Sopenharmony_ci struct cvmx_lmcx_slot_ctl1_s { 25568c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 25578c2ecf20Sopenharmony_ci uint64_t reserved_24_63:40; 25588c2ecf20Sopenharmony_ci uint64_t w2w_xrank_init:6; 25598c2ecf20Sopenharmony_ci uint64_t w2r_xrank_init:6; 25608c2ecf20Sopenharmony_ci uint64_t r2w_xrank_init:6; 25618c2ecf20Sopenharmony_ci uint64_t r2r_xrank_init:6; 25628c2ecf20Sopenharmony_ci#else 25638c2ecf20Sopenharmony_ci uint64_t r2r_xrank_init:6; 25648c2ecf20Sopenharmony_ci uint64_t r2w_xrank_init:6; 25658c2ecf20Sopenharmony_ci uint64_t w2r_xrank_init:6; 25668c2ecf20Sopenharmony_ci uint64_t w2w_xrank_init:6; 25678c2ecf20Sopenharmony_ci uint64_t reserved_24_63:40; 25688c2ecf20Sopenharmony_ci#endif 25698c2ecf20Sopenharmony_ci } s; 25708c2ecf20Sopenharmony_ci}; 25718c2ecf20Sopenharmony_ci 25728c2ecf20Sopenharmony_ciunion cvmx_lmcx_slot_ctl2 { 25738c2ecf20Sopenharmony_ci uint64_t u64; 25748c2ecf20Sopenharmony_ci struct cvmx_lmcx_slot_ctl2_s { 25758c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 25768c2ecf20Sopenharmony_ci uint64_t reserved_24_63:40; 25778c2ecf20Sopenharmony_ci uint64_t w2w_xdimm_init:6; 25788c2ecf20Sopenharmony_ci uint64_t w2r_xdimm_init:6; 25798c2ecf20Sopenharmony_ci uint64_t r2w_xdimm_init:6; 25808c2ecf20Sopenharmony_ci uint64_t r2r_xdimm_init:6; 25818c2ecf20Sopenharmony_ci#else 25828c2ecf20Sopenharmony_ci uint64_t r2r_xdimm_init:6; 25838c2ecf20Sopenharmony_ci uint64_t r2w_xdimm_init:6; 25848c2ecf20Sopenharmony_ci uint64_t w2r_xdimm_init:6; 25858c2ecf20Sopenharmony_ci uint64_t w2w_xdimm_init:6; 25868c2ecf20Sopenharmony_ci uint64_t reserved_24_63:40; 25878c2ecf20Sopenharmony_ci#endif 25888c2ecf20Sopenharmony_ci } s; 25898c2ecf20Sopenharmony_ci}; 25908c2ecf20Sopenharmony_ci 25918c2ecf20Sopenharmony_ciunion cvmx_lmcx_timing_params0 { 25928c2ecf20Sopenharmony_ci uint64_t u64; 25938c2ecf20Sopenharmony_ci struct cvmx_lmcx_timing_params0_s { 25948c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 25958c2ecf20Sopenharmony_ci uint64_t reserved_47_63:17; 25968c2ecf20Sopenharmony_ci uint64_t trp_ext:1; 25978c2ecf20Sopenharmony_ci uint64_t tcksre:4; 25988c2ecf20Sopenharmony_ci uint64_t trp:4; 25998c2ecf20Sopenharmony_ci uint64_t tzqinit:4; 26008c2ecf20Sopenharmony_ci uint64_t tdllk:4; 26018c2ecf20Sopenharmony_ci uint64_t tmod:4; 26028c2ecf20Sopenharmony_ci uint64_t tmrd:4; 26038c2ecf20Sopenharmony_ci uint64_t txpr:4; 26048c2ecf20Sopenharmony_ci uint64_t tcke:4; 26058c2ecf20Sopenharmony_ci uint64_t tzqcs:4; 26068c2ecf20Sopenharmony_ci uint64_t tckeon:10; 26078c2ecf20Sopenharmony_ci#else 26088c2ecf20Sopenharmony_ci uint64_t tckeon:10; 26098c2ecf20Sopenharmony_ci uint64_t tzqcs:4; 26108c2ecf20Sopenharmony_ci uint64_t tcke:4; 26118c2ecf20Sopenharmony_ci uint64_t txpr:4; 26128c2ecf20Sopenharmony_ci uint64_t tmrd:4; 26138c2ecf20Sopenharmony_ci uint64_t tmod:4; 26148c2ecf20Sopenharmony_ci uint64_t tdllk:4; 26158c2ecf20Sopenharmony_ci uint64_t tzqinit:4; 26168c2ecf20Sopenharmony_ci uint64_t trp:4; 26178c2ecf20Sopenharmony_ci uint64_t tcksre:4; 26188c2ecf20Sopenharmony_ci uint64_t trp_ext:1; 26198c2ecf20Sopenharmony_ci uint64_t reserved_47_63:17; 26208c2ecf20Sopenharmony_ci#endif 26218c2ecf20Sopenharmony_ci } s; 26228c2ecf20Sopenharmony_ci struct cvmx_lmcx_timing_params0_cn61xx { 26238c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 26248c2ecf20Sopenharmony_ci uint64_t reserved_47_63:17; 26258c2ecf20Sopenharmony_ci uint64_t trp_ext:1; 26268c2ecf20Sopenharmony_ci uint64_t tcksre:4; 26278c2ecf20Sopenharmony_ci uint64_t trp:4; 26288c2ecf20Sopenharmony_ci uint64_t tzqinit:4; 26298c2ecf20Sopenharmony_ci uint64_t tdllk:4; 26308c2ecf20Sopenharmony_ci uint64_t tmod:4; 26318c2ecf20Sopenharmony_ci uint64_t tmrd:4; 26328c2ecf20Sopenharmony_ci uint64_t txpr:4; 26338c2ecf20Sopenharmony_ci uint64_t tcke:4; 26348c2ecf20Sopenharmony_ci uint64_t tzqcs:4; 26358c2ecf20Sopenharmony_ci uint64_t reserved_0_9:10; 26368c2ecf20Sopenharmony_ci#else 26378c2ecf20Sopenharmony_ci uint64_t reserved_0_9:10; 26388c2ecf20Sopenharmony_ci uint64_t tzqcs:4; 26398c2ecf20Sopenharmony_ci uint64_t tcke:4; 26408c2ecf20Sopenharmony_ci uint64_t txpr:4; 26418c2ecf20Sopenharmony_ci uint64_t tmrd:4; 26428c2ecf20Sopenharmony_ci uint64_t tmod:4; 26438c2ecf20Sopenharmony_ci uint64_t tdllk:4; 26448c2ecf20Sopenharmony_ci uint64_t tzqinit:4; 26458c2ecf20Sopenharmony_ci uint64_t trp:4; 26468c2ecf20Sopenharmony_ci uint64_t tcksre:4; 26478c2ecf20Sopenharmony_ci uint64_t trp_ext:1; 26488c2ecf20Sopenharmony_ci uint64_t reserved_47_63:17; 26498c2ecf20Sopenharmony_ci#endif 26508c2ecf20Sopenharmony_ci } cn61xx; 26518c2ecf20Sopenharmony_ci struct cvmx_lmcx_timing_params0_cn63xxp1 { 26528c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 26538c2ecf20Sopenharmony_ci uint64_t reserved_46_63:18; 26548c2ecf20Sopenharmony_ci uint64_t tcksre:4; 26558c2ecf20Sopenharmony_ci uint64_t trp:4; 26568c2ecf20Sopenharmony_ci uint64_t tzqinit:4; 26578c2ecf20Sopenharmony_ci uint64_t tdllk:4; 26588c2ecf20Sopenharmony_ci uint64_t tmod:4; 26598c2ecf20Sopenharmony_ci uint64_t tmrd:4; 26608c2ecf20Sopenharmony_ci uint64_t txpr:4; 26618c2ecf20Sopenharmony_ci uint64_t tcke:4; 26628c2ecf20Sopenharmony_ci uint64_t tzqcs:4; 26638c2ecf20Sopenharmony_ci uint64_t tckeon:10; 26648c2ecf20Sopenharmony_ci#else 26658c2ecf20Sopenharmony_ci uint64_t tckeon:10; 26668c2ecf20Sopenharmony_ci uint64_t tzqcs:4; 26678c2ecf20Sopenharmony_ci uint64_t tcke:4; 26688c2ecf20Sopenharmony_ci uint64_t txpr:4; 26698c2ecf20Sopenharmony_ci uint64_t tmrd:4; 26708c2ecf20Sopenharmony_ci uint64_t tmod:4; 26718c2ecf20Sopenharmony_ci uint64_t tdllk:4; 26728c2ecf20Sopenharmony_ci uint64_t tzqinit:4; 26738c2ecf20Sopenharmony_ci uint64_t trp:4; 26748c2ecf20Sopenharmony_ci uint64_t tcksre:4; 26758c2ecf20Sopenharmony_ci uint64_t reserved_46_63:18; 26768c2ecf20Sopenharmony_ci#endif 26778c2ecf20Sopenharmony_ci } cn63xxp1; 26788c2ecf20Sopenharmony_ci}; 26798c2ecf20Sopenharmony_ci 26808c2ecf20Sopenharmony_ciunion cvmx_lmcx_timing_params1 { 26818c2ecf20Sopenharmony_ci uint64_t u64; 26828c2ecf20Sopenharmony_ci struct cvmx_lmcx_timing_params1_s { 26838c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 26848c2ecf20Sopenharmony_ci uint64_t reserved_47_63:17; 26858c2ecf20Sopenharmony_ci uint64_t tras_ext:1; 26868c2ecf20Sopenharmony_ci uint64_t txpdll:5; 26878c2ecf20Sopenharmony_ci uint64_t tfaw:5; 26888c2ecf20Sopenharmony_ci uint64_t twldqsen:4; 26898c2ecf20Sopenharmony_ci uint64_t twlmrd:4; 26908c2ecf20Sopenharmony_ci uint64_t txp:3; 26918c2ecf20Sopenharmony_ci uint64_t trrd:3; 26928c2ecf20Sopenharmony_ci uint64_t trfc:5; 26938c2ecf20Sopenharmony_ci uint64_t twtr:4; 26948c2ecf20Sopenharmony_ci uint64_t trcd:4; 26958c2ecf20Sopenharmony_ci uint64_t tras:5; 26968c2ecf20Sopenharmony_ci uint64_t tmprr:4; 26978c2ecf20Sopenharmony_ci#else 26988c2ecf20Sopenharmony_ci uint64_t tmprr:4; 26998c2ecf20Sopenharmony_ci uint64_t tras:5; 27008c2ecf20Sopenharmony_ci uint64_t trcd:4; 27018c2ecf20Sopenharmony_ci uint64_t twtr:4; 27028c2ecf20Sopenharmony_ci uint64_t trfc:5; 27038c2ecf20Sopenharmony_ci uint64_t trrd:3; 27048c2ecf20Sopenharmony_ci uint64_t txp:3; 27058c2ecf20Sopenharmony_ci uint64_t twlmrd:4; 27068c2ecf20Sopenharmony_ci uint64_t twldqsen:4; 27078c2ecf20Sopenharmony_ci uint64_t tfaw:5; 27088c2ecf20Sopenharmony_ci uint64_t txpdll:5; 27098c2ecf20Sopenharmony_ci uint64_t tras_ext:1; 27108c2ecf20Sopenharmony_ci uint64_t reserved_47_63:17; 27118c2ecf20Sopenharmony_ci#endif 27128c2ecf20Sopenharmony_ci } s; 27138c2ecf20Sopenharmony_ci struct cvmx_lmcx_timing_params1_cn63xxp1 { 27148c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 27158c2ecf20Sopenharmony_ci uint64_t reserved_46_63:18; 27168c2ecf20Sopenharmony_ci uint64_t txpdll:5; 27178c2ecf20Sopenharmony_ci uint64_t tfaw:5; 27188c2ecf20Sopenharmony_ci uint64_t twldqsen:4; 27198c2ecf20Sopenharmony_ci uint64_t twlmrd:4; 27208c2ecf20Sopenharmony_ci uint64_t txp:3; 27218c2ecf20Sopenharmony_ci uint64_t trrd:3; 27228c2ecf20Sopenharmony_ci uint64_t trfc:5; 27238c2ecf20Sopenharmony_ci uint64_t twtr:4; 27248c2ecf20Sopenharmony_ci uint64_t trcd:4; 27258c2ecf20Sopenharmony_ci uint64_t tras:5; 27268c2ecf20Sopenharmony_ci uint64_t tmprr:4; 27278c2ecf20Sopenharmony_ci#else 27288c2ecf20Sopenharmony_ci uint64_t tmprr:4; 27298c2ecf20Sopenharmony_ci uint64_t tras:5; 27308c2ecf20Sopenharmony_ci uint64_t trcd:4; 27318c2ecf20Sopenharmony_ci uint64_t twtr:4; 27328c2ecf20Sopenharmony_ci uint64_t trfc:5; 27338c2ecf20Sopenharmony_ci uint64_t trrd:3; 27348c2ecf20Sopenharmony_ci uint64_t txp:3; 27358c2ecf20Sopenharmony_ci uint64_t twlmrd:4; 27368c2ecf20Sopenharmony_ci uint64_t twldqsen:4; 27378c2ecf20Sopenharmony_ci uint64_t tfaw:5; 27388c2ecf20Sopenharmony_ci uint64_t txpdll:5; 27398c2ecf20Sopenharmony_ci uint64_t reserved_46_63:18; 27408c2ecf20Sopenharmony_ci#endif 27418c2ecf20Sopenharmony_ci } cn63xxp1; 27428c2ecf20Sopenharmony_ci}; 27438c2ecf20Sopenharmony_ci 27448c2ecf20Sopenharmony_ciunion cvmx_lmcx_tro_ctl { 27458c2ecf20Sopenharmony_ci uint64_t u64; 27468c2ecf20Sopenharmony_ci struct cvmx_lmcx_tro_ctl_s { 27478c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 27488c2ecf20Sopenharmony_ci uint64_t reserved_33_63:31; 27498c2ecf20Sopenharmony_ci uint64_t rclk_cnt:32; 27508c2ecf20Sopenharmony_ci uint64_t treset:1; 27518c2ecf20Sopenharmony_ci#else 27528c2ecf20Sopenharmony_ci uint64_t treset:1; 27538c2ecf20Sopenharmony_ci uint64_t rclk_cnt:32; 27548c2ecf20Sopenharmony_ci uint64_t reserved_33_63:31; 27558c2ecf20Sopenharmony_ci#endif 27568c2ecf20Sopenharmony_ci } s; 27578c2ecf20Sopenharmony_ci}; 27588c2ecf20Sopenharmony_ci 27598c2ecf20Sopenharmony_ciunion cvmx_lmcx_tro_stat { 27608c2ecf20Sopenharmony_ci uint64_t u64; 27618c2ecf20Sopenharmony_ci struct cvmx_lmcx_tro_stat_s { 27628c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 27638c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 27648c2ecf20Sopenharmony_ci uint64_t ring_cnt:32; 27658c2ecf20Sopenharmony_ci#else 27668c2ecf20Sopenharmony_ci uint64_t ring_cnt:32; 27678c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 27688c2ecf20Sopenharmony_ci#endif 27698c2ecf20Sopenharmony_ci } s; 27708c2ecf20Sopenharmony_ci}; 27718c2ecf20Sopenharmony_ci 27728c2ecf20Sopenharmony_ciunion cvmx_lmcx_wlevel_ctl { 27738c2ecf20Sopenharmony_ci uint64_t u64; 27748c2ecf20Sopenharmony_ci struct cvmx_lmcx_wlevel_ctl_s { 27758c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 27768c2ecf20Sopenharmony_ci uint64_t reserved_22_63:42; 27778c2ecf20Sopenharmony_ci uint64_t rtt_nom:3; 27788c2ecf20Sopenharmony_ci uint64_t bitmask:8; 27798c2ecf20Sopenharmony_ci uint64_t or_dis:1; 27808c2ecf20Sopenharmony_ci uint64_t sset:1; 27818c2ecf20Sopenharmony_ci uint64_t lanemask:9; 27828c2ecf20Sopenharmony_ci#else 27838c2ecf20Sopenharmony_ci uint64_t lanemask:9; 27848c2ecf20Sopenharmony_ci uint64_t sset:1; 27858c2ecf20Sopenharmony_ci uint64_t or_dis:1; 27868c2ecf20Sopenharmony_ci uint64_t bitmask:8; 27878c2ecf20Sopenharmony_ci uint64_t rtt_nom:3; 27888c2ecf20Sopenharmony_ci uint64_t reserved_22_63:42; 27898c2ecf20Sopenharmony_ci#endif 27908c2ecf20Sopenharmony_ci } s; 27918c2ecf20Sopenharmony_ci struct cvmx_lmcx_wlevel_ctl_cn63xxp1 { 27928c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 27938c2ecf20Sopenharmony_ci uint64_t reserved_10_63:54; 27948c2ecf20Sopenharmony_ci uint64_t sset:1; 27958c2ecf20Sopenharmony_ci uint64_t lanemask:9; 27968c2ecf20Sopenharmony_ci#else 27978c2ecf20Sopenharmony_ci uint64_t lanemask:9; 27988c2ecf20Sopenharmony_ci uint64_t sset:1; 27998c2ecf20Sopenharmony_ci uint64_t reserved_10_63:54; 28008c2ecf20Sopenharmony_ci#endif 28018c2ecf20Sopenharmony_ci } cn63xxp1; 28028c2ecf20Sopenharmony_ci}; 28038c2ecf20Sopenharmony_ci 28048c2ecf20Sopenharmony_ciunion cvmx_lmcx_wlevel_dbg { 28058c2ecf20Sopenharmony_ci uint64_t u64; 28068c2ecf20Sopenharmony_ci struct cvmx_lmcx_wlevel_dbg_s { 28078c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 28088c2ecf20Sopenharmony_ci uint64_t reserved_12_63:52; 28098c2ecf20Sopenharmony_ci uint64_t bitmask:8; 28108c2ecf20Sopenharmony_ci uint64_t byte:4; 28118c2ecf20Sopenharmony_ci#else 28128c2ecf20Sopenharmony_ci uint64_t byte:4; 28138c2ecf20Sopenharmony_ci uint64_t bitmask:8; 28148c2ecf20Sopenharmony_ci uint64_t reserved_12_63:52; 28158c2ecf20Sopenharmony_ci#endif 28168c2ecf20Sopenharmony_ci } s; 28178c2ecf20Sopenharmony_ci}; 28188c2ecf20Sopenharmony_ci 28198c2ecf20Sopenharmony_ciunion cvmx_lmcx_wlevel_rankx { 28208c2ecf20Sopenharmony_ci uint64_t u64; 28218c2ecf20Sopenharmony_ci struct cvmx_lmcx_wlevel_rankx_s { 28228c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 28238c2ecf20Sopenharmony_ci uint64_t reserved_47_63:17; 28248c2ecf20Sopenharmony_ci uint64_t status:2; 28258c2ecf20Sopenharmony_ci uint64_t byte8:5; 28268c2ecf20Sopenharmony_ci uint64_t byte7:5; 28278c2ecf20Sopenharmony_ci uint64_t byte6:5; 28288c2ecf20Sopenharmony_ci uint64_t byte5:5; 28298c2ecf20Sopenharmony_ci uint64_t byte4:5; 28308c2ecf20Sopenharmony_ci uint64_t byte3:5; 28318c2ecf20Sopenharmony_ci uint64_t byte2:5; 28328c2ecf20Sopenharmony_ci uint64_t byte1:5; 28338c2ecf20Sopenharmony_ci uint64_t byte0:5; 28348c2ecf20Sopenharmony_ci#else 28358c2ecf20Sopenharmony_ci uint64_t byte0:5; 28368c2ecf20Sopenharmony_ci uint64_t byte1:5; 28378c2ecf20Sopenharmony_ci uint64_t byte2:5; 28388c2ecf20Sopenharmony_ci uint64_t byte3:5; 28398c2ecf20Sopenharmony_ci uint64_t byte4:5; 28408c2ecf20Sopenharmony_ci uint64_t byte5:5; 28418c2ecf20Sopenharmony_ci uint64_t byte6:5; 28428c2ecf20Sopenharmony_ci uint64_t byte7:5; 28438c2ecf20Sopenharmony_ci uint64_t byte8:5; 28448c2ecf20Sopenharmony_ci uint64_t status:2; 28458c2ecf20Sopenharmony_ci uint64_t reserved_47_63:17; 28468c2ecf20Sopenharmony_ci#endif 28478c2ecf20Sopenharmony_ci } s; 28488c2ecf20Sopenharmony_ci}; 28498c2ecf20Sopenharmony_ci 28508c2ecf20Sopenharmony_ciunion cvmx_lmcx_wodt_ctl0 { 28518c2ecf20Sopenharmony_ci uint64_t u64; 28528c2ecf20Sopenharmony_ci struct cvmx_lmcx_wodt_ctl0_s { 28538c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 28548c2ecf20Sopenharmony_ci uint64_t reserved_0_63:64; 28558c2ecf20Sopenharmony_ci#else 28568c2ecf20Sopenharmony_ci uint64_t reserved_0_63:64; 28578c2ecf20Sopenharmony_ci#endif 28588c2ecf20Sopenharmony_ci } s; 28598c2ecf20Sopenharmony_ci struct cvmx_lmcx_wodt_ctl0_cn30xx { 28608c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 28618c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 28628c2ecf20Sopenharmony_ci uint64_t wodt_d1_r1:8; 28638c2ecf20Sopenharmony_ci uint64_t wodt_d1_r0:8; 28648c2ecf20Sopenharmony_ci uint64_t wodt_d0_r1:8; 28658c2ecf20Sopenharmony_ci uint64_t wodt_d0_r0:8; 28668c2ecf20Sopenharmony_ci#else 28678c2ecf20Sopenharmony_ci uint64_t wodt_d0_r0:8; 28688c2ecf20Sopenharmony_ci uint64_t wodt_d0_r1:8; 28698c2ecf20Sopenharmony_ci uint64_t wodt_d1_r0:8; 28708c2ecf20Sopenharmony_ci uint64_t wodt_d1_r1:8; 28718c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 28728c2ecf20Sopenharmony_ci#endif 28738c2ecf20Sopenharmony_ci } cn30xx; 28748c2ecf20Sopenharmony_ci struct cvmx_lmcx_wodt_ctl0_cn38xx { 28758c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 28768c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 28778c2ecf20Sopenharmony_ci uint64_t wodt_hi3:4; 28788c2ecf20Sopenharmony_ci uint64_t wodt_hi2:4; 28798c2ecf20Sopenharmony_ci uint64_t wodt_hi1:4; 28808c2ecf20Sopenharmony_ci uint64_t wodt_hi0:4; 28818c2ecf20Sopenharmony_ci uint64_t wodt_lo3:4; 28828c2ecf20Sopenharmony_ci uint64_t wodt_lo2:4; 28838c2ecf20Sopenharmony_ci uint64_t wodt_lo1:4; 28848c2ecf20Sopenharmony_ci uint64_t wodt_lo0:4; 28858c2ecf20Sopenharmony_ci#else 28868c2ecf20Sopenharmony_ci uint64_t wodt_lo0:4; 28878c2ecf20Sopenharmony_ci uint64_t wodt_lo1:4; 28888c2ecf20Sopenharmony_ci uint64_t wodt_lo2:4; 28898c2ecf20Sopenharmony_ci uint64_t wodt_lo3:4; 28908c2ecf20Sopenharmony_ci uint64_t wodt_hi0:4; 28918c2ecf20Sopenharmony_ci uint64_t wodt_hi1:4; 28928c2ecf20Sopenharmony_ci uint64_t wodt_hi2:4; 28938c2ecf20Sopenharmony_ci uint64_t wodt_hi3:4; 28948c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 28958c2ecf20Sopenharmony_ci#endif 28968c2ecf20Sopenharmony_ci } cn38xx; 28978c2ecf20Sopenharmony_ci}; 28988c2ecf20Sopenharmony_ci 28998c2ecf20Sopenharmony_ciunion cvmx_lmcx_wodt_ctl1 { 29008c2ecf20Sopenharmony_ci uint64_t u64; 29018c2ecf20Sopenharmony_ci struct cvmx_lmcx_wodt_ctl1_s { 29028c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 29038c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 29048c2ecf20Sopenharmony_ci uint64_t wodt_d3_r1:8; 29058c2ecf20Sopenharmony_ci uint64_t wodt_d3_r0:8; 29068c2ecf20Sopenharmony_ci uint64_t wodt_d2_r1:8; 29078c2ecf20Sopenharmony_ci uint64_t wodt_d2_r0:8; 29088c2ecf20Sopenharmony_ci#else 29098c2ecf20Sopenharmony_ci uint64_t wodt_d2_r0:8; 29108c2ecf20Sopenharmony_ci uint64_t wodt_d2_r1:8; 29118c2ecf20Sopenharmony_ci uint64_t wodt_d3_r0:8; 29128c2ecf20Sopenharmony_ci uint64_t wodt_d3_r1:8; 29138c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 29148c2ecf20Sopenharmony_ci#endif 29158c2ecf20Sopenharmony_ci } s; 29168c2ecf20Sopenharmony_ci}; 29178c2ecf20Sopenharmony_ci 29188c2ecf20Sopenharmony_ciunion cvmx_lmcx_wodt_mask { 29198c2ecf20Sopenharmony_ci uint64_t u64; 29208c2ecf20Sopenharmony_ci struct cvmx_lmcx_wodt_mask_s { 29218c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 29228c2ecf20Sopenharmony_ci uint64_t wodt_d3_r1:8; 29238c2ecf20Sopenharmony_ci uint64_t wodt_d3_r0:8; 29248c2ecf20Sopenharmony_ci uint64_t wodt_d2_r1:8; 29258c2ecf20Sopenharmony_ci uint64_t wodt_d2_r0:8; 29268c2ecf20Sopenharmony_ci uint64_t wodt_d1_r1:8; 29278c2ecf20Sopenharmony_ci uint64_t wodt_d1_r0:8; 29288c2ecf20Sopenharmony_ci uint64_t wodt_d0_r1:8; 29298c2ecf20Sopenharmony_ci uint64_t wodt_d0_r0:8; 29308c2ecf20Sopenharmony_ci#else 29318c2ecf20Sopenharmony_ci uint64_t wodt_d0_r0:8; 29328c2ecf20Sopenharmony_ci uint64_t wodt_d0_r1:8; 29338c2ecf20Sopenharmony_ci uint64_t wodt_d1_r0:8; 29348c2ecf20Sopenharmony_ci uint64_t wodt_d1_r1:8; 29358c2ecf20Sopenharmony_ci uint64_t wodt_d2_r0:8; 29368c2ecf20Sopenharmony_ci uint64_t wodt_d2_r1:8; 29378c2ecf20Sopenharmony_ci uint64_t wodt_d3_r0:8; 29388c2ecf20Sopenharmony_ci uint64_t wodt_d3_r1:8; 29398c2ecf20Sopenharmony_ci#endif 29408c2ecf20Sopenharmony_ci } s; 29418c2ecf20Sopenharmony_ci}; 29428c2ecf20Sopenharmony_ci 29438c2ecf20Sopenharmony_ci#endif 2944