H A D | domain.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * drivers/base/power/domain.c - Common code related to device power domains. 23 #include <linux/cpu.h> 35 __routine = genpd->dev_ops.callback; \ 54 mutex_lock(&genpd->mlock); in genpd_lock_mtx() 60 mutex_lock_nested(&genpd->mlock, depth); in genpd_lock_nested_mtx() 65 return mutex_lock_interruptible(&genpd->mlock); in genpd_lock_interruptible_mtx() 70 return mutex_unlock(&genpd->mloc in genpd_unlock_mtx() 1578 genpd_update_cpumask(struct generic_pm_domain * genpd,int cpu,bool set,unsigned int depth) genpd_update_cpumask() argument 1599 genpd_set_cpumask(struct generic_pm_domain * genpd,int cpu) genpd_set_cpumask() argument 1605 genpd_clear_cpumask(struct generic_pm_domain * genpd,int cpu) genpd_clear_cpumask() argument 1613 int cpu; genpd_get_cpu() local [all...] |