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/kernel.h>
#include <linux/types.h>
#include <linux/compiler.h>
#include <linux/export.h>
#include <asm/io.h>
#include <asm/firmware.h>
#include <asm/bug.h>

Go to the source code of this file.

Macros

#define IO_CHECK_ALIGN(v, a)   ((((unsigned long)(v)) & ((a) - 1)) == 0)
 

Functions

void _insb (const volatile u8 __iomem *port, void *buf, long count)
 
 EXPORT_SYMBOL (_insb)
 
void _outsb (volatile u8 __iomem *port, const void *buf, long count)
 
 EXPORT_SYMBOL (_outsb)
 
void _insw_ns (const volatile u16 __iomem *port, void *buf, long count)
 
 EXPORT_SYMBOL (_insw_ns)
 
void _outsw_ns (volatile u16 __iomem *port, const void *buf, long count)
 
 EXPORT_SYMBOL (_outsw_ns)
 
void _insl_ns (const volatile u32 __iomem *port, void *buf, long count)
 
 EXPORT_SYMBOL (_insl_ns)
 
void _outsl_ns (volatile u32 __iomem *port, const void *buf, long count)
 
 EXPORT_SYMBOL (_outsl_ns)
 
notrace void _memset_io (volatile void __iomem *addr, int c, unsigned long n)
 
 EXPORT_SYMBOL (_memset_io)
 
void _memcpy_fromio (void *dest, const volatile void __iomem *src, unsigned long n)
 
 EXPORT_SYMBOL (_memcpy_fromio)
 
void _memcpy_toio (volatile void __iomem *dest, const void *src, unsigned long n)
 
 EXPORT_SYMBOL (_memcpy_toio)
 

Macro Definition Documentation

#define IO_CHECK_ALIGN (   v,
  a 
)    ((((unsigned long)(v)) & ((a) - 1)) == 0)

Definition at line 121 of file io.c.

Function Documentation

void _insb ( const volatile u8 __iomem port,
void buf,
long  count 
)

Definition at line 28 of file io.c.

void _insl_ns ( const volatile u32 __iomem port,
void buf,
long  count 
)

Definition at line 90 of file io.c.

void _insw_ns ( const volatile u16 __iomem port,
void buf,
long  count 
)

Definition at line 59 of file io.c.

void _memcpy_fromio ( void dest,
const volatile void __iomem src,
unsigned long  n 
)

Definition at line 151 of file io.c.

void _memcpy_toio ( volatile void __iomem dest,
const void src,
unsigned long  n 
)

Definition at line 182 of file io.c.

notrace void _memset_io ( volatile void __iomem addr,
int  c,
unsigned long  n 
)

Definition at line 124 of file io.c.

void _outsb ( volatile u8 __iomem port,
const void buf,
long  count 
)

Definition at line 45 of file io.c.

void _outsl_ns ( volatile u32 __iomem port,
const void buf,
long  count 
)

Definition at line 107 of file io.c.

void _outsw_ns ( volatile u16 __iomem port,
const void buf,
long  count 
)

Definition at line 76 of file io.c.

EXPORT_SYMBOL ( _insb  )
EXPORT_SYMBOL ( _outsb  )
EXPORT_SYMBOL ( _insw_ns  )
EXPORT_SYMBOL ( _outsw_ns  )
EXPORT_SYMBOL ( _insl_ns  )
EXPORT_SYMBOL ( _outsl_ns  )
EXPORT_SYMBOL ( _memset_io  )
EXPORT_SYMBOL ( _memcpy_fromio  )
EXPORT_SYMBOL ( _memcpy_toio  )