Searched refs:genpd (Results 1 – 4 of 4) sorted by relevance
/arch/arm/mach-shmobile/ |
D | pm-r8a7779.c | 159 static int pd_power_down(struct generic_pm_domain *genpd) in pd_power_down() argument 161 return r8a7779_sysc_power_down(to_r8a7779_ch(genpd)); in pd_power_down() 164 static int pd_power_up(struct generic_pm_domain *genpd) in pd_power_up() argument 166 return r8a7779_sysc_power_up(to_r8a7779_ch(genpd)); in pd_power_up() 169 static bool pd_is_off(struct generic_pm_domain *genpd) in pd_is_off() argument 171 struct r8a7779_pm_ch *r8a7779_ch = to_r8a7779_ch(genpd); in pd_is_off() 188 struct generic_pm_domain *genpd = &r8a7779_pd->genpd; in r8a7779_init_pm_domain() local 190 pm_genpd_init(genpd, NULL, false); in r8a7779_init_pm_domain() 191 genpd->dev_ops.stop = pm_clk_suspend; in r8a7779_init_pm_domain() 192 genpd->dev_ops.start = pm_clk_resume; in r8a7779_init_pm_domain() [all …]
|
D | pm-sh7372.c | 79 static int pd_power_down(struct generic_pm_domain *genpd) in pd_power_down() argument 81 struct sh7372_pm_domain *sh7372_pd = to_sh7372_pd(genpd); in pd_power_down() 105 genpd->name, mask, __raw_readl(PSTR)); in pd_power_down() 134 sh7372_pd->genpd.name, mask, __raw_readl(PSTR)); in __pd_power_up() 143 static int pd_power_up(struct generic_pm_domain *genpd) in pd_power_up() argument 145 return __pd_power_up(to_sh7372_pd(genpd), true); in pd_power_up() 194 struct generic_pm_domain *genpd = &sh7372_pd->genpd; in sh7372_init_pm_domain() local 197 pm_genpd_init(genpd, gov ? : &simple_qos_governor, false); in sh7372_init_pm_domain() 198 genpd->dev_ops.stop = sh7372_stop_dev; in sh7372_init_pm_domain() 199 genpd->dev_ops.start = sh7372_start_dev; in sh7372_init_pm_domain() [all …]
|
/arch/arm/mach-shmobile/include/mach/ |
D | sh7372.h | 481 struct generic_pm_domain genpd; member 491 return container_of(d, struct sh7372_pm_domain, genpd); in to_sh7372_pd()
|
D | r8a7779.h | 337 struct generic_pm_domain genpd; member 343 return &container_of(d, struct r8a7779_pm_domain, genpd)->ch; in to_r8a7779_ch()
|