/linux-6.1.9/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() 862 atomic_set(&newpn->tx_credits, 0); in pep_sock_accept() 970 atomic_set(&pn->tx_credits, 0); in pep_init() 1092 !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-6.1.9/drivers/net/wireless/ath/ath11k/ |
D | htc.c | 97 if (ep->tx_credits < credits) { in ath11k_htc_send() 100 eid, credits, ep->tx_credits); in ath11k_htc_send() 105 ep->tx_credits -= credits; in ath11k_htc_send() 108 eid, credits, ep->tx_credits); in ath11k_htc_send() 133 ep->tx_credits += credits; in ath11k_htc_send() 136 eid, credits, ep->tx_credits); in ath11k_htc_send() 168 ep->tx_credits += report->credits; in ath11k_htc_process_credit_report() 171 report->eid, report->credits, ep->tx_credits); in ath11k_htc_process_credit_report() 730 ep->tx_credits = tx_alloc; in ath11k_htc_connect_service()
|
D | htc.h | 271 int tx_credits; member
|
/linux-6.1.9/drivers/net/wireless/ath/ath10k/ |
D | htc.c | 120 if (ep->tx_credits < credits) { in ath10k_htc_consume_credit() 123 eid, credits, ep->tx_credits, consume); in ath10k_htc_consume_credit() 129 ep->tx_credits -= credits; in ath10k_htc_consume_credit() 132 eid, credits, ep->tx_credits); in ath10k_htc_consume_credit() 152 ep->tx_credits += credits; in ath10k_htc_release_credit() 155 eid, credits, ep->tx_credits); in ath10k_htc_release_credit() 266 ep->tx_credits += report->credits; in ath10k_htc_process_credit_report() 269 report->eid, report->credits, ep->tx_credits); in ath10k_htc_process_credit_report() 713 ep->tx_credits < ATH10K_MIN_CREDIT_PER_HTC_TX_BUNDLE) in ath10k_htc_send_bundle_skbs() 762 ep->tx_credits < ATH10K_MIN_CREDIT_PER_HTC_TX_BUNDLE) { in ath10k_htc_send_bundle_skbs() [all …]
|
D | htc.h | 373 int tx_credits; member
|
D | htt_rx.c | 4159 ep->tx_credits++; in ath10k_htt_t2h_msg_handler() 4253 ep->tx_credits += htt_credit_delta; in ath10k_htt_t2h_msg_handler() 4257 ep->tx_credits); in ath10k_htt_t2h_msg_handler()
|
/linux-6.1.9/include/net/phonet/ |
D | pep.h | 27 atomic_t tx_credits; member
|
/linux-6.1.9/net/bluetooth/rfcomm/ |
D | core.c | 1409 d->tx_credits = pn->credits; in rfcomm_apply_pn() 1716 d->tx_credits += credits; in rfcomm_recv_data() 1717 if (d->tx_credits) in rfcomm_recv_data() 1830 d, d->state, d->cfc, d->rx_credits, d->tx_credits); in rfcomm_process_tx() 1847 d->tx_credits = 5; in rfcomm_process_tx() 1853 while (d->tx_credits && (skb = skb_dequeue(&d->tx_queue))) { in rfcomm_process_tx() 1860 d->tx_credits--; in rfcomm_process_tx() 1863 if (d->cfc && !d->tx_credits) { in rfcomm_process_tx() 2195 d->rx_credits, d->tx_credits); in rfcomm_dlc_debugfs_show()
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_nix.c | 3857 u16 pcifunc, u64 tx_credits) in nix_config_link_credits() argument 3874 if (tx_credits == nix_hw->tx_credits[link]) in nix_config_link_credits() 3904 } while (credits != nix_hw->tx_credits[link]); in nix_config_link_credits() 3907 cfg |= (tx_credits << 12); in nix_config_link_credits() 3911 nix_hw->tx_credits[link] = tx_credits; in nix_config_link_credits() 4072 u64 tx_credits, cfg; in nix_link_config() local 4120 tx_credits = (lmac_fifo_len - lmac_max_frs) / 16; in nix_link_config() 4122 cfg = (tx_credits << 12) | (0x1FF << 2) | BIT_ULL(1); in nix_link_config() 4125 nix_hw->tx_credits[link] = tx_credits; in nix_link_config() 4134 tx_credits = rvu_get_lbk_link_credits(rvu, lbk_max_frs); in nix_link_config() [all …]
|
D | rvu.h | 326 u64 *tx_credits; member
|
/linux-6.1.9/include/net/bluetooth/ |
D | rfcomm.h | 193 uint tx_credits; member
|
D | l2cap.h | 584 __u16 tx_credits; member
|
/linux-6.1.9/net/bluetooth/ |
D | l2cap_core.c | 558 static void l2cap_le_flowctl_init(struct l2cap_chan *chan, u16 tx_credits) in l2cap_le_flowctl_init() argument 563 chan->tx_credits = tx_credits; in l2cap_le_flowctl_init() 572 static void l2cap_ecred_init(struct l2cap_chan *chan, u16 tx_credits) in l2cap_ecred_init() argument 574 l2cap_le_flowctl_init(chan, tx_credits); in l2cap_ecred_init() 1378 if (!chan->tx_credits) in l2cap_chan_ready() 2661 while (chan->tx_credits && !skb_queue_empty(&chan->tx_q)) { in l2cap_le_flowctl_send() 2663 chan->tx_credits--; in l2cap_le_flowctl_send() 2667 BT_DBG("Sent %d credits %u queued %u", sent, chan->tx_credits, in l2cap_le_flowctl_send() 2721 if (!chan->tx_credits) in l2cap_chan_send() 5674 chan->tx_credits = credits; in l2cap_le_connect_rsp() [all …]
|
D | l2cap_sock.c | 1796 chan->tx_credits = pchan->tx_credits; in l2cap_sock_init()
|