Home
last modified time | relevance | path

Searched refs:tx_credits (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/net/phonet/
Dpep.c287 atomic_set(&pn->tx_credits, 0); in pipe_rcv_status()
290 atomic_set(&pn->tx_credits, wake = 1); in pipe_rcv_status()
296 atomic_set(&pn->tx_credits, wake = 1); in pipe_rcv_status()
304 atomic_add(wake = hdr->data[4], &pn->tx_credits); in pipe_rcv_status()
386 atomic_set(&pn->tx_credits, 0); in pipe_do_rcv()
440 atomic_set(&pn->tx_credits, 1); in pipe_do_rcv()
554 atomic_set(&pn->tx_credits, 1); in pipe_start_flow_control()
874 atomic_set(&newpn->tx_credits, 0); in pep_sock_accept()
979 atomic_set(&pn->tx_credits, 0); in pep_init()
1101 !atomic_add_unless(&pn->tx_credits, -1, 0)) { in pipe_skb_send()
[all …]
Dsocket.c363 atomic_read(&pn->tx_credits)) in pn_socket_poll()
/Linux-v4.19/drivers/net/wireless/ath/ath10k/
Dhtc.c122 if (ep->tx_credits < credits) { in ath10k_htc_send()
125 eid, credits, ep->tx_credits); in ath10k_htc_send()
130 ep->tx_credits -= credits; in ath10k_htc_send()
133 eid, credits, ep->tx_credits); in ath10k_htc_send()
164 ep->tx_credits += credits; in ath10k_htc_send()
167 eid, credits, ep->tx_credits); in ath10k_htc_send()
220 ep->tx_credits += report->credits; in ath10k_htc_process_credit_report()
223 report->eid, report->credits, ep->tx_credits); in ath10k_htc_process_credit_report()
797 ep->tx_credits = tx_alloc; in ath10k_htc_connect_service()
Dhtc.h348 int tx_credits; member
/Linux-v4.19/include/net/phonet/
Dpep.h37 atomic_t tx_credits; member
/Linux-v4.19/net/bluetooth/rfcomm/
Dcore.c1375 d->tx_credits = pn->credits; in rfcomm_apply_pn()
1682 d->tx_credits += credits; in rfcomm_recv_data()
1683 if (d->tx_credits) in rfcomm_recv_data()
1796 d, d->state, d->cfc, d->rx_credits, d->tx_credits); in rfcomm_process_tx()
1813 d->tx_credits = 5; in rfcomm_process_tx()
1819 while (d->tx_credits && (skb = skb_dequeue(&d->tx_queue))) { in rfcomm_process_tx()
1826 d->tx_credits--; in rfcomm_process_tx()
1829 if (d->cfc && !d->tx_credits) { in rfcomm_process_tx()
2160 d->rx_credits, d->tx_credits); in rfcomm_dlc_debugfs_show()
/Linux-v4.19/include/net/bluetooth/
Drfcomm.h194 uint tx_credits; member
Dl2cap.h537 __u16 tx_credits; member
/Linux-v4.19/net/bluetooth/
Dl2cap_core.c521 chan->tx_credits = 0; in l2cap_le_flowctl_init()
1269 if (chan->mode == L2CAP_MODE_LE_FLOWCTL && !chan->tx_credits) in l2cap_chan_ready()
2434 while (chan->tx_credits && !skb_queue_empty(&chan->tx_q)) { in l2cap_le_flowctl_send()
2436 chan->tx_credits--; in l2cap_le_flowctl_send()
2440 BT_DBG("Sent %d credits %u queued %u", sent, chan->tx_credits, in l2cap_le_flowctl_send()
2493 if (!chan->tx_credits) in l2cap_chan_send()
5313 chan->tx_credits = credits; in l2cap_le_connect_rsp()
5506 chan->tx_credits = __le16_to_cpu(req->credits); in l2cap_le_connect_req()
5577 max_credits = LE_FLOWCTL_MAX_CREDITS - chan->tx_credits; in l2cap_le_credits()
5589 chan->tx_credits += credits; in l2cap_le_credits()
[all …]
Dl2cap_sock.c1535 chan->tx_credits = pchan->tx_credits; in l2cap_sock_init()