Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/bluetooth/
Dl2cap.h747 int bt_l2cap_chan_give_credits(struct bt_l2cap_chan *chan, uint16_t additional_credits);
/Zephyr-latest/subsys/bluetooth/host/
Dl2cap.c2358 int bt_l2cap_chan_give_credits(struct bt_l2cap_chan *chan, uint16_t additional_credits) in bt_l2cap_chan_give_credits() argument
2372 if (additional_credits == 0) { in bt_l2cap_chan_give_credits()
2382 if (atomic_add_safe_u16(&le_chan->rx.credits, additional_credits)) { in bt_l2cap_chan_give_credits()
2390 err = l2cap_chan_send_credits_pdu(chan->conn, le_chan->rx.cid, additional_credits); in bt_l2cap_chan_give_credits()