root/include/asm-sparc/io.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


DEFINITIONS

This source file includes following definitions.
  1. inb_local
  2. outb_local
  3. inb
  4. inw
  5. outb
  6. outw
  7. outl
  8. readb
  9. readw
  10. readl
  11. writeb
  12. writew
  13. writel

   1 #ifndef __SPARC_IO_H
   2 #define __SPARC_IO_H
   3 
   4 /*
   5  * Defines for io operations on the Sparc. Whether a memory access is going
   6  * to i/o sparc is encoded in the pte. The type bits determine whether this
   7  * is i/o sparc, on board memory, or VME space for VME cards. I think VME
   8  * space only works on sun4's
   9  */
  10 
  11 extern inline unsigned long inb_local(unsigned long addr)
     /* [previous][next][first][last][top][bottom][index][help] */
  12 {
  13   return 0;
  14 }
  15 
  16 extern inline void outb_local(unsigned char b, unsigned long addr)
     /* [previous][next][first][last][top][bottom][index][help] */
  17 {
  18   return;
  19 }
  20 
  21 extern inline unsigned long inb(unsigned long addr)
     /* [previous][next][first][last][top][bottom][index][help] */
  22 {
  23   return 0;
  24 }
  25 
  26 extern inline unsigned long inw(unsigned long addr)
     /* [previous][next][first][last][top][bottom][index][help] */
  27 {
  28   return 0;
  29 }
  30 
  31 extern inline unsigned long inl(unsigned long addr)
  32 {
  33   return 0;
  34 }
  35 
  36 extern inline void outb(unsigned char b, unsigned long addr)
     /* [previous][next][first][last][top][bottom][index][help] */
  37 {
  38   return;
  39 }
  40 
  41 extern inline void outw(unsigned short b, unsigned long addr)
     /* [previous][next][first][last][top][bottom][index][help] */
  42 {
  43   return;
  44 }
  45 
  46 extern inline void outl(unsigned int b, unsigned long addr)
     /* [previous][next][first][last][top][bottom][index][help] */
  47 {
  48   return;
  49 }
  50 
  51 /*
  52  * Memory functions
  53  */
  54 extern inline unsigned long readb(unsigned long addr)
     /* [previous][next][first][last][top][bottom][index][help] */
  55 {
  56   return 0;
  57 }
  58 
  59 extern inline unsigned long readw(unsigned long addr)
     /* [previous][next][first][last][top][bottom][index][help] */
  60 {
  61   return 0;
  62 }
  63 
  64 extern inline unsigned long readl(unsigned long addr)
     /* [previous][next][first][last][top][bottom][index][help] */
  65 {
  66   return 0;
  67 }
  68 
  69 extern inline void writeb(unsigned short b, unsigned long addr)
     /* [previous][next][first][last][top][bottom][index][help] */
  70 {
  71   return;
  72 }
  73 
  74 extern inline void writew(unsigned short b, unsigned long addr)
     /* [previous][next][first][last][top][bottom][index][help] */
  75 {
  76   return;
  77 }
  78 
  79 extern inline void writel(unsigned int b, unsigned long addr)
     /* [previous][next][first][last][top][bottom][index][help] */
  80 {
  81   return;
  82 }
  83 
  84 #define inb_p inb
  85 #define outb_p outb
  86 
  87 #endif /* !(__SPARC_IO_H) */

/* [previous][next][first][last][top][bottom][index][help] */