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

Go to the source code of this file.

Data Structures

struct  xip_omap_mpu_timer_regs_t
 

Macros

#define OMAP_MPU_TIMER_BASE   (0xfffec500)
 
#define OMAP_MPU_TIMER_OFFSET   0x100
 
#define xip_omap_mpu_timer_base(n)
 
#define xip_irqpending()   (omap_readl(OMAP_IH1_ITR) & ~omap_readl(OMAP_IH1_MIR))
 
#define xip_currtime()   (~xip_omap_mpu_timer_read(0))
 
#define xip_elapsed_since(x)   (signed)((~xip_omap_mpu_timer_read(0) - (x)) / 6)
 
#define xip_cpu_idle()   asm volatile ("mcr p15, 0, %0, c7, c0, 4" :: "r" (1))
 

Macro Definition Documentation

#define OMAP_MPU_TIMER_BASE   (0xfffec500)

Definition at line 18 of file mtd-xip.h.

#define OMAP_MPU_TIMER_OFFSET   0x100

Definition at line 19 of file mtd-xip.h.

#define xip_cpu_idle ( )    asm volatile ("mcr p15, 0, %0, c7, c0, 4" :: "r" (1))

Definition at line 59 of file mtd-xip.h.

#define xip_currtime ( )    (~xip_omap_mpu_timer_read(0))

Definition at line 39 of file mtd-xip.h.

#define xip_elapsed_since (   x)    (signed)((~xip_omap_mpu_timer_read(0) - (x)) / 6)

Definition at line 49 of file mtd-xip.h.

#define xip_irqpending ( )    (omap_readl(OMAP_IH1_ITR) & ~omap_readl(OMAP_IH1_MIR))

Definition at line 37 of file mtd-xip.h.

#define xip_omap_mpu_timer_base (   n)
Value:

Definition at line 27 of file mtd-xip.h.