Searched refs:tx_credits (Results 1 – 10 of 10) sorted by relevance
/linux-4.1.27/net/phonet/ |
D | pep.c | 286 atomic_set(&pn->tx_credits, 0); in pipe_rcv_status() 289 atomic_set(&pn->tx_credits, wake = 1); in pipe_rcv_status() 295 atomic_set(&pn->tx_credits, wake = 1); in pipe_rcv_status() 303 atomic_add(wake = hdr->data[4], &pn->tx_credits); in pipe_rcv_status() 385 atomic_set(&pn->tx_credits, 0); in pipe_do_rcv() 439 atomic_set(&pn->tx_credits, 1); in pipe_do_rcv() 553 atomic_set(&pn->tx_credits, 1); in pipe_start_flow_control() 871 atomic_set(&newpn->tx_credits, 0); in pep_sock_accept() 976 atomic_set(&pn->tx_credits, 0); in pep_init() 1098 !atomic_add_unless(&pn->tx_credits, -1, 0)) { in pipe_skb_send() [all …]
|
D | socket.c | 360 atomic_read(&pn->tx_credits)) in pn_socket_poll()
|
/linux-4.1.27/drivers/net/wireless/ath/ath10k/ |
D | htc.c | 96 if (ep->tx_credits >= ep->tx_credits_per_max_message) in ath10k_htc_ep_need_credit_update() 149 if (ep->tx_credits < credits) { in ath10k_htc_send() 154 ep->tx_credits -= credits; in ath10k_htc_send() 157 eid, credits, ep->tx_credits); in ath10k_htc_send() 188 ep->tx_credits += credits; in ath10k_htc_send() 191 eid, credits, ep->tx_credits); in ath10k_htc_send() 246 ep->tx_credits += report->credits; in ath10k_htc_process_credit_report() 249 report->eid, report->credits, ep->tx_credits); in ath10k_htc_process_credit_report() 766 ep->tx_credits = tx_alloc; in ath10k_htc_connect_service()
|
D | htc.h | 319 int tx_credits; member
|
/linux-4.1.27/include/net/phonet/ |
D | pep.h | 37 atomic_t tx_credits; member
|
/linux-4.1.27/net/bluetooth/rfcomm/ |
D | core.c | 1379 d->tx_credits = pn->credits; in rfcomm_apply_pn() 1686 d->tx_credits += credits; in rfcomm_recv_data() 1687 if (d->tx_credits) in rfcomm_recv_data() 1802 d, d->state, d->cfc, d->rx_credits, d->tx_credits); in rfcomm_process_tx() 1819 d->tx_credits = 5; in rfcomm_process_tx() 1825 while (d->tx_credits && (skb = skb_dequeue(&d->tx_queue))) { in rfcomm_process_tx() 1832 d->tx_credits--; in rfcomm_process_tx() 1835 if (d->cfc && !d->tx_credits) { in rfcomm_process_tx() 2178 d->rx_credits, d->tx_credits); in rfcomm_dlc_debugfs_show()
|
/linux-4.1.27/include/net/bluetooth/ |
D | rfcomm.h | 192 uint tx_credits; member
|
D | l2cap.h | 527 __u16 tx_credits; member
|
/linux-4.1.27/net/bluetooth/ |
D | l2cap_core.c | 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() [all …]
|
D | l2cap_sock.c | 1476 chan->tx_credits = pchan->tx_credits; in l2cap_sock_init()
|