Home
last modified time | relevance | path

Searched refs:plock (Results 1 – 8 of 8) sorted by relevance

/device/soc/esp/esp32/components/newlib/platform_include/sys/
Dlock.h30 void _lock_init(_lock_t *plock);
31 void _lock_init_recursive(_lock_t *plock);
32 void _lock_close(_lock_t *plock);
33 void _lock_close_recursive(_lock_t *plock);
34 void _lock_acquire(_lock_t *plock);
35 void _lock_acquire_recursive(_lock_t *plock);
36 int _lock_try_acquire(_lock_t *plock);
37 int _lock_try_acquire_recursive(_lock_t *plock);
38 void _lock_release(_lock_t *plock);
39 void _lock_release_recursive(_lock_t *plock);
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/
Dosdep_service_xp.h82 __inline static _enter_critical(_lock *plock, _irqL *pirqL) in _enter_critical() argument
84 NdisAcquireSpinLock(plock); in _enter_critical()
87 __inline static _exit_critical(_lock *plock, _irqL *pirqL) in _exit_critical() argument
89 NdisReleaseSpinLock(plock); in _exit_critical()
93 __inline static _enter_critical_ex(_lock *plock, _irqL *pirqL) in _enter_critical_ex() argument
95 NdisDprAcquireSpinLock(plock); in _enter_critical_ex()
98 __inline static _exit_critical_ex(_lock *plock, _irqL *pirqL) in _exit_critical_ex() argument
100 NdisDprReleaseSpinLock(plock); in _exit_critical_ex()
103 __inline static void _enter_critical_bh(_lock *plock, _irqL *pirqL) in _enter_critical_bh() argument
105 NdisDprAcquireSpinLock(plock); in _enter_critical_bh()
[all …]
Dosdep_service_linux.h276 __inline static void _enter_critical(_lock *plock, _irqL *pirqL) in _enter_critical() argument
278 spin_lock_irqsave(plock, *pirqL); in _enter_critical()
281 __inline static void _exit_critical(_lock *plock, _irqL *pirqL) in _exit_critical() argument
283 spin_unlock_irqrestore(plock, *pirqL); in _exit_critical()
286 __inline static void _enter_critical_ex(_lock *plock, _irqL *pirqL) in _enter_critical_ex() argument
288 spin_lock_irqsave(plock, *pirqL); in _enter_critical_ex()
291 __inline static void _exit_critical_ex(_lock *plock, _irqL *pirqL) in _exit_critical_ex() argument
293 spin_unlock_irqrestore(plock, *pirqL); in _exit_critical_ex()
296 __inline static void _enter_critical_bh(_lock *plock, _irqL *pirqL) in _enter_critical_bh() argument
298 spin_lock_bh(plock); in _enter_critical_bh()
[all …]
Dosdep_service_ce.h84 __inline static void _enter_critical(_lock *plock, _irqL *pirqL) in _enter_critical() argument
86 NdisAcquireSpinLock(plock); in _enter_critical()
89 __inline static void _exit_critical(_lock *plock, _irqL *pirqL) in _exit_critical() argument
91 NdisReleaseSpinLock(plock); in _exit_critical()
94 __inline static _enter_critical_ex(_lock *plock, _irqL *pirqL) in _enter_critical_ex() argument
96 NdisDprAcquireSpinLock(plock); in _enter_critical_ex()
99 __inline static _exit_critical_ex(_lock *plock, _irqL *pirqL) in _exit_critical_ex() argument
101 NdisDprReleaseSpinLock(plock); in _exit_critical_ex()
Dosdep_service_bsd.h157 extern void _rtw_spinlock_init(_lock *plock);
179 void rtw_mtx_lock(_lock *plock);
181 void rtw_mtx_unlock(_lock *plock);
603 __inline static void _enter_critical(_lock *plock, _irqL *pirqL) in _enter_critical() argument
605 spin_lock_irqsave(plock, *pirqL); in _enter_critical()
608 __inline static void _exit_critical(_lock *plock, _irqL *pirqL) in _exit_critical() argument
610 spin_unlock_irqrestore(plock, *pirqL); in _exit_critical()
613 __inline static void _enter_critical_ex(_lock *plock, _irqL *pirqL) in _enter_critical_ex() argument
615 spin_lock_irqsave(plock, *pirqL); in _enter_critical_ex()
618 __inline static void _exit_critical_ex(_lock *plock, _irqL *pirqL) in _exit_critical_ex() argument
[all …]
Drtw_pwrctrl.h165 __inline static void _init_pwrlock(_pwrlock *plock) in _init_pwrlock() argument
167 _rtw_init_sema(plock, 1); in _init_pwrlock()
170 __inline static void _free_pwrlock(_pwrlock *plock) in _free_pwrlock() argument
172 _rtw_free_sema(plock); in _free_pwrlock()
176 __inline static void _enter_pwrlock(_pwrlock *plock) in _enter_pwrlock() argument
178 _rtw_down_sema(plock); in _enter_pwrlock()
182 __inline static void _exit_pwrlock(_pwrlock *plock) in _exit_pwrlock() argument
184 _rtw_up_sema(plock); in _exit_pwrlock()
Dosdep_service.h352 extern void _rtw_spinlock_init(_lock *plock);
354 extern void _rtw_spinlock_free(_lock *plock);
355 extern void _rtw_spinlock(_lock *plock);
356 extern void _rtw_spinunlock(_lock *plock);
357 extern void _rtw_spinlock_ex(_lock *plock);
358 extern void _rtw_spinunlock_ex(_lock *plock);
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/os_dep/
Dosdep_service.c1601 void _rtw_spinlock_init(_lock *plock) in _rtw_spinlock_init() argument
1606 spin_lock_init(plock); in _rtw_spinlock_init()
1610 mtx_init(plock, "", NULL, MTX_DEF | MTX_RECURSE); in _rtw_spinlock_init()
1614 NdisAllocateSpinLock(plock); in _rtw_spinlock_init()
1620 void _rtw_spinlock_free(_lock *plock) in _rtw_spinlock_free() argument
1623 mtx_destroy(plock); in _rtw_spinlock_free()
1628 NdisFreeSpinLock(plock); in _rtw_spinlock_free()
1636 void rtw_mtx_lock(_lock *plock) in rtw_mtx_lock() argument
1643 void rtw_mtx_unlock(_lock *plock) in rtw_mtx_unlock() argument
1654 void _rtw_spinlock(_lock *plock) in _rtw_spinlock() argument
[all …]