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);
761 static bool chan_has_data(struct bt_l2cap_le_chan *lechan) in chan_has_data() argument
763 return !k_fifo_is_empty(&lechan->tx_queue); in chan_has_data()
785 static void chan_take_credit(struct bt_l2cap_le_chan *lechan) in chan_take_credit() argument
788 if (!L2CAP_LE_CID_IS_DYN(lechan->tx.cid)) { in chan_take_credit()
792 if (!test_and_dec(&lechan->tx.credits)) { in chan_take_credit()
798 if (!atomic_get(&lechan->tx.credits)) { in chan_take_credit()
799 LOG_DBG("chan %p paused", lechan); in chan_take_credit()
800 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.c353 static bool is_dynamic(struct bt_l2cap_le_chan *lechan) in is_dynamic() argument
355 return L2CAP_LE_CID_IS_DYN(lechan->tx.cid); in is_dynamic()
359 struct bt_l2cap_le_chan *lechan, in bt_test_l2cap_data_pull_spy() argument
366 if (lechan == NULL || !is_dynamic(lechan)) { in bt_test_l2cap_data_pull_spy()