Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/ath/ath11k/
H A Dhtc.c97 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()
136 ep->tx_credits += credits; in ath11k_htc_send()
139 eid, credits, ep->tx_credits); in ath11k_htc_send()
171 ep->tx_credits += report->credits; in ath11k_htc_process_credit_report()
174 report->eid, report->credits, ep->tx_credits); in ath11k_htc_process_credit_report()
739 ep->tx_credits = tx_alloc; in ath11k_htc_connect_service()
H A Dhtc.h257 int tx_credits; member
/linux/drivers/net/wireless/ath/ath10k/
H A Dhtc.c124 if (ep->tx_credits < credits) { in ath10k_htc_consume_credit()
127 eid, credits, ep->tx_credits, consume); in ath10k_htc_consume_credit()
133 ep->tx_credits -= credits; in ath10k_htc_consume_credit()
136 eid, credits, ep->tx_credits); in ath10k_htc_consume_credit()
156 ep->tx_credits += credits; in ath10k_htc_release_credit()
159 eid, credits, ep->tx_credits); in ath10k_htc_release_credit()
270 ep->tx_credits += report->credits; in ath10k_htc_process_credit_report()
273 report->eid, report->credits, ep->tx_credits); in ath10k_htc_process_credit_report()
717 ep->tx_credits < ATH10K_MIN_CREDIT_PER_HTC_TX_BUNDLE) in ath10k_htc_send_bundle_skbs()
766 ep->tx_credits < ATH10K_MIN_CREDIT_PER_HTC_TX_BUNDLE) { in ath10k_htc_send_bundle_skbs()
[all …]
H A Dhtc.h359 int tx_credits; member
H A Dhtt_rx.c4157 ep->tx_credits++; in ath10k_htt_t2h_msg_handler()
4251 ep->tx_credits += htt_credit_delta; in ath10k_htt_t2h_msg_handler()
4255 ep->tx_credits); in ath10k_htt_t2h_msg_handler()
/linux/include/net/phonet/
H A Dpep.h27 atomic_t tx_credits; member
/linux/drivers/net/ethernet/
H A Doa_tc6.c128 u16 tx_credits; member
725 tc6->tx_credits = FIELD_GET(OA_TC6_DATA_FOOTER_TX_CREDITS, footer); in oa_tc6_process_rx_chunk_footer()
1005 for (used_tx_credits = 0; used_tx_credits < tc6->tx_credits; in oa_tc6_prepare_spi_tx_buf_for_tx_skbs()
1119 tc6->tx_credits) || in oa_tc6_spi_thread_handler()
1146 tc6->tx_credits = FIELD_GET(BUFFER_STATUS_TX_CREDITS_AVAILABLE, value); in oa_tc6_update_buffer_status_from_register()
/linux/net/bluetooth/rfcomm/
H A Dcore.c1413 d->tx_credits = pn->credits; in rfcomm_apply_pn()
1723 d->tx_credits += *credits; in rfcomm_recv_data()
1724 if (d->tx_credits) in rfcomm_recv_data()
1837 d, d->state, d->cfc, d->rx_credits, d->tx_credits); in rfcomm_process_tx()
1854 d->tx_credits = 5; in rfcomm_process_tx()
1860 while (d->tx_credits && (skb = skb_dequeue(&d->tx_queue))) { in rfcomm_process_tx()
1867 d->tx_credits--; in rfcomm_process_tx()
1870 if (d->cfc && !d->tx_credits) { in rfcomm_process_tx()
2203 d->rx_credits, d->tx_credits); in rfcomm_dlc_debugfs_show()
/linux/drivers/net/wireless/ath/ath12k/
H A Dhtc.h276 int tx_credits; member
/linux/include/net/bluetooth/
H A Drfcomm.h193 uint tx_credits; member
H A Dl2cap.h556 __u16 tx_credits; member
/linux/net/bluetooth/
H A Dl2cap_core.c563 static void l2cap_le_flowctl_init(struct l2cap_chan *chan, u16 tx_credits) in l2cap_le_flowctl_init() argument
568 chan->tx_credits = tx_credits; in l2cap_le_flowctl_init()
576 static void l2cap_ecred_init(struct l2cap_chan *chan, u16 tx_credits) in l2cap_ecred_init() argument
578 l2cap_le_flowctl_init(chan, tx_credits); in l2cap_ecred_init()
1272 if (!chan->tx_credits) in l2cap_chan_ready()
2524 while (chan->tx_credits && !skb_queue_empty(&chan->tx_q)) { in l2cap_le_flowctl_send()
2526 chan->tx_credits--; in l2cap_le_flowctl_send()
2530 BT_DBG("Sent %d credits %u queued %u", sent, chan->tx_credits, in l2cap_le_flowctl_send()
2606 if (!chan->tx_credits) in l2cap_chan_send()
4761 chan->tx_credits = credits; in l2cap_le_connect_rsp()
[all …]
H A Dl2cap_sock.c1877 chan->tx_credits = pchan->tx_credits; in l2cap_sock_init()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_nix.c4729 u64 tx_credits, cfg; in nix_link_config() local
4786 tx_credits = (lmac_fifo_len - lmac_max_frs) / 16; in nix_link_config()
4788 cfg = (tx_credits << 12) | (0x1FF << 2) | BIT_ULL(1); in nix_link_config()
4792 nix_hw->tx_credits[link] = tx_credits; in nix_link_config()
4801 tx_credits = rvu_get_lbk_link_credits(rvu, lbk_max_frs); in nix_link_config()
4802 nix_hw->tx_credits[link] = tx_credits; in nix_link_config()
4804 tx_credits = (tx_credits << 12) | (0x1FF << 2) | BIT_ULL(1); in nix_link_config()
4806 NIX_AF_TX_LINKX_NORM_CREDIT(link), tx_credits); in nix_link_config()
5091 nix_hw->tx_credits = kcalloc(hw->cgx_links + hw->lbk_links, in rvu_nix_block_init()
5093 if (!nix_hw->tx_credits) in rvu_nix_block_init()
[all …]
/linux/net/phonet/
H A Dsocket.c355 atomic_read(&pn->tx_credits)) in pn_socket_poll()