io.h (a0ab36689a36e583b6e736f1c99ac8c9aebdad59) | io.h (4d35b93a66e9b87df20784fcf130d2e8760be53f) |
---|---|
1#ifndef __ASM_SH_IO_H 2#define __ASM_SH_IO_H 3/* 4 * Convention: 5 * read{b,w,l,q}/write{b,w,l,q} are for PCI, 6 * while in{b,w,l}/out{b,w,l} are for ISA 7 * 8 * In addition we have 'pausing' versions: in{b,w,l}_p/out{b,w,l}_p --- 223 unchanged lines hidden (view full) --- 232 * On the SH-5 the concept of segmentation in the 1:1 PXSEG sense simply 233 * doesn't exist, so everything must go through page tables. 234 */ 235#ifdef CONFIG_MMU 236void __iomem *__ioremap_caller(unsigned long offset, unsigned long size, 237 unsigned long flags, void *caller); 238void __iounmap(void __iomem *addr); 239 | 1#ifndef __ASM_SH_IO_H 2#define __ASM_SH_IO_H 3/* 4 * Convention: 5 * read{b,w,l,q}/write{b,w,l,q} are for PCI, 6 * while in{b,w,l}/out{b,w,l} are for ISA 7 * 8 * In addition we have 'pausing' versions: in{b,w,l}_p/out{b,w,l}_p --- 223 unchanged lines hidden (view full) --- 232 * On the SH-5 the concept of segmentation in the 1:1 PXSEG sense simply 233 * doesn't exist, so everything must go through page tables. 234 */ 235#ifdef CONFIG_MMU 236void __iomem *__ioremap_caller(unsigned long offset, unsigned long size, 237 unsigned long flags, void *caller); 238void __iounmap(void __iomem *addr); 239 |
240#ifdef CONFIG_IOREMAP_FIXED 241extern void __iomem *ioremap_fixed(resource_size_t, unsigned long, pgprot_t); 242extern void iounmap_fixed(void __iomem *); 243extern void ioremap_fixed_init(void); 244#endif 245 |
|
240static inline void __iomem * 241__ioremap(unsigned long offset, unsigned long size, unsigned long flags) 242{ 243 return __ioremap_caller(offset, size, flags, __builtin_return_address(0)); 244} 245 246static inline void __iomem * 247__ioremap_29bit(unsigned long offset, unsigned long size, unsigned long flags) --- 81 unchanged lines hidden --- | 246static inline void __iomem * 247__ioremap(unsigned long offset, unsigned long size, unsigned long flags) 248{ 249 return __ioremap_caller(offset, size, flags, __builtin_return_address(0)); 250} 251 252static inline void __iomem * 253__ioremap_29bit(unsigned long offset, unsigned long size, unsigned long flags) --- 81 unchanged lines hidden --- |