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 <linux/types.h>
#include "../../../../drivers/pcmcia/m32r_cfc.h"

Go to the source code of this file.

Macros

#define CFC_IOSTART   CFC_IOPORT_BASE
 
#define CFC_IOEND   (CFC_IOSTART + (M32R_PCC_MAPSIZE * M32R_MAX_PCC) - 1)
 
#define PORT2ADDR(port)   _port2addr(port)
 

Functions

void pcc_ioread_byte (int, unsigned long, void *, size_t, size_t, int)
 
void pcc_ioread_word (int, unsigned long, void *, size_t, size_t, int)
 
void pcc_iowrite_byte (int, unsigned long, void *, size_t, size_t, int)
 
void pcc_iowrite_word (int, unsigned long, void *, size_t, size_t, int)
 
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 CFC_IOEND   (CFC_IOSTART + (M32R_PCC_MAPSIZE * M32R_MAX_PCC) - 1)

Definition at line 27 of file io.c.

#define CFC_IOSTART   CFC_IOPORT_BASE

Definition at line 26 of file io.c.

#define PORT2ADDR (   port)    _port2addr(port)

Definition at line 39 of file io.c.

Function Documentation

unsigned char _inb ( unsigned long  port)

Definition at line 57 of file io.c.

unsigned char _inb_p ( unsigned long  port)

Definition at line 87 of file io.c.

unsigned long _inl ( unsigned long  port)

Definition at line 77 of file io.c.

unsigned long _inl_p ( unsigned long  port)

Definition at line 101 of file io.c.

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

Definition at line 150 of file io.c.

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

Definition at line 177 of file io.c.

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

Definition at line 162 of file io.c.

unsigned short _inw ( unsigned long  port)

Definition at line 67 of file io.c.

unsigned short _inw_p ( unsigned long  port)

Definition at line 94 of file io.c.

void _outb ( unsigned char  b,
unsigned long  port 
)

Definition at line 108 of file io.c.

void _outb_p ( unsigned char  b,
unsigned long  port 
)

Definition at line 132 of file io.c.

void _outl ( unsigned long  l,
unsigned long  port 
)

Definition at line 124 of file io.c.

void _outl_p ( unsigned long  l,
unsigned long  port 
)

Definition at line 144 of file io.c.

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

Definition at line 187 of file io.c.

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

Definition at line 217 of file io.c.

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

Definition at line 202 of file io.c.

void _outw ( unsigned short  w,
unsigned long  port 
)

Definition at line 116 of file io.c.

void _outw_p ( unsigned short  w,
unsigned long  port 
)

Definition at line 138 of file io.c.

void pcc_ioread_byte ( int  ,
unsigned  long,
void ,
size_t  ,
size_t  ,
int   
)

Definition at line 104 of file m32r_cfc.c.

void pcc_ioread_word ( int  ,
unsigned  long,
void ,
size_t  ,
size_t  ,
int   
)

Definition at line 129 of file m32r_cfc.c.

void pcc_iowrite_byte ( int  ,
unsigned  long,
void ,
size_t  ,
size_t  ,
int   
)

Definition at line 160 of file m32r_cfc.c.

void pcc_iowrite_word ( int  ,
unsigned  long,
void ,
size_t  ,
size_t  ,
int   
)

Definition at line 185 of file m32r_cfc.c.