diff options
Diffstat (limited to 'arch/mips/include/asm/mach-au1x00')
-rw-r--r-- | arch/mips/include/asm/mach-au1x00/au1000.h | 34 |
1 files changed, 32 insertions, 2 deletions
diff --git a/arch/mips/include/asm/mach-au1x00/au1000.h b/arch/mips/include/asm/mach-au1x00/au1000.h index ae07423e6e82..e76941db2312 100644 --- a/arch/mips/include/asm/mach-au1x00/au1000.h +++ b/arch/mips/include/asm/mach-au1x00/au1000.h | |||
@@ -190,8 +190,6 @@ extern unsigned long au1xxx_calc_clock(void); | |||
190 | /* PM: arch/mips/alchemy/common/sleeper.S, power.c, irq.c */ | 190 | /* PM: arch/mips/alchemy/common/sleeper.S, power.c, irq.c */ |
191 | void au1xxx_save_and_sleep(void); | 191 | void au1xxx_save_and_sleep(void); |
192 | void au_sleep(void); | 192 | void au_sleep(void); |
193 | void save_au1xxx_intctl(void); | ||
194 | void restore_au1xxx_intctl(void); | ||
195 | 193 | ||
196 | 194 | ||
197 | /* SOC Interrupt numbers */ | 195 | /* SOC Interrupt numbers */ |
@@ -835,6 +833,38 @@ enum soc_au1200_ints { | |||
835 | #define MEM_STNAND_DATA 0x20 | 833 | #define MEM_STNAND_DATA 0x20 |
836 | #endif | 834 | #endif |
837 | 835 | ||
836 | |||
837 | /* Interrupt Controller register offsets */ | ||
838 | #define IC_CFG0RD 0x40 | ||
839 | #define IC_CFG0SET 0x40 | ||
840 | #define IC_CFG0CLR 0x44 | ||
841 | #define IC_CFG1RD 0x48 | ||
842 | #define IC_CFG1SET 0x48 | ||
843 | #define IC_CFG1CLR 0x4C | ||
844 | #define IC_CFG2RD 0x50 | ||
845 | #define IC_CFG2SET 0x50 | ||
846 | #define IC_CFG2CLR 0x54 | ||
847 | #define IC_REQ0INT 0x54 | ||
848 | #define IC_SRCRD 0x58 | ||
849 | #define IC_SRCSET 0x58 | ||
850 | #define IC_SRCCLR 0x5C | ||
851 | #define IC_REQ1INT 0x5C | ||
852 | #define IC_ASSIGNRD 0x60 | ||
853 | #define IC_ASSIGNSET 0x60 | ||
854 | #define IC_ASSIGNCLR 0x64 | ||
855 | #define IC_WAKERD 0x68 | ||
856 | #define IC_WAKESET 0x68 | ||
857 | #define IC_WAKECLR 0x6C | ||
858 | #define IC_MASKRD 0x70 | ||
859 | #define IC_MASKSET 0x70 | ||
860 | #define IC_MASKCLR 0x74 | ||
861 | #define IC_RISINGRD 0x78 | ||
862 | #define IC_RISINGCLR 0x78 | ||
863 | #define IC_FALLINGRD 0x7C | ||
864 | #define IC_FALLINGCLR 0x7C | ||
865 | #define IC_TESTBIT 0x80 | ||
866 | |||
867 | |||
838 | /* Interrupt Controller 0 */ | 868 | /* Interrupt Controller 0 */ |
839 | #define IC0_CFG0RD 0xB0400040 | 869 | #define IC0_CFG0RD 0xB0400040 |
840 | #define IC0_CFG0SET 0xB0400040 | 870 | #define IC0_CFG0SET 0xB0400040 |