if (cpu_is_omap1510()) 
if (cpu_is_omap730()) { omap_writel(~level2_wake, OMAP_IH2_0_MIR); omap_writel(~(OMAP_IRQ_BIT(INT_730_WAKE_UP_REQ) | OMAP_IRQ_BIT(INT_730_MPUIO_KEYPAD)), OMAP_IH2_1_MIR); } else if (cpu_is_omap1510()) { level2_wake |= OMAP_IRQ_BIT(INT_KEYBOARD); 
static void omap_pm_wakeup_setup(void){	u32 level1_wake = OMAP_IRQ_BIT(INT_IH2_IRQ);	u32 level2_wake = OMAP_IRQ_BIT(INT_UART2) | OMAP_IRQ_BIT(INT_KEYBOARD);	/*	 * Turn off all interrupts except GPIO bank 1, L1-2nd level cascade,	 * and the L2 wakeup interrupts: keypad and UART2. Note that the	 * drivers must still separately call omap_set_gpio_wakeup() to	 * wake up to a GPIO interrupt.	 */	if (cpu_is_omap1510() || cpu_is_omap16xx())		level1_wake |= OMAP_IRQ_BIT(INT_GPIO_BANK1);	else if (cpu_is_omap730())		level1_wake |= OMAP_IRQ_BIT(INT_730_GPIO_BANK1);	omap_writel(~level1_wake, OMAP_IH1_MIR);	if (cpu_is_omap1510())		omap_writel(~level2_wake,  OMAP_IH2_MIR);	/* INT_1610_WAKE_UP_REQ is needed for GPIO wakeup... */	if (cpu_is_omap16xx()) {		omap_writel(~level2_wake, OMAP_IH2_0_MIR);		omap_writel(~OMAP_IRQ_BIT(INT_1610_WAKE_UP_REQ), OMAP_IH2_1_MIR);		omap_writel(~0x0, OMAP_IH2_2_MIR);		omap_writel(~0x0, OMAP_IH2_3_MIR);	}	/*  New IRQ agreement, recalculate in cascade order */	omap_writel(1, OMAP_IH2_CONTROL); 	omap_writel(1, OMAP_IH1_CONTROL);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/1a8bfa1eb998af6e650ad26201f7cae9f2a2fdc8/pm.c/clean/arch/arm/plat-omap/pm.c