diff options
Diffstat (limited to 'arch/arm/mach-stmp378x/include/mach/regs-icoll.h')
-rw-r--r-- | arch/arm/mach-stmp378x/include/mach/regs-icoll.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/arch/arm/mach-stmp378x/include/mach/regs-icoll.h b/arch/arm/mach-stmp378x/include/mach/regs-icoll.h index f996e80f40e7..57febd8559e7 100644 --- a/arch/arm/mach-stmp378x/include/mach/regs-icoll.h +++ b/arch/arm/mach-stmp378x/include/mach/regs-icoll.h @@ -37,9 +37,14 @@ #define HW_ICOLL_STAT 0x70 -#define HW_ICOLL_INTERRUPTn 0x120 - -#define HW_ICOLL_INTERRUPTn 0x120 +#define HW_ICOLL_INTERRUPTn(n) (0x120 + n * 0x10) #define BM_ICOLL_INTERRUPTn_ENABLE 0x00000004 +#define HW_ICOLL_PRIORITYn(n) (0x60 + n * 0x10) + +#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 + #endif |