2 * include/asm-sh/hs7751rvoip/hs7751rvoip.h
4 * Modified version of io_se.h for the hs7751rvoip-specific functions.
6 * May be copied or modified under the terms of the GNU General Public
7 * License. See linux/COPYING for more information.
9 * IO functions for an Renesas Technology sales HS7751RVOIP
12 #ifndef _ASM_SH_IO_HS7751RVOIP_H
13 #define _ASM_SH_IO_HS7751RVOIP_H
15 #include <asm/io_generic.h>
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
);
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
);
25 extern unsigned char hs7751rvoip_inb_p(unsigned long port
);
26 extern void hs7751rvoip_outb_p(unsigned char value
, unsigned long port
);
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
);
35 extern void *hs7751rvoip_ioremap(unsigned long offset
, unsigned long size
);
37 extern unsigned long hs7751rvoip_isa_port2addr(unsigned long offset
);
39 #endif /* _ASM_SH_IO_HS7751RVOIP_H */