Home
last modified time | relevance | path

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

12

/drivers/net/wireless/ath/ath10k/
Dtxrx.c48 const struct htt_tx_done *tx_done) in ath10k_txrx_tx_unref() argument
59 tx_done->msdu_id, !!tx_done->discard, !!tx_done->no_ack); in ath10k_txrx_tx_unref()
61 if (tx_done->msdu_id >= htt->max_num_pending_tx) { in ath10k_txrx_tx_unref()
63 tx_done->msdu_id); in ath10k_txrx_tx_unref()
67 msdu = htt->pending_tx[tx_done->msdu_id]; in ath10k_txrx_tx_unref()
82 if (tx_done->discard) { in ath10k_txrx_tx_unref()
90 if (tx_done->no_ack) in ath10k_txrx_tx_unref()
97 htt->pending_tx[tx_done->msdu_id] = NULL; in ath10k_txrx_tx_unref()
98 ath10k_htt_tx_free_msdu_id(htt, tx_done->msdu_id); in ath10k_txrx_tx_unref()
Dhtt_rx.c1456 struct htt_tx_done tx_done = {}; in ath10k_htt_rx_frm_tx_compl() local
1465 tx_done.no_ack = true; in ath10k_htt_rx_frm_tx_compl()
1472 tx_done.discard = true; in ath10k_htt_rx_frm_tx_compl()
1476 tx_done.discard = true; in ath10k_htt_rx_frm_tx_compl()
1485 tx_done.msdu_id = __le16_to_cpu(msdu_id); in ath10k_htt_rx_frm_tx_compl()
1486 ath10k_txrx_tx_unref(htt, &tx_done); in ath10k_htt_rx_frm_tx_compl()
1611 struct htt_tx_done tx_done = {}; in ath10k_htt_t2h_msg_handler() local
1614 tx_done.msdu_id = in ath10k_htt_t2h_msg_handler()
1621 tx_done.no_ack = true; in ath10k_htt_t2h_msg_handler()
1624 tx_done.discard = true; in ath10k_htt_t2h_msg_handler()
[all …]
Dtxrx.h23 const struct htt_tx_done *tx_done);
Dhtt_tx.c132 struct htt_tx_done tx_done = {0}; in ath10k_htt_tx_free_pending() local
143 tx_done.discard = 1; in ath10k_htt_tx_free_pending()
144 tx_done.msdu_id = msdu_id; in ath10k_htt_tx_free_pending()
146 ath10k_txrx_tx_unref(htt, &tx_done); in ath10k_htt_tx_free_pending()
Dpci.h38 bool tx_done; member
/drivers/net/wireless/ath/wil6210/
Dnetdev.c101 int tx_done = 0; in wil6210_netdev_poll_tx() local
111 tx_done += wil_tx_complete(wil, i); in wil6210_netdev_poll_tx()
114 if (tx_done <= 1) { /* burst ends - only one packet processed */ in wil6210_netdev_poll_tx()
120 wil_dbg_txrx(wil, "NAPI TX poll(%d) done %d\n", budget, tx_done); in wil6210_netdev_poll_tx()
122 return min(tx_done, budget); in wil6210_netdev_poll_tx()
/drivers/spi/
Dspi-sirf.c141 struct completion tx_done; member
269 complete(&sspi->tx_done); in spi_sirfsoc_irq()
279 complete(&sspi->tx_done); in spi_sirfsoc_irq()
287 complete(&sspi->tx_done); in spi_sirfsoc_irq()
328 if (wait_for_completion_timeout(&sspi->tx_done, timeout) == 0) { in spi_sirfsoc_cmd_transfer()
379 tx_desc->callback_param = &sspi->tx_done; in spi_sirfsoc_dma_transfer()
397 if (wait_for_completion_timeout(&sspi->tx_done, timeout) == 0) { in spi_sirfsoc_dma_transfer()
446 if (!wait_for_completion_timeout(&sspi->tx_done, timeout) || in spi_sirfsoc_pio_transfer()
468 reinit_completion(&sspi->tx_done); in spi_sirfsoc_transfer()
711 init_completion(&sspi->tx_done); in spi_sirfsoc_probe()
/drivers/net/ethernet/sfc/
Dselftest.c459 int tx_done = 0, rx_good, rx_bad; in efx_end_loopback() local
469 ++tx_done; in efx_end_loopback()
478 if (tx_done != state->packet_count) { in efx_end_loopback()
485 tx_queue->queue, tx_done, state->packet_count, in efx_end_loopback()
504 lb_tests->tx_done[tx_queue->queue] += tx_done; in efx_end_loopback()
Dselftest.h22 int tx_done[EFX_TXQ_TYPES]; member
/drivers/gpu/drm/exynos/
Dexynos_drm_dsi.c252 u16 tx_done; member
784 const u8 *payload = xfer->tx_payload + xfer->tx_done; in exynos_dsi_send_to_fifo()
785 u16 length = xfer->tx_len - xfer->tx_done; in exynos_dsi_send_to_fifo()
786 bool first = !xfer->tx_done; in exynos_dsi_send_to_fifo()
790 xfer, xfer->tx_len, xfer->tx_done, xfer->rx_len, xfer->rx_done); in exynos_dsi_send_to_fifo()
795 xfer->tx_done += length; in exynos_dsi_send_to_fifo()
948 if (xfer->tx_len && xfer->tx_done == xfer->tx_len) in exynos_dsi_transfer_start()
991 xfer, xfer->tx_len, xfer->tx_done, xfer->rx_len, xfer->rx_done); in exynos_dsi_transfer_finish()
993 if (xfer->tx_done != xfer->tx_len) in exynos_dsi_transfer_finish()
1046 xfer->tx_done = 0; in exynos_dsi_transfer()
/drivers/net/irda/
Dbfin_sir.c59 sp->tx_done = 1; in bfin_sir_init_ports()
250 if (!port->tx_done) in bfin_sir_dma_tx_chars()
252 port->tx_done = 0; in bfin_sir_dma_tx_chars()
262 port->tx_done = 1; in bfin_sir_dma_tx_chars()
302 port->tx_done = 1; in bfin_sir_dma_tx_int()
Dbfin_sir.h46 int tx_done; member
/drivers/mailbox/
Dmailbox.c106 if (chan->cl->tx_done) in tx_tick()
107 chan->cl->tx_done(chan->cl, mssg, r); in tx_tick()
/drivers/net/ethernet/adaptec/
Dstarfire.c546 unsigned int tx_done; member
1145 np->dirty_rx = np->dirty_tx = np->rx_done = np->tx_done = 0; in init_ring()
1330 while ((tx_status = le32_to_cpu(np->tx_done_q[np->tx_done].status)) != 0) { in intr_handler()
1333 dev->name, np->dirty_tx, np->tx_done, tx_status); in intr_handler()
1361 np->tx_done_q[np->tx_done].status = 0; in intr_handler()
1362 np->tx_done = (np->tx_done + 1) % DONE_Q_SIZE; in intr_handler()
1364 writew(np->tx_done, ioaddr + CompletionQConsumerIdx + 2); in intr_handler()
/drivers/media/rc/
Dene_ir.h232 int tx_done; /* done transmitting */ member
Dene_ir.c638 if (!dev->tx_done) { in ene_tx_sample()
640 dev->tx_done = true; in ene_tx_sample()
980 dev->tx_done = 0; in ene_transmit()
/drivers/tty/serial/
Dbfin_uart.c160 uart->tx_done = 1; in bfin_serial_stop_tx()
186 if (uart->tx_done) in bfin_serial_start_tx()
379 uart->tx_done = 0; in bfin_serial_dma_tx_chars()
383 uart->tx_done = 1; in bfin_serial_dma_tx_chars()
1300 uart->tx_done = 1; in bfin_serial_probe()
/drivers/infiniband/ulp/srpt/
Dib_srpt.h240 struct completion tx_done; member
/drivers/net/wan/
Dcosa.c124 int (*tx_done)(struct channel_data *channel, int size); member
653 chan->tx_done = cosa_net_tx_done; in cosa_net_open()
967 chan->tx_done = chrdev_tx_done; in cosa_open()
1903 if (chan->tx_done) in eot_interrupt()
1904 if (chan->tx_done(chan, cosa->txsize)) in eot_interrupt()
/drivers/net/ethernet/marvell/
Dmvneta.c1319 int tx_done; in mvneta_txq_done() local
1321 tx_done = mvneta_txq_sent_desc_proc(pp, txq); in mvneta_txq_done()
1322 if (!tx_done) in mvneta_txq_done()
1325 mvneta_txq_bufs_free(pp, txq, tx_done); in mvneta_txq_done()
1327 txq->count -= tx_done; in mvneta_txq_done()
1813 int tx_done = txq->count; in mvneta_txq_done_force() local
1815 mvneta_txq_bufs_free(pp, txq, tx_done); in mvneta_txq_done_force()
/drivers/net/ethernet/smsc/
Dsmc9194.c277 #define tx_done(dev) 1 macro
1131 tx_done(dev) ? "IRQ conflict" : "network cable problem"); in smc_timeout()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c1149 u32 tx_done = fm10k_get_tx_completed(tx_ring); in fm10k_check_tx_hang() local
1163 if (!tx_pending || (tx_done_old != tx_done)) { in fm10k_check_tx_hang()
1165 tx_ring->tx_stats.tx_done_old = tx_done; in fm10k_check_tx_hang()
/drivers/net/ethernet/cirrus/
Dmac89x0.c137 #define tx_done(dev) 1 macro
/drivers/net/cris/
Deth_v10.c274 #define tx_done(dev) (*R_DMA_CH0_CMD == 0) macro
1056 tx_done(dev) ? "IRQ problem" : "network cable problem"); in e100_tx_timeout()
/drivers/net/ethernet/wiznet/
Dw5300.c441 netif_dbg(priv, tx_done, ndev, "tx done\n"); in w5300_interrupt()

12