Go to the source code of this file.
Macros | 
| #define  | outb(port, data) | 
| #define  | inb(port) | 
| #define  | outl(port, data) | 
| #define  | inl(port) | 
Macro Definition Documentation
Value:({                                                              \
  unsigned char res;                                            \
  asm volatile ("inb %w1,%0"                                    \
                :"=a" (res)                                     \
                :"d" (port));                                   \
  res;                                                          \
})
 
Definition at line 28 of file ioports.h.
 
 
Value:({                                                              \
  unsigned int res;                                             \
  asm volatile ("inl %w1,%0"                                    \
                :"=a" (res)                                     \
                :"d" (port));                                   \
  res;                                                          \
})
 
Definition at line 42 of file ioports.h.
 
 
      
        
          | #define outb | 
          ( | 
            | 
          port,  | 
        
        
           | 
           | 
            | 
          data  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Value:asm volatile ("outb %b0,%w1"                                  \
                :                                               \
                :"a" (data),"d" (port))
 
Definition at line 23 of file ioports.h.
 
 
      
        
          | #define outl | 
          ( | 
            | 
          port,  | 
        
        
           | 
           | 
            | 
          data  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Value:asm volatile ("outl %0,%w1"                                     \
                :                                               \
                :"a" (data),"d" (port))
 
Definition at line 37 of file ioports.h.