Home
last modified time | relevance | path

Searched refs:tx_done (Results 1 – 25 of 117) sorted by relevance

12345

/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dtxrx.c44 const struct htt_tx_done *tx_done) in ath10k_txrx_tx_unref() argument
58 tx_done->msdu_id, tx_done->status); in ath10k_txrx_tx_unref()
60 if (tx_done->msdu_id >= htt->max_num_pending_tx) { in ath10k_txrx_tx_unref()
62 tx_done->msdu_id); in ath10k_txrx_tx_unref()
67 msdu = idr_find(&htt->pending_tx, tx_done->msdu_id); in ath10k_txrx_tx_unref()
70 tx_done->msdu_id); in ath10k_txrx_tx_unref()
84 ath10k_htt_tx_free_msdu_id(htt, tx_done->msdu_id); in ath10k_txrx_tx_unref()
103 trace_ath10k_txrx_tx_unref(ar, tx_done->msdu_id); in ath10k_txrx_tx_unref()
109 if (tx_done->status == HTT_TX_COMPL_STATE_NOACK) in ath10k_txrx_tx_unref()
112 if ((tx_done->status == HTT_TX_COMPL_STATE_ACK) && in ath10k_txrx_tx_unref()
[all …]
H A Dtxrx.h12 const struct htt_tx_done *tx_done);
H A Dhtt_rx.c2948 struct htt_tx_done tx_done = {}; in ath10k_htt_rx_tx_compl_ind() local
2961 tx_done.status = HTT_TX_COMPL_STATE_NOACK; in ath10k_htt_rx_tx_compl_ind()
2964 tx_done.status = HTT_TX_COMPL_STATE_ACK; in ath10k_htt_rx_tx_compl_ind()
2969 tx_done.status = HTT_TX_COMPL_STATE_DISCARD; in ath10k_htt_rx_tx_compl_ind()
2973 tx_done.status = HTT_TX_COMPL_STATE_DISCARD; in ath10k_htt_rx_tx_compl_ind()
2990 tx_done.msdu_id = __le16_to_cpu(msdu_id); in ath10k_htt_rx_tx_compl_ind()
2999 tx_done.ack_rssi = __le16_to_cpu(msdu_id); in ath10k_htt_rx_tx_compl_ind()
3002 tx_done.ack_rssi = __le16_to_cpu(msdu_id); in ath10k_htt_rx_tx_compl_ind()
3015 ath10k_txrx_tx_unref(htt, &tx_done); in ath10k_htt_rx_tx_compl_ind()
3016 } else if (!kfifo_put(&htt->txdone_fifo, tx_done)) { in ath10k_htt_rx_tx_compl_ind()
[all …]
H A Dhtt_tx.c512 struct htt_tx_done tx_done = {0}; in ath10k_htt_tx_clean_up_pending() local
516 tx_done.msdu_id = msdu_id; in ath10k_htt_tx_clean_up_pending()
517 tx_done.status = HTT_TX_COMPL_STATE_DISCARD; in ath10k_htt_tx_clean_up_pending()
519 ath10k_txrx_tx_unref(htt, &tx_done); in ath10k_htt_tx_clean_up_pending()
562 struct htt_tx_done tx_done = {0}; in ath10k_htt_htc_tx_complete() local
593 tx_done.status = HTT_TX_COMPL_STATE_ACK; in ath10k_htt_htc_tx_complete()
594 tx_done.msdu_id = __le16_to_cpu(desc_hdr->id); in ath10k_htt_htc_tx_complete()
595 ath10k_txrx_tx_unref(&ar->htt, &tx_done); in ath10k_htt_htc_tx_complete()
/openbmc/linux/drivers/firmware/imx/
H A Dimx-scu.c32 struct completion tx_done; member
110 complete(&sc_chan->tx_done); in imx_scu_tx_done()
189 wait_for_completion(&sc_chan->tx_done); in imx_scu_ipc_write()
190 reinit_completion(&sc_chan->tx_done); in imx_scu_ipc_write()
304 cl->tx_done = imx_scu_tx_done; in imx_scu_probe()
305 init_completion(&sc_chan->tx_done); in imx_scu_probe()
306 complete(&sc_chan->tx_done); in imx_scu_probe()
/openbmc/linux/drivers/net/wireless/ath/wil6210/
H A Dnetdev.c137 int tx_done = 0; in wil6210_netdev_poll_tx() local
156 tx_done += wil_tx_complete(vif, i); in wil6210_netdev_poll_tx()
159 if (tx_done < budget) { in wil6210_netdev_poll_tx()
165 wil_dbg_txrx(wil, "NAPI TX poll(%d) done %d\n", budget, tx_done); in wil6210_netdev_poll_tx()
167 return min(tx_done, budget); in wil6210_netdev_poll_tx()
174 int tx_done; in wil6210_netdev_poll_tx_edma() local
181 tx_done = wil_tx_sring_handler(wil, sring); in wil6210_netdev_poll_tx_edma()
183 if (tx_done < budget) { in wil6210_netdev_poll_tx_edma()
189 wil_dbg_txrx(wil, "NAPI TX poll(%d) done %d\n", budget, tx_done); in wil6210_netdev_poll_tx_edma()
191 return min(tx_done, budget); in wil6210_netdev_poll_tx_edma()
/openbmc/linux/drivers/media/cec/platform/tegra/
H A Dtegra_cec.c43 bool tx_done; member
77 if (cec->tx_done) { in tegra_cec_irq_thread_handler()
79 cec->tx_done = false; in tegra_cec_irq_thread_handler()
114 cec->tx_done = true; in tegra_cec_irq_handler()
125 cec->tx_done = true; in tegra_cec_irq_handler()
140 cec->tx_done = true; in tegra_cec_irq_handler()
143 cec->tx_done = true; in tegra_cec_irq_handler()
/openbmc/linux/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi-cec.c61 bool tx_done; member
138 cec->tx_done = true; in dw_hdmi_cec_hardirq()
142 cec->tx_done = true; in dw_hdmi_cec_hardirq()
146 cec->tx_done = true; in dw_hdmi_cec_hardirq()
178 if (cec->tx_done) { in dw_hdmi_cec_thread()
179 cec->tx_done = false; in dw_hdmi_cec_thread()
/openbmc/linux/include/linux/
H A Dserial_core.h761 #define __uart_port_tx(uport, ch, flags, tx_ready, put_char, tx_done, \ argument
784 (tx_done); \
823 #define uart_port_tx_limited(port, ch, count, tx_ready, put_char, tx_done) ({ \ argument
825 __uart_port_tx(port, ch, 0, tx_ready, put_char, tx_done, __count, \
841 #define uart_port_tx_limited_flags(port, ch, flags, count, tx_ready, put_char, tx_done) ({ \ argument
843 __uart_port_tx(port, ch, flags, tx_ready, put_char, tx_done, __count, \
H A Dmailbox_client.h37 void (*tx_done)(struct mbox_client *cl, void *mssg, int r); member
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Dselftest.c482 int tx_done = 0, rx_good, rx_bad; in efx_end_loopback() local
492 ++tx_done; in efx_end_loopback()
501 if (tx_done != state->packet_count) { in efx_end_loopback()
508 tx_queue->label, tx_done, state->packet_count, in efx_end_loopback()
527 lb_tests->tx_done[tx_queue->label] += tx_done; in efx_end_loopback()
H A Dselftest.h19 int tx_done[EFX_MAX_TXQ_PER_CHANNEL]; member
/openbmc/linux/drivers/net/ethernet/sfc/falcon/
H A Dselftest.c484 int tx_done = 0, rx_good, rx_bad; in ef4_end_loopback() local
494 ++tx_done; in ef4_end_loopback()
503 if (tx_done != state->packet_count) { in ef4_end_loopback()
510 tx_queue->queue, tx_done, state->packet_count, in ef4_end_loopback()
529 lb_tests->tx_done[tx_queue->queue] += tx_done; in ef4_end_loopback()
H A Dselftest.h19 int tx_done[EF4_TXQ_TYPES]; member
/openbmc/linux/drivers/net/ethernet/sfc/
H A Dselftest.c481 int tx_done = 0, rx_good, rx_bad; in efx_end_loopback() local
491 ++tx_done; in efx_end_loopback()
500 if (tx_done != state->packet_count) { in efx_end_loopback()
507 tx_queue->label, tx_done, state->packet_count, in efx_end_loopback()
526 lb_tests->tx_done[tx_queue->label] += tx_done; in efx_end_loopback()
H A Dselftest.h19 int tx_done[EFX_MAX_TXQ_PER_CHANNEL]; member
/openbmc/linux/drivers/spi/
H A Dspi-fsl-espi.c97 bool tx_done; member
260 espi->tx_done = true; in fsl_espi_fill_tx_fifo()
410 espi->tx_done = false; in fsl_espi_trans()
535 if (!espi->tx_done) in fsl_espi_cpu_irq()
538 if (!espi->tx_done || !espi->rx_done) in fsl_espi_cpu_irq()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dtestmode.c52 td->tx_queued - td->tx_done < tx_queued_limit && in mt76_testmode_tx_pending()
276 td->tx_done = 0; in mt76_testmode_tx_start()
293 wait_event_timeout(dev->tx_wait, td->tx_done == td->tx_queued, in mt76_testmode_tx_stop()
560 nla_put_u32(msg, MT76_TM_STATS_ATTR_TX_DONE, td->tx_done) || in mt76_testmode_dump_stats()
/openbmc/linux/drivers/gpu/drm/bridge/
H A Dsamsung-dsim.c1058 const u8 *payload = pkt->payload + xfer->tx_done; in samsung_dsim_send_to_fifo()
1059 u16 length = pkt->payload_length - xfer->tx_done; in samsung_dsim_send_to_fifo()
1060 bool first = !xfer->tx_done; in samsung_dsim_send_to_fifo()
1064 xfer, length, xfer->tx_done, xfer->rx_len, xfer->rx_done); in samsung_dsim_send_to_fifo()
1069 xfer->tx_done += length; in samsung_dsim_send_to_fifo()
1219 xfer->tx_done == xfer->packet.payload_length) in samsung_dsim_transfer_start()
1262 xfer, xfer->packet.payload_length, xfer->tx_done, xfer->rx_len, in samsung_dsim_transfer_finish()
1265 if (xfer->tx_done != xfer->packet.payload_length) in samsung_dsim_transfer_finish()
1318 xfer->tx_done = 0; in samsung_dsim_transfer()
/openbmc/linux/include/drm/bridge/
H A Dsamsung-dsim.h44 u16 tx_done; member
/openbmc/linux/net/nfc/nci/
H A Duart.c99 if (nu->ops.tx_done && nci_uart_queue_empty(nu)) in nci_uart_write_work()
100 nu->ops.tx_done(nu); in nci_uart_write_work()
/openbmc/linux/Documentation/driver-api/
H A Dmailbox.rst96 dc_async->cl.tx_done = sample_sent;
106 dc_sync->cl.tx_done = NULL; /* operate in blocking mode */
/openbmc/linux/drivers/media/rc/
H A Dene_ir.h218 int tx_done; /* done transmitting */ member
/openbmc/linux/drivers/net/ethernet/adaptec/
H A Dstarfire.c538 unsigned int tx_done; member
1133 np->dirty_rx = np->dirty_tx = np->rx_done = np->tx_done = 0; in init_ring()
1354 while ((tx_status = le32_to_cpu(np->tx_done_q[np->tx_done].status)) != 0) { in intr_handler()
1357 dev->name, np->dirty_tx, np->tx_done, tx_status); in intr_handler()
1385 np->tx_done_q[np->tx_done].status = 0; in intr_handler()
1386 np->tx_done = (np->tx_done + 1) % DONE_Q_SIZE; in intr_handler()
1388 writew(np->tx_done, ioaddr + CompletionQConsumerIdx + 2); in intr_handler()
/openbmc/linux/drivers/clk/hisilicon/
H A Dclk-hi3660-stub.c133 stub_clk_chan.cl.tx_done = NULL; in hi3660_stub_clk_probe()

12345