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 <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/io.h>
#include <mach/hardware.h>
#include <asm/page.h>

Go to the source code of this file.

Macros

#define SUPERIO_PORT(p)
 

Functions

u8 __readb (const volatile void __iomem *addr)
 
u16 __readw (const volatile void __iomem *addr)
 
u32 __readl (const volatile void __iomem *addr)
 
 EXPORT_SYMBOL (__readb)
 
 EXPORT_SYMBOL (__readw)
 
 EXPORT_SYMBOL (__readl)
 
void readsw (const void __iomem *addr, void *data, int len)
 
 EXPORT_SYMBOL (readsw)
 
void readsl (const void __iomem *addr, void *data, int len)
 
 EXPORT_SYMBOL (readsl)
 
void __writeb (u8 val, void __iomem *addr)
 
void __writew (u16 val, void __iomem *addr)
 
void __writel (u32 val, void __iomem *addr)
 
 EXPORT_SYMBOL (__writeb)
 
 EXPORT_SYMBOL (__writew)
 
 EXPORT_SYMBOL (__writel)
 
void writesw (void __iomem *addr, const void *data, int len)
 
 EXPORT_SYMBOL (writesw)
 
void writesl (void __iomem *addr, const void *data, int len)
 
 EXPORT_SYMBOL (writesl)
 
u8 __inb8 (unsigned int port)
 
u8 __inb16 (unsigned int port)
 
u16 __inw (unsigned int port)
 
u32 __inl (unsigned int port)
 
 EXPORT_SYMBOL (__inb8)
 
 EXPORT_SYMBOL (__inb16)
 
 EXPORT_SYMBOL (__inw)
 
 EXPORT_SYMBOL (__inl)
 
void __outb8 (u8 val, unsigned int port)
 
void __outb16 (u8 val, unsigned int port)
 
void __outw (u16 val, unsigned int port)
 
void __outl (u32 val, unsigned int port)
 
 EXPORT_SYMBOL (__outb8)
 
 EXPORT_SYMBOL (__outb16)
 
 EXPORT_SYMBOL (__outw)
 
 EXPORT_SYMBOL (__outl)
 
void outsb (unsigned int port, const void *from, int len)
 
void insb (unsigned int port, void *from, int len)
 
 EXPORT_SYMBOL (outsb)
 
 EXPORT_SYMBOL (insb)
 
void outsw (unsigned int port, const void *from, int len)
 
void insw (unsigned int port, void *from, int len)
 
 EXPORT_SYMBOL (outsw)
 
 EXPORT_SYMBOL (insw)
 
void outsl (unsigned int port, const void *from, int len)
 
void insl (unsigned int port, void *from, int len)
 
 EXPORT_SYMBOL (outsl)
 
 EXPORT_SYMBOL (insl)
 

Macro Definition Documentation

#define SUPERIO_PORT (   p)
Value:
(((p) >> 3) == (0x3f8 >> 3) || \
((p) >> 3) == (0x2f8 >> 3) || \
((p) >> 3) == (0x378 >> 3))

Definition at line 200 of file io.c.

Function Documentation

u8 __inb16 ( unsigned int  port)

Definition at line 236 of file io.c.

u8 __inb8 ( unsigned int  port)

Definition at line 209 of file io.c.

u32 __inl ( unsigned int  port)

Definition at line 270 of file io.c.

u16 __inw ( unsigned int  port)

Definition at line 251 of file io.c.

void __outb16 ( u8  val,
unsigned int  port 
)

Definition at line 307 of file io.c.

void __outb8 ( u8  val,
unsigned int  port 
)

Definition at line 287 of file io.c.

void __outl ( u32  val,
unsigned int  port 
)

Definition at line 338 of file io.c.

void __outw ( u16  val,
unsigned int  port 
)

Definition at line 322 of file io.c.

u8 __readb ( const volatile void __iomem addr)

Definition at line 66 of file io.c.

u32 __readl ( const volatile void __iomem addr)

Definition at line 88 of file io.c.

u16 __readw ( const volatile void __iomem addr)

Definition at line 78 of file io.c.

void __writeb ( u8  val,
void __iomem addr 
)

Definition at line 125 of file io.c.

void __writel ( u32  val,
void __iomem addr 
)

Definition at line 145 of file io.c.

void __writew ( u16  val,
void __iomem addr 
)

Definition at line 135 of file io.c.

EXPORT_SYMBOL ( __readb  )
EXPORT_SYMBOL ( __readw  )
EXPORT_SYMBOL ( __readl  )
EXPORT_SYMBOL ( readsw  )
EXPORT_SYMBOL ( readsl  )
EXPORT_SYMBOL ( __writeb  )
EXPORT_SYMBOL ( __writew  )
EXPORT_SYMBOL ( __writel  )
EXPORT_SYMBOL ( writesw  )
EXPORT_SYMBOL ( writesl  )
EXPORT_SYMBOL ( __inb8  )
EXPORT_SYMBOL ( __inb16  )
EXPORT_SYMBOL ( __inw  )
EXPORT_SYMBOL ( __inl  )
EXPORT_SYMBOL ( __outb8  )
EXPORT_SYMBOL ( __outb16  )
EXPORT_SYMBOL ( __outw  )
EXPORT_SYMBOL ( __outl  )
EXPORT_SYMBOL ( outsb  )
EXPORT_SYMBOL ( insb  )
EXPORT_SYMBOL ( outsw  )
EXPORT_SYMBOL ( insw  )
EXPORT_SYMBOL ( outsl  )
EXPORT_SYMBOL ( insl  )
void insb ( unsigned int  port,
void from,
int  len 
)

Definition at line 363 of file io.c.

void insl ( unsigned int  port,
void from,
int  len 
)

Definition at line 428 of file io.c.

void insw ( unsigned int  port,
void from,
int  len 
)

Definition at line 396 of file io.c.

void outsb ( unsigned int  port,
const void from,
int  len 
)

Definition at line 348 of file io.c.

void outsl ( unsigned int  port,
const void from,
int  len 
)

Definition at line 418 of file io.c.

void outsw ( unsigned int  port,
const void from,
int  len 
)

Definition at line 381 of file io.c.

void readsl ( const void __iomem addr,
void data,
int  len 
)

Definition at line 115 of file io.c.

void readsw ( const void __iomem addr,
void data,
int  len 
)

Definition at line 105 of file io.c.

void writesl ( void __iomem addr,
const void data,
int  len 
)

Definition at line 170 of file io.c.

void writesw ( void __iomem addr,
const void data,
int  len 
)

Definition at line 160 of file io.c.