Home
last modified time | relevance | path

Searched refs:mt_cpu_pm_lock (Results 1 – 2 of 2) sorted by relevance

/rk3399_ARM-atf/plat/mediatek/drivers/cpu_pm/cpcv3_2/
H A Dmt_cpu_pm.c27 DEFINE_BAKERY_LOCK(mt_cpu_pm_lock);
28 #define plat_cpu_pm_lock_init() bakery_lock_init(&mt_cpu_pm_lock)
29 #define plat_cpu_pm_lock() bakery_lock_get(&mt_cpu_pm_lock)
30 #define plat_cpu_pm_unlock() bakery_lock_release(&mt_cpu_pm_lock)
32 spinlock_t mt_cpu_pm_lock; variable
34 #define plat_cpu_pm_lock() spin_lock(&mt_cpu_pm_lock)
35 #define plat_cpu_pm_unlock() spin_unlock(&mt_cpu_pm_lock)
/rk3399_ARM-atf/plat/mediatek/drivers/cpu_pm/cpcv5_4/
H A Dmt_cpu_pm.c33 DEFINE_BAKERY_LOCK(mt_cpu_pm_lock);
34 #define plat_cpu_pm_lock_init() bakery_lock_init(&mt_cpu_pm_lock)
35 #define plat_cpu_pm_lock() bakery_lock_get(&mt_cpu_pm_lock)
36 #define plat_cpu_pm_unlock() bakery_lock_release(&mt_cpu_pm_lock)
38 spinlock_t mt_cpu_pm_lock; variable
40 #define plat_cpu_pm_lock() spin_lock(&mt_cpu_pm_lock)
41 #define plat_cpu_pm_unlock() spin_unlock(&mt_cpu_pm_lock)