rockbox/firmware/target/arm/imx233/regs/stmp3600/icoll.h
Amaury Pouly eac1ca22bd imx233: generate register headers using headergen_v2 and update code for it
NOTE: this commit does not introduce any change, ideally even the binary should
be almost the same. I checked the disassembly by hand and there are only a few
differences here and there, mostly the compiler decides to compile very close
expressions slightly differently. I tried to run the new code on several targets
to make sure and saw no difference.

The major syntax changes of the new headers are as follows:
- BF_{WR,SET,CLR} are now superpowerful and allows to set several fileds at once:
  BF_WR(reg, field1(value1), field2(value2), ...)
- BF_CS (use like BF_WR) does a write to reg_CLR and then reg_SET instead of RMW
- there is no more need for macros like BF_{WR_,SET,CLR}_V, since one can simply
  BF_WR with field_V(name)
- the old BF_SETV macro has no trivial equivalent and is replaced with its
  its equivalent for BF_WR(reg_SET, ...)

I also rename the register headers: "regs/regs-x.h" -> "regs/x.h" to avoid the
redundant "regs".

Final note: the registers were generated using the following command:
./headergen_v2 -g imx -o ../../firmware/target/arm/imx233/regs/ desc/regs-stmp3{600,700,780}.xml

Change-Id: I7485e8b4315a0929a8edb63e7fa1edcaa54b1edc
2016-05-28 16:49:22 +02:00

475 lines
30 KiB
C

/***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
* \/ \/ \/ \/ \/
* This file was automatically generated by headergen, DO NOT EDIT it.
* headergen version: 3.0.0
* stmp3600 version: 2.4.0
* stmp3600 authors: Amaury Pouly
*
* Copyright (C) 2015 by the authors
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*
****************************************************************************/
#ifndef __HEADERGEN_STMP3600_ICOLL_H__
#define __HEADERGEN_STMP3600_ICOLL_H__
#define HW_ICOLL_VECTOR HW(ICOLL_VECTOR)
#define HWA_ICOLL_VECTOR (0x80000000 + 0x0)
#define HWT_ICOLL_VECTOR HWIO_32_RW
#define HWN_ICOLL_VECTOR ICOLL_VECTOR
#define HWI_ICOLL_VECTOR
#define HW_ICOLL_VECTOR_SET HW(ICOLL_VECTOR_SET)
#define HWA_ICOLL_VECTOR_SET (HWA_ICOLL_VECTOR + 0x4)
#define HWT_ICOLL_VECTOR_SET HWIO_32_WO
#define HWN_ICOLL_VECTOR_SET ICOLL_VECTOR
#define HWI_ICOLL_VECTOR_SET
#define HW_ICOLL_VECTOR_CLR HW(ICOLL_VECTOR_CLR)
#define HWA_ICOLL_VECTOR_CLR (HWA_ICOLL_VECTOR + 0x8)
#define HWT_ICOLL_VECTOR_CLR HWIO_32_WO
#define HWN_ICOLL_VECTOR_CLR ICOLL_VECTOR
#define HWI_ICOLL_VECTOR_CLR
#define HW_ICOLL_VECTOR_TOG HW(ICOLL_VECTOR_TOG)
#define HWA_ICOLL_VECTOR_TOG (HWA_ICOLL_VECTOR + 0xc)
#define HWT_ICOLL_VECTOR_TOG HWIO_32_WO
#define HWN_ICOLL_VECTOR_TOG ICOLL_VECTOR
#define HWI_ICOLL_VECTOR_TOG
#define BP_ICOLL_VECTOR_IRQVECTOR 2
#define BM_ICOLL_VECTOR_IRQVECTOR 0xfffffffc
#define BF_ICOLL_VECTOR_IRQVECTOR(v) (((v) & 0x3fffffff) << 2)
#define BFM_ICOLL_VECTOR_IRQVECTOR(v) BM_ICOLL_VECTOR_IRQVECTOR
#define BF_ICOLL_VECTOR_IRQVECTOR_V(e) BF_ICOLL_VECTOR_IRQVECTOR(BV_ICOLL_VECTOR_IRQVECTOR__##e)
#define BFM_ICOLL_VECTOR_IRQVECTOR_V(v) BM_ICOLL_VECTOR_IRQVECTOR
#define HW_ICOLL_LEVELACK HW(ICOLL_LEVELACK)
#define HWA_ICOLL_LEVELACK (0x80000000 + 0x10)
#define HWT_ICOLL_LEVELACK HWIO_32_RW
#define HWN_ICOLL_LEVELACK ICOLL_LEVELACK
#define HWI_ICOLL_LEVELACK
#define BP_ICOLL_LEVELACK_IRQLEVELACK 0
#define BM_ICOLL_LEVELACK_IRQLEVELACK 0xf
#define BV_ICOLL_LEVELACK_IRQLEVELACK__LEVEL0 0x1
#define BV_ICOLL_LEVELACK_IRQLEVELACK__LEVEL1 0x2
#define BV_ICOLL_LEVELACK_IRQLEVELACK__LEVEL2 0x4
#define BV_ICOLL_LEVELACK_IRQLEVELACK__LEVEL3 0x8
#define BF_ICOLL_LEVELACK_IRQLEVELACK(v) (((v) & 0xf) << 0)
#define BFM_ICOLL_LEVELACK_IRQLEVELACK(v) BM_ICOLL_LEVELACK_IRQLEVELACK
#define BF_ICOLL_LEVELACK_IRQLEVELACK_V(e) BF_ICOLL_LEVELACK_IRQLEVELACK(BV_ICOLL_LEVELACK_IRQLEVELACK__##e)
#define BFM_ICOLL_LEVELACK_IRQLEVELACK_V(v) BM_ICOLL_LEVELACK_IRQLEVELACK
#define HW_ICOLL_CTRL HW(ICOLL_CTRL)
#define HWA_ICOLL_CTRL (0x80000000 + 0x20)
#define HWT_ICOLL_CTRL HWIO_32_RW
#define HWN_ICOLL_CTRL ICOLL_CTRL
#define HWI_ICOLL_CTRL
#define HW_ICOLL_CTRL_SET HW(ICOLL_CTRL_SET)
#define HWA_ICOLL_CTRL_SET (HWA_ICOLL_CTRL + 0x4)
#define HWT_ICOLL_CTRL_SET HWIO_32_WO
#define HWN_ICOLL_CTRL_SET ICOLL_CTRL
#define HWI_ICOLL_CTRL_SET
#define HW_ICOLL_CTRL_CLR HW(ICOLL_CTRL_CLR)
#define HWA_ICOLL_CTRL_CLR (HWA_ICOLL_CTRL + 0x8)
#define HWT_ICOLL_CTRL_CLR HWIO_32_WO
#define HWN_ICOLL_CTRL_CLR ICOLL_CTRL
#define HWI_ICOLL_CTRL_CLR
#define HW_ICOLL_CTRL_TOG HW(ICOLL_CTRL_TOG)
#define HWA_ICOLL_CTRL_TOG (HWA_ICOLL_CTRL + 0xc)
#define HWT_ICOLL_CTRL_TOG HWIO_32_WO
#define HWN_ICOLL_CTRL_TOG ICOLL_CTRL
#define HWI_ICOLL_CTRL_TOG
#define BP_ICOLL_CTRL_SFTRST 31
#define BM_ICOLL_CTRL_SFTRST 0x80000000
#define BV_ICOLL_CTRL_SFTRST__RUN 0x0
#define BV_ICOLL_CTRL_SFTRST__IN_RESET 0x1
#define BF_ICOLL_CTRL_SFTRST(v) (((v) & 0x1) << 31)
#define BFM_ICOLL_CTRL_SFTRST(v) BM_ICOLL_CTRL_SFTRST
#define BF_ICOLL_CTRL_SFTRST_V(e) BF_ICOLL_CTRL_SFTRST(BV_ICOLL_CTRL_SFTRST__##e)
#define BFM_ICOLL_CTRL_SFTRST_V(v) BM_ICOLL_CTRL_SFTRST
#define BP_ICOLL_CTRL_CLKGATE 30
#define BM_ICOLL_CTRL_CLKGATE 0x40000000
#define BV_ICOLL_CTRL_CLKGATE__RUN 0x0
#define BV_ICOLL_CTRL_CLKGATE__NO_CLOCKS 0x1
#define BF_ICOLL_CTRL_CLKGATE(v) (((v) & 0x1) << 30)
#define BFM_ICOLL_CTRL_CLKGATE(v) BM_ICOLL_CTRL_CLKGATE
#define BF_ICOLL_CTRL_CLKGATE_V(e) BF_ICOLL_CTRL_CLKGATE(BV_ICOLL_CTRL_CLKGATE__##e)
#define BFM_ICOLL_CTRL_CLKGATE_V(v) BM_ICOLL_CTRL_CLKGATE
#define BP_ICOLL_CTRL_ENABLE2FIQ35 27
#define BM_ICOLL_CTRL_ENABLE2FIQ35 0x8000000
#define BV_ICOLL_CTRL_ENABLE2FIQ35__DISABLE 0x0
#define BV_ICOLL_CTRL_ENABLE2FIQ35__ENABLE 0x1
#define BF_ICOLL_CTRL_ENABLE2FIQ35(v) (((v) & 0x1) << 27)
#define BFM_ICOLL_CTRL_ENABLE2FIQ35(v) BM_ICOLL_CTRL_ENABLE2FIQ35
#define BF_ICOLL_CTRL_ENABLE2FIQ35_V(e) BF_ICOLL_CTRL_ENABLE2FIQ35(BV_ICOLL_CTRL_ENABLE2FIQ35__##e)
#define BFM_ICOLL_CTRL_ENABLE2FIQ35_V(v) BM_ICOLL_CTRL_ENABLE2FIQ35
#define BP_ICOLL_CTRL_ENABLE2FIQ34 26
#define BM_ICOLL_CTRL_ENABLE2FIQ34 0x4000000
#define BV_ICOLL_CTRL_ENABLE2FIQ34__DISABLE 0x0
#define BV_ICOLL_CTRL_ENABLE2FIQ34__ENABLE 0x1
#define BF_ICOLL_CTRL_ENABLE2FIQ34(v) (((v) & 0x1) << 26)
#define BFM_ICOLL_CTRL_ENABLE2FIQ34(v) BM_ICOLL_CTRL_ENABLE2FIQ34
#define BF_ICOLL_CTRL_ENABLE2FIQ34_V(e) BF_ICOLL_CTRL_ENABLE2FIQ34(BV_ICOLL_CTRL_ENABLE2FIQ34__##e)
#define BFM_ICOLL_CTRL_ENABLE2FIQ34_V(v) BM_ICOLL_CTRL_ENABLE2FIQ34
#define BP_ICOLL_CTRL_ENABLE2FIQ33 25
#define BM_ICOLL_CTRL_ENABLE2FIQ33 0x2000000
#define BV_ICOLL_CTRL_ENABLE2FIQ33__DISABLE 0x0
#define BV_ICOLL_CTRL_ENABLE2FIQ33__ENABLE 0x1
#define BF_ICOLL_CTRL_ENABLE2FIQ33(v) (((v) & 0x1) << 25)
#define BFM_ICOLL_CTRL_ENABLE2FIQ33(v) BM_ICOLL_CTRL_ENABLE2FIQ33
#define BF_ICOLL_CTRL_ENABLE2FIQ33_V(e) BF_ICOLL_CTRL_ENABLE2FIQ33(BV_ICOLL_CTRL_ENABLE2FIQ33__##e)
#define BFM_ICOLL_CTRL_ENABLE2FIQ33_V(v) BM_ICOLL_CTRL_ENABLE2FIQ33
#define BP_ICOLL_CTRL_ENABLE2FIQ32 24
#define BM_ICOLL_CTRL_ENABLE2FIQ32 0x1000000
#define BV_ICOLL_CTRL_ENABLE2FIQ32__DISABLE 0x0
#define BV_ICOLL_CTRL_ENABLE2FIQ32__ENABLE 0x1
#define BF_ICOLL_CTRL_ENABLE2FIQ32(v) (((v) & 0x1) << 24)
#define BFM_ICOLL_CTRL_ENABLE2FIQ32(v) BM_ICOLL_CTRL_ENABLE2FIQ32
#define BF_ICOLL_CTRL_ENABLE2FIQ32_V(e) BF_ICOLL_CTRL_ENABLE2FIQ32(BV_ICOLL_CTRL_ENABLE2FIQ32__##e)
#define BFM_ICOLL_CTRL_ENABLE2FIQ32_V(v) BM_ICOLL_CTRL_ENABLE2FIQ32
#define BP_ICOLL_CTRL_BYPASS_FSM 20
#define BM_ICOLL_CTRL_BYPASS_FSM 0x100000
#define BV_ICOLL_CTRL_BYPASS_FSM__NORMAL 0x0
#define BV_ICOLL_CTRL_BYPASS_FSM__BYPASS 0x1
#define BF_ICOLL_CTRL_BYPASS_FSM(v) (((v) & 0x1) << 20)
#define BFM_ICOLL_CTRL_BYPASS_FSM(v) BM_ICOLL_CTRL_BYPASS_FSM
#define BF_ICOLL_CTRL_BYPASS_FSM_V(e) BF_ICOLL_CTRL_BYPASS_FSM(BV_ICOLL_CTRL_BYPASS_FSM__##e)
#define BFM_ICOLL_CTRL_BYPASS_FSM_V(v) BM_ICOLL_CTRL_BYPASS_FSM
#define BP_ICOLL_CTRL_NO_NESTING 19
#define BM_ICOLL_CTRL_NO_NESTING 0x80000
#define BV_ICOLL_CTRL_NO_NESTING__NORMAL 0x0
#define BV_ICOLL_CTRL_NO_NESTING__NO_NEST 0x1
#define BF_ICOLL_CTRL_NO_NESTING(v) (((v) & 0x1) << 19)
#define BFM_ICOLL_CTRL_NO_NESTING(v) BM_ICOLL_CTRL_NO_NESTING
#define BF_ICOLL_CTRL_NO_NESTING_V(e) BF_ICOLL_CTRL_NO_NESTING(BV_ICOLL_CTRL_NO_NESTING__##e)
#define BFM_ICOLL_CTRL_NO_NESTING_V(v) BM_ICOLL_CTRL_NO_NESTING
#define BP_ICOLL_CTRL_ARM_RSE_MODE 18
#define BM_ICOLL_CTRL_ARM_RSE_MODE 0x40000
#define BV_ICOLL_CTRL_ARM_RSE_MODE__MUST_WRITE 0x0
#define BV_ICOLL_CTRL_ARM_RSE_MODE__READ_SIDE_EFFECT 0x1
#define BF_ICOLL_CTRL_ARM_RSE_MODE(v) (((v) & 0x1) << 18)
#define BFM_ICOLL_CTRL_ARM_RSE_MODE(v) BM_ICOLL_CTRL_ARM_RSE_MODE
#define BF_ICOLL_CTRL_ARM_RSE_MODE_V(e) BF_ICOLL_CTRL_ARM_RSE_MODE(BV_ICOLL_CTRL_ARM_RSE_MODE__##e)
#define BFM_ICOLL_CTRL_ARM_RSE_MODE_V(v) BM_ICOLL_CTRL_ARM_RSE_MODE
#define BP_ICOLL_CTRL_FIQ_FINAL_ENABLE 17
#define BM_ICOLL_CTRL_FIQ_FINAL_ENABLE 0x20000
#define BV_ICOLL_CTRL_FIQ_FINAL_ENABLE__DISABLE 0x0
#define BV_ICOLL_CTRL_FIQ_FINAL_ENABLE__ENABLE 0x1
#define BF_ICOLL_CTRL_FIQ_FINAL_ENABLE(v) (((v) & 0x1) << 17)
#define BFM_ICOLL_CTRL_FIQ_FINAL_ENABLE(v) BM_ICOLL_CTRL_FIQ_FINAL_ENABLE
#define BF_ICOLL_CTRL_FIQ_FINAL_ENABLE_V(e) BF_ICOLL_CTRL_FIQ_FINAL_ENABLE(BV_ICOLL_CTRL_FIQ_FINAL_ENABLE__##e)
#define BFM_ICOLL_CTRL_FIQ_FINAL_ENABLE_V(v) BM_ICOLL_CTRL_FIQ_FINAL_ENABLE
#define BP_ICOLL_CTRL_IRQ_FINAL_ENABLE 16
#define BM_ICOLL_CTRL_IRQ_FINAL_ENABLE 0x10000
#define BV_ICOLL_CTRL_IRQ_FINAL_ENABLE__DISABLE 0x0
#define BV_ICOLL_CTRL_IRQ_FINAL_ENABLE__ENABLE 0x1
#define BF_ICOLL_CTRL_IRQ_FINAL_ENABLE(v) (((v) & 0x1) << 16)
#define BFM_ICOLL_CTRL_IRQ_FINAL_ENABLE(v) BM_ICOLL_CTRL_IRQ_FINAL_ENABLE
#define BF_ICOLL_CTRL_IRQ_FINAL_ENABLE_V(e) BF_ICOLL_CTRL_IRQ_FINAL_ENABLE(BV_ICOLL_CTRL_IRQ_FINAL_ENABLE__##e)
#define BFM_ICOLL_CTRL_IRQ_FINAL_ENABLE_V(v) BM_ICOLL_CTRL_IRQ_FINAL_ENABLE
#define HW_ICOLL_STAT HW(ICOLL_STAT)
#define HWA_ICOLL_STAT (0x80000000 + 0x30)
#define HWT_ICOLL_STAT HWIO_32_RW
#define HWN_ICOLL_STAT ICOLL_STAT
#define HWI_ICOLL_STAT
#define BP_ICOLL_STAT_VECTOR_NUMBER 0
#define BM_ICOLL_STAT_VECTOR_NUMBER 0x3f
#define BF_ICOLL_STAT_VECTOR_NUMBER(v) (((v) & 0x3f) << 0)
#define BFM_ICOLL_STAT_VECTOR_NUMBER(v) BM_ICOLL_STAT_VECTOR_NUMBER
#define BF_ICOLL_STAT_VECTOR_NUMBER_V(e) BF_ICOLL_STAT_VECTOR_NUMBER(BV_ICOLL_STAT_VECTOR_NUMBER__##e)
#define BFM_ICOLL_STAT_VECTOR_NUMBER_V(v) BM_ICOLL_STAT_VECTOR_NUMBER
#define HW_ICOLL_VBASE HW(ICOLL_VBASE)
#define HWA_ICOLL_VBASE (0x80000000 + 0x160)
#define HWT_ICOLL_VBASE HWIO_32_RW
#define HWN_ICOLL_VBASE ICOLL_VBASE
#define HWI_ICOLL_VBASE
#define HW_ICOLL_VBASE_SET HW(ICOLL_VBASE_SET)
#define HWA_ICOLL_VBASE_SET (HWA_ICOLL_VBASE + 0x4)
#define HWT_ICOLL_VBASE_SET HWIO_32_WO
#define HWN_ICOLL_VBASE_SET ICOLL_VBASE
#define HWI_ICOLL_VBASE_SET
#define HW_ICOLL_VBASE_CLR HW(ICOLL_VBASE_CLR)
#define HWA_ICOLL_VBASE_CLR (HWA_ICOLL_VBASE + 0x8)
#define HWT_ICOLL_VBASE_CLR HWIO_32_WO
#define HWN_ICOLL_VBASE_CLR ICOLL_VBASE
#define HWI_ICOLL_VBASE_CLR
#define HW_ICOLL_VBASE_TOG HW(ICOLL_VBASE_TOG)
#define HWA_ICOLL_VBASE_TOG (HWA_ICOLL_VBASE + 0xc)
#define HWT_ICOLL_VBASE_TOG HWIO_32_WO
#define HWN_ICOLL_VBASE_TOG ICOLL_VBASE
#define HWI_ICOLL_VBASE_TOG
#define BP_ICOLL_VBASE_TABLE_ADDRESS 2
#define BM_ICOLL_VBASE_TABLE_ADDRESS 0xfffffffc
#define BF_ICOLL_VBASE_TABLE_ADDRESS(v) (((v) & 0x3fffffff) << 2)
#define BFM_ICOLL_VBASE_TABLE_ADDRESS(v) BM_ICOLL_VBASE_TABLE_ADDRESS
#define BF_ICOLL_VBASE_TABLE_ADDRESS_V(e) BF_ICOLL_VBASE_TABLE_ADDRESS(BV_ICOLL_VBASE_TABLE_ADDRESS__##e)
#define BFM_ICOLL_VBASE_TABLE_ADDRESS_V(v) BM_ICOLL_VBASE_TABLE_ADDRESS
#define HW_ICOLL_DEBUG HW(ICOLL_DEBUG)
#define HWA_ICOLL_DEBUG (0x80000000 + 0x170)
#define HWT_ICOLL_DEBUG HWIO_32_RW
#define HWN_ICOLL_DEBUG ICOLL_DEBUG
#define HWI_ICOLL_DEBUG
#define BP_ICOLL_DEBUG_INSERVICE 28
#define BM_ICOLL_DEBUG_INSERVICE 0xf0000000
#define BV_ICOLL_DEBUG_INSERVICE__LEVEL0 0x1
#define BV_ICOLL_DEBUG_INSERVICE__LEVEL1 0x2
#define BV_ICOLL_DEBUG_INSERVICE__LEVEL2 0x4
#define BV_ICOLL_DEBUG_INSERVICE__LEVEL3 0x8
#define BF_ICOLL_DEBUG_INSERVICE(v) (((v) & 0xf) << 28)
#define BFM_ICOLL_DEBUG_INSERVICE(v) BM_ICOLL_DEBUG_INSERVICE
#define BF_ICOLL_DEBUG_INSERVICE_V(e) BF_ICOLL_DEBUG_INSERVICE(BV_ICOLL_DEBUG_INSERVICE__##e)
#define BFM_ICOLL_DEBUG_INSERVICE_V(v) BM_ICOLL_DEBUG_INSERVICE
#define BP_ICOLL_DEBUG_LEVEL_REQUESTS 24
#define BM_ICOLL_DEBUG_LEVEL_REQUESTS 0xf000000
#define BV_ICOLL_DEBUG_LEVEL_REQUESTS__LEVEL0 0x1
#define BV_ICOLL_DEBUG_LEVEL_REQUESTS__LEVEL1 0x2
#define BV_ICOLL_DEBUG_LEVEL_REQUESTS__LEVEL2 0x4
#define BV_ICOLL_DEBUG_LEVEL_REQUESTS__LEVEL3 0x8
#define BF_ICOLL_DEBUG_LEVEL_REQUESTS(v) (((v) & 0xf) << 24)
#define BFM_ICOLL_DEBUG_LEVEL_REQUESTS(v) BM_ICOLL_DEBUG_LEVEL_REQUESTS
#define BF_ICOLL_DEBUG_LEVEL_REQUESTS_V(e) BF_ICOLL_DEBUG_LEVEL_REQUESTS(BV_ICOLL_DEBUG_LEVEL_REQUESTS__##e)
#define BFM_ICOLL_DEBUG_LEVEL_REQUESTS_V(v) BM_ICOLL_DEBUG_LEVEL_REQUESTS
#define BP_ICOLL_DEBUG_REQUESTS_BY_LEVEL 20
#define BM_ICOLL_DEBUG_REQUESTS_BY_LEVEL 0xf00000
#define BV_ICOLL_DEBUG_REQUESTS_BY_LEVEL__LEVEL0 0x1
#define BV_ICOLL_DEBUG_REQUESTS_BY_LEVEL__LEVEL1 0x2
#define BV_ICOLL_DEBUG_REQUESTS_BY_LEVEL__LEVEL2 0x4
#define BV_ICOLL_DEBUG_REQUESTS_BY_LEVEL__LEVEL3 0x8
#define BF_ICOLL_DEBUG_REQUESTS_BY_LEVEL(v) (((v) & 0xf) << 20)
#define BFM_ICOLL_DEBUG_REQUESTS_BY_LEVEL(v) BM_ICOLL_DEBUG_REQUESTS_BY_LEVEL
#define BF_ICOLL_DEBUG_REQUESTS_BY_LEVEL_V(e) BF_ICOLL_DEBUG_REQUESTS_BY_LEVEL(BV_ICOLL_DEBUG_REQUESTS_BY_LEVEL__##e)
#define BFM_ICOLL_DEBUG_REQUESTS_BY_LEVEL_V(v) BM_ICOLL_DEBUG_REQUESTS_BY_LEVEL
#define BP_ICOLL_DEBUG_FIQ 17
#define BM_ICOLL_DEBUG_FIQ 0x20000
#define BV_ICOLL_DEBUG_FIQ__NO_FIQ_REQUESTED 0x0
#define BV_ICOLL_DEBUG_FIQ__FIQ_REQUESTED 0x1
#define BF_ICOLL_DEBUG_FIQ(v) (((v) & 0x1) << 17)
#define BFM_ICOLL_DEBUG_FIQ(v) BM_ICOLL_DEBUG_FIQ
#define BF_ICOLL_DEBUG_FIQ_V(e) BF_ICOLL_DEBUG_FIQ(BV_ICOLL_DEBUG_FIQ__##e)
#define BFM_ICOLL_DEBUG_FIQ_V(v) BM_ICOLL_DEBUG_FIQ
#define BP_ICOLL_DEBUG_IRQ 16
#define BM_ICOLL_DEBUG_IRQ 0x10000
#define BV_ICOLL_DEBUG_IRQ__NO_IRQ_REQUESTED 0x0
#define BV_ICOLL_DEBUG_IRQ__IRQ_REQUESTED 0x1
#define BF_ICOLL_DEBUG_IRQ(v) (((v) & 0x1) << 16)
#define BFM_ICOLL_DEBUG_IRQ(v) BM_ICOLL_DEBUG_IRQ
#define BF_ICOLL_DEBUG_IRQ_V(e) BF_ICOLL_DEBUG_IRQ(BV_ICOLL_DEBUG_IRQ__##e)
#define BFM_ICOLL_DEBUG_IRQ_V(v) BM_ICOLL_DEBUG_IRQ
#define BP_ICOLL_DEBUG_VECTOR_FSM 0
#define BM_ICOLL_DEBUG_VECTOR_FSM 0x3ff
#define BV_ICOLL_DEBUG_VECTOR_FSM__FSM_IDLE 0x0
#define BV_ICOLL_DEBUG_VECTOR_FSM__FSM_MULTICYCLE1 0x1
#define BV_ICOLL_DEBUG_VECTOR_FSM__FSM_MULTICYCLE2 0x2
#define BV_ICOLL_DEBUG_VECTOR_FSM__FSM_PENDING 0x4
#define BV_ICOLL_DEBUG_VECTOR_FSM__FSM_MULTICYCLE3 0x8
#define BV_ICOLL_DEBUG_VECTOR_FSM__FSM_MULTICYCLE4 0x10
#define BV_ICOLL_DEBUG_VECTOR_FSM__FSM_ISR_RUNNING1 0x20
#define BV_ICOLL_DEBUG_VECTOR_FSM__FSM_ISR_RUNNING2 0x40
#define BV_ICOLL_DEBUG_VECTOR_FSM__FSM_ISR_RUNNING3 0x80
#define BV_ICOLL_DEBUG_VECTOR_FSM__FSM_MULTICYCLE5 0x100
#define BV_ICOLL_DEBUG_VECTOR_FSM__FSM_MULTICYCLE6 0x200
#define BF_ICOLL_DEBUG_VECTOR_FSM(v) (((v) & 0x3ff) << 0)
#define BFM_ICOLL_DEBUG_VECTOR_FSM(v) BM_ICOLL_DEBUG_VECTOR_FSM
#define BF_ICOLL_DEBUG_VECTOR_FSM_V(e) BF_ICOLL_DEBUG_VECTOR_FSM(BV_ICOLL_DEBUG_VECTOR_FSM__##e)
#define BFM_ICOLL_DEBUG_VECTOR_FSM_V(v) BM_ICOLL_DEBUG_VECTOR_FSM
#define HW_ICOLL_DBGFLAG HW(ICOLL_DBGFLAG)
#define HWA_ICOLL_DBGFLAG (0x80000000 + 0x1a0)
#define HWT_ICOLL_DBGFLAG HWIO_32_RW
#define HWN_ICOLL_DBGFLAG ICOLL_DBGFLAG
#define HWI_ICOLL_DBGFLAG
#define HW_ICOLL_DBGFLAG_SET HW(ICOLL_DBGFLAG_SET)
#define HWA_ICOLL_DBGFLAG_SET (HWA_ICOLL_DBGFLAG + 0x4)
#define HWT_ICOLL_DBGFLAG_SET HWIO_32_WO
#define HWN_ICOLL_DBGFLAG_SET ICOLL_DBGFLAG
#define HWI_ICOLL_DBGFLAG_SET
#define HW_ICOLL_DBGFLAG_CLR HW(ICOLL_DBGFLAG_CLR)
#define HWA_ICOLL_DBGFLAG_CLR (HWA_ICOLL_DBGFLAG + 0x8)
#define HWT_ICOLL_DBGFLAG_CLR HWIO_32_WO
#define HWN_ICOLL_DBGFLAG_CLR ICOLL_DBGFLAG
#define HWI_ICOLL_DBGFLAG_CLR
#define HW_ICOLL_DBGFLAG_TOG HW(ICOLL_DBGFLAG_TOG)
#define HWA_ICOLL_DBGFLAG_TOG (HWA_ICOLL_DBGFLAG + 0xc)
#define HWT_ICOLL_DBGFLAG_TOG HWIO_32_WO
#define HWN_ICOLL_DBGFLAG_TOG ICOLL_DBGFLAG
#define HWI_ICOLL_DBGFLAG_TOG
#define BP_ICOLL_DBGFLAG_FLAG 0
#define BM_ICOLL_DBGFLAG_FLAG 0xffff
#define BF_ICOLL_DBGFLAG_FLAG(v) (((v) & 0xffff) << 0)
#define BFM_ICOLL_DBGFLAG_FLAG(v) BM_ICOLL_DBGFLAG_FLAG
#define BF_ICOLL_DBGFLAG_FLAG_V(e) BF_ICOLL_DBGFLAG_FLAG(BV_ICOLL_DBGFLAG_FLAG__##e)
#define BFM_ICOLL_DBGFLAG_FLAG_V(v) BM_ICOLL_DBGFLAG_FLAG
#define HW_ICOLL_DBGREQUESTn(_n1) HW(ICOLL_DBGREQUESTn(_n1))
#define HWA_ICOLL_DBGREQUESTn(_n1) (0x80000000 + 0x1b0 + (_n1) * 0x10)
#define HWT_ICOLL_DBGREQUESTn(_n1) HWIO_32_RW
#define HWN_ICOLL_DBGREQUESTn(_n1) ICOLL_DBGREQUESTn
#define HWI_ICOLL_DBGREQUESTn(_n1) (_n1)
#define BP_ICOLL_DBGREQUESTn_BITS 0
#define BM_ICOLL_DBGREQUESTn_BITS 0xffffffff
#define BF_ICOLL_DBGREQUESTn_BITS(v) (((v) & 0xffffffff) << 0)
#define BFM_ICOLL_DBGREQUESTn_BITS(v) BM_ICOLL_DBGREQUESTn_BITS
#define BF_ICOLL_DBGREQUESTn_BITS_V(e) BF_ICOLL_DBGREQUESTn_BITS(BV_ICOLL_DBGREQUESTn_BITS__##e)
#define BFM_ICOLL_DBGREQUESTn_BITS_V(v) BM_ICOLL_DBGREQUESTn_BITS
#define HW_ICOLL_RAWn(_n1) HW(ICOLL_RAWn(_n1))
#define HWA_ICOLL_RAWn(_n1) (0x80000000 + 0x40 + (_n1) * 0x10)
#define HWT_ICOLL_RAWn(_n1) HWIO_32_RW
#define HWN_ICOLL_RAWn(_n1) ICOLL_RAWn
#define HWI_ICOLL_RAWn(_n1) (_n1)
#define BP_ICOLL_RAWn_RAW_IRQS 0
#define BM_ICOLL_RAWn_RAW_IRQS 0xffffffff
#define BF_ICOLL_RAWn_RAW_IRQS(v) (((v) & 0xffffffff) << 0)
#define BFM_ICOLL_RAWn_RAW_IRQS(v) BM_ICOLL_RAWn_RAW_IRQS
#define BF_ICOLL_RAWn_RAW_IRQS_V(e) BF_ICOLL_RAWn_RAW_IRQS(BV_ICOLL_RAWn_RAW_IRQS__##e)
#define BFM_ICOLL_RAWn_RAW_IRQS_V(v) BM_ICOLL_RAWn_RAW_IRQS
#define HW_ICOLL_DBGREADn(_n1) HW(ICOLL_DBGREADn(_n1))
#define HWA_ICOLL_DBGREADn(_n1) (0x80000000 + 0x180 + (_n1) * 0x10)
#define HWT_ICOLL_DBGREADn(_n1) HWIO_32_RW
#define HWN_ICOLL_DBGREADn(_n1) ICOLL_DBGREADn
#define HWI_ICOLL_DBGREADn(_n1) (_n1)
#define BP_ICOLL_DBGREADn_VALUE 0
#define BM_ICOLL_DBGREADn_VALUE 0xffffffff
#define BF_ICOLL_DBGREADn_VALUE(v) (((v) & 0xffffffff) << 0)
#define BFM_ICOLL_DBGREADn_VALUE(v) BM_ICOLL_DBGREADn_VALUE
#define BF_ICOLL_DBGREADn_VALUE_V(e) BF_ICOLL_DBGREADn_VALUE(BV_ICOLL_DBGREADn_VALUE__##e)
#define BFM_ICOLL_DBGREADn_VALUE_V(v) BM_ICOLL_DBGREADn_VALUE
#define HW_ICOLL_PRIORITYn(_n1) HW(ICOLL_PRIORITYn(_n1))
#define HWA_ICOLL_PRIORITYn(_n1) (0x80000000 + 0x60 + (_n1) * 0x10)
#define HWT_ICOLL_PRIORITYn(_n1) HWIO_32_RW
#define HWN_ICOLL_PRIORITYn(_n1) ICOLL_PRIORITYn
#define HWI_ICOLL_PRIORITYn(_n1) (_n1)
#define HW_ICOLL_PRIORITYn_SET(_n1) HW(ICOLL_PRIORITYn_SET(_n1))
#define HWA_ICOLL_PRIORITYn_SET(_n1) (HWA_ICOLL_PRIORITYn(_n1) + 0x4)
#define HWT_ICOLL_PRIORITYn_SET(_n1) HWIO_32_WO
#define HWN_ICOLL_PRIORITYn_SET(_n1) ICOLL_PRIORITYn
#define HWI_ICOLL_PRIORITYn_SET(_n1) (_n1)
#define HW_ICOLL_PRIORITYn_CLR(_n1) HW(ICOLL_PRIORITYn_CLR(_n1))
#define HWA_ICOLL_PRIORITYn_CLR(_n1) (HWA_ICOLL_PRIORITYn(_n1) + 0x8)
#define HWT_ICOLL_PRIORITYn_CLR(_n1) HWIO_32_WO
#define HWN_ICOLL_PRIORITYn_CLR(_n1) ICOLL_PRIORITYn
#define HWI_ICOLL_PRIORITYn_CLR(_n1) (_n1)
#define HW_ICOLL_PRIORITYn_TOG(_n1) HW(ICOLL_PRIORITYn_TOG(_n1))
#define HWA_ICOLL_PRIORITYn_TOG(_n1) (HWA_ICOLL_PRIORITYn(_n1) + 0xc)
#define HWT_ICOLL_PRIORITYn_TOG(_n1) HWIO_32_WO
#define HWN_ICOLL_PRIORITYn_TOG(_n1) ICOLL_PRIORITYn
#define HWI_ICOLL_PRIORITYn_TOG(_n1) (_n1)
#define BP_ICOLL_PRIORITYn_SOFTIRQ3 27
#define BM_ICOLL_PRIORITYn_SOFTIRQ3 0x8000000
#define BV_ICOLL_PRIORITYn_SOFTIRQ3__NO_INTERRUPT 0x0
#define BV_ICOLL_PRIORITYn_SOFTIRQ3__FORCE_INTERRUPT 0x1
#define BF_ICOLL_PRIORITYn_SOFTIRQ3(v) (((v) & 0x1) << 27)
#define BFM_ICOLL_PRIORITYn_SOFTIRQ3(v) BM_ICOLL_PRIORITYn_SOFTIRQ3
#define BF_ICOLL_PRIORITYn_SOFTIRQ3_V(e) BF_ICOLL_PRIORITYn_SOFTIRQ3(BV_ICOLL_PRIORITYn_SOFTIRQ3__##e)
#define BFM_ICOLL_PRIORITYn_SOFTIRQ3_V(v) BM_ICOLL_PRIORITYn_SOFTIRQ3
#define BP_ICOLL_PRIORITYn_ENABLE3 26
#define BM_ICOLL_PRIORITYn_ENABLE3 0x4000000
#define BV_ICOLL_PRIORITYn_ENABLE3__DISABLE 0x0
#define BV_ICOLL_PRIORITYn_ENABLE3__ENABLE 0x1
#define BF_ICOLL_PRIORITYn_ENABLE3(v) (((v) & 0x1) << 26)
#define BFM_ICOLL_PRIORITYn_ENABLE3(v) BM_ICOLL_PRIORITYn_ENABLE3
#define BF_ICOLL_PRIORITYn_ENABLE3_V(e) BF_ICOLL_PRIORITYn_ENABLE3(BV_ICOLL_PRIORITYn_ENABLE3__##e)
#define BFM_ICOLL_PRIORITYn_ENABLE3_V(v) BM_ICOLL_PRIORITYn_ENABLE3
#define BP_ICOLL_PRIORITYn_PRIORITY3 24
#define BM_ICOLL_PRIORITYn_PRIORITY3 0x3000000
#define BV_ICOLL_PRIORITYn_PRIORITY3__LEVEL0 0x0
#define BV_ICOLL_PRIORITYn_PRIORITY3__LEVEL1 0x1
#define BV_ICOLL_PRIORITYn_PRIORITY3__LEVEL2 0x2
#define BV_ICOLL_PRIORITYn_PRIORITY3__LEVEL3 0x3
#define BF_ICOLL_PRIORITYn_PRIORITY3(v) (((v) & 0x3) << 24)
#define BFM_ICOLL_PRIORITYn_PRIORITY3(v) BM_ICOLL_PRIORITYn_PRIORITY3
#define BF_ICOLL_PRIORITYn_PRIORITY3_V(e) BF_ICOLL_PRIORITYn_PRIORITY3(BV_ICOLL_PRIORITYn_PRIORITY3__##e)
#define BFM_ICOLL_PRIORITYn_PRIORITY3_V(v) BM_ICOLL_PRIORITYn_PRIORITY3
#define BP_ICOLL_PRIORITYn_SOFTIRQ2 19
#define BM_ICOLL_PRIORITYn_SOFTIRQ2 0x80000
#define BV_ICOLL_PRIORITYn_SOFTIRQ2__NO_INTERRUPT 0x0
#define BV_ICOLL_PRIORITYn_SOFTIRQ2__FORCE_INTERRUPT 0x1
#define BF_ICOLL_PRIORITYn_SOFTIRQ2(v) (((v) & 0x1) << 19)
#define BFM_ICOLL_PRIORITYn_SOFTIRQ2(v) BM_ICOLL_PRIORITYn_SOFTIRQ2
#define BF_ICOLL_PRIORITYn_SOFTIRQ2_V(e) BF_ICOLL_PRIORITYn_SOFTIRQ2(BV_ICOLL_PRIORITYn_SOFTIRQ2__##e)
#define BFM_ICOLL_PRIORITYn_SOFTIRQ2_V(v) BM_ICOLL_PRIORITYn_SOFTIRQ2
#define BP_ICOLL_PRIORITYn_ENABLE2 18
#define BM_ICOLL_PRIORITYn_ENABLE2 0x40000
#define BV_ICOLL_PRIORITYn_ENABLE2__DISABLE 0x0
#define BV_ICOLL_PRIORITYn_ENABLE2__ENABLE 0x1
#define BF_ICOLL_PRIORITYn_ENABLE2(v) (((v) & 0x1) << 18)
#define BFM_ICOLL_PRIORITYn_ENABLE2(v) BM_ICOLL_PRIORITYn_ENABLE2
#define BF_ICOLL_PRIORITYn_ENABLE2_V(e) BF_ICOLL_PRIORITYn_ENABLE2(BV_ICOLL_PRIORITYn_ENABLE2__##e)
#define BFM_ICOLL_PRIORITYn_ENABLE2_V(v) BM_ICOLL_PRIORITYn_ENABLE2
#define BP_ICOLL_PRIORITYn_PRIORITY2 16
#define BM_ICOLL_PRIORITYn_PRIORITY2 0x30000
#define BV_ICOLL_PRIORITYn_PRIORITY2__LEVEL0 0x0
#define BV_ICOLL_PRIORITYn_PRIORITY2__LEVEL1 0x1
#define BV_ICOLL_PRIORITYn_PRIORITY2__LEVEL2 0x2
#define BV_ICOLL_PRIORITYn_PRIORITY2__LEVEL3 0x3
#define BF_ICOLL_PRIORITYn_PRIORITY2(v) (((v) & 0x3) << 16)
#define BFM_ICOLL_PRIORITYn_PRIORITY2(v) BM_ICOLL_PRIORITYn_PRIORITY2
#define BF_ICOLL_PRIORITYn_PRIORITY2_V(e) BF_ICOLL_PRIORITYn_PRIORITY2(BV_ICOLL_PRIORITYn_PRIORITY2__##e)
#define BFM_ICOLL_PRIORITYn_PRIORITY2_V(v) BM_ICOLL_PRIORITYn_PRIORITY2
#define BP_ICOLL_PRIORITYn_SOFTIRQ1 11
#define BM_ICOLL_PRIORITYn_SOFTIRQ1 0x800
#define BV_ICOLL_PRIORITYn_SOFTIRQ1__NO_INTERRUPT 0x0
#define BV_ICOLL_PRIORITYn_SOFTIRQ1__FORCE_INTERRUPT 0x1
#define BF_ICOLL_PRIORITYn_SOFTIRQ1(v) (((v) & 0x1) << 11)
#define BFM_ICOLL_PRIORITYn_SOFTIRQ1(v) BM_ICOLL_PRIORITYn_SOFTIRQ1
#define BF_ICOLL_PRIORITYn_SOFTIRQ1_V(e) BF_ICOLL_PRIORITYn_SOFTIRQ1(BV_ICOLL_PRIORITYn_SOFTIRQ1__##e)
#define BFM_ICOLL_PRIORITYn_SOFTIRQ1_V(v) BM_ICOLL_PRIORITYn_SOFTIRQ1
#define BP_ICOLL_PRIORITYn_ENABLE1 10
#define BM_ICOLL_PRIORITYn_ENABLE1 0x400
#define BV_ICOLL_PRIORITYn_ENABLE1__DISABLE 0x0
#define BV_ICOLL_PRIORITYn_ENABLE1__ENABLE 0x1
#define BF_ICOLL_PRIORITYn_ENABLE1(v) (((v) & 0x1) << 10)
#define BFM_ICOLL_PRIORITYn_ENABLE1(v) BM_ICOLL_PRIORITYn_ENABLE1
#define BF_ICOLL_PRIORITYn_ENABLE1_V(e) BF_ICOLL_PRIORITYn_ENABLE1(BV_ICOLL_PRIORITYn_ENABLE1__##e)
#define BFM_ICOLL_PRIORITYn_ENABLE1_V(v) BM_ICOLL_PRIORITYn_ENABLE1
#define BP_ICOLL_PRIORITYn_PRIORITY1 8
#define BM_ICOLL_PRIORITYn_PRIORITY1 0x300
#define BV_ICOLL_PRIORITYn_PRIORITY1__LEVEL0 0x0
#define BV_ICOLL_PRIORITYn_PRIORITY1__LEVEL1 0x1
#define BV_ICOLL_PRIORITYn_PRIORITY1__LEVEL2 0x2
#define BV_ICOLL_PRIORITYn_PRIORITY1__LEVEL3 0x3
#define BF_ICOLL_PRIORITYn_PRIORITY1(v) (((v) & 0x3) << 8)
#define BFM_ICOLL_PRIORITYn_PRIORITY1(v) BM_ICOLL_PRIORITYn_PRIORITY1
#define BF_ICOLL_PRIORITYn_PRIORITY1_V(e) BF_ICOLL_PRIORITYn_PRIORITY1(BV_ICOLL_PRIORITYn_PRIORITY1__##e)
#define BFM_ICOLL_PRIORITYn_PRIORITY1_V(v) BM_ICOLL_PRIORITYn_PRIORITY1
#define BP_ICOLL_PRIORITYn_SOFTIRQ0 3
#define BM_ICOLL_PRIORITYn_SOFTIRQ0 0x8
#define BV_ICOLL_PRIORITYn_SOFTIRQ0__NO_INTERRUPT 0x0
#define BV_ICOLL_PRIORITYn_SOFTIRQ0__FORCE_INTERRUPT 0x1
#define BF_ICOLL_PRIORITYn_SOFTIRQ0(v) (((v) & 0x1) << 3)
#define BFM_ICOLL_PRIORITYn_SOFTIRQ0(v) BM_ICOLL_PRIORITYn_SOFTIRQ0
#define BF_ICOLL_PRIORITYn_SOFTIRQ0_V(e) BF_ICOLL_PRIORITYn_SOFTIRQ0(BV_ICOLL_PRIORITYn_SOFTIRQ0__##e)
#define BFM_ICOLL_PRIORITYn_SOFTIRQ0_V(v) BM_ICOLL_PRIORITYn_SOFTIRQ0
#define BP_ICOLL_PRIORITYn_ENABLE0 2
#define BM_ICOLL_PRIORITYn_ENABLE0 0x4
#define BV_ICOLL_PRIORITYn_ENABLE0__DISABLE 0x0
#define BV_ICOLL_PRIORITYn_ENABLE0__ENABLE 0x1
#define BF_ICOLL_PRIORITYn_ENABLE0(v) (((v) & 0x1) << 2)
#define BFM_ICOLL_PRIORITYn_ENABLE0(v) BM_ICOLL_PRIORITYn_ENABLE0
#define BF_ICOLL_PRIORITYn_ENABLE0_V(e) BF_ICOLL_PRIORITYn_ENABLE0(BV_ICOLL_PRIORITYn_ENABLE0__##e)
#define BFM_ICOLL_PRIORITYn_ENABLE0_V(v) BM_ICOLL_PRIORITYn_ENABLE0
#define BP_ICOLL_PRIORITYn_PRIORITY0 0
#define BM_ICOLL_PRIORITYn_PRIORITY0 0x3
#define BV_ICOLL_PRIORITYn_PRIORITY0__LEVEL0 0x0
#define BV_ICOLL_PRIORITYn_PRIORITY0__LEVEL1 0x1
#define BV_ICOLL_PRIORITYn_PRIORITY0__LEVEL2 0x2
#define BV_ICOLL_PRIORITYn_PRIORITY0__LEVEL3 0x3
#define BF_ICOLL_PRIORITYn_PRIORITY0(v) (((v) & 0x3) << 0)
#define BFM_ICOLL_PRIORITYn_PRIORITY0(v) BM_ICOLL_PRIORITYn_PRIORITY0
#define BF_ICOLL_PRIORITYn_PRIORITY0_V(e) BF_ICOLL_PRIORITYn_PRIORITY0(BV_ICOLL_PRIORITYn_PRIORITY0__##e)
#define BFM_ICOLL_PRIORITYn_PRIORITY0_V(v) BM_ICOLL_PRIORITYn_PRIORITY0
#endif /* __HEADERGEN_STMP3600_ICOLL_H__*/