io.h (e6aa0f07cb5e81a7cbeaf3be6e2101234c2f0d30) io.h (db5b7169474882fabbd811a4cf5c1bae3157e677)
1/*
2 * arch/arm/include/asm/io.h
3 *
4 * Copyright (C) 1996-2000 Russell King
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 46 unchanged lines hidden (view full) ---

55#define __raw_readl(a) (__chk_io_ptr(a), *(volatile unsigned int __force *)(a))
56
57/*
58 * Architecture ioremap implementation.
59 */
60#define MT_DEVICE 0
61#define MT_DEVICE_NONSHARED 1
62#define MT_DEVICE_CACHED 2
1/*
2 * arch/arm/include/asm/io.h
3 *
4 * Copyright (C) 1996-2000 Russell King
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 46 unchanged lines hidden (view full) ---

55#define __raw_readl(a) (__chk_io_ptr(a), *(volatile unsigned int __force *)(a))
56
57/*
58 * Architecture ioremap implementation.
59 */
60#define MT_DEVICE 0
61#define MT_DEVICE_NONSHARED 1
62#define MT_DEVICE_CACHED 2
63#define MT_DEVICE_IXP2000 3
64#define MT_DEVICE_WC 4
63#define MT_DEVICE_WC 3
65/*
64/*
66 * types 5 onwards can be found in asm/mach/map.h and are undefined
65 * types 4 onwards can be found in asm/mach/map.h and are undefined
67 * for ioremap
68 */
69
70/*
71 * __arm_ioremap takes CPU physical address.
72 * __arm_ioremap_pfn takes a Page Frame Number and an offset into that page
73 */
74extern void __iomem * __arm_ioremap_pfn(unsigned long, unsigned long, size_t, unsigned int);

--- 216 unchanged lines hidden ---
66 * for ioremap
67 */
68
69/*
70 * __arm_ioremap takes CPU physical address.
71 * __arm_ioremap_pfn takes a Page Frame Number and an offset into that page
72 */
73extern void __iomem * __arm_ioremap_pfn(unsigned long, unsigned long, size_t, unsigned int);

--- 216 unchanged lines hidden ---