18c2ecf20Sopenharmony_ci/***********************license start*************** 28c2ecf20Sopenharmony_ci * Author: Cavium Networks 38c2ecf20Sopenharmony_ci * 48c2ecf20Sopenharmony_ci * Contact: support@caviumnetworks.com 58c2ecf20Sopenharmony_ci * This file is part of the OCTEON SDK 68c2ecf20Sopenharmony_ci * 78c2ecf20Sopenharmony_ci * Copyright (c) 2003-2012 Cavium Networks 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 Networks for more information 268c2ecf20Sopenharmony_ci ***********************license end**************************************/ 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci#ifndef __CVMX_UCTLX_DEFS_H__ 298c2ecf20Sopenharmony_ci#define __CVMX_UCTLX_DEFS_H__ 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ci#define CVMX_UCTLX_BIST_STATUS(block_id) (CVMX_ADD_IO_SEG(0x000118006F0000A0ull)) 328c2ecf20Sopenharmony_ci#define CVMX_UCTLX_CLK_RST_CTL(block_id) (CVMX_ADD_IO_SEG(0x000118006F000000ull)) 338c2ecf20Sopenharmony_ci#define CVMX_UCTLX_EHCI_CTL(block_id) (CVMX_ADD_IO_SEG(0x000118006F000080ull)) 348c2ecf20Sopenharmony_ci#define CVMX_UCTLX_EHCI_FLA(block_id) (CVMX_ADD_IO_SEG(0x000118006F0000A8ull)) 358c2ecf20Sopenharmony_ci#define CVMX_UCTLX_ERTO_CTL(block_id) (CVMX_ADD_IO_SEG(0x000118006F000090ull)) 368c2ecf20Sopenharmony_ci#define CVMX_UCTLX_IF_ENA(block_id) (CVMX_ADD_IO_SEG(0x000118006F000030ull)) 378c2ecf20Sopenharmony_ci#define CVMX_UCTLX_INT_ENA(block_id) (CVMX_ADD_IO_SEG(0x000118006F000028ull)) 388c2ecf20Sopenharmony_ci#define CVMX_UCTLX_INT_REG(block_id) (CVMX_ADD_IO_SEG(0x000118006F000020ull)) 398c2ecf20Sopenharmony_ci#define CVMX_UCTLX_OHCI_CTL(block_id) (CVMX_ADD_IO_SEG(0x000118006F000088ull)) 408c2ecf20Sopenharmony_ci#define CVMX_UCTLX_ORTO_CTL(block_id) (CVMX_ADD_IO_SEG(0x000118006F000098ull)) 418c2ecf20Sopenharmony_ci#define CVMX_UCTLX_PPAF_WM(block_id) (CVMX_ADD_IO_SEG(0x000118006F000038ull)) 428c2ecf20Sopenharmony_ci#define CVMX_UCTLX_UPHY_CTL_STATUS(block_id) (CVMX_ADD_IO_SEG(0x000118006F000008ull)) 438c2ecf20Sopenharmony_ci#define CVMX_UCTLX_UPHY_PORTX_CTL_STATUS(offset, block_id) (CVMX_ADD_IO_SEG(0x000118006F000010ull) + (((offset) & 1) + ((block_id) & 0) * 0x0ull) * 8) 448c2ecf20Sopenharmony_ci 458c2ecf20Sopenharmony_ciunion cvmx_uctlx_bist_status { 468c2ecf20Sopenharmony_ci uint64_t u64; 478c2ecf20Sopenharmony_ci struct cvmx_uctlx_bist_status_s { 488c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 498c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 508c2ecf20Sopenharmony_ci uint64_t data_bis:1; 518c2ecf20Sopenharmony_ci uint64_t desc_bis:1; 528c2ecf20Sopenharmony_ci uint64_t erbm_bis:1; 538c2ecf20Sopenharmony_ci uint64_t orbm_bis:1; 548c2ecf20Sopenharmony_ci uint64_t wrbm_bis:1; 558c2ecf20Sopenharmony_ci uint64_t ppaf_bis:1; 568c2ecf20Sopenharmony_ci#else 578c2ecf20Sopenharmony_ci uint64_t ppaf_bis:1; 588c2ecf20Sopenharmony_ci uint64_t wrbm_bis:1; 598c2ecf20Sopenharmony_ci uint64_t orbm_bis:1; 608c2ecf20Sopenharmony_ci uint64_t erbm_bis:1; 618c2ecf20Sopenharmony_ci uint64_t desc_bis:1; 628c2ecf20Sopenharmony_ci uint64_t data_bis:1; 638c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 648c2ecf20Sopenharmony_ci#endif 658c2ecf20Sopenharmony_ci } s; 668c2ecf20Sopenharmony_ci}; 678c2ecf20Sopenharmony_ci 688c2ecf20Sopenharmony_ciunion cvmx_uctlx_clk_rst_ctl { 698c2ecf20Sopenharmony_ci uint64_t u64; 708c2ecf20Sopenharmony_ci struct cvmx_uctlx_clk_rst_ctl_s { 718c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 728c2ecf20Sopenharmony_ci uint64_t reserved_25_63:39; 738c2ecf20Sopenharmony_ci uint64_t clear_bist:1; 748c2ecf20Sopenharmony_ci uint64_t start_bist:1; 758c2ecf20Sopenharmony_ci uint64_t ehci_sm:1; 768c2ecf20Sopenharmony_ci uint64_t ohci_clkcktrst:1; 778c2ecf20Sopenharmony_ci uint64_t ohci_sm:1; 788c2ecf20Sopenharmony_ci uint64_t ohci_susp_lgcy:1; 798c2ecf20Sopenharmony_ci uint64_t app_start_clk:1; 808c2ecf20Sopenharmony_ci uint64_t o_clkdiv_rst:1; 818c2ecf20Sopenharmony_ci uint64_t h_clkdiv_byp:1; 828c2ecf20Sopenharmony_ci uint64_t h_clkdiv_rst:1; 838c2ecf20Sopenharmony_ci uint64_t h_clkdiv_en:1; 848c2ecf20Sopenharmony_ci uint64_t o_clkdiv_en:1; 858c2ecf20Sopenharmony_ci uint64_t h_div:4; 868c2ecf20Sopenharmony_ci uint64_t p_refclk_sel:2; 878c2ecf20Sopenharmony_ci uint64_t p_refclk_div:2; 888c2ecf20Sopenharmony_ci uint64_t reserved_4_4:1; 898c2ecf20Sopenharmony_ci uint64_t p_com_on:1; 908c2ecf20Sopenharmony_ci uint64_t p_por:1; 918c2ecf20Sopenharmony_ci uint64_t p_prst:1; 928c2ecf20Sopenharmony_ci uint64_t hrst:1; 938c2ecf20Sopenharmony_ci#else 948c2ecf20Sopenharmony_ci uint64_t hrst:1; 958c2ecf20Sopenharmony_ci uint64_t p_prst:1; 968c2ecf20Sopenharmony_ci uint64_t p_por:1; 978c2ecf20Sopenharmony_ci uint64_t p_com_on:1; 988c2ecf20Sopenharmony_ci uint64_t reserved_4_4:1; 998c2ecf20Sopenharmony_ci uint64_t p_refclk_div:2; 1008c2ecf20Sopenharmony_ci uint64_t p_refclk_sel:2; 1018c2ecf20Sopenharmony_ci uint64_t h_div:4; 1028c2ecf20Sopenharmony_ci uint64_t o_clkdiv_en:1; 1038c2ecf20Sopenharmony_ci uint64_t h_clkdiv_en:1; 1048c2ecf20Sopenharmony_ci uint64_t h_clkdiv_rst:1; 1058c2ecf20Sopenharmony_ci uint64_t h_clkdiv_byp:1; 1068c2ecf20Sopenharmony_ci uint64_t o_clkdiv_rst:1; 1078c2ecf20Sopenharmony_ci uint64_t app_start_clk:1; 1088c2ecf20Sopenharmony_ci uint64_t ohci_susp_lgcy:1; 1098c2ecf20Sopenharmony_ci uint64_t ohci_sm:1; 1108c2ecf20Sopenharmony_ci uint64_t ohci_clkcktrst:1; 1118c2ecf20Sopenharmony_ci uint64_t ehci_sm:1; 1128c2ecf20Sopenharmony_ci uint64_t start_bist:1; 1138c2ecf20Sopenharmony_ci uint64_t clear_bist:1; 1148c2ecf20Sopenharmony_ci uint64_t reserved_25_63:39; 1158c2ecf20Sopenharmony_ci#endif 1168c2ecf20Sopenharmony_ci } s; 1178c2ecf20Sopenharmony_ci}; 1188c2ecf20Sopenharmony_ci 1198c2ecf20Sopenharmony_ciunion cvmx_uctlx_ehci_ctl { 1208c2ecf20Sopenharmony_ci uint64_t u64; 1218c2ecf20Sopenharmony_ci struct cvmx_uctlx_ehci_ctl_s { 1228c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 1238c2ecf20Sopenharmony_ci uint64_t reserved_20_63:44; 1248c2ecf20Sopenharmony_ci uint64_t desc_rbm:1; 1258c2ecf20Sopenharmony_ci uint64_t reg_nb:1; 1268c2ecf20Sopenharmony_ci uint64_t l2c_dc:1; 1278c2ecf20Sopenharmony_ci uint64_t l2c_bc:1; 1288c2ecf20Sopenharmony_ci uint64_t l2c_0pag:1; 1298c2ecf20Sopenharmony_ci uint64_t l2c_stt:1; 1308c2ecf20Sopenharmony_ci uint64_t l2c_buff_emod:2; 1318c2ecf20Sopenharmony_ci uint64_t l2c_desc_emod:2; 1328c2ecf20Sopenharmony_ci uint64_t inv_reg_a2:1; 1338c2ecf20Sopenharmony_ci uint64_t ehci_64b_addr_en:1; 1348c2ecf20Sopenharmony_ci uint64_t l2c_addr_msb:8; 1358c2ecf20Sopenharmony_ci#else 1368c2ecf20Sopenharmony_ci uint64_t l2c_addr_msb:8; 1378c2ecf20Sopenharmony_ci uint64_t ehci_64b_addr_en:1; 1388c2ecf20Sopenharmony_ci uint64_t inv_reg_a2:1; 1398c2ecf20Sopenharmony_ci uint64_t l2c_desc_emod:2; 1408c2ecf20Sopenharmony_ci uint64_t l2c_buff_emod:2; 1418c2ecf20Sopenharmony_ci uint64_t l2c_stt:1; 1428c2ecf20Sopenharmony_ci uint64_t l2c_0pag:1; 1438c2ecf20Sopenharmony_ci uint64_t l2c_bc:1; 1448c2ecf20Sopenharmony_ci uint64_t l2c_dc:1; 1458c2ecf20Sopenharmony_ci uint64_t reg_nb:1; 1468c2ecf20Sopenharmony_ci uint64_t desc_rbm:1; 1478c2ecf20Sopenharmony_ci uint64_t reserved_20_63:44; 1488c2ecf20Sopenharmony_ci#endif 1498c2ecf20Sopenharmony_ci } s; 1508c2ecf20Sopenharmony_ci}; 1518c2ecf20Sopenharmony_ci 1528c2ecf20Sopenharmony_ciunion cvmx_uctlx_ehci_fla { 1538c2ecf20Sopenharmony_ci uint64_t u64; 1548c2ecf20Sopenharmony_ci struct cvmx_uctlx_ehci_fla_s { 1558c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 1568c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 1578c2ecf20Sopenharmony_ci uint64_t fla:6; 1588c2ecf20Sopenharmony_ci#else 1598c2ecf20Sopenharmony_ci uint64_t fla:6; 1608c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 1618c2ecf20Sopenharmony_ci#endif 1628c2ecf20Sopenharmony_ci } s; 1638c2ecf20Sopenharmony_ci}; 1648c2ecf20Sopenharmony_ci 1658c2ecf20Sopenharmony_ciunion cvmx_uctlx_erto_ctl { 1668c2ecf20Sopenharmony_ci uint64_t u64; 1678c2ecf20Sopenharmony_ci struct cvmx_uctlx_erto_ctl_s { 1688c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 1698c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 1708c2ecf20Sopenharmony_ci uint64_t to_val:27; 1718c2ecf20Sopenharmony_ci uint64_t reserved_0_4:5; 1728c2ecf20Sopenharmony_ci#else 1738c2ecf20Sopenharmony_ci uint64_t reserved_0_4:5; 1748c2ecf20Sopenharmony_ci uint64_t to_val:27; 1758c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 1768c2ecf20Sopenharmony_ci#endif 1778c2ecf20Sopenharmony_ci } s; 1788c2ecf20Sopenharmony_ci}; 1798c2ecf20Sopenharmony_ci 1808c2ecf20Sopenharmony_ciunion cvmx_uctlx_if_ena { 1818c2ecf20Sopenharmony_ci uint64_t u64; 1828c2ecf20Sopenharmony_ci struct cvmx_uctlx_if_ena_s { 1838c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 1848c2ecf20Sopenharmony_ci uint64_t reserved_1_63:63; 1858c2ecf20Sopenharmony_ci uint64_t en:1; 1868c2ecf20Sopenharmony_ci#else 1878c2ecf20Sopenharmony_ci uint64_t en:1; 1888c2ecf20Sopenharmony_ci uint64_t reserved_1_63:63; 1898c2ecf20Sopenharmony_ci#endif 1908c2ecf20Sopenharmony_ci } s; 1918c2ecf20Sopenharmony_ci}; 1928c2ecf20Sopenharmony_ci 1938c2ecf20Sopenharmony_ciunion cvmx_uctlx_int_ena { 1948c2ecf20Sopenharmony_ci uint64_t u64; 1958c2ecf20Sopenharmony_ci struct cvmx_uctlx_int_ena_s { 1968c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 1978c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 1988c2ecf20Sopenharmony_ci uint64_t ec_ovf_e:1; 1998c2ecf20Sopenharmony_ci uint64_t oc_ovf_e:1; 2008c2ecf20Sopenharmony_ci uint64_t wb_pop_e:1; 2018c2ecf20Sopenharmony_ci uint64_t wb_psh_f:1; 2028c2ecf20Sopenharmony_ci uint64_t cf_psh_f:1; 2038c2ecf20Sopenharmony_ci uint64_t or_psh_f:1; 2048c2ecf20Sopenharmony_ci uint64_t er_psh_f:1; 2058c2ecf20Sopenharmony_ci uint64_t pp_psh_f:1; 2068c2ecf20Sopenharmony_ci#else 2078c2ecf20Sopenharmony_ci uint64_t pp_psh_f:1; 2088c2ecf20Sopenharmony_ci uint64_t er_psh_f:1; 2098c2ecf20Sopenharmony_ci uint64_t or_psh_f:1; 2108c2ecf20Sopenharmony_ci uint64_t cf_psh_f:1; 2118c2ecf20Sopenharmony_ci uint64_t wb_psh_f:1; 2128c2ecf20Sopenharmony_ci uint64_t wb_pop_e:1; 2138c2ecf20Sopenharmony_ci uint64_t oc_ovf_e:1; 2148c2ecf20Sopenharmony_ci uint64_t ec_ovf_e:1; 2158c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 2168c2ecf20Sopenharmony_ci#endif 2178c2ecf20Sopenharmony_ci } s; 2188c2ecf20Sopenharmony_ci}; 2198c2ecf20Sopenharmony_ci 2208c2ecf20Sopenharmony_ciunion cvmx_uctlx_int_reg { 2218c2ecf20Sopenharmony_ci uint64_t u64; 2228c2ecf20Sopenharmony_ci struct cvmx_uctlx_int_reg_s { 2238c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 2248c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 2258c2ecf20Sopenharmony_ci uint64_t ec_ovf_e:1; 2268c2ecf20Sopenharmony_ci uint64_t oc_ovf_e:1; 2278c2ecf20Sopenharmony_ci uint64_t wb_pop_e:1; 2288c2ecf20Sopenharmony_ci uint64_t wb_psh_f:1; 2298c2ecf20Sopenharmony_ci uint64_t cf_psh_f:1; 2308c2ecf20Sopenharmony_ci uint64_t or_psh_f:1; 2318c2ecf20Sopenharmony_ci uint64_t er_psh_f:1; 2328c2ecf20Sopenharmony_ci uint64_t pp_psh_f:1; 2338c2ecf20Sopenharmony_ci#else 2348c2ecf20Sopenharmony_ci uint64_t pp_psh_f:1; 2358c2ecf20Sopenharmony_ci uint64_t er_psh_f:1; 2368c2ecf20Sopenharmony_ci uint64_t or_psh_f:1; 2378c2ecf20Sopenharmony_ci uint64_t cf_psh_f:1; 2388c2ecf20Sopenharmony_ci uint64_t wb_psh_f:1; 2398c2ecf20Sopenharmony_ci uint64_t wb_pop_e:1; 2408c2ecf20Sopenharmony_ci uint64_t oc_ovf_e:1; 2418c2ecf20Sopenharmony_ci uint64_t ec_ovf_e:1; 2428c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 2438c2ecf20Sopenharmony_ci#endif 2448c2ecf20Sopenharmony_ci } s; 2458c2ecf20Sopenharmony_ci}; 2468c2ecf20Sopenharmony_ci 2478c2ecf20Sopenharmony_ciunion cvmx_uctlx_ohci_ctl { 2488c2ecf20Sopenharmony_ci uint64_t u64; 2498c2ecf20Sopenharmony_ci struct cvmx_uctlx_ohci_ctl_s { 2508c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 2518c2ecf20Sopenharmony_ci uint64_t reserved_19_63:45; 2528c2ecf20Sopenharmony_ci uint64_t reg_nb:1; 2538c2ecf20Sopenharmony_ci uint64_t l2c_dc:1; 2548c2ecf20Sopenharmony_ci uint64_t l2c_bc:1; 2558c2ecf20Sopenharmony_ci uint64_t l2c_0pag:1; 2568c2ecf20Sopenharmony_ci uint64_t l2c_stt:1; 2578c2ecf20Sopenharmony_ci uint64_t l2c_buff_emod:2; 2588c2ecf20Sopenharmony_ci uint64_t l2c_desc_emod:2; 2598c2ecf20Sopenharmony_ci uint64_t inv_reg_a2:1; 2608c2ecf20Sopenharmony_ci uint64_t reserved_8_8:1; 2618c2ecf20Sopenharmony_ci uint64_t l2c_addr_msb:8; 2628c2ecf20Sopenharmony_ci#else 2638c2ecf20Sopenharmony_ci uint64_t l2c_addr_msb:8; 2648c2ecf20Sopenharmony_ci uint64_t reserved_8_8:1; 2658c2ecf20Sopenharmony_ci uint64_t inv_reg_a2:1; 2668c2ecf20Sopenharmony_ci uint64_t l2c_desc_emod:2; 2678c2ecf20Sopenharmony_ci uint64_t l2c_buff_emod:2; 2688c2ecf20Sopenharmony_ci uint64_t l2c_stt:1; 2698c2ecf20Sopenharmony_ci uint64_t l2c_0pag:1; 2708c2ecf20Sopenharmony_ci uint64_t l2c_bc:1; 2718c2ecf20Sopenharmony_ci uint64_t l2c_dc:1; 2728c2ecf20Sopenharmony_ci uint64_t reg_nb:1; 2738c2ecf20Sopenharmony_ci uint64_t reserved_19_63:45; 2748c2ecf20Sopenharmony_ci#endif 2758c2ecf20Sopenharmony_ci } s; 2768c2ecf20Sopenharmony_ci}; 2778c2ecf20Sopenharmony_ci 2788c2ecf20Sopenharmony_ciunion cvmx_uctlx_orto_ctl { 2798c2ecf20Sopenharmony_ci uint64_t u64; 2808c2ecf20Sopenharmony_ci struct cvmx_uctlx_orto_ctl_s { 2818c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 2828c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 2838c2ecf20Sopenharmony_ci uint64_t to_val:24; 2848c2ecf20Sopenharmony_ci uint64_t reserved_0_7:8; 2858c2ecf20Sopenharmony_ci#else 2868c2ecf20Sopenharmony_ci uint64_t reserved_0_7:8; 2878c2ecf20Sopenharmony_ci uint64_t to_val:24; 2888c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 2898c2ecf20Sopenharmony_ci#endif 2908c2ecf20Sopenharmony_ci } s; 2918c2ecf20Sopenharmony_ci}; 2928c2ecf20Sopenharmony_ci 2938c2ecf20Sopenharmony_ciunion cvmx_uctlx_ppaf_wm { 2948c2ecf20Sopenharmony_ci uint64_t u64; 2958c2ecf20Sopenharmony_ci struct cvmx_uctlx_ppaf_wm_s { 2968c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 2978c2ecf20Sopenharmony_ci uint64_t reserved_5_63:59; 2988c2ecf20Sopenharmony_ci uint64_t wm:5; 2998c2ecf20Sopenharmony_ci#else 3008c2ecf20Sopenharmony_ci uint64_t wm:5; 3018c2ecf20Sopenharmony_ci uint64_t reserved_5_63:59; 3028c2ecf20Sopenharmony_ci#endif 3038c2ecf20Sopenharmony_ci } s; 3048c2ecf20Sopenharmony_ci}; 3058c2ecf20Sopenharmony_ci 3068c2ecf20Sopenharmony_ciunion cvmx_uctlx_uphy_ctl_status { 3078c2ecf20Sopenharmony_ci uint64_t u64; 3088c2ecf20Sopenharmony_ci struct cvmx_uctlx_uphy_ctl_status_s { 3098c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 3108c2ecf20Sopenharmony_ci uint64_t reserved_10_63:54; 3118c2ecf20Sopenharmony_ci uint64_t bist_done:1; 3128c2ecf20Sopenharmony_ci uint64_t bist_err:1; 3138c2ecf20Sopenharmony_ci uint64_t hsbist:1; 3148c2ecf20Sopenharmony_ci uint64_t fsbist:1; 3158c2ecf20Sopenharmony_ci uint64_t lsbist:1; 3168c2ecf20Sopenharmony_ci uint64_t siddq:1; 3178c2ecf20Sopenharmony_ci uint64_t vtest_en:1; 3188c2ecf20Sopenharmony_ci uint64_t uphy_bist:1; 3198c2ecf20Sopenharmony_ci uint64_t bist_en:1; 3208c2ecf20Sopenharmony_ci uint64_t ate_reset:1; 3218c2ecf20Sopenharmony_ci#else 3228c2ecf20Sopenharmony_ci uint64_t ate_reset:1; 3238c2ecf20Sopenharmony_ci uint64_t bist_en:1; 3248c2ecf20Sopenharmony_ci uint64_t uphy_bist:1; 3258c2ecf20Sopenharmony_ci uint64_t vtest_en:1; 3268c2ecf20Sopenharmony_ci uint64_t siddq:1; 3278c2ecf20Sopenharmony_ci uint64_t lsbist:1; 3288c2ecf20Sopenharmony_ci uint64_t fsbist:1; 3298c2ecf20Sopenharmony_ci uint64_t hsbist:1; 3308c2ecf20Sopenharmony_ci uint64_t bist_err:1; 3318c2ecf20Sopenharmony_ci uint64_t bist_done:1; 3328c2ecf20Sopenharmony_ci uint64_t reserved_10_63:54; 3338c2ecf20Sopenharmony_ci#endif 3348c2ecf20Sopenharmony_ci } s; 3358c2ecf20Sopenharmony_ci}; 3368c2ecf20Sopenharmony_ci 3378c2ecf20Sopenharmony_ciunion cvmx_uctlx_uphy_portx_ctl_status { 3388c2ecf20Sopenharmony_ci uint64_t u64; 3398c2ecf20Sopenharmony_ci struct cvmx_uctlx_uphy_portx_ctl_status_s { 3408c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 3418c2ecf20Sopenharmony_ci uint64_t reserved_43_63:21; 3428c2ecf20Sopenharmony_ci uint64_t tdata_out:4; 3438c2ecf20Sopenharmony_ci uint64_t txbiststuffenh:1; 3448c2ecf20Sopenharmony_ci uint64_t txbiststuffen:1; 3458c2ecf20Sopenharmony_ci uint64_t dmpulldown:1; 3468c2ecf20Sopenharmony_ci uint64_t dppulldown:1; 3478c2ecf20Sopenharmony_ci uint64_t vbusvldext:1; 3488c2ecf20Sopenharmony_ci uint64_t portreset:1; 3498c2ecf20Sopenharmony_ci uint64_t txhsvxtune:2; 3508c2ecf20Sopenharmony_ci uint64_t txvreftune:4; 3518c2ecf20Sopenharmony_ci uint64_t txrisetune:1; 3528c2ecf20Sopenharmony_ci uint64_t txpreemphasistune:1; 3538c2ecf20Sopenharmony_ci uint64_t txfslstune:4; 3548c2ecf20Sopenharmony_ci uint64_t sqrxtune:3; 3558c2ecf20Sopenharmony_ci uint64_t compdistune:3; 3568c2ecf20Sopenharmony_ci uint64_t loop_en:1; 3578c2ecf20Sopenharmony_ci uint64_t tclk:1; 3588c2ecf20Sopenharmony_ci uint64_t tdata_sel:1; 3598c2ecf20Sopenharmony_ci uint64_t taddr_in:4; 3608c2ecf20Sopenharmony_ci uint64_t tdata_in:8; 3618c2ecf20Sopenharmony_ci#else 3628c2ecf20Sopenharmony_ci uint64_t tdata_in:8; 3638c2ecf20Sopenharmony_ci uint64_t taddr_in:4; 3648c2ecf20Sopenharmony_ci uint64_t tdata_sel:1; 3658c2ecf20Sopenharmony_ci uint64_t tclk:1; 3668c2ecf20Sopenharmony_ci uint64_t loop_en:1; 3678c2ecf20Sopenharmony_ci uint64_t compdistune:3; 3688c2ecf20Sopenharmony_ci uint64_t sqrxtune:3; 3698c2ecf20Sopenharmony_ci uint64_t txfslstune:4; 3708c2ecf20Sopenharmony_ci uint64_t txpreemphasistune:1; 3718c2ecf20Sopenharmony_ci uint64_t txrisetune:1; 3728c2ecf20Sopenharmony_ci uint64_t txvreftune:4; 3738c2ecf20Sopenharmony_ci uint64_t txhsvxtune:2; 3748c2ecf20Sopenharmony_ci uint64_t portreset:1; 3758c2ecf20Sopenharmony_ci uint64_t vbusvldext:1; 3768c2ecf20Sopenharmony_ci uint64_t dppulldown:1; 3778c2ecf20Sopenharmony_ci uint64_t dmpulldown:1; 3788c2ecf20Sopenharmony_ci uint64_t txbiststuffen:1; 3798c2ecf20Sopenharmony_ci uint64_t txbiststuffenh:1; 3808c2ecf20Sopenharmony_ci uint64_t tdata_out:4; 3818c2ecf20Sopenharmony_ci uint64_t reserved_43_63:21; 3828c2ecf20Sopenharmony_ci#endif 3838c2ecf20Sopenharmony_ci } s; 3848c2ecf20Sopenharmony_ci}; 3858c2ecf20Sopenharmony_ci 3868c2ecf20Sopenharmony_ci#endif 387