Home
last modified time | relevance | path

Searched refs:tx_credits (Results 1 - 25 of 31) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
H A Dhtc.c93 if (ep->tx_credits < credits) { in ath11k_htc_send()
96 eid, credits, ep->tx_credits); in ath11k_htc_send()
101 ep->tx_credits -= credits; in ath11k_htc_send()
104 eid, credits, ep->tx_credits); in ath11k_htc_send()
129 ep->tx_credits += credits; in ath11k_htc_send()
132 eid, credits, ep->tx_credits); in ath11k_htc_send()
164 ep->tx_credits += report->credits; in ath11k_htc_process_credit_report()
167 report->eid, report->credits, ep->tx_credits); in ath11k_htc_process_credit_report()
667 ep->tx_credits = tx_alloc; in ath11k_htc_connect_service()
H A Dhtc.h271 int tx_credits; member
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath12k/
H A Dhtc.c95 if (ep->tx_credits < credits) { in ath12k_htc_send()
98 eid, credits, ep->tx_credits); in ath12k_htc_send()
103 ep->tx_credits -= credits; in ath12k_htc_send()
106 eid, credits, ep->tx_credits); in ath12k_htc_send()
130 ep->tx_credits += credits; in ath12k_htc_send()
133 eid, credits, ep->tx_credits); in ath12k_htc_send()
165 ep->tx_credits += report->credits; in ath12k_htc_process_credit_report()
168 report->eid, report->credits, ep->tx_credits); in ath12k_htc_process_credit_report()
688 ep->tx_credits = tx_alloc; in ath12k_htc_connect_service()
H A Dhtc.h276 int tx_credits; member
/kernel/linux/linux-5.10/net/phonet/
H A 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()
969 atomic_set(&pn->tx_credits, 0); in pep_init()
1091 !atomic_add_unless(&pn->tx_credits, in pipe_skb_send()
[all...]
H A Dsocket.c350 atomic_read(&pn->tx_credits)) in pn_socket_poll()
/kernel/linux/linux-6.6/net/phonet/
H A 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()
862 atomic_set(&newpn->tx_credits, 0); in pep_sock_accept()
992 atomic_set(&pn->tx_credits, 0); in pep_init()
1114 !atomic_add_unless(&pn->tx_credits, in pipe_skb_send()
[all...]
H A Dsocket.c350 atomic_read(&pn->tx_credits)) in pn_socket_poll()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/
H A Dhtc.c96 if (ep->tx_credits < credits) { in ath11k_htc_send()
99 eid, credits, ep->tx_credits); in ath11k_htc_send()
104 ep->tx_credits -= credits; in ath11k_htc_send()
107 eid, credits, ep->tx_credits); in ath11k_htc_send()
135 ep->tx_credits += credits; in ath11k_htc_send()
138 eid, credits, ep->tx_credits); in ath11k_htc_send()
170 ep->tx_credits += report->credits; in ath11k_htc_process_credit_report()
173 report->eid, report->credits, ep->tx_credits); in ath11k_htc_process_credit_report()
738 ep->tx_credits = tx_alloc; in ath11k_htc_connect_service()
H A Dhtc.h271 int tx_credits; member
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
H A 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()
700 ep->tx_credits < ATH10K_MIN_CREDIT_PER_HTC_TX_BUNDLE) in ath10k_htc_send_bundle_skbs()
749 ep->tx_credits < ATH10K_MIN_CREDIT_PER_HTC_TX_BUNDL in ath10k_htc_send_bundle_skbs()
[all...]
H A Dhtc.h373 int tx_credits; member
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/
H A Dhtc.c120 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_BUNDL in ath10k_htc_send_bundle_skbs()
[all...]
H A Dhtc.h373 int tx_credits; member
/kernel/linux/linux-5.10/include/net/phonet/
H A Dpep.h24 atomic_t tx_credits; member
/kernel/linux/linux-6.6/include/net/phonet/
H A Dpep.h27 atomic_t tx_credits; member
/kernel/linux/linux-5.10/net/bluetooth/rfcomm/
H A Dcore.c1409 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()
1829 BT_DBG("dlc %p state %ld cfc %d rx_credits %d tx_credits %d", in rfcomm_process_tx()
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()
[all...]
/kernel/linux/linux-6.6/net/bluetooth/rfcomm/
H A Dcore.c1413 d->tx_credits = pn->credits; in rfcomm_apply_pn()
1720 d->tx_credits += credits; in rfcomm_recv_data()
1721 if (d->tx_credits) in rfcomm_recv_data()
1833 BT_DBG("dlc %p state %ld cfc %d rx_credits %d tx_credits %d", in rfcomm_process_tx()
1834 d, d->state, d->cfc, d->rx_credits, d->tx_credits); in rfcomm_process_tx()
1851 d->tx_credits = 5; in rfcomm_process_tx()
1857 while (d->tx_credits && (skb = skb_dequeue(&d->tx_queue))) { in rfcomm_process_tx()
1864 d->tx_credits--; in rfcomm_process_tx()
1867 if (d->cfc && !d->tx_credits) { in rfcomm_process_tx()
2199 d->rx_credits, d->tx_credits); in rfcomm_dlc_debugfs_show()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_nix.c2997 u64 tx_credits; in nix_link_config() local
3021 tx_credits = ((CGX_FIFO_LEN / lmac_cnt) - NIC_HW_MAX_FRS) / 16; in nix_link_config()
3023 tx_credits = (tx_credits << 12) | (0x1FF << 2) | BIT_ULL(1); in nix_link_config()
3028 tx_credits); in nix_link_config()
3035 tx_credits = 1000; /* 10 * max LBK datarate = 10 * 100Gbps */ in nix_link_config()
3037 tx_credits = (tx_credits << 12) | (0x1FF << 2) | BIT_ULL(1); in nix_link_config()
3039 NIX_AF_TX_LINKX_NORM_CREDIT(link), tx_credits); in nix_link_config()
/kernel/linux/linux-5.10/include/net/bluetooth/
H A Drfcomm.h193 uint tx_credits; member
/kernel/linux/linux-6.6/include/net/bluetooth/
H A Drfcomm.h193 uint tx_credits; member
H A Dl2cap.h548 __u16 tx_credits; member
/kernel/linux/linux-5.10/net/bluetooth/
H A Dl2cap_core.c561 static void l2cap_le_flowctl_init(struct l2cap_chan *chan, u16 tx_credits) in l2cap_le_flowctl_init() argument
566 chan->tx_credits = tx_credits; in l2cap_le_flowctl_init()
575 static void l2cap_ecred_init(struct l2cap_chan *chan, u16 tx_credits) in l2cap_ecred_init() argument
577 l2cap_le_flowctl_init(chan, tx_credits); in l2cap_ecred_init()
1380 if (!chan->tx_credits) in l2cap_chan_ready()
2657 while (chan->tx_credits && !skb_queue_empty(&chan->tx_q)) { in l2cap_le_flowctl_send()
2659 chan->tx_credits--; in l2cap_le_flowctl_send()
2663 BT_DBG("Sent %d credits %u queued %u", sent, chan->tx_credits, in l2cap_le_flowctl_send()
2709 if (!chan->tx_credits) in l2cap_chan_send()
[all...]
/kernel/linux/linux-6.6/net/bluetooth/
H A Dl2cap_core.c538 static void l2cap_le_flowctl_init(struct l2cap_chan *chan, u16 tx_credits) in l2cap_le_flowctl_init() argument
543 chan->tx_credits = tx_credits; in l2cap_le_flowctl_init()
552 static void l2cap_ecred_init(struct l2cap_chan *chan, u16 tx_credits) in l2cap_ecred_init() argument
554 l2cap_le_flowctl_init(chan, tx_credits); in l2cap_ecred_init()
1222 if (!chan->tx_credits) in l2cap_chan_ready()
2481 while (chan->tx_credits && !skb_queue_empty(&chan->tx_q)) { in l2cap_le_flowctl_send()
2483 chan->tx_credits--; in l2cap_le_flowctl_send()
2487 BT_DBG("Sent %d credits %u queued %u", sent, chan->tx_credits, in l2cap_le_flowctl_send()
2533 if (!chan->tx_credits) in l2cap_chan_send()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_nix.c4261 u64 tx_credits, cfg; in nix_link_config() local
4315 tx_credits = (lmac_fifo_len - lmac_max_frs) / 16; in nix_link_config()
4317 cfg = (tx_credits << 12) | (0x1FF << 2) | BIT_ULL(1); in nix_link_config()
4321 nix_hw->tx_credits[link] = tx_credits; in nix_link_config()
4330 tx_credits = rvu_get_lbk_link_credits(rvu, lbk_max_frs); in nix_link_config()
4331 nix_hw->tx_credits[link] = tx_credits; in nix_link_config()
4333 tx_credits = (tx_credits << 1 in nix_link_config()
[all...]

Completed in 45 milliseconds

12