Home
last modified time | relevance | path

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

/linux/net/phonet/
H A Dpep.c276 atomic_set(&pn->tx_credits, 0); in pipe_rcv_status()
279 atomic_set(&pn->tx_credits, wake = 1); in pipe_rcv_status()
285 atomic_set(&pn->tx_credits, wake = 1); in pipe_rcv_status()
293 atomic_add(wake = hdr->data[3], &pn->tx_credits); in pipe_rcv_status()
375 atomic_set(&pn->tx_credits, 0); in pipe_do_rcv()
429 atomic_set(&pn->tx_credits, 1); in pipe_do_rcv()
543 atomic_set(&pn->tx_credits, 1); in pipe_start_flow_control()
879 atomic_set(&newpn->tx_credits, 0); in pep_sock_accept()
1010 atomic_set(&pn->tx_credits, 0); in pep_init()
1148 !atomic_add_unless(&pn->tx_credits, -1, 0)) { in pipe_skb_send()
[all …]
H A Dsocket.c355 atomic_read(&pn->tx_credits)) in pn_socket_poll()
/linux/include/net/phonet/
H A Dpep.h27 atomic_t tx_credits; member
/linux/net/bluetooth/rfcomm/
H A Dcore.c1501 d->tx_credits = pn->credits; in rfcomm_recv_pn()
1846 d->tx_credits += *credits; in rfcomm_recv_frame()
1847 if (d->tx_credits) in rfcomm_recv_frame()
1965 BT_DBG("dlc %p state %ld cfc %d rx_credits %d tx_credits %d", in rfcomm_process_dlcs()
1966 d, d->state, d->cfc, d->rx_credits, d->tx_credits); in rfcomm_process_dlcs()
1983 d->tx_credits = 5; in rfcomm_process_dlcs()
1989 while (d->tx_credits && (skb = skb_dequeue(&d->tx_queue))) { in rfcomm_process_dlcs()
1996 d->tx_credits--; in rfcomm_process_dlcs()
1999 if (d->cfc && !d->tx_credits) { in rfcomm_process_dlcs()
2340 d->rx_credits, d->tx_credits);
[all...]
/linux/drivers/net/ethernet/
H A Doa_tc6.c84 u16 tx_credits; member
847 tc6->tx_credits = FIELD_GET(OA_TC6_DATA_FOOTER_TX_CREDITS, footer); in oa_tc6_process_rx_chunk_footer()
1199 for (used_tx_credits = 0; used_tx_credits < tc6->tx_credits; in oa_tc6_prepare_spi_tx_buf_for_tx_skbs()
1317 (tc6->waiting_tx_skb && tc6->tx_credits)) { in oa_tc6_macphy_threaded_irq()
1342 tc6->tx_credits = FIELD_GET(OA_TC6_BUFFER_STATUS_TX_CREDITS_AVAILABLE, in oa_tc6_update_buffer_status_from_register()
/linux/drivers/net/wireless/ath/ath10k/
H A Dhtc.h359 int tx_credits; member
H A Dhtt_rx.c4158 ep->tx_credits++; in ath10k_htt_t2h_msg_handler()
4252 ep->tx_credits += htt_credit_delta; in ath10k_htt_t2h_msg_handler()
4256 ep->tx_credits); in ath10k_htt_t2h_msg_handler()
/linux/include/net/bluetooth/
H A Drfcomm.h190 uint tx_credits; member
H A Dl2cap.h554 __u16 tx_credits; member
/linux/net/bluetooth/
H A Dl2cap_core.c556 chan->tx_credits = pchan->tx_credits; in l2cap_chan_set_defaults()
596 static void l2cap_le_flowctl_init(struct l2cap_chan *chan, u16 tx_credits) in l2cap_le_flowctl_init() argument
601 chan->tx_credits = tx_credits; in l2cap_le_flowctl_init()
609 static void l2cap_ecred_init(struct l2cap_chan *chan, u16 tx_credits) in l2cap_ecred_init() argument
611 l2cap_le_flowctl_init(chan, tx_credits); in l2cap_ecred_init()
1301 if (!chan->tx_credits) in l2cap_chan_ready()
2558 while (chan->tx_credits && !skb_queue_empty(&chan->tx_q)) { in l2cap_le_flowctl_send()
2560 chan->tx_credits--; in l2cap_le_flowctl_send()
2564 BT_DBG("Sent %d credits %u queued %u", sent, chan->tx_credits, in l2cap_le_flowctl_send()
2640 if (!chan->tx_credits) in l2cap_chan_send()
[all …]
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_nix.c4801 u64 tx_credits, cfg; in nix_link_config() local
4858 tx_credits = (lmac_fifo_len - lmac_max_frs) / 16; in nix_link_config()
4860 cfg = (tx_credits << 12) | (0x1FF << 2) | BIT_ULL(1); in nix_link_config()
4864 nix_hw->tx_credits[link] = tx_credits; in nix_link_config()
4873 tx_credits = rvu_get_lbk_link_credits(rvu, lbk_max_frs); in nix_link_config()
4874 nix_hw->tx_credits[link] = tx_credits; in nix_link_config()
4876 tx_credits = (tx_credits << 12) | (0x1FF << 2) | BIT_ULL(1); in nix_link_config()
4878 NIX_AF_TX_LINKX_NORM_CREDIT(link), tx_credits); in nix_link_config()
5163 nix_hw->tx_credits = kcalloc(hw->cgx_links + hw->lbk_links, in rvu_nix_block_init()
5165 if (!nix_hw->tx_credits) in rvu_nix_block_init()
[all …]
H A Drvu.h408 u64 *tx_credits; member