Lines Matching refs:use_lock
1075 static void genpd_sync_power_off(struct generic_pm_domain *genpd, bool use_lock, in genpd_sync_power_off() argument
1104 if (use_lock) in genpd_sync_power_off()
1107 genpd_sync_power_off(link->parent, use_lock, depth + 1); in genpd_sync_power_off()
1109 if (use_lock) in genpd_sync_power_off()
1124 static void genpd_sync_power_on(struct generic_pm_domain *genpd, bool use_lock, in genpd_sync_power_on() argument
1135 if (use_lock) in genpd_sync_power_on()
1138 genpd_sync_power_on(link->parent, use_lock, depth + 1); in genpd_sync_power_on()
1140 if (use_lock) in genpd_sync_power_on()
1437 bool use_lock; in genpd_switch_state() local
1443 use_lock = genpd_is_irq_safe(genpd); in genpd_switch_state()
1445 if (use_lock) in genpd_switch_state()
1450 genpd_sync_power_off(genpd, use_lock, 0); in genpd_switch_state()
1452 genpd_sync_power_on(genpd, use_lock, 0); in genpd_switch_state()
1456 if (use_lock) in genpd_switch_state()