]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - sitara-epos/sitara-epos-kernel.git/blob - arch/arm/mach-omap2/prminst33xx.h
ARM: OMAP: AM33XX: Remove autoidle regs
[sitara-epos/sitara-epos-kernel.git] / arch / arm / mach-omap2 / prminst33xx.h
1 /*
2  * AM33XX Power/Reset Management (PRM) function prototypes
3  *
4  * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License as
8  * published by the Free Software Foundation version 2.
9  *
10  * This program is distributed "as is" WITHOUT ANY WARRANTY of any
11  * kind, whether express or implied; without even the implied warranty
12  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  */
16 #ifndef __ARCH_ASM_MACH_OMAP2_PRMINST33XX_H
17 #define __ARCH_ASM_MACH_OMAP2_PRMINST33XX_H
19 extern u32 am33xx_prminst_read_inst_reg(s16 inst, u16 idx);
20 extern void am33xx_prminst_write_inst_reg(u32 val, s16 inst, u16 idx);
21 extern u32 am33xx_prminst_rmw_inst_reg_bits(u32 mask, u32 bits,
22                                            s16 inst, s16 idx);
23 extern u32 am33xx_prminst_is_hardreset_asserted(s16 domain, s16 idx, u32 mask);
24 extern int am33xx_prminst_assert_hardreset(s16 prm_mod, u8 shift);
25 extern int am33xx_prminst_deassert_hardreset(s16 prm_mod, u8 rst_shift,
26                                         u8 st_shift);
27 extern void am33xx_prm_global_warm_sw_reset(void);
29 #endif