io.h (cc11f372e9371ec3a3dad02396dbe0a55eec0b8f) | io.h (c5ca95b507c8a2a69e49eeda539b41bd76922d7f) |
---|---|
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. --- 24 unchanged lines hidden (view full) --- 33/* 34 * ISA I/O bus memory addresses are 1:1 with the physical address. 35 */ 36#define isa_virt_to_bus virt_to_phys 37#define isa_page_to_bus page_to_phys 38#define isa_bus_to_virt phys_to_virt 39 40/* | 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. --- 24 unchanged lines hidden (view full) --- 33/* 34 * ISA I/O bus memory addresses are 1:1 with the physical address. 35 */ 36#define isa_virt_to_bus virt_to_phys 37#define isa_page_to_bus page_to_phys 38#define isa_bus_to_virt phys_to_virt 39 40/* |
41 * Atomic MMIO-wide IO modify 42 */ 43extern void atomic_io_modify(void __iomem *reg, u32 mask, u32 set); 44extern void atomic_io_modify_relaxed(void __iomem *reg, u32 mask, u32 set); 45 46/* |
|
41 * Generic IO read/write. These perform native-endian accesses. Note 42 * that some architectures will want to re-define __raw_{read,write}w. 43 */ 44extern void __raw_writesb(void __iomem *addr, const void *data, int bytelen); 45extern void __raw_writesw(void __iomem *addr, const void *data, int wordlen); 46extern void __raw_writesl(void __iomem *addr, const void *data, int longlen); 47 48extern void __raw_readsb(const void __iomem *addr, void *data, int bytelen); --- 362 unchanged lines hidden --- | 47 * Generic IO read/write. These perform native-endian accesses. Note 48 * that some architectures will want to re-define __raw_{read,write}w. 49 */ 50extern void __raw_writesb(void __iomem *addr, const void *data, int bytelen); 51extern void __raw_writesw(void __iomem *addr, const void *data, int wordlen); 52extern void __raw_writesl(void __iomem *addr, const void *data, int longlen); 53 54extern void __raw_readsb(const void __iomem *addr, void *data, int bytelen); --- 362 unchanged lines hidden --- |