Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ioremap.c File Reference
#include <linux/module.h>
#include <asm/addrspace.h>
#include <asm/byteorder.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <asm/cacheflush.h>
#include <asm/io.h>
#include <asm/tlbflush.h>

Go to the source code of this file.

Macros

#define IS_LOW512(addr)   (!((phys_t)(addr) & (phys_t) ~0x1fffffffULL))
 
#define IS_KSEG1(addr)   (((unsigned long)(addr) & ~0x1fffffffUL) == CKSEG1)
 

Functions

void __iomem__ioremap (phys_t phys_addr, phys_t size, unsigned long flags)
 
void __iounmap (const volatile void __iomem *addr)
 
 EXPORT_SYMBOL (__ioremap)
 
 EXPORT_SYMBOL (__iounmap)
 

Macro Definition Documentation

#define IS_KSEG1 (   addr)    (((unsigned long)(addr) & ~0x1fffffffUL) == CKSEG1)

Definition at line 175 of file ioremap.c.

#define IS_LOW512 (   addr)    (!((phys_t)(addr) & (phys_t) ~0x1fffffffULL))

Definition at line 114 of file ioremap.c.

Function Documentation

void __iomem* __ioremap ( phys_t  phys_addr,
phys_t  size,
unsigned long  flags 
)

Definition at line 116 of file ioremap.c.

void __iounmap ( const volatile void __iomem addr)

Definition at line 177 of file ioremap.c.

EXPORT_SYMBOL ( __ioremap  )
EXPORT_SYMBOL ( __iounmap  )