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 59 of file io.c.

#define LAN_IOSTART   (0x300 | NONCACHE_OFFSET)

Definition at line 58 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 112 of file io.c.

unsigned char _inb_p ( unsigned long  port)

Definition at line 168 of file io.c.

unsigned long _inl ( unsigned long  port)

Definition at line 156 of file io.c.

unsigned long _inl_p ( unsigned long  port)

Definition at line 182 of file io.c.

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

Definition at line 258 of file io.c.

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

Definition at line 311 of file io.c.

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

Definition at line 284 of file io.c.

unsigned short _inw ( unsigned long  port)

Definition at line 132 of file io.c.

unsigned short _inw_p ( unsigned long  port)

Definition at line 175 of file io.c.

void _outb ( unsigned char  b,
unsigned long  port 
)

Definition at line 189 of file io.c.

void _outb_p ( unsigned char  b,
unsigned long  port 
)

Definition at line 240 of file io.c.

void _outl ( unsigned long  l,
unsigned long  port 
)

Definition at line 230 of file io.c.

void _outl_p ( unsigned long  l,
unsigned long  port 
)

Definition at line 252 of file io.c.

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

Definition at line 321 of file io.c.

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

Definition at line 375 of file io.c.

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

Definition at line 348 of file io.c.

void _outw ( unsigned short  w,
unsigned long  port 
)

Definition at line 207 of file io.c.

void _outw_p ( unsigned short  w,
unsigned long  port 
)

Definition at line 246 of file io.c.