Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/wireless/ath/ath11k/
Dhtc.c95 if (ep->tx_credits < credits) { in ath11k_htc_send()
98 eid, credits, ep->tx_credits); in ath11k_htc_send()
103 ep->tx_credits -= credits; in ath11k_htc_send()
106 eid, credits, ep->tx_credits); in ath11k_htc_send()
131 ep->tx_credits += credits; in ath11k_htc_send()
134 eid, credits, ep->tx_credits); in ath11k_htc_send()
166 ep->tx_credits += report->credits; in ath11k_htc_process_credit_report()
169 report->eid, report->credits, ep->tx_credits); in ath11k_htc_process_credit_report()
690 ep->tx_credits = tx_alloc; in ath11k_htc_connect_service()
Dhtc.h269 int tx_credits; member
/Linux-v5.15/net/phonet/
Dpep.c274 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 …]
Dsocket.c350 atomic_read(&pn->tx_credits)) in pn_socket_poll()
/Linux-v5.15/drivers/net/wireless/ath/ath10k/
Dhtc.c111 if (ep->tx_credits < credits) { in ath10k_htc_consume_credit()
114 eid, credits, ep->tx_credits, consume); in ath10k_htc_consume_credit()
120 ep->tx_credits -= credits; in ath10k_htc_consume_credit()
123 eid, credits, ep->tx_credits); in ath10k_htc_consume_credit()
143 ep->tx_credits += credits; in ath10k_htc_release_credit()
146 eid, credits, ep->tx_credits); in ath10k_htc_release_credit()
257 ep->tx_credits += report->credits; in ath10k_htc_process_credit_report()
260 report->eid, report->credits, ep->tx_credits); in ath10k_htc_process_credit_report()
704 ep->tx_credits < ATH10K_MIN_CREDIT_PER_HTC_TX_BUNDLE) in ath10k_htc_send_bundle_skbs()
753 ep->tx_credits < ATH10K_MIN_CREDIT_PER_HTC_TX_BUNDLE) { in ath10k_htc_send_bundle_skbs()
[all …]
Dhtc.h373 int tx_credits; member
Dhtt_rx.c4024 ep->tx_credits++; in ath10k_htt_t2h_msg_handler()
4118 ep->tx_credits += htt_credit_delta; in ath10k_htt_t2h_msg_handler()
4122 ep->tx_credits); in ath10k_htt_t2h_msg_handler()
/Linux-v5.15/include/net/phonet/
Dpep.h24 atomic_t tx_credits; member
/Linux-v5.15/net/bluetooth/rfcomm/
Dcore.c1373 d->tx_credits = pn->credits; in rfcomm_apply_pn()
1680 d->tx_credits += credits; in rfcomm_recv_data()
1681 if (d->tx_credits) in rfcomm_recv_data()
1794 d, d->state, d->cfc, d->rx_credits, d->tx_credits); in rfcomm_process_tx()
1811 d->tx_credits = 5; in rfcomm_process_tx()
1817 while (d->tx_credits && (skb = skb_dequeue(&d->tx_queue))) { in rfcomm_process_tx()
1824 d->tx_credits--; in rfcomm_process_tx()
1827 if (d->cfc && !d->tx_credits) { in rfcomm_process_tx()
2159 d->rx_credits, d->tx_credits); in rfcomm_dlc_debugfs_show()
/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_nix.c3782 u16 pcifunc, u64 tx_credits) in nix_config_link_credits() argument
3799 if (tx_credits == nix_hw->tx_credits[link]) in nix_config_link_credits()
3829 } while (credits != nix_hw->tx_credits[link]); in nix_config_link_credits()
3832 cfg |= (tx_credits << 12); in nix_config_link_credits()
3836 nix_hw->tx_credits[link] = tx_credits; in nix_config_link_credits()
3992 u64 tx_credits, cfg; in nix_link_config() local
4026 tx_credits = ((rvu_cgx_get_fifolen(rvu) / lmac_cnt) - in nix_link_config()
4029 cfg = (tx_credits << 12) | (0x1FF << 2) | BIT_ULL(1); in nix_link_config()
4032 nix_hw->tx_credits[link] = tx_credits; in nix_link_config()
4041 tx_credits = rvu_get_lbk_link_credits(rvu, lbk_max_frs); in nix_link_config()
[all …]
Drvu.h317 u64 *tx_credits; member
/Linux-v5.15/include/net/bluetooth/
Drfcomm.h193 uint tx_credits; member
Dl2cap.h584 __u16 tx_credits; member
/Linux-v5.15/net/bluetooth/
Dl2cap_core.c529 static void l2cap_le_flowctl_init(struct l2cap_chan *chan, u16 tx_credits) in l2cap_le_flowctl_init() argument
534 chan->tx_credits = tx_credits; in l2cap_le_flowctl_init()
543 static void l2cap_ecred_init(struct l2cap_chan *chan, u16 tx_credits) in l2cap_ecred_init() argument
545 l2cap_le_flowctl_init(chan, tx_credits); in l2cap_ecred_init()
1349 if (!chan->tx_credits) in l2cap_chan_ready()
2629 while (chan->tx_credits && !skb_queue_empty(&chan->tx_q)) { in l2cap_le_flowctl_send()
2631 chan->tx_credits--; in l2cap_le_flowctl_send()
2635 BT_DBG("Sent %d credits %u queued %u", sent, chan->tx_credits, in l2cap_le_flowctl_send()
2689 if (!chan->tx_credits) in l2cap_chan_send()
5630 chan->tx_credits = credits; in l2cap_le_connect_rsp()
[all …]
Dl2cap_sock.c1758 chan->tx_credits = pchan->tx_credits; in l2cap_sock_init()