Home
last modified time | relevance | path

Searched refs:pMutex (Results 1 – 16 of 16) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/hal/
H A Dhal_halmac.c323 static u8 _halmac_mutex_init(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_init() argument
325 _rtw_mutex_init(pMutex); in _halmac_mutex_init()
329 static u8 _halmac_mutex_deinit(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_deinit() argument
331 _rtw_mutex_free(pMutex); in _halmac_mutex_deinit()
335 static u8 _halmac_mutex_lock(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_lock() argument
339 err = _enter_critical_mutex(pMutex, NULL); in _halmac_mutex_lock()
346 static u8 _halmac_mutex_unlock(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_unlock() argument
348 _exit_critical_mutex(pMutex, NULL); in _halmac_mutex_unlock()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/client_export/public/
H A Dpkcs11.h684 typedef CK_RV (*CK_DESTROYMUTEX) (CK_VOID_PTR pMutex);
685 typedef CK_RV (*CK_LOCKMUTEX) (CK_VOID_PTR pMutex);
686 typedef CK_RV (*CK_UNLOCKMUTEX) (CK_VOID_PTR pMutex);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/
H A Dhal_halmac.c406 static u8 _halmac_mutex_init(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_init() argument
408 _rtw_mutex_init(pMutex); in _halmac_mutex_init()
412 static u8 _halmac_mutex_deinit(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_deinit() argument
414 _rtw_mutex_free(pMutex); in _halmac_mutex_deinit()
418 static u8 _halmac_mutex_lock(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_lock() argument
422 err = _enter_critical_mutex(pMutex, NULL); in _halmac_mutex_lock()
429 static u8 _halmac_mutex_unlock(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_unlock() argument
431 _exit_critical_mutex(pMutex, NULL); in _halmac_mutex_unlock()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/hal/halmac/
H A Dhalmac_type.h1246 u8 (*MUTEX_INIT)(VOID *pDriver_adapter, HALMAC_MUTEX *pMutex);
1247 u8 (*MUTEX_DEINIT)(VOID *pDriver_adapter, HALMAC_MUTEX *pMutex);
1248 u8 (*MUTEX_LOCK)(VOID *pDriver_adapter, HALMAC_MUTEX *pMutex);
1249 u8 (*MUTEX_UNLOCK)(VOID *pDriver_adapter, HALMAC_MUTEX *pMutex);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/
H A Dhal_halmac.c421 static u8 _halmac_mutex_init(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_init() argument
423 _rtw_mutex_init(pMutex); in _halmac_mutex_init()
427 static u8 _halmac_mutex_deinit(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_deinit() argument
429 _rtw_mutex_free(pMutex); in _halmac_mutex_deinit()
433 static u8 _halmac_mutex_lock(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_lock() argument
437 err = _enter_critical_mutex(pMutex, NULL); in _halmac_mutex_lock()
444 static u8 _halmac_mutex_unlock(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_unlock() argument
446 _exit_critical_mutex(pMutex, NULL); in _halmac_mutex_unlock()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/
H A Dhal_halmac.c421 static u8 _halmac_mutex_init(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_init() argument
423 _rtw_mutex_init(pMutex); in _halmac_mutex_init()
427 static u8 _halmac_mutex_deinit(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_deinit() argument
429 _rtw_mutex_free(pMutex); in _halmac_mutex_deinit()
433 static u8 _halmac_mutex_lock(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_lock() argument
437 err = _enter_critical_mutex(pMutex, NULL); in _halmac_mutex_lock()
444 static u8 _halmac_mutex_unlock(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_unlock() argument
446 _exit_critical_mutex(pMutex, NULL); in _halmac_mutex_unlock()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/hal/
H A Dhal_halmac.c442 static u8 _halmac_mutex_init(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_init() argument
444 _rtw_mutex_init(pMutex); in _halmac_mutex_init()
448 static u8 _halmac_mutex_deinit(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_deinit() argument
450 _rtw_mutex_free(pMutex); in _halmac_mutex_deinit()
454 static u8 _halmac_mutex_lock(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_lock() argument
458 err = _enter_critical_mutex(pMutex, NULL); in _halmac_mutex_lock()
465 static u8 _halmac_mutex_unlock(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_unlock() argument
467 _exit_critical_mutex(pMutex, NULL); in _halmac_mutex_unlock()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/
H A Dhal_halmac.c442 static u8 _halmac_mutex_init(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_init() argument
444 _rtw_mutex_init(pMutex); in _halmac_mutex_init()
448 static u8 _halmac_mutex_deinit(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_deinit() argument
450 _rtw_mutex_free(pMutex); in _halmac_mutex_deinit()
454 static u8 _halmac_mutex_lock(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_lock() argument
458 err = _enter_critical_mutex(pMutex, NULL); in _halmac_mutex_lock()
465 static u8 _halmac_mutex_unlock(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_unlock() argument
467 _exit_critical_mutex(pMutex, NULL); in _halmac_mutex_unlock()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/
H A Dhal_halmac.c441 static u8 _halmac_mutex_init(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_init() argument
443 _rtw_mutex_init(pMutex); in _halmac_mutex_init()
447 static u8 _halmac_mutex_deinit(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_deinit() argument
449 _rtw_mutex_free(pMutex); in _halmac_mutex_deinit()
453 static u8 _halmac_mutex_lock(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_lock() argument
457 err = _enter_critical_mutex(pMutex, NULL); in _halmac_mutex_lock()
464 static u8 _halmac_mutex_unlock(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_unlock() argument
466 _exit_critical_mutex(pMutex, NULL); in _halmac_mutex_unlock()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/
H A Dhal_halmac.c440 static u8 _halmac_mutex_init(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_init() argument
442 _rtw_mutex_init(pMutex); in _halmac_mutex_init()
446 static u8 _halmac_mutex_deinit(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_deinit() argument
448 _rtw_mutex_free(pMutex); in _halmac_mutex_deinit()
452 static u8 _halmac_mutex_lock(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_lock() argument
456 err = _enter_critical_mutex(pMutex, NULL); in _halmac_mutex_lock()
463 static u8 _halmac_mutex_unlock(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_unlock() argument
465 _exit_critical_mutex(pMutex, NULL); in _halmac_mutex_unlock()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/
H A Dhal_halmac.c441 static u8 _halmac_mutex_init(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_init() argument
443 _rtw_mutex_init(pMutex); in _halmac_mutex_init()
447 static u8 _halmac_mutex_deinit(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_deinit() argument
449 _rtw_mutex_free(pMutex); in _halmac_mutex_deinit()
453 static u8 _halmac_mutex_lock(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_lock() argument
457 err = _enter_critical_mutex(pMutex, NULL); in _halmac_mutex_lock()
464 static u8 _halmac_mutex_unlock(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_unlock() argument
466 _exit_critical_mutex(pMutex, NULL); in _halmac_mutex_unlock()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/
H A Dhal_halmac.c441 static u8 _halmac_mutex_init(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_init() argument
443 _rtw_mutex_init(pMutex); in _halmac_mutex_init()
447 static u8 _halmac_mutex_deinit(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_deinit() argument
449 _rtw_mutex_free(pMutex); in _halmac_mutex_deinit()
453 static u8 _halmac_mutex_lock(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_lock() argument
457 err = _enter_critical_mutex(pMutex, NULL); in _halmac_mutex_lock()
464 static u8 _halmac_mutex_unlock(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_unlock() argument
466 _exit_critical_mutex(pMutex, NULL); in _halmac_mutex_unlock()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/hal/
H A Dhal_halmac.c441 static u8 _halmac_mutex_init(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_init() argument
443 _rtw_mutex_init(pMutex); in _halmac_mutex_init()
447 static u8 _halmac_mutex_deinit(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_deinit() argument
449 _rtw_mutex_free(pMutex); in _halmac_mutex_deinit()
453 static u8 _halmac_mutex_lock(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_lock() argument
457 err = _enter_critical_mutex(pMutex, NULL); in _halmac_mutex_lock()
464 static u8 _halmac_mutex_unlock(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_unlock() argument
466 _exit_critical_mutex(pMutex, NULL); in _halmac_mutex_unlock()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/
H A Dhal_halmac.c441 static u8 _halmac_mutex_init(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_init() argument
443 _rtw_mutex_init(pMutex); in _halmac_mutex_init()
447 static u8 _halmac_mutex_deinit(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_deinit() argument
449 _rtw_mutex_free(pMutex); in _halmac_mutex_deinit()
453 static u8 _halmac_mutex_lock(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_lock() argument
457 err = _enter_critical_mutex(pMutex, NULL); in _halmac_mutex_lock()
464 static u8 _halmac_mutex_unlock(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_unlock() argument
466 _exit_critical_mutex(pMutex, NULL); in _halmac_mutex_unlock()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/hal/
H A Dhal_halmac.c441 static u8 _halmac_mutex_init(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_init() argument
443 _rtw_mutex_init(pMutex); in _halmac_mutex_init()
447 static u8 _halmac_mutex_deinit(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_deinit() argument
449 _rtw_mutex_free(pMutex); in _halmac_mutex_deinit()
453 static u8 _halmac_mutex_lock(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_lock() argument
457 err = _enter_critical_mutex(pMutex, NULL); in _halmac_mutex_lock()
464 static u8 _halmac_mutex_unlock(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_unlock() argument
466 _exit_critical_mutex(pMutex, NULL); in _halmac_mutex_unlock()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/
H A Dhal_halmac.c421 static u8 _halmac_mutex_init(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_init() argument
423 _rtw_mutex_init(pMutex); in _halmac_mutex_init()
427 static u8 _halmac_mutex_deinit(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_deinit() argument
429 _rtw_mutex_free(pMutex); in _halmac_mutex_deinit()
433 static u8 _halmac_mutex_lock(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_lock() argument
437 err = _enter_critical_mutex(pMutex, NULL); in _halmac_mutex_lock()
444 static u8 _halmac_mutex_unlock(void *p, HALMAC_MUTEX *pMutex) in _halmac_mutex_unlock() argument
446 _exit_critical_mutex(pMutex, NULL); in _halmac_mutex_unlock()