Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
pm-r8a7779.c File Reference
#include <linux/pm.h>
#include <linux/suspend.h>
#include <linux/err.h>
#include <linux/pm_clock.h>
#include <linux/platform_device.h>
#include <linux/delay.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
#include <linux/console.h>
#include <asm/io.h>
#include <mach/common.h>
#include <mach/r8a7779.h>

Go to the source code of this file.

Macros

#define SYSCSR   0x00
 
#define SYSCISR   0x04
 
#define SYSCISCR   0x08
 
#define SYSCIER   0x0c
 
#define SYSCIMR   0x10
 
#define PWRSR0   0x40
 
#define PWRSR1   0x80
 
#define PWRSR2   0xc0
 
#define PWRSR3   0x100
 
#define PWRSR4   0x140
 
#define PWRSR_OFFS   0x00
 
#define PWROFFCR_OFFS   0x04
 
#define PWRONCR_OFFS   0x0c
 
#define PWRER_OFFS   0x14
 
#define SYSCSR_RETRIES   100
 
#define SYSCSR_DELAY_US   1
 
#define SYSCISR_RETRIES   1000
 
#define SYSCISR_DELAY_US   1
 

Functions

void __init r8a7779_pm_init (void)
 

Macro Definition Documentation

#define PWRER_OFFS   0x14

Definition at line 42 of file pm-r8a7779.c.

#define PWROFFCR_OFFS   0x04

Definition at line 40 of file pm-r8a7779.c.

#define PWRONCR_OFFS   0x0c

Definition at line 41 of file pm-r8a7779.c.

#define PWRSR0   0x40

Definition at line 33 of file pm-r8a7779.c.

#define PWRSR1   0x80

Definition at line 34 of file pm-r8a7779.c.

#define PWRSR2   0xc0

Definition at line 35 of file pm-r8a7779.c.

#define PWRSR3   0x100

Definition at line 36 of file pm-r8a7779.c.

#define PWRSR4   0x140

Definition at line 37 of file pm-r8a7779.c.

#define PWRSR_OFFS   0x00

Definition at line 39 of file pm-r8a7779.c.

#define SYSCIER   0x0c

Definition at line 31 of file pm-r8a7779.c.

#define SYSCIMR   0x10

Definition at line 32 of file pm-r8a7779.c.

#define SYSCISCR   0x08

Definition at line 30 of file pm-r8a7779.c.

#define SYSCISR   0x04

Definition at line 29 of file pm-r8a7779.c.

#define SYSCISR_DELAY_US   1

Definition at line 48 of file pm-r8a7779.c.

#define SYSCISR_RETRIES   1000

Definition at line 47 of file pm-r8a7779.c.

#define SYSCSR   0x00

Definition at line 28 of file pm-r8a7779.c.

#define SYSCSR_DELAY_US   1

Definition at line 45 of file pm-r8a7779.c.

#define SYSCSR_RETRIES   100

Definition at line 44 of file pm-r8a7779.c.

Function Documentation

void __init r8a7779_pm_init ( void  )

Definition at line 243 of file pm-r8a7779.c.