1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 251c62982SEric Miao #ifndef __MACH_PXA27x_H 351c62982SEric Miao #define __MACH_PXA27x_H 451c62982SEric Miao 5ba4a90a6SEric Miao #include <linux/suspend.h> 651c62982SEric Miao #include <mach/hardware.h> 751c62982SEric Miao #include <mach/pxa2xx-regs.h> 84c25c5d2SArnd Bergmann #include "mfp-pxa27x.h" 9ca0e687cSEric Miao #include <mach/irqs.h> 1051c62982SEric Miao 1151c62982SEric Miao #define ARB_CNTRL __REG(0x48000048) /* Arbiter Control Register */ 1251c62982SEric Miao 1351c62982SEric Miao #define ARB_DMA_SLV_PARK (1<<31) /* Be parked with DMA slave when idle */ 1451c62982SEric Miao #define ARB_CI_PARK (1<<30) /* Be parked with Camera Interface when idle */ 1551c62982SEric Miao #define ARB_EX_MEM_PARK (1<<29) /* Be parked with external MEMC when idle */ 1651c62982SEric Miao #define ARB_INT_MEM_PARK (1<<28) /* Be parked with internal MEMC when idle */ 1751c62982SEric Miao #define ARB_USB_PARK (1<<27) /* Be parked with USB when idle */ 1851c62982SEric Miao #define ARB_LCD_PARK (1<<26) /* Be parked with LCD when idle */ 1951c62982SEric Miao #define ARB_DMA_PARK (1<<25) /* Be parked with DMA when idle */ 2051c62982SEric Miao #define ARB_CORE_PARK (1<<24) /* Be parked with core when idle */ 2151c62982SEric Miao #define ARB_LOCK_FLAG (1<<23) /* Only Locking masters gain access to the bus */ 22d082d36eSMike Rapoport 2354c09889SArnd Bergmann extern int pxa27x_set_pwrmode(unsigned int mode); 24ba4a90a6SEric Miao extern void pxa27x_cpu_pm_enter(suspend_state_t state); 25d082d36eSMike Rapoport 2651c62982SEric Miao #endif /* __MACH_PXA27x_H */ 27