Path: blob/master/arch/arm/mach-msm/include/mach/io.h
17602 views
/* arch/arm/mach-msm/include/mach/io.h1*2* Copyright (C) 2007 Google, Inc.3*4* This software is licensed under the terms of the GNU General Public5* License version 2, as published by the Free Software Foundation, and6* may be copied, distributed, and modified under those terms.7*8* This program is distributed in the hope that it will be useful,9* but WITHOUT ANY WARRANTY; without even the implied warranty of10* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the11* GNU General Public License for more details.12*13*/1415#ifndef __ASM_ARM_ARCH_IO_H16#define __ASM_ARM_ARCH_IO_H1718#define IO_SPACE_LIMIT 0xffffffff1920#define __arch_ioremap __msm_ioremap21#define __arch_iounmap __iounmap2223void __iomem *__msm_ioremap(unsigned long phys_addr, size_t size, unsigned int mtype);2425#define __io(a) __typesafe_io(a)26#define __mem_pci(a) (a)2728void msm_map_qsd8x50_io(void);29void msm_map_msm7x30_io(void);30void msm_map_msm8x60_io(void);31void msm_map_msm8960_io(void);3233extern unsigned int msm_shared_ram_phys;3435#endif363738