Searched refs:tx_credits (Results 1 – 11 of 11) sorted by relevance
| /Linux-v5.4/net/phonet/ |
| D | pep.c | 274 atomic_set(&pn->tx_credits, 0); in pipe_rcv_status() 277 atomic_set(&pn->tx_credits, wake = 1); in pipe_rcv_status() 283 atomic_set(&pn->tx_credits, wake = 1); in pipe_rcv_status() 291 atomic_add(wake = hdr->data[3], &pn->tx_credits); in pipe_rcv_status() 373 atomic_set(&pn->tx_credits, 0); in pipe_do_rcv() 427 atomic_set(&pn->tx_credits, 1); in pipe_do_rcv() 541 atomic_set(&pn->tx_credits, 1); in pipe_start_flow_control() 861 atomic_set(&newpn->tx_credits, 0); in pep_sock_accept() 966 atomic_set(&pn->tx_credits, 0); in pep_init() 1088 !atomic_add_unless(&pn->tx_credits, -1, 0)) { in pipe_skb_send() [all …]
|
| D | socket.c | 350 atomic_read(&pn->tx_credits)) in pn_socket_poll()
|
| /Linux-v5.4/drivers/net/wireless/ath/ath10k/ |
| D | htc.c | 114 if (ep->tx_credits < credits) { in ath10k_htc_send() 117 eid, credits, ep->tx_credits); in ath10k_htc_send() 122 ep->tx_credits -= credits; in ath10k_htc_send() 125 eid, credits, ep->tx_credits); in ath10k_htc_send() 160 ep->tx_credits += credits; in ath10k_htc_send() 163 eid, credits, ep->tx_credits); in ath10k_htc_send() 216 ep->tx_credits += report->credits; in ath10k_htc_process_credit_report() 219 report->eid, report->credits, ep->tx_credits); in ath10k_htc_process_credit_report() 793 ep->tx_credits = tx_alloc; in ath10k_htc_connect_service()
|
| D | htc.h | 336 int tx_credits; member
|
| /Linux-v5.4/include/net/phonet/ |
| D | pep.h | 24 atomic_t tx_credits; member
|
| /Linux-v5.4/net/bluetooth/rfcomm/ |
| D | core.c | 1376 d->tx_credits = pn->credits; in rfcomm_apply_pn() 1683 d->tx_credits += credits; in rfcomm_recv_data() 1684 if (d->tx_credits) in rfcomm_recv_data() 1797 d, d->state, d->cfc, d->rx_credits, d->tx_credits); in rfcomm_process_tx() 1814 d->tx_credits = 5; in rfcomm_process_tx() 1820 while (d->tx_credits && (skb = skb_dequeue(&d->tx_queue))) { in rfcomm_process_tx() 1827 d->tx_credits--; in rfcomm_process_tx() 1830 if (d->cfc && !d->tx_credits) { in rfcomm_process_tx() 2161 d->rx_credits, d->tx_credits); in rfcomm_dlc_debugfs_show()
|
| /Linux-v5.4/drivers/net/ethernet/marvell/octeontx2/af/ |
| D | rvu_nix.c | 2562 u64 tx_credits; in nix_link_config() local 2586 tx_credits = ((CGX_FIFO_LEN / lmac_cnt) - NIC_HW_MAX_FRS) / 16; in nix_link_config() 2588 tx_credits = (tx_credits << 12) | (0x1FF << 2) | BIT_ULL(1); in nix_link_config() 2593 tx_credits); in nix_link_config() 2596 tx_credits); in nix_link_config() 2603 tx_credits = 1000; /* 10 * max LBK datarate = 10 * 100Gbps */ in nix_link_config() 2605 tx_credits = (tx_credits << 12) | (0x1FF << 2) | BIT_ULL(1); in nix_link_config() 2607 NIX_AF_TX_LINKX_NORM_CREDIT(link), tx_credits); in nix_link_config() 2609 NIX_AF_TX_LINKX_EXPR_CREDIT(link), tx_credits); in nix_link_config()
|
| /Linux-v5.4/include/net/bluetooth/ |
| D | rfcomm.h | 194 uint tx_credits; member
|
| D | l2cap.h | 541 __u16 tx_credits; member
|
| /Linux-v5.4/net/bluetooth/ |
| D | l2cap_core.c | 521 static void l2cap_le_flowctl_init(struct l2cap_chan *chan, u16 tx_credits) in l2cap_le_flowctl_init() argument 526 chan->tx_credits = tx_credits; in l2cap_le_flowctl_init() 1276 if (chan->mode == L2CAP_MODE_LE_FLOWCTL && !chan->tx_credits) in l2cap_chan_ready() 2466 while (chan->tx_credits && !skb_queue_empty(&chan->tx_q)) { in l2cap_le_flowctl_send() 2468 chan->tx_credits--; in l2cap_le_flowctl_send() 2472 BT_DBG("Sent %d credits %u queued %u", sent, chan->tx_credits, in l2cap_le_flowctl_send() 2525 if (!chan->tx_credits) in l2cap_chan_send() 5381 chan->tx_credits = credits; in l2cap_le_connect_rsp() 5645 max_credits = LE_FLOWCTL_MAX_CREDITS - chan->tx_credits; in l2cap_le_credits() 5657 chan->tx_credits += credits; in l2cap_le_credits() [all …]
|
| D | l2cap_sock.c | 1538 chan->tx_credits = pchan->tx_credits; in l2cap_sock_init()
|