 /* external PULL to down, bit 22 = 0 */ omap_writel(omap_readl(PULL_DWN_CTRL_2) & ~(1<<22), PULL_DWN_CTRL_2); 
static void omap_pm_wakeup_setup(void){	/*	 * Enable ARM XOR clock and release peripheral from reset by	 * writing 1 to PER_EN bit in ARM_RSTCT2, this is required	 * for UART configuration to use UART2 to wake up.	 */	omap_writel(omap_readl(ARM_IDLECT2) | ENABLE_XORCLK, ARM_IDLECT2);	omap_writel(omap_readl(ARM_RSTCT2) | PER_EN, ARM_RSTCT2);	omap_writew(MODEM_32K_EN, ULPD_CLOCK_CTRL);	/*	 * Turn off all interrupts except L1-2nd level cascade,	 * and the L2 wakeup interrupts: keypad and UART2.	 */	omap_writel(~IRQ_LEVEL2, OMAP_IH1_MIR);	if (cpu_is_omap1510()) {		omap_writel(~(IRQ_UART2 | IRQ_KEYBOARD),  OMAP_IH2_MIR);	}	if (cpu_is_omap16xx()) {		omap_writel(~(IRQ_UART2 | IRQ_KEYBOARD), OMAP_IH2_0_MIR);		omap_writel(~0x0, OMAP_IH2_1_MIR);		omap_writel(~0x0, OMAP_IH2_2_MIR);		omap_writel(~0x0, OMAP_IH2_3_MIR);	}	/*  New IRQ agreement */ 	omap_writel(1, OMAP_IH1_CONTROL);	/* external PULL to down, bit 22 = 0 */	omap_writel(omap_readl(PULL_DWN_CTRL_2) & ~(1<<22), PULL_DWN_CTRL_2);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/92105bb70634abacc08bbe12bf6f888fbd7dad38/pm.c/clean/arch/arm/plat-omap/pm.c