diff options
Diffstat (limited to 'include/asm-sh/hs7751rvoip/io.h')
-rw-r--r-- | include/asm-sh/hs7751rvoip/io.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/include/asm-sh/hs7751rvoip/io.h b/include/asm-sh/hs7751rvoip/io.h new file mode 100644 index 000000000000..513c8514001b --- /dev/null +++ b/include/asm-sh/hs7751rvoip/io.h | |||
@@ -0,0 +1,39 @@ | |||
1 | /* | ||
2 | * include/asm-sh/hs7751rvoip/hs7751rvoip.h | ||
3 | * | ||
4 | * Modified version of io_se.h for the hs7751rvoip-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 Renesas Technology sales HS7751RVOIP | ||
10 | */ | ||
11 | |||
12 | #ifndef _ASM_SH_IO_HS7751RVOIP_H | ||
13 | #define _ASM_SH_IO_HS7751RVOIP_H | ||
14 | |||
15 | #include <asm/io_generic.h> | ||
16 | |||
17 | extern unsigned char hs7751rvoip_inb(unsigned long port); | ||
18 | extern unsigned short hs7751rvoip_inw(unsigned long port); | ||
19 | extern unsigned int hs7751rvoip_inl(unsigned long port); | ||
20 | |||
21 | extern void hs7751rvoip_outb(unsigned char value, unsigned long port); | ||
22 | extern void hs7751rvoip_outw(unsigned short value, unsigned long port); | ||
23 | extern void hs7751rvoip_outl(unsigned int value, unsigned long port); | ||
24 | |||
25 | extern unsigned char hs7751rvoip_inb_p(unsigned long port); | ||
26 | extern void hs7751rvoip_outb_p(unsigned char value, unsigned long port); | ||
27 | |||
28 | extern void hs7751rvoip_insb(unsigned long port, void *addr, unsigned long count); | ||
29 | extern void hs7751rvoip_insw(unsigned long port, void *addr, unsigned long count); | ||
30 | extern void hs7751rvoip_insl(unsigned long port, void *addr, unsigned long count); | ||
31 | extern void hs7751rvoip_outsb(unsigned long port, const void *addr, unsigned long count); | ||
32 | extern void hs7751rvoip_outsw(unsigned long port, const void *addr, unsigned long count); | ||
33 | extern void hs7751rvoip_outsl(unsigned long port, const void *addr, unsigned long count); | ||
34 | |||
35 | extern void *hs7751rvoip_ioremap(unsigned long offset, unsigned long size); | ||
36 | |||
37 | extern unsigned long hs7751rvoip_isa_port2addr(unsigned long offset); | ||
38 | |||
39 | #endif /* _ASM_SH_IO_HS7751RVOIP_H */ | ||