Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
pm_domains.c File Reference
#include <linux/io.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/pm_domain.h>
#include <linux/delay.h>
#include <linux/of_address.h>
#include <mach/regs-pmu.h>
#include <plat/devs.h>

Go to the source code of this file.

Data Structures

struct  exynos_pm_domain
 

Macros

#define EXYNOS_GPD(PD, BASE, NAME)
 

Functions

 EXYNOS_GPD (exynos4_pd_mfc, S5P_PMU_MFC_CONF,"pd-mfc")
 
 EXYNOS_GPD (exynos4_pd_g3d, S5P_PMU_G3D_CONF,"pd-g3d")
 
 EXYNOS_GPD (exynos4_pd_lcd0, S5P_PMU_LCD0_CONF,"pd-lcd0")
 
 EXYNOS_GPD (exynos4_pd_lcd1, S5P_PMU_LCD1_CONF,"pd-lcd1")
 
 EXYNOS_GPD (exynos4_pd_tv, S5P_PMU_TV_CONF,"pd-tv")
 
 EXYNOS_GPD (exynos4_pd_cam, S5P_PMU_CAM_CONF,"pd-cam")
 
 EXYNOS_GPD (exynos4_pd_gps, S5P_PMU_GPS_CONF,"pd-gps")
 
 arch_initcall (exynos4_pm_init_power_domain)
 
int __init exynos_pm_late_initcall (void)
 

Macro Definition Documentation

#define EXYNOS_GPD (   PD,
  BASE,
  NAME 
)
Value:
static struct exynos_pm_domain PD = { \
.base = (void __iomem *)BASE, \
.name = NAME, \
.pd = { \
.power_off = exynos_pd_power_off, \
.power_on = exynos_pd_power_on, \
}, \
}

Definition at line 75 of file pm_domains.c.

Function Documentation

arch_initcall ( exynos4_pm_init_power_domain  )
EXYNOS_GPD ( exynos4_pd_mfc  ,
S5P_PMU_MFC_CONF  ,
"pd-mfc"   
)
EXYNOS_GPD ( exynos4_pd_g3d  ,
S5P_PMU_G3D_CONF  ,
"pd-g3d"   
)
EXYNOS_GPD ( exynos4_pd_lcd0  ,
S5P_PMU_LCD0_CONF  ,
"pd-lcd0"   
)
EXYNOS_GPD ( exynos4_pd_lcd1  ,
S5P_PMU_LCD1_CONF  ,
"pd-lcd1"   
)
EXYNOS_GPD ( exynos4_pd_tv  ,
S5P_PMU_TV_CONF  ,
"pd-tv"   
)
EXYNOS_GPD ( exynos4_pd_cam  ,
S5P_PMU_CAM_CONF  ,
"pd-cam  
)
EXYNOS_GPD ( exynos4_pd_gps  ,
S5P_PMU_GPS_CONF  ,
"pd-gps"   
)
int __init exynos_pm_late_initcall ( void  )

Definition at line 201 of file pm_domains.c.