Home
last modified time | relevance | path

Searched refs:tc_list_lock (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/misc/
Datmel_tclib.c32 static DEFINE_SPINLOCK(tc_list_lock);
48 spin_lock(&tc_list_lock); in atmel_tc_alloc()
60 spin_unlock(&tc_list_lock); in atmel_tc_alloc()
75 spin_lock(&tc_list_lock); in atmel_tc_free()
78 spin_unlock(&tc_list_lock); in atmel_tc_free()
168 spin_lock(&tc_list_lock); in tc_probe()
170 spin_unlock(&tc_list_lock); in tc_probe()
/Linux-v4.19/arch/mips/kernel/
Dvpe.c48 .tc_list_lock = __SPIN_LOCK_UNLOCKED(tc_list_lock),
79 spin_lock(&vpecontrol.tc_list_lock); in get_tc()
86 spin_unlock(&vpecontrol.tc_list_lock); in get_tc()
124 spin_lock(&vpecontrol.tc_list_lock); in alloc_tc()
126 spin_unlock(&vpecontrol.tc_list_lock); in alloc_tc()
/Linux-v4.19/arch/mips/include/asm/
Dvpe.h103 spinlock_t tc_list_lock; member