/* * include/asm-xtensa/io.h * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 2001 - 2005 Tensilica Inc. */ #ifndef _XTENSA_IO_H #define _XTENSA_IO_H #ifdef __KERNEL__ #include <asm/byteorder.h> #include <asm/page.h> #include <asm/vectors.h> #include <linux/bug.h> #include <linux/kernel.h> #include <linux/types.h> #define IOADDR(x) (XCHAL_KIO_BYPASS_VADDR + (x)) #define IO_SPACE_LIMIT ~0 #ifdef CONFIG_MMU void __iomem *xtensa_ioremap_nocache(unsigned long addr, unsigned long size); void __iomem *xtensa_ioremap_cache(unsigned long addr, unsigned long size); void xtensa_iounmap(volatile void __iomem *addr); /* * Return the virtual address for the specified bus memory. */
static inline void __iomem *ioremap_nocache(unsigned long offset, unsigned long size) { if (offset >= XCHAL_KIO_PADDR && offset - XCHAL_KIO_PADDR < XCHAL_KIO_SIZE) return (void*)(offset-XCHAL_KIO_PADDR+XCHAL_KIO_BYPASS_VADDR); else return xtensa_ioremap_nocache(offset, size); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Chris Zankel | 38 | 74.51% | 2 | 40.00% |
Max Filippov | 12 | 23.53% | 2 | 40.00% |
Adrian Bunk | 1 | 1.96% | 1 | 20.00% |
Total | 51 | 100.00% | 5 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Chris Zankel | 38 | 74.51% | 2 | 40.00% |
Max Filippov | 12 | 23.53% | 2 | 40.00% |
Adrian Bunk | 1 | 1.96% | 1 | 20.00% |
Total | 51 | 100.00% | 5 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Max Filippov | 25 | 100.00% | 1 | 100.00% |
Total | 25 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Max Filippov | 47 | 83.93% | 2 | 50.00% |
Chris Zankel | 8 | 14.29% | 1 | 25.00% |
Adrian Bunk | 1 | 1.79% | 1 | 25.00% |
Total | 56 | 100.00% | 4 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Max Filippov | 150 | 50.68% | 3 | 21.43% |
Chris Zankel | 126 | 42.57% | 5 | 35.71% |
Adrian Bunk | 6 | 2.03% | 2 | 14.29% |
Toshi Kani | 4 | 1.35% | 1 | 7.14% |
Dan J Williams | 4 | 1.35% | 1 | 7.14% |
Paul Gortmaker | 3 | 1.01% | 1 | 7.14% |
Baruch Siach | 3 | 1.01% | 1 | 7.14% |
Total | 296 | 100.00% | 14 | 100.00% |