Path: blob/master/arch/arm/mach-iop32x/include/mach/io.h
17687 views
/*1* arch/arm/mach-iop32x/include/mach/io.h2*3* Copyright (C) 2001 MontaVista Software, Inc.4*5* This program is free software; you can redistribute it and/or modify6* it under the terms of the GNU General Public License version 2 as7* published by the Free Software Foundation.8*/910#ifndef __IO_H11#define __IO_H1213#include <asm/hardware/iop3xx.h>1415extern void __iomem *__iop3xx_ioremap(unsigned long cookie, size_t size,16unsigned int mtype);17extern void __iop3xx_iounmap(void __iomem *addr);1819#define IO_SPACE_LIMIT 0xffffffff20#define __io(p) ((void __iomem *)IOP3XX_PCI_IO_PHYS_TO_VIRT(p))21#define __mem_pci(a) (a)2223#define __arch_ioremap __iop3xx_ioremap24#define __arch_iounmap __iop3xx_iounmap2526#endif272829