Paul Mundt | c2a560f | 2006-10-19 17:31:22 +0900 | [diff] [blame] | 1 | /* |
| 2 | * include/asm-sh/edosk7705/io.h |
| 3 | * |
| 4 | * Modified version of io_se.h for the EDOSK7705 specific functions. |
| 5 | * |
| 6 | * May be copied or modified under the terms of the GNU General Public |
| 7 | * License. See linux/COPYING for more information. |
| 8 | * |
| 9 | * IO functions for an Hitachi EDOSK7705 development board |
| 10 | */ |
| 11 | |
| 12 | #ifndef __ASM_SH_EDOSK7705_IO_H |
| 13 | #define __ASM_SH_EDOSK7705_IO_H |
| 14 | |
| 15 | #include <asm/io_generic.h> |
| 16 | |
| 17 | extern unsigned char sh_edosk7705_inb(unsigned long port); |
| 18 | extern unsigned int sh_edosk7705_inl(unsigned long port); |
| 19 | |
| 20 | extern void sh_edosk7705_outb(unsigned char value, unsigned long port); |
| 21 | extern void sh_edosk7705_outl(unsigned int value, unsigned long port); |
| 22 | |
| 23 | extern void sh_edosk7705_insb(unsigned long port, void *addr, unsigned long count); |
| 24 | extern void sh_edosk7705_insl(unsigned long port, void *addr, unsigned long count); |
| 25 | extern void sh_edosk7705_outsb(unsigned long port, const void *addr, unsigned long count); |
| 26 | extern void sh_edosk7705_outsl(unsigned long port, const void *addr, unsigned long count); |
| 27 | |
| 28 | extern unsigned long sh_edosk7705_isa_port2addr(unsigned long offset); |
| 29 | |
| 30 | #endif /* __ASM_SH_EDOSK7705_IO_H */ |