Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
io.c File Reference
#include <asm/m32r.h>
#include <asm/page.h>
#include <asm/io.h>
#include <asm/byteorder.h>

Go to the source code of this file.

Macros

#define PORT2ADDR(port)   _port2addr(port)
 
#define PORT2ADDR_NE(port)   _port2addr_ne(port)
 
#define PORT2ADDR_USB(port)   _port2addr_usb(port)
 
#define LAN_IOSTART   (0x300 | NONCACHE_OFFSET)
 
#define LAN_IOEND   (0x320 | NONCACHE_OFFSET)
 

Functions

unsigned char _inb (unsigned long port)
 
unsigned short _inw (unsigned long port)
 
unsigned long _inl (unsigned long port)
 
unsigned char _inb_p (unsigned long port)
 
unsigned short _inw_p (unsigned long port)
 
unsigned long _inl_p (unsigned long port)
 
void _outb (unsigned char b, unsigned long port)
 
void _outw (unsigned short w, unsigned long port)
 
void _outl (unsigned long l, unsigned long port)
 
void _outb_p (unsigned char b, unsigned long port)
 
void _outw_p (unsigned short w, unsigned long port)
 
void _outl_p (unsigned long l, unsigned long port)
 
void _insb (unsigned int port, void *addr, unsigned long count)
 
void _insw (unsigned int port, void *addr, unsigned long count)
 
void _insl (unsigned int port, void *addr, unsigned long count)
 
void _outsb (unsigned int port, const void *addr, unsigned long count)
 
void _outsw (unsigned int port, const void *addr, unsigned long count)
 
void _outsl (unsigned int port, const void *addr, unsigned long count)
 

Macro Definition Documentation

#define LAN_IOEND   (0x320 | NONCACHE_OFFSET)

Definition at line 80 of file io.c.

#define LAN_IOSTART   (0x300 | NONCACHE_OFFSET)

Definition at line 79 of file io.c.

#define PORT2ADDR (   port)    _port2addr(port)

Definition at line 29 of file io.c.

#define PORT2ADDR_NE (   port)    _port2addr_ne(port)

Definition at line 30 of file io.c.

#define PORT2ADDR_USB (   port)    _port2addr_usb(port)

Definition at line 31 of file io.c.

Function Documentation

unsigned char _inb ( unsigned long  port)

Definition at line 127 of file io.c.

unsigned char _inb_p ( unsigned long  port)

Definition at line 184 of file io.c.

unsigned long _inl ( unsigned long  port)

Definition at line 172 of file io.c.

unsigned long _inl_p ( unsigned long  port)

Definition at line 198 of file io.c.

void _insb ( unsigned int  port,
void addr,
unsigned long  count 
)

Definition at line 276 of file io.c.

void _insl ( unsigned int  port,
void addr,
unsigned long  count 
)

Definition at line 331 of file io.c.

void _insw ( unsigned int  port,
void addr,
unsigned long  count 
)

Definition at line 303 of file io.c.

unsigned short _inw ( unsigned long  port)

Definition at line 147 of file io.c.

unsigned short _inw_p ( unsigned long  port)

Definition at line 191 of file io.c.

void _outb ( unsigned char  b,
unsigned long  port 
)

Definition at line 205 of file io.c.

void _outb_p ( unsigned char  b,
unsigned long  port 
)

Definition at line 258 of file io.c.

void _outl ( unsigned long  l,
unsigned long  port 
)

Definition at line 248 of file io.c.

void _outl_p ( unsigned long  l,
unsigned long  port 
)

Definition at line 270 of file io.c.

void _outsb ( unsigned int  port,
const void addr,
unsigned long  count 
)

Definition at line 341 of file io.c.

void _outsl ( unsigned int  port,
const void addr,
unsigned long  count 
)

Definition at line 397 of file io.c.

void _outsw ( unsigned int  port,
const void addr,
unsigned long  count 
)

Definition at line 369 of file io.c.

void _outw ( unsigned short  w,
unsigned long  port 
)

Definition at line 224 of file io.c.

void _outw_p ( unsigned short  w,
unsigned long  port 
)

Definition at line 264 of file io.c.