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/init.h>
#include <linux/io.h>
#include <linux/export.h>
#include <mach/hardware.h>
#include <asm/page.h>
#include <mach/msm_iomap.h>
#include <asm/mach/map.h>
#include <mach/board.h>
#include "common.h"

Go to the source code of this file.

Macros

#define MSM_CHIP_DEVICE_TYPE(name, chip, mem_type)
 
#define MSM_DEVICE_TYPE(name, mem_type)   MSM_CHIP_DEVICE_TYPE(name, MSM, mem_type)
 
#define MSM_CHIP_DEVICE(name, chip)   MSM_CHIP_DEVICE_TYPE(name, chip, MT_DEVICE)
 
#define MSM_DEVICE(name)   MSM_CHIP_DEVICE(name, MSM)
 

Functions

void __iomem__msm_ioremap_caller (unsigned long phys_addr, size_t size, unsigned int mtype, void *caller)
 

Macro Definition Documentation

#define MSM_CHIP_DEVICE (   name,
  chip 
)    MSM_CHIP_DEVICE_TYPE(name, chip, MT_DEVICE)

Definition at line 43 of file io.c.

#define MSM_CHIP_DEVICE_TYPE (   name,
  chip,
  mem_type 
)
Value:
{ \
.virtual = (unsigned long) MSM_##name##_BASE, \
.pfn = __phys_to_pfn(chip##_##name##_PHYS), \
.length = chip##_##name##_SIZE, \
.type = mem_type, \
}

Definition at line 34 of file io.c.

#define MSM_DEVICE (   name)    MSM_CHIP_DEVICE(name, MSM)

Definition at line 45 of file io.c.

#define MSM_DEVICE_TYPE (   name,
  mem_type 
)    MSM_CHIP_DEVICE_TYPE(name, MSM, mem_type)

Definition at line 41 of file io.c.

Function Documentation

void __iomem* __msm_ioremap_caller ( unsigned long  phys_addr,
size_t  size,
unsigned int  mtype,
void caller 
)

Definition at line 175 of file io.c.