Searched refs:tx_credits (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/include/zephyr/bluetooth/classic/ |
D | rfcomm.h | 90 struct k_sem tx_credits; member
|
/Zephyr-latest/subsys/bluetooth/host/classic/ |
D | rfcomm.c | 227 k_sem_give(&dlc->tx_credits); in rfcomm_dlc_tx_give_credits() 230 LOG_DBG("dlc %p updated credits %u", dlc, k_sem_count_get(&dlc->tx_credits)); in rfcomm_dlc_tx_give_credits() 525 k_sem_take(&dlc->tx_credits, K_FOREVER); in rfcomm_check_fc() 539 k_sem_give(&dlc->tx_credits); in rfcomm_check_fc() 791 k_sem_init(&dlc->tx_credits, 0, 1); in rfcomm_dlc_connected() 1126 k_sem_take(&dlc->tx_credits, K_NO_WAIT); in rfcomm_handle_msc() 1131 k_sem_give(&dlc->tx_credits); in rfcomm_handle_msc() 1240 k_sem_init(&dlc->tx_credits, 0, K_SEM_MAX_LIMIT); in rfcomm_handle_pn() 1270 k_sem_init(&dlc->tx_credits, 0, K_SEM_MAX_LIMIT); in rfcomm_handle_pn() 1469 LOG_DBG("dlc %p tx credit %d", dlc, k_sem_count_get(&dlc->tx_credits)); in bt_rfcomm_dlc_send()
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/split/tester/src/ |
D | main.c | 43 static struct k_sem tx_credits; variable 172 k_sem_give(&tx_credits); in handle_l2cap_credits() 188 k_sem_init(&tx_credits, credits, credits); in handle_l2cap_connected() 587 k_sem_take(&tx_credits, K_FOREVER); in send_l2cap_sdu()
|
/Zephyr-latest/tests/bsim/bluetooth/host/misc/hfc_multilink/tester/src/ |
D | tester.c | 45 static struct k_sem tx_credits; variable 184 k_sem_give(&tx_credits); in handle_l2cap_credits() 200 k_sem_init(&tx_credits, credits, credits); in handle_l2cap_connected() 588 k_sem_take(&tx_credits, K_FOREVER); in send_l2cap_sdu()
|