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()
2450 if (!chan->tx_credits) in l2cap_chan_send()
2467 while (chan->tx_credits && !skb_queue_empty(&chan->tx_q)) { in l2cap_chan_send()
2469 chan->tx_credits--; in l2cap_chan_send()
2472 if (!chan->tx_credits) in l2cap_chan_send()
5284 chan->tx_credits = credits; in l2cap_le_connect_rsp()
5477 chan->tx_credits = __le16_to_cpu(req->credits); in l2cap_le_connect_req()
5548 max_credits = LE_FLOWCTL_MAX_CREDITS - chan->tx_credits; in l2cap_le_credits()
5560 chan->tx_credits += credits; in l2cap_le_credits()
5562 while (chan->tx_credits && !skb_queue_empty(&chan->tx_q)) { in l2cap_le_credits()
5564 chan->tx_credits--; in l2cap_le_credits()
5567 if (chan->tx_credits) in l2cap_le_credits()