Home
last modified time | relevance | path

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

/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/l2cap/
Dbtc_l2cap.c79 osi_mutex_t l2cap_slot_mutex; member
108 #define is_l2cap_init() (l2cap_local_param.l2cap_slot_mutex != NULL)
110 #define is_l2cap_init() (&l2cap_local_param != NULL && l2cap_local_param.l2cap_slot_mutex != NULL)
424 if (osi_mutex_new(&l2cap_local_param.l2cap_slot_mutex) != 0) { in btc_l2cap_init()
435 osi_mutex_free(&l2cap_local_param.l2cap_slot_mutex); in btc_l2cap_init()
468 osi_mutex_lock(&l2cap_local_param.l2cap_slot_mutex, OSI_MUTEX_MAX_TIMEOUT); in btc_l2cap_uninit()
489 osi_mutex_unlock(&l2cap_local_param.l2cap_slot_mutex); in btc_l2cap_uninit()
510 osi_mutex_lock(&l2cap_local_param.l2cap_slot_mutex, OSI_MUTEX_MAX_TIMEOUT); in btc_l2cap_start_srv()
514 osi_mutex_unlock(&l2cap_local_param.l2cap_slot_mutex); in btc_l2cap_start_srv()
532 osi_mutex_unlock(&l2cap_local_param.l2cap_slot_mutex); in btc_l2cap_start_srv()
[all …]