Home | History | Annotate | Download | only in sibyte
      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 _SB1250_SCD_H
     20 #define _SB1250_SCD_H
     21 #include "sb1250_defs.h"
     22 #define M_SYS_RESERVED _SB_MAKEMASK(8, 0)
     23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     24 #define S_SYS_REVISION _SB_MAKE64(8)
     25 #define M_SYS_REVISION _SB_MAKEMASK(8, S_SYS_REVISION)
     26 #define V_SYS_REVISION(x) _SB_MAKEVALUE(x, S_SYS_REVISION)
     27 #define G_SYS_REVISION(x) _SB_GETVALUE(x, S_SYS_REVISION, M_SYS_REVISION)
     28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     29 #define K_SYS_REVISION_BCM1250_PASS1 0x01
     30 #define K_SYS_REVISION_BCM1250_PASS2 0x03
     31 #define K_SYS_REVISION_BCM1250_A1 0x03
     32 #define K_SYS_REVISION_BCM1250_A2 0x04
     33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     34 #define K_SYS_REVISION_BCM1250_A3 0x05
     35 #define K_SYS_REVISION_BCM1250_A4 0x06
     36 #define K_SYS_REVISION_BCM1250_A6 0x07
     37 #define K_SYS_REVISION_BCM1250_A8 0x0b
     38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     39 #define K_SYS_REVISION_BCM1250_A9 0x08
     40 #define K_SYS_REVISION_BCM1250_A10 K_SYS_REVISION_BCM1250_A8
     41 #define K_SYS_REVISION_BCM1250_PASS2_2 0x10
     42 #define K_SYS_REVISION_BCM1250_B0 K_SYS_REVISION_BCM1250_B1
     43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     44 #define K_SYS_REVISION_BCM1250_B1 0x10
     45 #define K_SYS_REVISION_BCM1250_B2 0x11
     46 #define K_SYS_REVISION_BCM1250_C0 0x20
     47 #define K_SYS_REVISION_BCM1250_C1 0x21
     48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     49 #define K_SYS_REVISION_BCM1250_C2 0x22
     50 #define K_SYS_REVISION_BCM1250_C3 0x23
     51 #if ???
     52 #define K_SYS_REVISION_PASS1 K_SYS_REVISION_BCM1250_PASS1
     53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     54 #define K_SYS_REVISION_PASS2 K_SYS_REVISION_BCM1250_PASS2
     55 #define K_SYS_REVISION_PASS2_2 K_SYS_REVISION_BCM1250_PASS2_2
     56 #define K_SYS_REVISION_PASS3 K_SYS_REVISION_BCM1250_PASS3
     57 #define K_SYS_REVISION_BCM1250_PASS3 K_SYS_REVISION_BCM1250_C0
     58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     59 #endif
     60 #define K_SYS_REVISION_BCM112x_A1 0x20
     61 #define K_SYS_REVISION_BCM112x_A2 0x21
     62 #define K_SYS_REVISION_BCM112x_A3 0x22
     63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     64 #define K_SYS_REVISION_BCM112x_A4 0x23
     65 #define K_SYS_REVISION_BCM112x_B0 0x30
     66 #define K_SYS_REVISION_BCM1480_S0 0x01
     67 #define K_SYS_REVISION_BCM1480_A1 0x02
     68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     69 #define K_SYS_REVISION_BCM1480_A2 0x03
     70 #define K_SYS_REVISION_BCM1480_A3 0x04
     71 #define K_SYS_REVISION_BCM1480_B0 0x11
     72 #define S_SYS_L2C_SIZE _SB_MAKE64(20)
     73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     74 #define M_SYS_L2C_SIZE _SB_MAKEMASK(4, S_SYS_L2C_SIZE)
     75 #define V_SYS_L2C_SIZE(x) _SB_MAKEVALUE(x, S_SYS_L2C_SIZE)
     76 #define G_SYS_L2C_SIZE(x) _SB_GETVALUE(x, S_SYS_L2C_SIZE, M_SYS_L2C_SIZE)
     77 #define K_SYS_L2C_SIZE_1MB 0
     78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     79 #define K_SYS_L2C_SIZE_512KB 5
     80 #define K_SYS_L2C_SIZE_256KB 2
     81 #define K_SYS_L2C_SIZE_128KB 1
     82 #define K_SYS_L2C_SIZE_BCM1250 K_SYS_L2C_SIZE_512KB
     83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     84 #define K_SYS_L2C_SIZE_BCM1125 K_SYS_L2C_SIZE_256KB
     85 #define K_SYS_L2C_SIZE_BCM1122 K_SYS_L2C_SIZE_128KB
     86 #define S_SYS_NUM_CPUS _SB_MAKE64(24)
     87 #define M_SYS_NUM_CPUS _SB_MAKEMASK(4, S_SYS_NUM_CPUS)
     88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     89 #define V_SYS_NUM_CPUS(x) _SB_MAKEVALUE(x, S_SYS_NUM_CPUS)
     90 #define G_SYS_NUM_CPUS(x) _SB_GETVALUE(x, S_SYS_NUM_CPUS, M_SYS_NUM_CPUS)
     91 #define S_SYS_PART _SB_MAKE64(16)
     92 #define M_SYS_PART _SB_MAKEMASK(16, S_SYS_PART)
     93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     94 #define V_SYS_PART(x) _SB_MAKEVALUE(x, S_SYS_PART)
     95 #define G_SYS_PART(x) _SB_GETVALUE(x, S_SYS_PART, M_SYS_PART)
     96 #define K_SYS_PART_SB1250 0x1250
     97 #define K_SYS_PART_BCM1120 0x1121
     98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     99 #define K_SYS_PART_BCM1125 0x1123
    100 #define K_SYS_PART_BCM1125H 0x1124
    101 #define K_SYS_PART_BCM1122 0x1113
    102 #define S_SYS_SOC_TYPE _SB_MAKE64(16)
    103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    104 #define M_SYS_SOC_TYPE _SB_MAKEMASK(4, S_SYS_SOC_TYPE)
    105 #define V_SYS_SOC_TYPE(x) _SB_MAKEVALUE(x, S_SYS_SOC_TYPE)
    106 #define G_SYS_SOC_TYPE(x) _SB_GETVALUE(x, S_SYS_SOC_TYPE, M_SYS_SOC_TYPE)
    107 #define K_SYS_SOC_TYPE_BCM1250 0x0
    108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    109 #define K_SYS_SOC_TYPE_BCM1120 0x1
    110 #define K_SYS_SOC_TYPE_BCM1250_ALT 0x2
    111 #define K_SYS_SOC_TYPE_BCM1125 0x3
    112 #define K_SYS_SOC_TYPE_BCM1125H 0x4
    113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    114 #define K_SYS_SOC_TYPE_BCM1250_ALT2 0x5
    115 #define K_SYS_SOC_TYPE_BCM1x80 0x6
    116 #define K_SYS_SOC_TYPE_BCM1x55 0x7
    117 #ifdef __ASSEMBLER__
    118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    119 #define SYS_SOC_TYPE(dest, sysrev)   .set push ;   .set reorder ;   dsrl dest, sysrev, S_SYS_SOC_TYPE ;   andi dest, dest, (M_SYS_SOC_TYPE >> S_SYS_SOC_TYPE);   beq dest, K_SYS_SOC_TYPE_BCM1250_ALT, 991f ;   beq dest, K_SYS_SOC_TYPE_BCM1250_ALT2, 991f ;   b 992f ;  991: li dest, K_SYS_SOC_TYPE_BCM1250 ;  992:   .set pop
    120 #else
    121 #define SYS_SOC_TYPE(sysrev)   ((G_SYS_SOC_TYPE(sysrev) == K_SYS_SOC_TYPE_BCM1250_ALT   || G_SYS_SOC_TYPE(sysrev) == K_SYS_SOC_TYPE_BCM1250_ALT2)   ? K_SYS_SOC_TYPE_BCM1250 : G_SYS_SOC_TYPE(sysrev))
    122 #endif
    123 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    124 #define S_SYS_WID _SB_MAKE64(32)
    125 #define M_SYS_WID _SB_MAKEMASK(32, S_SYS_WID)
    126 #define V_SYS_WID(x) _SB_MAKEVALUE(x, S_SYS_WID)
    127 #define G_SYS_WID(x) _SB_GETVALUE(x, S_SYS_WID, M_SYS_WID)
    128 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    129 #if SIBYTE_HDR_FEATURE_1250_112x
    130 #define S_SYS_WAFERID1_200 _SB_MAKE64(0)
    131 #define M_SYS_WAFERID1_200 _SB_MAKEMASK(32, S_SYS_WAFERID1_200)
    132 #define V_SYS_WAFERID1_200(x) _SB_MAKEVALUE(x, S_SYS_WAFERID1_200)
    133 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    134 #define G_SYS_WAFERID1_200(x) _SB_GETVALUE(x, S_SYS_WAFERID1_200, M_SYS_WAFERID1_200)
    135 #define S_SYS_BIN _SB_MAKE64(32)
    136 #define M_SYS_BIN _SB_MAKEMASK(4, S_SYS_BIN)
    137 #define V_SYS_BIN(x) _SB_MAKEVALUE(x, S_SYS_BIN)
    138 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    139 #define G_SYS_BIN(x) _SB_GETVALUE(x, S_SYS_BIN, M_SYS_BIN)
    140 #define S_SYS_WAFERID2_200 _SB_MAKE64(36)
    141 #define M_SYS_WAFERID2_200 _SB_MAKEMASK(4, S_SYS_WAFERID2_200)
    142 #define V_SYS_WAFERID2_200(x) _SB_MAKEVALUE(x, S_SYS_WAFERID2_200)
    143 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    144 #define G_SYS_WAFERID2_200(x) _SB_GETVALUE(x, S_SYS_WAFERID2_200, M_SYS_WAFERID2_200)
    145 #define S_SYS_WAFERID_300 _SB_MAKE64(0)
    146 #define M_SYS_WAFERID_300 _SB_MAKEMASK(40, S_SYS_WAFERID_300)
    147 #define V_SYS_WAFERID_300(x) _SB_MAKEVALUE(x, S_SYS_WAFERID_300)
    148 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    149 #define G_SYS_WAFERID_300(x) _SB_GETVALUE(x, S_SYS_WAFERID_300, M_SYS_WAFERID_300)
    150 #define S_SYS_XPOS _SB_MAKE64(40)
    151 #define M_SYS_XPOS _SB_MAKEMASK(6, S_SYS_XPOS)
    152 #define V_SYS_XPOS(x) _SB_MAKEVALUE(x, S_SYS_XPOS)
    153 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    154 #define G_SYS_XPOS(x) _SB_GETVALUE(x, S_SYS_XPOS, M_SYS_XPOS)
    155 #define S_SYS_YPOS _SB_MAKE64(46)
    156 #define M_SYS_YPOS _SB_MAKEMASK(6, S_SYS_YPOS)
    157 #define V_SYS_YPOS(x) _SB_MAKEVALUE(x, S_SYS_YPOS)
    158 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    159 #define G_SYS_YPOS(x) _SB_GETVALUE(x, S_SYS_YPOS, M_SYS_YPOS)
    160 #endif
    161 #if SIBYTE_HDR_FEATURE_1250_112x
    162 #define M_SYS_LDT_PLL_BYP _SB_MAKEMASK1(3)
    163 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    164 #define M_SYS_PCI_SYNC_TEST_MODE _SB_MAKEMASK1(4)
    165 #define M_SYS_IOB0_DIV _SB_MAKEMASK1(5)
    166 #define M_SYS_IOB1_DIV _SB_MAKEMASK1(6)
    167 #define S_SYS_PLL_DIV _SB_MAKE64(7)
    168 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    169 #define M_SYS_PLL_DIV _SB_MAKEMASK(5, S_SYS_PLL_DIV)
    170 #define V_SYS_PLL_DIV(x) _SB_MAKEVALUE(x, S_SYS_PLL_DIV)
    171 #define G_SYS_PLL_DIV(x) _SB_GETVALUE(x, S_SYS_PLL_DIV, M_SYS_PLL_DIV)
    172 #define M_SYS_SER0_ENABLE _SB_MAKEMASK1(12)
    173 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    174 #define M_SYS_SER0_RSTB_EN _SB_MAKEMASK1(13)
    175 #define M_SYS_SER1_ENABLE _SB_MAKEMASK1(14)
    176 #define M_SYS_SER1_RSTB_EN _SB_MAKEMASK1(15)
    177 #define M_SYS_PCMCIA_ENABLE _SB_MAKEMASK1(16)
    178 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    179 #define S_SYS_BOOT_MODE _SB_MAKE64(17)
    180 #define M_SYS_BOOT_MODE _SB_MAKEMASK(2, S_SYS_BOOT_MODE)
    181 #define V_SYS_BOOT_MODE(x) _SB_MAKEVALUE(x, S_SYS_BOOT_MODE)
    182 #define G_SYS_BOOT_MODE(x) _SB_GETVALUE(x, S_SYS_BOOT_MODE, M_SYS_BOOT_MODE)
    183 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    184 #define K_SYS_BOOT_MODE_ROM32 0
    185 #define K_SYS_BOOT_MODE_ROM8 1
    186 #define K_SYS_BOOT_MODE_SMBUS_SMALL 2
    187 #define K_SYS_BOOT_MODE_SMBUS_BIG 3
    188 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    189 #define M_SYS_PCI_HOST _SB_MAKEMASK1(19)
    190 #define M_SYS_PCI_ARBITER _SB_MAKEMASK1(20)
    191 #define M_SYS_SOUTH_ON_LDT _SB_MAKEMASK1(21)
    192 #define M_SYS_BIG_ENDIAN _SB_MAKEMASK1(22)
    193 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    194 #define M_SYS_GENCLK_EN _SB_MAKEMASK1(23)
    195 #define M_SYS_LDT_TEST_EN _SB_MAKEMASK1(24)
    196 #define M_SYS_GEN_PARITY_EN _SB_MAKEMASK1(25)
    197 #define S_SYS_CONFIG 26
    198 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    199 #define M_SYS_CONFIG _SB_MAKEMASK(6, S_SYS_CONFIG)
    200 #define V_SYS_CONFIG(x) _SB_MAKEVALUE(x, S_SYS_CONFIG)
    201 #define G_SYS_CONFIG(x) _SB_GETVALUE(x, S_SYS_CONFIG, M_SYS_CONFIG)
    202 #define M_SYS_CLKSTOP _SB_MAKEMASK1(32)
    203 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    204 #define M_SYS_CLKSTEP _SB_MAKEMASK1(33)
    205 #define S_SYS_CLKCOUNT 34
    206 #define M_SYS_CLKCOUNT _SB_MAKEMASK(8, S_SYS_CLKCOUNT)
    207 #define V_SYS_CLKCOUNT(x) _SB_MAKEVALUE(x, S_SYS_CLKCOUNT)
    208 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    209 #define G_SYS_CLKCOUNT(x) _SB_GETVALUE(x, S_SYS_CLKCOUNT, M_SYS_CLKCOUNT)
    210 #define M_SYS_PLL_BYPASS _SB_MAKEMASK1(42)
    211 #define S_SYS_PLL_IREF 43
    212 #define M_SYS_PLL_IREF _SB_MAKEMASK(2, S_SYS_PLL_IREF)
    213 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    214 #define S_SYS_PLL_VCO 45
    215 #define M_SYS_PLL_VCO _SB_MAKEMASK(2, S_SYS_PLL_VCO)
    216 #define S_SYS_PLL_VREG 47
    217 #define M_SYS_PLL_VREG _SB_MAKEMASK(2, S_SYS_PLL_VREG)
    218 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    219 #define M_SYS_MEM_RESET _SB_MAKEMASK1(49)
    220 #define M_SYS_L2C_RESET _SB_MAKEMASK1(50)
    221 #define M_SYS_IO_RESET_0 _SB_MAKEMASK1(51)
    222 #define M_SYS_IO_RESET_1 _SB_MAKEMASK1(52)
    223 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    224 #define M_SYS_SCD_RESET _SB_MAKEMASK1(53)
    225 #define M_SYS_CPU_RESET_0 _SB_MAKEMASK1(54)
    226 #define M_SYS_CPU_RESET_1 _SB_MAKEMASK1(55)
    227 #define M_SYS_UNICPU0 _SB_MAKEMASK1(56)
    228 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    229 #define M_SYS_UNICPU1 _SB_MAKEMASK1(57)
    230 #define M_SYS_SB_SOFTRES _SB_MAKEMASK1(58)
    231 #define M_SYS_EXT_RESET _SB_MAKEMASK1(59)
    232 #define M_SYS_SYSTEM_RESET _SB_MAKEMASK1(60)
    233 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    234 #define M_SYS_MISR_MODE _SB_MAKEMASK1(61)
    235 #define M_SYS_MISR_RESET _SB_MAKEMASK1(62)
    236 #if ??? || ???
    237 #define M_SYS_SW_FLAG _SB_MAKEMASK1(63)
    238 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    239 #endif
    240 #endif
    241 #define S_MBOX_INT_3 0
    242 #define M_MBOX_INT_3 _SB_MAKEMASK(16, S_MBOX_INT_3)
    243 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    244 #define S_MBOX_INT_2 16
    245 #define M_MBOX_INT_2 _SB_MAKEMASK(16, S_MBOX_INT_2)
    246 #define S_MBOX_INT_1 32
    247 #define M_MBOX_INT_1 _SB_MAKEMASK(16, S_MBOX_INT_1)
    248 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    249 #define S_MBOX_INT_0 48
    250 #define M_MBOX_INT_0 _SB_MAKEMASK(16, S_MBOX_INT_0)
    251 #define V_SCD_WDOG_FREQ 1000000
    252 #define S_SCD_WDOG_INIT 0
    253 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    254 #define M_SCD_WDOG_INIT _SB_MAKEMASK(23, S_SCD_WDOG_INIT)
    255 #define S_SCD_WDOG_CNT 0
    256 #define M_SCD_WDOG_CNT _SB_MAKEMASK(23, S_SCD_WDOG_CNT)
    257 #define S_SCD_WDOG_ENABLE 0
    258 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    259 #define M_SCD_WDOG_ENABLE _SB_MAKEMASK1(S_SCD_WDOG_ENABLE)
    260 #define S_SCD_WDOG_RESET_TYPE 2
    261 #define M_SCD_WDOG_RESET_TYPE _SB_MAKEMASK(3, S_SCD_WDOG_RESET_TYPE)
    262 #define V_SCD_WDOG_RESET_TYPE(x) _SB_MAKEVALUE(x, S_SCD_WDOG_RESET_TYPE)
    263 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    264 #define G_SCD_WDOG_RESET_TYPE(x) _SB_GETVALUE(x, S_SCD_WDOG_RESET_TYPE, M_SCD_WDOG_RESET_TYPE)
    265 #define K_SCD_WDOG_RESET_FULL 0
    266 #define K_SCD_WDOG_RESET_SOFT 1
    267 #define K_SCD_WDOG_RESET_CPU0 3
    268 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    269 #define K_SCD_WDOG_RESET_CPU1 5
    270 #define K_SCD_WDOG_RESET_BOTH_CPUS 7
    271 #if ???
    272 #define S_SCD_WDOG_HAS_RESET 8
    273 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    274 #define M_SCD_WDOG_HAS_RESET _SB_MAKEMASK1(S_SCD_WDOG_HAS_RESET)
    275 #endif
    276 #define V_SCD_TIMER_FREQ 1000000
    277 #define S_SCD_TIMER_INIT 0
    278 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    279 #define M_SCD_TIMER_INIT _SB_MAKEMASK(23, S_SCD_TIMER_INIT)
    280 #define V_SCD_TIMER_INIT(x) _SB_MAKEVALUE(x, S_SCD_TIMER_INIT)
    281 #define G_SCD_TIMER_INIT(x) _SB_GETVALUE(x, S_SCD_TIMER_INIT, M_SCD_TIMER_INIT)
    282 #define V_SCD_TIMER_WIDTH 23
    283 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    284 #define S_SCD_TIMER_CNT 0
    285 #define M_SCD_TIMER_CNT _SB_MAKEMASK(V_SCD_TIMER_WIDTH, S_SCD_TIMER_CNT)
    286 #define V_SCD_TIMER_CNT(x) _SB_MAKEVALUE(x, S_SCD_TIMER_CNT)
    287 #define G_SCD_TIMER_CNT(x) _SB_GETVALUE(x, S_SCD_TIMER_CNT, M_SCD_TIMER_CNT)
    288 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    289 #define M_SCD_TIMER_ENABLE _SB_MAKEMASK1(0)
    290 #define M_SCD_TIMER_MODE _SB_MAKEMASK1(1)
    291 #define M_SCD_TIMER_MODE_CONTINUOUS M_SCD_TIMER_MODE
    292 #define S_SPC_CFG_SRC0 0
    293 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    294 #define M_SPC_CFG_SRC0 _SB_MAKEMASK(8, S_SPC_CFG_SRC0)
    295 #define V_SPC_CFG_SRC0(x) _SB_MAKEVALUE(x, S_SPC_CFG_SRC0)
    296 #define G_SPC_CFG_SRC0(x) _SB_GETVALUE(x, S_SPC_CFG_SRC0, M_SPC_CFG_SRC0)
    297 #define S_SPC_CFG_SRC1 8
    298 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    299 #define M_SPC_CFG_SRC1 _SB_MAKEMASK(8, S_SPC_CFG_SRC1)
    300 #define V_SPC_CFG_SRC1(x) _SB_MAKEVALUE(x, S_SPC_CFG_SRC1)
    301 #define G_SPC_CFG_SRC1(x) _SB_GETVALUE(x, S_SPC_CFG_SRC1, M_SPC_CFG_SRC1)
    302 #define S_SPC_CFG_SRC2 16
    303 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    304 #define M_SPC_CFG_SRC2 _SB_MAKEMASK(8, S_SPC_CFG_SRC2)
    305 #define V_SPC_CFG_SRC2(x) _SB_MAKEVALUE(x, S_SPC_CFG_SRC2)
    306 #define G_SPC_CFG_SRC2(x) _SB_GETVALUE(x, S_SPC_CFG_SRC2, M_SPC_CFG_SRC2)
    307 #define S_SPC_CFG_SRC3 24
    308 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    309 #define M_SPC_CFG_SRC3 _SB_MAKEMASK(8, S_SPC_CFG_SRC3)
    310 #define V_SPC_CFG_SRC3(x) _SB_MAKEVALUE(x, S_SPC_CFG_SRC3)
    311 #define G_SPC_CFG_SRC3(x) _SB_GETVALUE(x, S_SPC_CFG_SRC3, M_SPC_CFG_SRC3)
    312 #if SIBYTE_HDR_FEATURE_1250_112x
    313 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    314 #define M_SPC_CFG_CLEAR _SB_MAKEMASK1(32)
    315 #define M_SPC_CFG_ENABLE _SB_MAKEMASK1(33)
    316 #endif
    317 #define S_SCD_BERR_TID 8
    318 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    319 #define M_SCD_BERR_TID _SB_MAKEMASK(10, S_SCD_BERR_TID)
    320 #define V_SCD_BERR_TID(x) _SB_MAKEVALUE(x, S_SCD_BERR_TID)
    321 #define G_SCD_BERR_TID(x) _SB_GETVALUE(x, S_SCD_BERR_TID, M_SCD_BERR_TID)
    322 #define S_SCD_BERR_RID 18
    323 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    324 #define M_SCD_BERR_RID _SB_MAKEMASK(4, S_SCD_BERR_RID)
    325 #define V_SCD_BERR_RID(x) _SB_MAKEVALUE(x, S_SCD_BERR_RID)
    326 #define G_SCD_BERR_RID(x) _SB_GETVALUE(x, S_SCD_BERR_RID, M_SCD_BERR_RID)
    327 #define S_SCD_BERR_DCODE 22
    328 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    329 #define M_SCD_BERR_DCODE _SB_MAKEMASK(3, S_SCD_BERR_DCODE)
    330 #define V_SCD_BERR_DCODE(x) _SB_MAKEVALUE(x, S_SCD_BERR_DCODE)
    331 #define G_SCD_BERR_DCODE(x) _SB_GETVALUE(x, S_SCD_BERR_DCODE, M_SCD_BERR_DCODE)
    332 #define M_SCD_BERR_MULTERRS _SB_MAKEMASK1(30)
    333 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    334 #define S_SCD_L2ECC_CORR_D 0
    335 #define M_SCD_L2ECC_CORR_D _SB_MAKEMASK(8, S_SCD_L2ECC_CORR_D)
    336 #define V_SCD_L2ECC_CORR_D(x) _SB_MAKEVALUE(x, S_SCD_L2ECC_CORR_D)
    337 #define G_SCD_L2ECC_CORR_D(x) _SB_GETVALUE(x, S_SCD_L2ECC_CORR_D, M_SCD_L2ECC_CORR_D)
    338 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    339 #define S_SCD_L2ECC_BAD_D 8
    340 #define M_SCD_L2ECC_BAD_D _SB_MAKEMASK(8, S_SCD_L2ECC_BAD_D)
    341 #define V_SCD_L2ECC_BAD_D(x) _SB_MAKEVALUE(x, S_SCD_L2ECC_BAD_D)
    342 #define G_SCD_L2ECC_BAD_D(x) _SB_GETVALUE(x, S_SCD_L2ECC_BAD_D, M_SCD_L2ECC_BAD_D)
    343 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    344 #define S_SCD_L2ECC_CORR_T 16
    345 #define M_SCD_L2ECC_CORR_T _SB_MAKEMASK(8, S_SCD_L2ECC_CORR_T)
    346 #define V_SCD_L2ECC_CORR_T(x) _SB_MAKEVALUE(x, S_SCD_L2ECC_CORR_T)
    347 #define G_SCD_L2ECC_CORR_T(x) _SB_GETVALUE(x, S_SCD_L2ECC_CORR_T, M_SCD_L2ECC_CORR_T)
    348 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    349 #define S_SCD_L2ECC_BAD_T 24
    350 #define M_SCD_L2ECC_BAD_T _SB_MAKEMASK(8, S_SCD_L2ECC_BAD_T)
    351 #define V_SCD_L2ECC_BAD_T(x) _SB_MAKEVALUE(x, S_SCD_L2ECC_BAD_T)
    352 #define G_SCD_L2ECC_BAD_T(x) _SB_GETVALUE(x, S_SCD_L2ECC_BAD_T, M_SCD_L2ECC_BAD_T)
    353 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    354 #define S_SCD_MEM_ECC_CORR 0
    355 #define M_SCD_MEM_ECC_CORR _SB_MAKEMASK(8, S_SCD_MEM_ECC_CORR)
    356 #define V_SCD_MEM_ECC_CORR(x) _SB_MAKEVALUE(x, S_SCD_MEM_ECC_CORR)
    357 #define G_SCD_MEM_ECC_CORR(x) _SB_GETVALUE(x, S_SCD_MEM_ECC_CORR, M_SCD_MEM_ECC_CORR)
    358 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    359 #define S_SCD_MEM_ECC_BAD 8
    360 #define M_SCD_MEM_ECC_BAD _SB_MAKEMASK(8, S_SCD_MEM_ECC_BAD)
    361 #define V_SCD_MEM_ECC_BAD(x) _SB_MAKEVALUE(x, S_SCD_MEM_ECC_BAD)
    362 #define G_SCD_MEM_ECC_BAD(x) _SB_GETVALUE(x, S_SCD_MEM_ECC_BAD, M_SCD_MEM_ECC_BAD)
    363 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    364 #define S_SCD_MEM_BUSERR 16
    365 #define M_SCD_MEM_BUSERR _SB_MAKEMASK(8, S_SCD_MEM_BUSERR)
    366 #define V_SCD_MEM_BUSERR(x) _SB_MAKEVALUE(x, S_SCD_MEM_BUSERR)
    367 #define G_SCD_MEM_BUSERR(x) _SB_GETVALUE(x, S_SCD_MEM_BUSERR, M_SCD_MEM_BUSERR)
    368 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    369 #if SIBYTE_HDR_FEATURE_1250_112x
    370 #define M_ATRAP_INDEX _SB_MAKEMASK(4, 0)
    371 #define M_ATRAP_ADDRESS _SB_MAKEMASK(40, 0)
    372 #define S_ATRAP_CFG_CNT 0
    373 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    374 #define M_ATRAP_CFG_CNT _SB_MAKEMASK(3, S_ATRAP_CFG_CNT)
    375 #define V_ATRAP_CFG_CNT(x) _SB_MAKEVALUE(x, S_ATRAP_CFG_CNT)
    376 #define G_ATRAP_CFG_CNT(x) _SB_GETVALUE(x, S_ATRAP_CFG_CNT, M_ATRAP_CFG_CNT)
    377 #define M_ATRAP_CFG_WRITE _SB_MAKEMASK1(3)
    378 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    379 #define M_ATRAP_CFG_ALL _SB_MAKEMASK1(4)
    380 #define M_ATRAP_CFG_INV _SB_MAKEMASK1(5)
    381 #define M_ATRAP_CFG_USESRC _SB_MAKEMASK1(6)
    382 #define M_ATRAP_CFG_SRCINV _SB_MAKEMASK1(7)
    383 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    384 #define S_ATRAP_CFG_AGENTID 8
    385 #define M_ATRAP_CFG_AGENTID _SB_MAKEMASK(4, S_ATRAP_CFG_AGENTID)
    386 #define V_ATRAP_CFG_AGENTID(x) _SB_MAKEVALUE(x, S_ATRAP_CFG_AGENTID)
    387 #define G_ATRAP_CFG_AGENTID(x) _SB_GETVALUE(x, S_ATRAP_CFG_AGENTID, M_ATRAP_CFG_AGENTID)
    388 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    389 #define K_BUS_AGENT_CPU0 0
    390 #define K_BUS_AGENT_CPU1 1
    391 #define K_BUS_AGENT_IOB0 2
    392 #define K_BUS_AGENT_IOB1 3
    393 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    394 #define K_BUS_AGENT_SCD 4
    395 #define K_BUS_AGENT_L2C 6
    396 #define K_BUS_AGENT_MC 7
    397 #define S_ATRAP_CFG_CATTR 12
    398 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    399 #define M_ATRAP_CFG_CATTR _SB_MAKEMASK(3, S_ATRAP_CFG_CATTR)
    400 #define V_ATRAP_CFG_CATTR(x) _SB_MAKEVALUE(x, S_ATRAP_CFG_CATTR)
    401 #define G_ATRAP_CFG_CATTR(x) _SB_GETVALUE(x, S_ATRAP_CFG_CATTR, M_ATRAP_CFG_CATTR)
    402 #define K_ATRAP_CFG_CATTR_IGNORE 0
    403 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    404 #define K_ATRAP_CFG_CATTR_UNC 1
    405 #define K_ATRAP_CFG_CATTR_CACHEABLE 2
    406 #define K_ATRAP_CFG_CATTR_NONCOH 3
    407 #define K_ATRAP_CFG_CATTR_COHERENT 4
    408 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    409 #define K_ATRAP_CFG_CATTR_NOTUNC 5
    410 #define K_ATRAP_CFG_CATTR_NOTNONCOH 6
    411 #define K_ATRAP_CFG_CATTR_NOTCOHERENT 7
    412 #endif
    413 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    414 #define M_SCD_TRACE_CFG_RESET _SB_MAKEMASK1(0)
    415 #define M_SCD_TRACE_CFG_START_READ _SB_MAKEMASK1(1)
    416 #define M_SCD_TRACE_CFG_START _SB_MAKEMASK1(2)
    417 #define M_SCD_TRACE_CFG_STOP _SB_MAKEMASK1(3)
    418 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    419 #define M_SCD_TRACE_CFG_FREEZE _SB_MAKEMASK1(4)
    420 #define M_SCD_TRACE_CFG_FREEZE_FULL _SB_MAKEMASK1(5)
    421 #define M_SCD_TRACE_CFG_DEBUG_FULL _SB_MAKEMASK1(6)
    422 #define M_SCD_TRACE_CFG_FULL _SB_MAKEMASK1(7)
    423 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    424 #if ??? || ??? || ???
    425 #define M_SCD_TRACE_CFG_FORCECNT _SB_MAKEMASK1(8)
    426 #endif
    427 #if SIBYTE_HDR_FEATURE_1250_112x
    428 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    429 #define S_SCD_TRACE_CFG_CUR_ADDR 10
    430 #else
    431 #if ???
    432 #define S_SCD_TRACE_CFG_CUR_ADDR 24
    433 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    434 #endif
    435 #endif
    436 #define M_SCD_TRACE_CFG_CUR_ADDR _SB_MAKEMASK(8, S_SCD_TRACE_CFG_CUR_ADDR)
    437 #define V_SCD_TRACE_CFG_CUR_ADDR(x) _SB_MAKEVALUE(x, S_SCD_TRACE_CFG_CUR_ADDR)
    438 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    439 #define G_SCD_TRACE_CFG_CUR_ADDR(x) _SB_GETVALUE(x, S_SCD_TRACE_CFG_CUR_ADDR, M_SCD_TRACE_CFG_CUR_ADDR)
    440 #define S_SCD_TREVT_ADDR_MATCH 0
    441 #define M_SCD_TREVT_ADDR_MATCH _SB_MAKEMASK(4, S_SCD_TREVT_ADDR_MATCH)
    442 #define V_SCD_TREVT_ADDR_MATCH(x) _SB_MAKEVALUE(x, S_SCD_TREVT_ADDR_MATCH)
    443 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    444 #define G_SCD_TREVT_ADDR_MATCH(x) _SB_GETVALUE(x, S_SCD_TREVT_ADDR_MATCH, M_SCD_TREVT_ADDR_MATCH)
    445 #define M_SCD_TREVT_REQID_MATCH _SB_MAKEMASK1(4)
    446 #define M_SCD_TREVT_DATAID_MATCH _SB_MAKEMASK1(5)
    447 #define M_SCD_TREVT_RESPID_MATCH _SB_MAKEMASK1(6)
    448 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    449 #define M_SCD_TREVT_INTERRUPT _SB_MAKEMASK1(7)
    450 #define M_SCD_TREVT_DEBUG_PIN _SB_MAKEMASK1(9)
    451 #define M_SCD_TREVT_WRITE _SB_MAKEMASK1(10)
    452 #define M_SCD_TREVT_READ _SB_MAKEMASK1(11)
    453 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    454 #define S_SCD_TREVT_REQID 12
    455 #define M_SCD_TREVT_REQID _SB_MAKEMASK(4, S_SCD_TREVT_REQID)
    456 #define V_SCD_TREVT_REQID(x) _SB_MAKEVALUE(x, S_SCD_TREVT_REQID)
    457 #define G_SCD_TREVT_REQID(x) _SB_GETVALUE(x, S_SCD_TREVT_REQID, M_SCD_TREVT_REQID)
    458 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    459 #define S_SCD_TREVT_RESPID 16
    460 #define M_SCD_TREVT_RESPID _SB_MAKEMASK(4, S_SCD_TREVT_RESPID)
    461 #define V_SCD_TREVT_RESPID(x) _SB_MAKEVALUE(x, S_SCD_TREVT_RESPID)
    462 #define G_SCD_TREVT_RESPID(x) _SB_GETVALUE(x, S_SCD_TREVT_RESPID, M_SCD_TREVT_RESPID)
    463 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    464 #define S_SCD_TREVT_DATAID 20
    465 #define M_SCD_TREVT_DATAID _SB_MAKEMASK(4, S_SCD_TREVT_DATAID)
    466 #define V_SCD_TREVT_DATAID(x) _SB_MAKEVALUE(x, S_SCD_TREVT_DATAID)
    467 #define G_SCD_TREVT_DATAID(x) _SB_GETVALUE(x, S_SCD_TREVT_DATAID, M_SCD_TREVT_DATID)
    468 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    469 #define S_SCD_TREVT_COUNT 24
    470 #define M_SCD_TREVT_COUNT _SB_MAKEMASK(8, S_SCD_TREVT_COUNT)
    471 #define V_SCD_TREVT_COUNT(x) _SB_MAKEVALUE(x, S_SCD_TREVT_COUNT)
    472 #define G_SCD_TREVT_COUNT(x) _SB_GETVALUE(x, S_SCD_TREVT_COUNT, M_SCD_TREVT_COUNT)
    473 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    474 #define S_SCD_TRSEQ_EVENT4 0
    475 #define M_SCD_TRSEQ_EVENT4 _SB_MAKEMASK(4, S_SCD_TRSEQ_EVENT4)
    476 #define V_SCD_TRSEQ_EVENT4(x) _SB_MAKEVALUE(x, S_SCD_TRSEQ_EVENT4)
    477 #define G_SCD_TRSEQ_EVENT4(x) _SB_GETVALUE(x, S_SCD_TRSEQ_EVENT4, M_SCD_TRSEQ_EVENT4)
    478 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    479 #define S_SCD_TRSEQ_EVENT3 4
    480 #define M_SCD_TRSEQ_EVENT3 _SB_MAKEMASK(4, S_SCD_TRSEQ_EVENT3)
    481 #define V_SCD_TRSEQ_EVENT3(x) _SB_MAKEVALUE(x, S_SCD_TRSEQ_EVENT3)
    482 #define G_SCD_TRSEQ_EVENT3(x) _SB_GETVALUE(x, S_SCD_TRSEQ_EVENT3, M_SCD_TRSEQ_EVENT3)
    483 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    484 #define S_SCD_TRSEQ_EVENT2 8
    485 #define M_SCD_TRSEQ_EVENT2 _SB_MAKEMASK(4, S_SCD_TRSEQ_EVENT2)
    486 #define V_SCD_TRSEQ_EVENT2(x) _SB_MAKEVALUE(x, S_SCD_TRSEQ_EVENT2)
    487 #define G_SCD_TRSEQ_EVENT2(x) _SB_GETVALUE(x, S_SCD_TRSEQ_EVENT2, M_SCD_TRSEQ_EVENT2)
    488 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    489 #define S_SCD_TRSEQ_EVENT1 12
    490 #define M_SCD_TRSEQ_EVENT1 _SB_MAKEMASK(4, S_SCD_TRSEQ_EVENT1)
    491 #define V_SCD_TRSEQ_EVENT1(x) _SB_MAKEVALUE(x, S_SCD_TRSEQ_EVENT1)
    492 #define G_SCD_TRSEQ_EVENT1(x) _SB_GETVALUE(x, S_SCD_TRSEQ_EVENT1, M_SCD_TRSEQ_EVENT1)
    493 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    494 #define K_SCD_TRSEQ_E0 0
    495 #define K_SCD_TRSEQ_E1 1
    496 #define K_SCD_TRSEQ_E2 2
    497 #define K_SCD_TRSEQ_E3 3
    498 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    499 #define K_SCD_TRSEQ_E0_E1 4
    500 #define K_SCD_TRSEQ_E1_E2 5
    501 #define K_SCD_TRSEQ_E2_E3 6
    502 #define K_SCD_TRSEQ_E0_E1_E2 7
    503 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    504 #define K_SCD_TRSEQ_E0_E1_E2_E3 8
    505 #define K_SCD_TRSEQ_E0E1 9
    506 #define K_SCD_TRSEQ_E0E1E2 10
    507 #define K_SCD_TRSEQ_E0E1E2E3 11
    508 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    509 #define K_SCD_TRSEQ_E0E1_E2 12
    510 #define K_SCD_TRSEQ_E0E1_E2E3 13
    511 #define K_SCD_TRSEQ_E0E1_E2_E3 14
    512 #define K_SCD_TRSEQ_IGNORED 15
    513 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    514 #define K_SCD_TRSEQ_TRIGGER_ALL (V_SCD_TRSEQ_EVENT1(K_SCD_TRSEQ_IGNORED) |   V_SCD_TRSEQ_EVENT2(K_SCD_TRSEQ_IGNORED) |   V_SCD_TRSEQ_EVENT3(K_SCD_TRSEQ_IGNORED) |   V_SCD_TRSEQ_EVENT4(K_SCD_TRSEQ_IGNORED))
    515 #define S_SCD_TRSEQ_FUNCTION 16
    516 #define M_SCD_TRSEQ_FUNCTION _SB_MAKEMASK(4, S_SCD_TRSEQ_FUNCTION)
    517 #define V_SCD_TRSEQ_FUNCTION(x) _SB_MAKEVALUE(x, S_SCD_TRSEQ_FUNCTION)
    518 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    519 #define G_SCD_TRSEQ_FUNCTION(x) _SB_GETVALUE(x, S_SCD_TRSEQ_FUNCTION, M_SCD_TRSEQ_FUNCTION)
    520 #define K_SCD_TRSEQ_FUNC_NOP 0
    521 #define K_SCD_TRSEQ_FUNC_START 1
    522 #define K_SCD_TRSEQ_FUNC_STOP 2
    523 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    524 #define K_SCD_TRSEQ_FUNC_FREEZE 3
    525 #define V_SCD_TRSEQ_FUNC_NOP V_SCD_TRSEQ_FUNCTION(K_SCD_TRSEQ_FUNC_NOP)
    526 #define V_SCD_TRSEQ_FUNC_START V_SCD_TRSEQ_FUNCTION(K_SCD_TRSEQ_FUNC_START)
    527 #define V_SCD_TRSEQ_FUNC_STOP V_SCD_TRSEQ_FUNCTION(K_SCD_TRSEQ_FUNC_STOP)
    528 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    529 #define V_SCD_TRSEQ_FUNC_FREEZE V_SCD_TRSEQ_FUNCTION(K_SCD_TRSEQ_FUNC_FREEZE)
    530 #define M_SCD_TRSEQ_ASAMPLE _SB_MAKEMASK1(18)
    531 #define M_SCD_TRSEQ_DSAMPLE _SB_MAKEMASK1(19)
    532 #define M_SCD_TRSEQ_DEBUGPIN _SB_MAKEMASK1(20)
    533 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    534 #define M_SCD_TRSEQ_DEBUGCPU _SB_MAKEMASK1(21)
    535 #define M_SCD_TRSEQ_CLEARUSE _SB_MAKEMASK1(22)
    536 #define M_SCD_TRSEQ_ALLD_A _SB_MAKEMASK1(23)
    537 #define M_SCD_TRSEQ_ALL_A _SB_MAKEMASK1(24)
    538 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    539 #endif
    540