Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/bluetooth/host/
Dl2cap.c248 static void cancel_data_ready(struct bt_l2cap_le_chan *lechan);
249 static bool chan_has_data(struct bt_l2cap_le_chan *lechan);
756 static bool chan_has_data(struct bt_l2cap_le_chan *lechan) in chan_has_data() argument
758 return !k_fifo_is_empty(&lechan->tx_queue); in chan_has_data()
780 static void chan_take_credit(struct bt_l2cap_le_chan *lechan) in chan_take_credit() argument
783 if (!L2CAP_LE_CID_IS_DYN(lechan->tx.cid)) { in chan_take_credit()
787 if (!test_and_dec(&lechan->tx.credits)) { in chan_take_credit()
793 if (!atomic_get(&lechan->tx.credits)) { in chan_take_credit()
794 LOG_DBG("chan %p paused", lechan); in chan_take_credit()
795 atomic_clear_bit(lechan->chan.status, BT_L2CAP_STATUS_OUT); in chan_take_credit()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/many_conns/src/
Dmain.c343 static bool is_dynamic(struct bt_l2cap_le_chan *lechan) in is_dynamic() argument
345 return L2CAP_LE_CID_IS_DYN(lechan->tx.cid); in is_dynamic()
349 struct bt_l2cap_le_chan *lechan, in bt_test_l2cap_data_pull_spy() argument
356 if (lechan == NULL || !is_dynamic(lechan)) { in bt_test_l2cap_data_pull_spy()