diff options
Diffstat (limited to 'arch/mn10300')
-rw-r--r-- | arch/mn10300/include/asm/io.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/mn10300/include/asm/io.h b/arch/mn10300/include/asm/io.h index c1a4119e6497..787255da744e 100644 --- a/arch/mn10300/include/asm/io.h +++ b/arch/mn10300/include/asm/io.h | |||
@@ -206,6 +206,19 @@ static inline void outsl(unsigned long addr, const void *buffer, int count) | |||
206 | #define iowrite32_rep(p, src, count) \ | 206 | #define iowrite32_rep(p, src, count) \ |
207 | outsl((unsigned long) (p), (src), (count)) | 207 | outsl((unsigned long) (p), (src), (count)) |
208 | 208 | ||
209 | #define readsb(p, dst, count) \ | ||
210 | insb((unsigned long) (p), (dst), (count)) | ||
211 | #define readsw(p, dst, count) \ | ||
212 | insw((unsigned long) (p), (dst), (count)) | ||
213 | #define readsl(p, dst, count) \ | ||
214 | insl((unsigned long) (p), (dst), (count)) | ||
215 | |||
216 | #define writesb(p, src, count) \ | ||
217 | outsb((unsigned long) (p), (src), (count)) | ||
218 | #define writesw(p, src, count) \ | ||
219 | outsw((unsigned long) (p), (src), (count)) | ||
220 | #define writesl(p, src, count) \ | ||
221 | outsl((unsigned long) (p), (src), (count)) | ||
209 | 222 | ||
210 | #define IO_SPACE_LIMIT 0xffffffff | 223 | #define IO_SPACE_LIMIT 0xffffffff |
211 | 224 | ||