static int pd_power_down_a4lc(struct generic_pm_domain *genpd) { /* only power down A4LC if A3RV is off */ if (!(__raw_readl(PSTR) & (1 << sh7372_a3rv.bit_shift))) return pd_power_down(genpd); return 0; }
static int pd_power_down_a3rv(struct generic_pm_domain *genpd) { int ret = pd_power_down(genpd); /* try to power down A4LC after A3RV is requested off */ genpd_queue_power_off_work(&sh7372_a4lc.genpd); return ret; }