Home
last modified time | relevance | path

Searched refs:tx_credits (Results 1 – 10 of 10) 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/drivers/net/ethernet/
H A Doa_tc6.c84 u16 tx_credits; member
799 tc6->tx_credits = FIELD_GET(OA_TC6_DATA_FOOTER_TX_CREDITS, footer); in oa_tc6_process_rx_chunk_footer()
1090 for (used_tx_credits = 0; used_tx_credits < tc6->tx_credits; in oa_tc6_prepare_spi_tx_buf_for_tx_skbs()
1205 (tc6->waiting_tx_skb && tc6->tx_credits)) { in oa_tc6_macphy_threaded_irq()
1231 tc6->tx_credits = FIELD_GET(OA_TC6_BUFFER_STATUS_TX_CREDITS_AVAILABLE, in oa_tc6_update_buffer_status_from_register()
/linux/net/bluetooth/rfcomm/
H A Dcore.c1445 d->tx_credits = pn->credits; in rfcomm_apply_pn()
1790 d->tx_credits += *credits; in rfcomm_recv_data()
1791 if (d->tx_credits) in rfcomm_recv_data()
1908 BT_DBG("dlc %p state %ld cfc %d rx_credits %d tx_credits %d", in rfcomm_process_tx()
1909 d, d->state, d->cfc, d->rx_credits, d->tx_credits); in rfcomm_process_tx()
1926 d->tx_credits = 5; in rfcomm_process_tx()
1932 while (d->tx_credits && (skb = skb_dequeue(&d->tx_queue))) { in rfcomm_process_tx()
1939 d->tx_credits--; in rfcomm_process_tx()
1942 if (d->cfc && !d->tx_credits) { in rfcomm_process_tx()
2283 d->rx_credits, d->tx_credits);
[all...]
/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
/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()
2551 while (chan->tx_credits && !skb_queue_empty(&chan->tx_q)) { in l2cap_le_flowctl_send()
2553 chan->tx_credits--; in l2cap_le_flowctl_send()
2557 BT_DBG("Sent %d credits %u queued %u", sent, chan->tx_credits, in l2cap_le_flowctl_send()
2633 if (!chan->tx_credits) in l2cap_chan_send()
[all …]
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu.h408 u64 *tx_credits; member