Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
hardware.h File Reference
#include <mach/db8500-regs.h>
#include <mach/id.h>

Go to the source code of this file.

Macros

#define U8500_IO_VIRTUAL   0xf0000000
 
#define U8500_IO_PHYSICAL   0xa0000000
 
#define UX500_VIRT_ROM   0xf0000000
 
#define IO_ADDRESS(x)   (((x) & 0x0fffffff) + (((x) >> 4) & 0x0f000000) + U8500_IO_VIRTUAL)
 
#define __io_address(n)   IOMEM(IO_ADDRESS(n))
 
#define io_p2v(n)   __io_address(n)
 
#define MSP_TX_RX_REG_OFFSET   0
 
#define CRYP1_RX_REG_OFFSET   0x10
 
#define CRYP1_TX_REG_OFFSET   0x8
 
#define HASH1_TX_REG_OFFSET   0x4
 
#define ARRAY_AND_SIZE(x)   (x), ARRAY_SIZE(x)
 

Variables

void __iomem_PRCMU_BASE
 

Macro Definition Documentation

#define __io_address (   n)    IOMEM(IO_ADDRESS(n))

Definition at line 28 of file hardware.h.

#define ARRAY_AND_SIZE (   x)    (x), ARRAY_SIZE(x)

Definition at line 45 of file hardware.h.

#define CRYP1_RX_REG_OFFSET   0x10

Definition at line 36 of file hardware.h.

#define CRYP1_TX_REG_OFFSET   0x8

Definition at line 37 of file hardware.h.

#define HASH1_TX_REG_OFFSET   0x4

Definition at line 38 of file hardware.h.

#define IO_ADDRESS (   x)    (((x) & 0x0fffffff) + (((x) >> 4) & 0x0f000000) + U8500_IO_VIRTUAL)

Definition at line 24 of file hardware.h.

#define io_p2v (   n)    __io_address(n)

Definition at line 31 of file hardware.h.

#define MSP_TX_RX_REG_OFFSET   0

Definition at line 35 of file hardware.h.

#define U8500_IO_PHYSICAL   0xa0000000

Definition at line 19 of file hardware.h.

#define U8500_IO_VIRTUAL   0xf0000000

Definition at line 18 of file hardware.h.

#define UX500_VIRT_ROM   0xf0000000

Definition at line 21 of file hardware.h.

Variable Documentation

void __iomem* _PRCMU_BASE

Definition at line 29 of file cpu.c.