~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/asm-sh/io_se.h

Version: ~ [ linux-5.10-rc1 ] ~ [ linux-5.9.1 ] ~ [ linux-5.8.16 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.72 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.152 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.202 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.240 ] ~ [ linux-4.8.17 ] ~ [ linux-4.7.10 ] ~ [ linux-4.6.7 ] ~ [ linux-4.5.7 ] ~ [ linux-4.4.240 ] ~ [ linux-4.3.6 ] ~ [ linux-4.2.8 ] ~ [ linux-4.1.52 ] ~ [ linux-4.0.9 ] ~ [ linux-3.19.8 ] ~ [ linux-3.18.140 ] ~ [ linux-3.17.8 ] ~ [ linux-3.16.85 ] ~ [ linux-3.15.10 ] ~ [ linux-3.14.79 ] ~ [ linux-3.13.11 ] ~ [ linux-3.12.74 ] ~ [ linux-3.11.10 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.5 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /*
  2  * include/asm-sh/io_se.h
  3  *
  4  * Copyright 2000 Stuart Menefy (stuart.menefy@st.com)
  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 SolutionEngine
 10  */
 11 
 12 #ifndef _ASM_SH_IO_SE_H
 13 #define _ASM_SH_IO_SE_H
 14 
 15 #include <asm/io_generic.h>
 16 
 17 extern unsigned char se_inb(unsigned long port);
 18 extern unsigned short se_inw(unsigned long port);
 19 extern unsigned int se_inl(unsigned long port);
 20 
 21 extern void se_outb(unsigned char value, unsigned long port);
 22 extern void se_outw(unsigned short value, unsigned long port);
 23 extern void se_outl(unsigned int value, unsigned long port);
 24 
 25 extern unsigned char se_inb_p(unsigned long port);
 26 extern void se_outb_p(unsigned char value, unsigned long port);
 27 
 28 extern void se_insb(unsigned long port, void *addr, unsigned long count);
 29 extern void se_insw(unsigned long port, void *addr, unsigned long count);
 30 extern void se_insl(unsigned long port, void *addr, unsigned long count);
 31 extern void se_outsb(unsigned long port, const void *addr, unsigned long count);
 32 extern void se_outsw(unsigned long port, const void *addr, unsigned long count);
 33 extern void se_outsl(unsigned long port, const void *addr, unsigned long count);
 34 
 35 extern unsigned char se_readb(unsigned long addr);
 36 extern unsigned short se_readw(unsigned long addr);
 37 extern unsigned int se_readl(unsigned long addr);
 38 extern void se_writeb(unsigned char b, unsigned long addr);
 39 extern void se_writew(unsigned short b, unsigned long addr);
 40 extern void se_writel(unsigned int b, unsigned long addr);
 41 
 42 extern unsigned long se_isa_port2addr(unsigned long offset);
 43 
 44 #ifdef __WANT_IO_DEF
 45 
 46 # define __inb                  se_inb
 47 # define __inw                  se_inw
 48 # define __inl                  se_inl
 49 # define __outb                 se_outb
 50 # define __outw                 se_outw
 51 # define __outl                 se_outl
 52 
 53 # define __inb_p                se_inb_p
 54 # define __inw_p                se_inw
 55 # define __inl_p                se_inl
 56 # define __outb_p               se_outb_p
 57 # define __outw_p               se_outw
 58 # define __outl_p               se_outl
 59 
 60 # define __insb                 se_insb
 61 # define __insw                 se_insw
 62 # define __insl                 se_insl
 63 # define __outsb                se_outsb
 64 # define __outsw                se_outsw
 65 # define __outsl                se_outsl
 66 
 67 # define __readb                se_readb
 68 # define __readw                se_readw
 69 # define __readl                se_readl
 70 # define __writeb               se_writeb
 71 # define __writew               se_writew
 72 # define __writel               se_writel
 73 
 74 # define __isa_port2addr        se_isa_port2addr
 75 # define __ioremap              generic_ioremap
 76 # define __iounmap              generic_iounmap
 77 
 78 #endif
 79 
 80 #endif /* _ASM_SH_IO_SE_H */
 81 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | Wiki (Japanese) | Wiki (English) | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

osdn.jp