Lines Matching refs:tx_credits
510 chan->tx_credits = 0; in l2cap_le_flowctl_init()
1258 if (chan->mode == L2CAP_MODE_LE_FLOWCTL && !chan->tx_credits) in l2cap_chan_ready()
2454 if (!chan->tx_credits) in l2cap_chan_send()
2471 while (chan->tx_credits && !skb_queue_empty(&chan->tx_q)) { in l2cap_chan_send()
2473 chan->tx_credits--; in l2cap_chan_send()
2476 if (!chan->tx_credits) in l2cap_chan_send()
5281 chan->tx_credits = credits; in l2cap_le_connect_rsp()
5467 chan->tx_credits = __le16_to_cpu(req->credits); in l2cap_le_connect_req()
5538 max_credits = LE_FLOWCTL_MAX_CREDITS - chan->tx_credits; in l2cap_le_credits()
5550 chan->tx_credits += credits; in l2cap_le_credits()
5552 while (chan->tx_credits && !skb_queue_empty(&chan->tx_q)) { in l2cap_le_credits()
5554 chan->tx_credits--; in l2cap_le_credits()
5557 if (chan->tx_credits) in l2cap_le_credits()