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

#define LAN_IOSTART   (0x300 | NONCACHE_OFFSET)

Definition at line 62 of file io.c.

#define PORT2ADDR (   port)    _port2addr(port)

Definition at line 30 of file io.c.

#define PORT2ADDR_NE (   port)    _port2addr_ne(port)

Definition at line 78 of file io.c.

Function Documentation

unsigned char _inb ( unsigned long  port)

Definition at line 108 of file io.c.

unsigned char _inb_p ( unsigned long  port)

Definition at line 129 of file io.c.

unsigned long _inl ( unsigned long  port)

Definition at line 124 of file io.c.

unsigned long _inl_p ( unsigned long  port)

Definition at line 143 of file io.c.

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

Definition at line 189 of file io.c.

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

Definition at line 232 of file io.c.

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

Definition at line 201 of file io.c.

unsigned short _inw ( unsigned long  port)

Definition at line 116 of file io.c.

unsigned short _inw_p ( unsigned long  port)

Definition at line 136 of file io.c.

void _outb ( unsigned char  b,
unsigned long  port 
)

Definition at line 150 of file io.c.

void _outb_p ( unsigned char  b,
unsigned long  port 
)

Definition at line 171 of file io.c.

void _outl ( unsigned long  l,
unsigned long  port 
)

Definition at line 166 of file io.c.

void _outl_p ( unsigned long  l,
unsigned long  port 
)

Definition at line 183 of file io.c.

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

Definition at line 242 of file io.c.

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

Definition at line 289 of file io.c.

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

Definition at line 258 of file io.c.

void _outw ( unsigned short  w,
unsigned long  port 
)

Definition at line 158 of file io.c.

void _outw_p ( unsigned short  w,
unsigned long  port 
)

Definition at line 177 of file io.c.