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

TOMOYO Linux Cross Reference
Linux/include/asm-sh/hd64461/io.h

Version: ~ [ linux-5.9 ] ~ [ linux-5.8.14 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.70 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.150 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.200 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.238 ] ~ [ linux-4.8.17 ] ~ [ linux-4.7.10 ] ~ [ linux-4.6.7 ] ~ [ linux-4.5.7 ] ~ [ linux-4.4.238 ] ~ [ 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_hd64461.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 HD64461
 10  */
 11 
 12 #ifndef _ASM_SH_IO_HD64461_H
 13 #define _ASM_SH_IO_HD64461_H
 14 
 15 #include <asm/io_generic.h>
 16 
 17 extern unsigned char hd64461_inb(unsigned long port);
 18 extern unsigned short hd64461_inw(unsigned long port);
 19 extern unsigned int hd64461_inl(unsigned long port);
 20 
 21 extern void hd64461_outb(unsigned char value, unsigned long port);
 22 extern void hd64461_outw(unsigned short value, unsigned long port);
 23 extern void hd64461_outl(unsigned int value, unsigned long port);
 24 
 25 extern unsigned char hd64461_inb_p(unsigned long port);
 26 extern void hd64461_outb_p(unsigned char value, unsigned long port);
 27 
 28 extern void hd64461_insb(unsigned long port, void *addr, unsigned long count);
 29 extern void hd64461_insw(unsigned long port, void *addr, unsigned long count);
 30 extern void hd64461_insl(unsigned long port, void *addr, unsigned long count);
 31 extern void hd64461_outsb(unsigned long port, const void *addr, unsigned long count);
 32 extern void hd64461_outsw(unsigned long port, const void *addr, unsigned long count);
 33 extern void hd64461_outsl(unsigned long port, const void *addr, unsigned long count);
 34 extern int hd64461_irq_demux(int irq);
 35 
 36 #ifdef __WANT_IO_DEF
 37 
 38 # define __inb                  hd64461_inb
 39 # define __inw                  hd64461_inw
 40 # define __inl                  hd64461_inl
 41 # define __outb                 hd64461_outb
 42 # define __outw                 hd64461_outw
 43 # define __outl                 hd64461_outl
 44 
 45 # define __inb_p                hd64461_inb_p
 46 # define __inw_p                hd64461_inw
 47 # define __inl_p                hd64461_inl
 48 # define __outb_p               hd64461_outb_p
 49 # define __outw_p               hd64461_outw
 50 # define __outl_p               hd64461_outl
 51 
 52 # define __insb                 hd64461_insb
 53 # define __insw                 hd64461_insw
 54 # define __insl                 hd64461_insl
 55 # define __outsb                hd64461_outsb
 56 # define __outsw                hd64461_outsw
 57 # define __outsl                hd64461_outsl
 58 
 59 # define __readb                generic_readb
 60 # define __readw                generic_readw
 61 # define __readl                generic_readl
 62 # define __writeb               generic_writeb
 63 # define __writew               generic_writew
 64 # define __writel               generic_writel
 65 
 66 # define __isa_port2addr        generic_isa_port2addr
 67 # define __ioremap              generic_ioremap
 68 # define __ioremap_nocache      generic_ioremap_nocache
 69 # define __iounmap              generic_iounmap
 70 
 71 #endif
 72 
 73 #endif /* _ASM_SH_IO_HD64461_H */
 74 

~ [ 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