Home | History | Annotate | Download | only in sn0
      1 /****************************************************************************
      2  ****************************************************************************
      3  ***
      4  ***   This header was automatically generated from a Linux kernel header
      5  ***   of the same name, to make information necessary for userspace to
      6  ***   call into the kernel available to libc.  It contains only constants,
      7  ***   structures, and macros generated from the original header, and thus,
      8  ***   contains no copyrightable information.
      9  ***
     10  ***   To edit the content of this header, modify the corresponding
     11  ***   source file (e.g. under external/kernel-headers/original/) then
     12  ***   run bionic/libc/kernel/tools/update_all.py
     13  ***
     14  ***   Any manual change here will be lost the next time this script will
     15  ***   be run. You've been warned!
     16  ***
     17  ****************************************************************************
     18  ****************************************************************************/
     19 #ifndef _ASM_SN_SN0_HUBPI_H
     20 #define _ASM_SN_SN0_HUBPI_H
     21 #include <linux/types.h>
     22 #define PI_BASE 0x000000
     23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     24 #define PI_CPU_PROTECT 0x000000
     25 #define PI_PROT_OVERRD 0x000008
     26 #define PI_IO_PROTECT 0x000010
     27 #define PI_REGION_PRESENT 0x000018
     28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     29 #define PI_CPU_NUM 0x000020
     30 #define PI_CALIAS_SIZE 0x000028
     31 #define PI_MAX_CRB_TIMEOUT 0x000030
     32 #define PI_CRB_SFACTOR 0x000038
     33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     34 #define PI_CALIAS_SIZE_0 0
     35 #define PI_CALIAS_SIZE_4K 1
     36 #define PI_CALIAS_SIZE_8K 2
     37 #define PI_CALIAS_SIZE_16K 3
     38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     39 #define PI_CALIAS_SIZE_32K 4
     40 #define PI_CALIAS_SIZE_64K 5
     41 #define PI_CALIAS_SIZE_128K 6
     42 #define PI_CALIAS_SIZE_256K 7
     43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     44 #define PI_CALIAS_SIZE_512K 8
     45 #define PI_CALIAS_SIZE_1M 9
     46 #define PI_CALIAS_SIZE_2M 10
     47 #define PI_CALIAS_SIZE_4M 11
     48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     49 #define PI_CALIAS_SIZE_8M 12
     50 #define PI_CALIAS_SIZE_16M 13
     51 #define PI_CALIAS_SIZE_32M 14
     52 #define PI_CALIAS_SIZE_64M 15
     53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     54 #define PI_CPU_PRESENT_A 0x000040
     55 #define PI_CPU_PRESENT_B 0x000048
     56 #define PI_CPU_ENABLE_A 0x000050
     57 #define PI_CPU_ENABLE_B 0x000058
     58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     59 #define PI_REPLY_LEVEL 0x000060
     60 #define PI_HARDRESET_BIT 0x020068
     61 #define PI_NMI_A 0x000070
     62 #define PI_NMI_B 0x000078
     63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     64 #define PI_NMI_OFFSET (PI_NMI_B - PI_NMI_A)
     65 #define PI_SOFTRESET 0x000080
     66 #define PI_INT_PEND_MOD 0x000090
     67 #define PI_INT_PEND0 0x000098
     68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     69 #define PI_INT_PEND1 0x0000a0
     70 #define PI_INT_MASK0_A 0x0000a8
     71 #define PI_INT_MASK1_A 0x0000b0
     72 #define PI_INT_MASK0_B 0x0000b8
     73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     74 #define PI_INT_MASK1_B 0x0000c0
     75 #define PI_INT_MASK_OFFSET 0x10
     76 #define PI_CC_PEND_SET_A 0x0000c8
     77 #define PI_CC_PEND_SET_B 0x0000d0
     78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     79 #define PI_CC_PEND_CLR_A 0x0000d8
     80 #define PI_CC_PEND_CLR_B 0x0000e0
     81 #define PI_CC_MASK 0x0000e8
     82 #define PI_INT_SET_OFFSET 0x08
     83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     84 #define PI_RT_COUNT 0x030100
     85 #define PI_RT_COMPARE_A 0x000108
     86 #define PI_RT_COMPARE_B 0x000110
     87 #define PI_PROFILE_COMPARE 0x000118
     88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     89 #define PI_RT_PEND_A 0x000120
     90 #define PI_RT_PEND_B 0x000128
     91 #define PI_PROF_PEND_A 0x000130
     92 #define PI_PROF_PEND_B 0x000138
     93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     94 #define PI_RT_EN_A 0x000140
     95 #define PI_RT_EN_B 0x000148
     96 #define PI_PROF_EN_A 0x000150
     97 #define PI_PROF_EN_B 0x000158
     98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     99 #define PI_RT_LOCAL_CTRL 0x000160
    100 #define PI_RT_FILTER_CTRL 0x000168
    101 #define PI_COUNT_OFFSET 0x08
    102 #define PI_BIST_WRITE_DATA 0x000200
    103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    104 #define PI_BIST_READ_DATA 0x000208
    105 #define PI_BIST_COUNT_TARG 0x000210
    106 #define PI_BIST_READY 0x000218
    107 #define PI_BIST_SHIFT_LOAD 0x000220
    108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    109 #define PI_BIST_SHIFT_UNLOAD 0x000228
    110 #define PI_BIST_ENTER_RUN 0x000230
    111 #define PI_GFX_PAGE_A 0x000300
    112 #define PI_GFX_CREDIT_CNTR_A 0x000308
    113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    114 #define PI_GFX_BIAS_A 0x000310
    115 #define PI_GFX_INT_CNTR_A 0x000318
    116 #define PI_GFX_INT_CMP_A 0x000320
    117 #define PI_GFX_PAGE_B 0x000328
    118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    119 #define PI_GFX_CREDIT_CNTR_B 0x000330
    120 #define PI_GFX_BIAS_B 0x000338
    121 #define PI_GFX_INT_CNTR_B 0x000340
    122 #define PI_GFX_INT_CMP_B 0x000348
    123 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    124 #define PI_GFX_OFFSET (PI_GFX_PAGE_B - PI_GFX_PAGE_A)
    125 #define PI_GFX_PAGE_ENABLE 0x0000010000000000LL
    126 #define PI_ERR_INT_PEND 0x000400
    127 #define PI_ERR_INT_MASK_A 0x000408
    128 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    129 #define PI_ERR_INT_MASK_B 0x000410
    130 #define PI_ERR_STACK_ADDR_A 0x000418
    131 #define PI_ERR_STACK_ADDR_B 0x000420
    132 #define PI_ERR_STACK_SIZE 0x000428
    133 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    134 #define PI_ERR_STATUS0_A 0x000430
    135 #define PI_ERR_STATUS0_A_RCLR 0x000438
    136 #define PI_ERR_STATUS1_A 0x000440
    137 #define PI_ERR_STATUS1_A_RCLR 0x000448
    138 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    139 #define PI_ERR_STATUS0_B 0x000450
    140 #define PI_ERR_STATUS0_B_RCLR 0x000458
    141 #define PI_ERR_STATUS1_B 0x000460
    142 #define PI_ERR_STATUS1_B_RCLR 0x000468
    143 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    144 #define PI_SPOOL_CMP_A 0x000470
    145 #define PI_SPOOL_CMP_B 0x000478
    146 #define PI_CRB_TIMEOUT_A 0x000480
    147 #define PI_CRB_TIMEOUT_B 0x000488
    148 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    149 #define PI_SYSAD_ERRCHK_EN 0x000490
    150 #define PI_BAD_CHECK_BIT_A 0x000498
    151 #define PI_BAD_CHECK_BIT_B 0x0004a0
    152 #define PI_NACK_CNT_A 0x0004a8
    153 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    154 #define PI_NACK_CNT_B 0x0004b0
    155 #define PI_NACK_CMP 0x0004b8
    156 #define PI_STACKADDR_OFFSET (PI_ERR_STACK_ADDR_B - PI_ERR_STACK_ADDR_A)
    157 #define PI_ERRSTAT_OFFSET (PI_ERR_STATUS0_B - PI_ERR_STATUS0_A)
    158 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    159 #define PI_RDCLR_OFFSET (PI_ERR_STATUS0_A_RCLR - PI_ERR_STATUS0_A)
    160 #define PI_ERR_SPOOL_CMP_B 0x00000001
    161 #define PI_ERR_SPOOL_CMP_A 0x00000002
    162 #define PI_ERR_SPUR_MSG_B 0x00000004
    163 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    164 #define PI_ERR_SPUR_MSG_A 0x00000008
    165 #define PI_ERR_WRB_TERR_B 0x00000010
    166 #define PI_ERR_WRB_TERR_A 0x00000020
    167 #define PI_ERR_WRB_WERR_B 0x00000040
    168 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    169 #define PI_ERR_WRB_WERR_A 0x00000080
    170 #define PI_ERR_SYSSTATE_B 0x00000100
    171 #define PI_ERR_SYSSTATE_A 0x00000200
    172 #define PI_ERR_SYSAD_DATA_B 0x00000400
    173 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    174 #define PI_ERR_SYSAD_DATA_A 0x00000800
    175 #define PI_ERR_SYSAD_ADDR_B 0x00001000
    176 #define PI_ERR_SYSAD_ADDR_A 0x00002000
    177 #define PI_ERR_SYSCMD_DATA_B 0x00004000
    178 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    179 #define PI_ERR_SYSCMD_DATA_A 0x00008000
    180 #define PI_ERR_SYSCMD_ADDR_B 0x00010000
    181 #define PI_ERR_SYSCMD_ADDR_A 0x00020000
    182 #define PI_ERR_BAD_SPOOL_B 0x00040000
    183 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    184 #define PI_ERR_BAD_SPOOL_A 0x00080000
    185 #define PI_ERR_UNCAC_UNCORR_B 0x00100000
    186 #define PI_ERR_UNCAC_UNCORR_A 0x00200000
    187 #define PI_ERR_SYSSTATE_TAG_B 0x00400000
    188 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    189 #define PI_ERR_SYSSTATE_TAG_A 0x00800000
    190 #define PI_ERR_MD_UNCORR 0x01000000
    191 #define PI_ERR_CLEAR_ALL_A 0x00aaaaaa
    192 #define PI_ERR_CLEAR_ALL_B 0x00555555
    193 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    194 #define PI_FATAL_ERR_CPU_A (PI_ERR_SYSSTATE_TAG_A |   PI_ERR_BAD_SPOOL_A |   PI_ERR_SYSCMD_ADDR_A |   PI_ERR_SYSCMD_DATA_A |   PI_ERR_SYSAD_ADDR_A |   PI_ERR_SYSAD_DATA_A |   PI_ERR_SYSSTATE_A)
    195 #define PI_MISC_ERR_CPU_A (PI_ERR_UNCAC_UNCORR_A |   PI_ERR_WRB_WERR_A |   PI_ERR_WRB_TERR_A |   PI_ERR_SPUR_MSG_A |   PI_ERR_SPOOL_CMP_A)
    196 #define PI_FATAL_ERR_CPU_B (PI_ERR_SYSSTATE_TAG_B |   PI_ERR_BAD_SPOOL_B |   PI_ERR_SYSCMD_ADDR_B |   PI_ERR_SYSCMD_DATA_B |   PI_ERR_SYSAD_ADDR_B |   PI_ERR_SYSAD_DATA_B |   PI_ERR_SYSSTATE_B)
    197 #define PI_MISC_ERR_CPU_B (PI_ERR_UNCAC_UNCORR_B |   PI_ERR_WRB_WERR_B |   PI_ERR_WRB_TERR_B |   PI_ERR_SPUR_MSG_B |   PI_ERR_SPOOL_CMP_B)
    198 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    199 #define PI_ERR_GENERIC (PI_ERR_MD_UNCORR)
    200 #define PI_ERR_ST0_TYPE_MASK 0x0000000000000007
    201 #define PI_ERR_ST0_TYPE_SHFT 0
    202 #define PI_ERR_ST0_REQNUM_MASK 0x0000000000000038
    203 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    204 #define PI_ERR_ST0_REQNUM_SHFT 3
    205 #define PI_ERR_ST0_SUPPL_MASK 0x000000000001ffc0
    206 #define PI_ERR_ST0_SUPPL_SHFT 6
    207 #define PI_ERR_ST0_CMD_MASK 0x0000000001fe0000
    208 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    209 #define PI_ERR_ST0_CMD_SHFT 17
    210 #define PI_ERR_ST0_ADDR_MASK 0x3ffffffffe000000
    211 #define PI_ERR_ST0_ADDR_SHFT 25
    212 #define PI_ERR_ST0_OVERRUN_MASK 0x4000000000000000
    213 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    214 #define PI_ERR_ST0_OVERRUN_SHFT 62
    215 #define PI_ERR_ST0_VALID_MASK 0x8000000000000000
    216 #define PI_ERR_ST0_VALID_SHFT 63
    217 #define PI_ERR_ST1_SPOOL_MASK 0x00000000001fffff
    218 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    219 #define PI_ERR_ST1_SPOOL_SHFT 0
    220 #define PI_ERR_ST1_TOUTCNT_MASK 0x000000001fe00000
    221 #define PI_ERR_ST1_TOUTCNT_SHFT 21
    222 #define PI_ERR_ST1_INVCNT_MASK 0x0000007fe0000000
    223 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    224 #define PI_ERR_ST1_INVCNT_SHFT 29
    225 #define PI_ERR_ST1_CRBNUM_MASK 0x0000038000000000
    226 #define PI_ERR_ST1_CRBNUM_SHFT 39
    227 #define PI_ERR_ST1_WRBRRB_MASK 0x0000040000000000
    228 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    229 #define PI_ERR_ST1_WRBRRB_SHFT 42
    230 #define PI_ERR_ST1_CRBSTAT_MASK 0x001ff80000000000
    231 #define PI_ERR_ST1_CRBSTAT_SHFT 43
    232 #define PI_ERR_ST1_MSGSRC_MASK 0xffe0000000000000
    233 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    234 #define PI_ERR_ST1_MSGSRC_SHFT 53
    235 #define PI_ERR_STK_TYPE_MASK 0x0000000000000003
    236 #define PI_ERR_STK_TYPE_SHFT 0
    237 #define PI_ERR_STK_SUPPL_MASK 0x0000000000000038
    238 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    239 #define PI_ERR_STK_SUPPL_SHFT 3
    240 #define PI_ERR_STK_REQNUM_MASK 0x00000000000001c0
    241 #define PI_ERR_STK_REQNUM_SHFT 6
    242 #define PI_ERR_STK_CRBNUM_MASK 0x0000000000000e00
    243 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    244 #define PI_ERR_STK_CRBNUM_SHFT 9
    245 #define PI_ERR_STK_WRBRRB_MASK 0x0000000000001000
    246 #define PI_ERR_STK_WRBRRB_SHFT 12
    247 #define PI_ERR_STK_CRBSTAT_MASK 0x00000000007fe000
    248 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    249 #define PI_ERR_STK_CRBSTAT_SHFT 13
    250 #define PI_ERR_STK_CMD_MASK 0x000000007f800000
    251 #define PI_ERR_STK_CMD_SHFT 23
    252 #define PI_ERR_STK_ADDR_MASK 0xffffffff80000000
    253 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    254 #define PI_ERR_STK_ADDR_SHFT 31
    255 #define PI_ERR_RD_PRERR 1
    256 #define PI_ERR_RD_DERR 2
    257 #define PI_ERR_RD_TERR 3
    258 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    259 #define PI_ERR_WR_WERR 0
    260 #define PI_ERR_WR_PWERR 1
    261 #define PI_ERR_WR_TERR 3
    262 #define PI_ERR_RRB 0
    263 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    264 #define PI_ERR_WRB 1
    265 #define PI_ERR_ANY_CRB 2
    266 #define ERR_STK_ADDR_SHFT 7
    267 #define ERR_STAT0_ADDR_SHFT 3
    268 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    269 #define PI_MIN_STACK_SIZE 4096
    270 #define PI_STACK_SIZE_SHFT 12
    271 #define ERR_STACK_SIZE_BYTES(_sz)   ((_sz) ? (PI_MIN_STACK_SIZE << ((_sz) - 1)) : 0)
    272 #ifndef __ASSEMBLY__
    273 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    274 struct err_stack_format {
    275  u64 sk_addr : 33,
    276  sk_cmd : 8,
    277  sk_crb_sts : 10,
    278 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    279  sk_rw_rb : 1,
    280  sk_crb_num : 3,
    281  sk_t5_req : 3,
    282  sk_suppl : 3,
    283 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    284  sk_err_type: 3;
    285 };
    286 typedef union pi_err_stack {
    287  u64 pi_stk_word;
    288 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    289  struct err_stack_format pi_stk_fmt;
    290 } pi_err_stack_t;
    291 struct err_status0_format {
    292  u64 s0_valid : 1,
    293 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    294  s0_ovr_run : 1,
    295  s0_addr : 37,
    296  s0_cmd : 8,
    297  s0_supl : 11,
    298 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    299  s0_t5_req : 3,
    300  s0_err_type: 3;
    301 };
    302 typedef union pi_err_stat0 {
    303 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    304  u64 pi_stat0_word;
    305  struct err_status0_format pi_stat0_fmt;
    306 } pi_err_stat0_t;
    307 struct err_status1_format {
    308 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    309  u64 s1_src : 11,
    310  s1_crb_sts : 10,
    311  s1_rw_rb : 1,
    312  s1_crb_num : 3,
    313 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    314  s1_inval_cnt:10,
    315  s1_to_cnt : 8,
    316  s1_spl_cnt : 21;
    317 };
    318 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    319 typedef union pi_err_stat1 {
    320  u64 pi_stat1_word;
    321  struct err_status1_format pi_stat1_fmt;
    322 } pi_err_stat1_t;
    323 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    324 typedef u64 rtc_time_t;
    325 #endif
    326 #define PI_SYSAD_ERRCHK_ECCGEN 0x01
    327 #define PI_SYSAD_ERRCHK_QUALGEN 0x02
    328 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    329 #define PI_SYSAD_ERRCHK_SADP 0x04
    330 #define PI_SYSAD_ERRCHK_CMDP 0x08
    331 #define PI_SYSAD_ERRCHK_STATE 0x10
    332 #define PI_SYSAD_ERRCHK_QUAL 0x20
    333 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    334 #define PI_SYSAD_CHECK_ALL 0x3f
    335 #define HUB_IP_PEND0 0x0400
    336 #define HUB_IP_PEND1_CC 0x0800
    337 #define HUB_IP_RT 0x1000
    338 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    339 #define HUB_IP_PROF 0x2000
    340 #define HUB_IP_ERROR 0x4000
    341 #define HUB_IP_MASK 0x7c00
    342 #define PRLC_USE_INT_SHFT 16
    343 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    344 #define PRLC_USE_INT_MASK (UINT64_CAST 1 << 16)
    345 #define PRLC_USE_INT (UINT64_CAST 1 << 16)
    346 #define PRLC_GCLK_SHFT 15
    347 #define PRLC_GCLK_MASK (UINT64_CAST 1 << 15)
    348 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    349 #define PRLC_GCLK (UINT64_CAST 1 << 15)
    350 #define PRLC_GCLK_COUNT_SHFT 8
    351 #define PRLC_GCLK_COUNT_MASK (UINT64_CAST 0x7f << 8)
    352 #define PRLC_MAX_COUNT_SHFT 1
    353 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    354 #define PRLC_MAX_COUNT_MASK (UINT64_CAST 0x7f << 1)
    355 #define PRLC_GCLK_EN_SHFT 0
    356 #define PRLC_GCLK_EN_MASK (UINT64_CAST 1)
    357 #define PRLC_GCLK_EN (UINT64_CAST 1)
    358 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    359 #define PI_NACK_CNT_EN_SHFT 20
    360 #define PI_NACK_CNT_EN_MASK 0x100000
    361 #define PI_NACK_CNT_MASK 0x0fffff
    362 #define PI_NACK_CNT_MAX 0x0fffff
    363 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    364 #endif
    365