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_USB(port)   _port2addr_usb(port)
 
#define LAN_IOSTART   (0x300 | NONCACHE_OFFSET)
 
#define LAN_IOEND   (0x320 | NONCACHE_OFFSET)
 
#define PORT2ADDR_NE(port)   _port2addr_ne(port)
 

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

#define LAN_IOSTART   (0x300 | NONCACHE_OFFSET)

Definition at line 66 of file io.c.

#define PORT2ADDR (   port)    _port2addr(port)

Definition at line 33 of file io.c.

#define PORT2ADDR_NE (   port)    _port2addr_ne(port)

Definition at line 86 of file io.c.

#define PORT2ADDR_USB (   port)    _port2addr_usb(port)

Definition at line 34 of file io.c.

Function Documentation

unsigned char _inb ( unsigned long  port)

Definition at line 116 of file io.c.

unsigned char _inb_p ( unsigned long  port)

Definition at line 172 of file io.c.

unsigned long _inl ( unsigned long  port)

Definition at line 160 of file io.c.

unsigned long _inl_p ( unsigned long  port)

Definition at line 186 of file io.c.

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

Definition at line 262 of file io.c.

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

Definition at line 319 of file io.c.

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

Definition at line 288 of file io.c.

unsigned short _inw ( unsigned long  port)

Definition at line 137 of file io.c.

unsigned short _inw_p ( unsigned long  port)

Definition at line 179 of file io.c.

void _outb ( unsigned char  b,
unsigned long  port 
)

Definition at line 193 of file io.c.

void _outb_p ( unsigned char  b,
unsigned long  port 
)

Definition at line 244 of file io.c.

void _outl ( unsigned long  l,
unsigned long  port 
)

Definition at line 234 of file io.c.

void _outl_p ( unsigned long  l,
unsigned long  port 
)

Definition at line 256 of file io.c.

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

Definition at line 329 of file io.c.

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

Definition at line 387 of file io.c.

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

Definition at line 356 of file io.c.

void _outw ( unsigned short  w,
unsigned long  port 
)

Definition at line 211 of file io.c.

void _outw_p ( unsigned short  w,
unsigned long  port 
)

Definition at line 250 of file io.c.