io.h (86c391bd5f47101acf1f3e0abd9fe0616ae2a4fb) | io.h (c766ee72235d09b0080f77474085fc17d6ae2fb1) |
---|---|
1#ifndef _ASM_POWERPC_IO_H 2#define _ASM_POWERPC_IO_H 3#ifdef __KERNEL__ 4 5#define ARCH_HAS_IOREMAP_WC 6#ifdef CONFIG_PPC32 7#define ARCH_HAS_IOREMAP_WT 8#endif --- 772 unchanged lines hidden (view full) --- 781#define ioremap_cache(addr, size) \ 782 ioremap_prot((addr), (size), pgprot_val(PAGE_KERNEL)) 783 784extern void iounmap(volatile void __iomem *addr); 785 786extern void __iomem *__ioremap(phys_addr_t, unsigned long size, 787 unsigned long flags); 788extern void __iomem *__ioremap_caller(phys_addr_t, unsigned long size, | 1#ifndef _ASM_POWERPC_IO_H 2#define _ASM_POWERPC_IO_H 3#ifdef __KERNEL__ 4 5#define ARCH_HAS_IOREMAP_WC 6#ifdef CONFIG_PPC32 7#define ARCH_HAS_IOREMAP_WT 8#endif --- 772 unchanged lines hidden (view full) --- 781#define ioremap_cache(addr, size) \ 782 ioremap_prot((addr), (size), pgprot_val(PAGE_KERNEL)) 783 784extern void iounmap(volatile void __iomem *addr); 785 786extern void __iomem *__ioremap(phys_addr_t, unsigned long size, 787 unsigned long flags); 788extern void __iomem *__ioremap_caller(phys_addr_t, unsigned long size, |
789 unsigned long flags, void *caller); | 789 pgprot_t prot, void *caller); |
790 791extern void __iounmap(volatile void __iomem *addr); 792 793extern void __iomem * __ioremap_at(phys_addr_t pa, void *ea, | 790 791extern void __iounmap(volatile void __iomem *addr); 792 793extern void __iomem * __ioremap_at(phys_addr_t pa, void *ea, |
794 unsigned long size, unsigned long flags); | 794 unsigned long size, pgprot_t prot); |
795extern void __iounmap_at(void *ea, unsigned long size); 796 797/* 798 * When CONFIG_PPC_INDIRECT_PIO is set, we use the generic iomap implementation 799 * which needs some additional definitions here. They basically allow PIO 800 * space overall to be 1GB. This will work as long as we never try to use 801 * iomap to map MMIO below 1GB which should be fine on ppc64 802 */ --- 117 unchanged lines hidden --- | 795extern void __iounmap_at(void *ea, unsigned long size); 796 797/* 798 * When CONFIG_PPC_INDIRECT_PIO is set, we use the generic iomap implementation 799 * which needs some additional definitions here. They basically allow PIO 800 * space overall to be 1GB. This will work as long as we never try to use 801 * iomap to map MMIO below 1GB which should be fine on ppc64 802 */ --- 117 unchanged lines hidden --- |