Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
omap-wakeupgen.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/irq.h>
#include <linux/platform_device.h>
#include <linux/cpu.h>
#include <linux/notifier.h>
#include <linux/cpu_pm.h>
#include <asm/hardware/gic.h>
#include "omap-wakeupgen.h"
#include "omap-secure.h"
#include "soc.h"
#include "omap4-sar-layout.h"
#include "common.h"

Go to the source code of this file.

Macros

#define MAX_NR_REG_BANKS   5
 
#define MAX_IRQS   160
 
#define WKG_MASK_ALL   0x00000000
 
#define WKG_UNMASK_ALL   0xffffffff
 
#define CPU_ENA_OFFSET   0x400
 
#define CPU0_ID   0x0
 
#define CPU1_ID   0x1
 
#define OMAP4_NR_BANKS   4
 
#define OMAP4_NR_IRQS   128
 

Functions

void __iomemomap_get_wakeupgen_base (void)
 
int omap_secure_apis_support (void)
 
int __init omap_wakeupgen_init (void)
 

Macro Definition Documentation

#define CPU0_ID   0x0

Definition at line 42 of file omap-wakeupgen.c.

#define CPU1_ID   0x1

Definition at line 43 of file omap-wakeupgen.c.

#define CPU_ENA_OFFSET   0x400

Definition at line 41 of file omap-wakeupgen.c.

#define MAX_IRQS   160

Definition at line 38 of file omap-wakeupgen.c.

#define MAX_NR_REG_BANKS   5

Definition at line 37 of file omap-wakeupgen.c.

#define OMAP4_NR_BANKS   4

Definition at line 44 of file omap-wakeupgen.c.

#define OMAP4_NR_IRQS   128

Definition at line 45 of file omap-wakeupgen.c.

#define WKG_MASK_ALL   0x00000000

Definition at line 39 of file omap-wakeupgen.c.

#define WKG_UNMASK_ALL   0xffffffff

Definition at line 40 of file omap-wakeupgen.c.

Function Documentation

void __iomem* omap_get_wakeupgen_base ( void  )

Definition at line 389 of file omap-wakeupgen.c.

int omap_secure_apis_support ( void  )

Definition at line 394 of file omap-wakeupgen.c.

int __init omap_wakeupgen_init ( void  )

Definition at line 402 of file omap-wakeupgen.c.