control.h (bbd36f9f03eceee5c208db83049142171e6338f6) | control.h (ba12c24286296159a1271eb19f2fc5c2ef59fbde) |
---|---|
1/* 2 * arch/arm/mach-omap2/control.h 3 * 4 * OMAP2/3/4 System Control Module definitions 5 * 6 * Copyright (C) 2007-2010 Texas Instruments, Inc. 7 * Copyright (C) 2007-2008, 2010 Nokia Corporation 8 * --- 413 unchanged lines hidden (view full) --- 422extern u32 omap3_arm_context[128]; 423extern void omap3_control_save_context(void); 424extern void omap3_control_restore_context(void); 425extern void omap3_ctrl_write_boot_mode(u8 bootmode); 426extern void omap_ctrl_write_dsp_boot_addr(u32 bootaddr); 427extern void omap_ctrl_write_dsp_boot_mode(u8 bootmode); 428extern void omap3630_ctrl_disable_rta(void); 429extern int omap3_ctrl_save_padconf(void); | 1/* 2 * arch/arm/mach-omap2/control.h 3 * 4 * OMAP2/3/4 System Control Module definitions 5 * 6 * Copyright (C) 2007-2010 Texas Instruments, Inc. 7 * Copyright (C) 2007-2008, 2010 Nokia Corporation 8 * --- 413 unchanged lines hidden (view full) --- 422extern u32 omap3_arm_context[128]; 423extern void omap3_control_save_context(void); 424extern void omap3_control_restore_context(void); 425extern void omap3_ctrl_write_boot_mode(u8 bootmode); 426extern void omap_ctrl_write_dsp_boot_addr(u32 bootaddr); 427extern void omap_ctrl_write_dsp_boot_mode(u8 bootmode); 428extern void omap3630_ctrl_disable_rta(void); 429extern int omap3_ctrl_save_padconf(void); |
430extern void omap3_ctrl_set_iva_bootmode_idle(void); 431void omap3_ctrl_setup_d2d_padconf(void); | 430void omap3_ctrl_init(void); |
432extern void omap2_set_globals_control(void __iomem *ctrl, 433 void __iomem *ctrl_pad); 434#else 435#define omap_ctrl_base_get() 0 436#define omap_ctrl_readb(x) 0 437#define omap_ctrl_readw(x) 0 438#define omap_ctrl_readl(x) 0 439#define omap4_ctrl_pad_readl(x) 0 440#define omap_ctrl_writeb(x, y) WARN_ON(1) 441#define omap_ctrl_writew(x, y) WARN_ON(1) 442#define omap_ctrl_writel(x, y) WARN_ON(1) 443#define omap4_ctrl_pad_writel(x, y) WARN_ON(1) 444#endif 445#endif /* __ASSEMBLY__ */ 446 447#endif /* __ARCH_ARM_MACH_OMAP2_CONTROL_H */ 448 | 431extern void omap2_set_globals_control(void __iomem *ctrl, 432 void __iomem *ctrl_pad); 433#else 434#define omap_ctrl_base_get() 0 435#define omap_ctrl_readb(x) 0 436#define omap_ctrl_readw(x) 0 437#define omap_ctrl_readl(x) 0 438#define omap4_ctrl_pad_readl(x) 0 439#define omap_ctrl_writeb(x, y) WARN_ON(1) 440#define omap_ctrl_writew(x, y) WARN_ON(1) 441#define omap_ctrl_writel(x, y) WARN_ON(1) 442#define omap4_ctrl_pad_writel(x, y) WARN_ON(1) 443#endif 444#endif /* __ASSEMBLY__ */ 445 446#endif /* __ARCH_ARM_MACH_OMAP2_CONTROL_H */ 447 |