Home
last modified time | relevance | path

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

12345

/drivers/net/wireless/ath/ath10k/
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()
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()
125 if (tx_done->status == HTT_TX_COMPL_STATE_ACK && in ath10k_txrx_tx_unref()
126 tx_done->ack_rssi != ATH10K_INVALID_RSSI) { in ath10k_txrx_tx_unref()
[all …]
A Dhtt_rx.c2952 struct htt_tx_done tx_done = {}; in ath10k_htt_rx_tx_compl_ind() local
2968 tx_done.status = HTT_TX_COMPL_STATE_ACK; in ath10k_htt_rx_tx_compl_ind()
2993 tx_done.msdu_id = __le16_to_cpu(msdu_id); in ath10k_htt_rx_tx_compl_ind()
3018 ath10k_txrx_tx_unref(htt, &tx_done); in ath10k_htt_rx_tx_compl_ind()
3021 tx_done.msdu_id, tx_done.status); in ath10k_htt_rx_tx_compl_ind()
3022 ath10k_txrx_tx_unref(htt, &tx_done); in ath10k_htt_rx_tx_compl_ind()
4127 struct htt_tx_done tx_done = {}; in ath10k_htt_t2h_msg_handler() local
4138 tx_done.status = HTT_TX_COMPL_STATE_ACK; in ath10k_htt_t2h_msg_handler()
4143 tx_done.ack_rssi = in ath10k_htt_t2h_msg_handler()
4364 struct htt_tx_done tx_done = {}; in ath10k_htt_txrx_compl_task() local
[all …]
A Dtxrx.h12 const struct htt_tx_done *tx_done);
A Dhtt_tx.c513 struct htt_tx_done tx_done = {}; in ath10k_htt_tx_clean_up_pending() local
517 tx_done.msdu_id = msdu_id; in ath10k_htt_tx_clean_up_pending()
518 tx_done.status = HTT_TX_COMPL_STATE_DISCARD; in ath10k_htt_tx_clean_up_pending()
520 ath10k_txrx_tx_unref(htt, &tx_done); in ath10k_htt_tx_clean_up_pending()
563 struct htt_tx_done tx_done = {}; in ath10k_htt_htc_tx_complete() local
594 tx_done.status = HTT_TX_COMPL_STATE_ACK; in ath10k_htt_htc_tx_complete()
595 tx_done.msdu_id = __le16_to_cpu(desc_hdr->id); in ath10k_htt_htc_tx_complete()
596 ath10k_txrx_tx_unref(&ar->htt, &tx_done); in ath10k_htt_htc_tx_complete()
/drivers/firmware/imx/
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()
305 cl->tx_done = imx_scu_tx_done; in imx_scu_probe()
306 init_completion(&sc_chan->tx_done); in imx_scu_probe()
307 complete(&sc_chan->tx_done); in imx_scu_probe()
/drivers/net/can/rockchip/
A Drockchip_canfd-rx.c96 bool *tx_done) in rkcanfd_rxstx_filter() argument
130 *tx_done = true; in rkcanfd_rxstx_filter()
181 *tx_done = true; in rkcanfd_rxstx_filter()
241 bool tx_done = false; in rkcanfd_handle_rx_int_one() local
243 err = rkcanfd_rxstx_filter(priv, cfd, header->ts, &tx_done); in rkcanfd_handle_rx_int_one()
246 if (tx_done && !(priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK)) in rkcanfd_handle_rx_int_one()
/drivers/gpu/drm/bridge/synopsys/
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()
150 cec->tx_done = true; in dw_hdmi_cec_hardirq()
182 if (cec->tx_done) { in dw_hdmi_cec_thread()
183 cec->tx_done = false; in dw_hdmi_cec_thread()
/drivers/net/wireless/ath/wil6210/
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()
/drivers/media/platform/synopsys/hdmirx/
A Dsnps_hdmirx_cec.c94 cec->tx_done = true; in hdmirx_cec_hardirq()
98 cec->tx_done = true; in hdmirx_cec_hardirq()
102 cec->tx_done = true; in hdmirx_cec_hardirq()
106 cec->tx_done = true; in hdmirx_cec_hardirq()
144 if (cec->tx_done) { in hdmirx_cec_thread()
145 cec->tx_done = false; in hdmirx_cec_thread()
A Dsnps_hdmirx_cec.h35 bool tx_done; member
/drivers/media/cec/platform/tegra/
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()
/drivers/media/rc/
A Dpwm-ir-tx.c23 struct completion tx_done; member
112 wait_for_completion(&pwm_ir->tx_done); in pwm_ir_tx_atomic()
133 complete(&pwm_ir->tx_done); in pwm_ir_timer()
174 init_completion(&pwm_ir->tx_done); in pwm_ir_probe()
A Dene_ir.h218 int tx_done; /* done transmitting */ member
/drivers/net/ethernet/sfc/falcon/
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()
A Dselftest.h19 int tx_done[EF4_TXQ_TYPES]; member
/drivers/net/ethernet/sfc/
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()
A Dselftest.h19 int tx_done[EFX_MAX_TXQ_PER_CHANNEL]; member
/drivers/net/ethernet/sfc/siena/
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()
A Dselftest.h19 int tx_done[EFX_MAX_TXQ_PER_CHANNEL]; member
/drivers/spi/
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()
534 if (!espi->tx_done) in fsl_espi_cpu_irq()
537 if (!espi->tx_done || !espi->rx_done) in fsl_espi_cpu_irq()
/drivers/net/wireless/mediatek/mt76/
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()
/drivers/gpu/drm/bridge/
A Dsamsung-dsim.c1090 const u8 *payload = pkt->payload + xfer->tx_done; in samsung_dsim_send_to_fifo()
1091 u16 length = pkt->payload_length - xfer->tx_done; in samsung_dsim_send_to_fifo()
1092 bool first = !xfer->tx_done; in samsung_dsim_send_to_fifo()
1096 xfer, length, xfer->tx_done, xfer->rx_len, xfer->rx_done); in samsung_dsim_send_to_fifo()
1101 xfer->tx_done += length; in samsung_dsim_send_to_fifo()
1245 xfer->tx_done == xfer->packet.payload_length) in samsung_dsim_transfer_start()
1285 xfer, xfer->packet.payload_length, xfer->tx_done, xfer->rx_len, in samsung_dsim_transfer_finish()
1288 if (xfer->tx_done != xfer->packet.payload_length) in samsung_dsim_transfer_finish()
1341 xfer->tx_done = 0; in samsung_dsim_transfer()
/drivers/net/ethernet/adaptec/
A Dstarfire.c530 unsigned int tx_done; member
1125 np->dirty_rx = np->dirty_tx = np->rx_done = np->tx_done = 0; in init_ring()
1346 while ((tx_status = le32_to_cpu(np->tx_done_q[np->tx_done].status)) != 0) { in intr_handler()
1349 dev->name, np->dirty_tx, np->tx_done, tx_status); in intr_handler()
1377 np->tx_done_q[np->tx_done].status = 0; in intr_handler()
1378 np->tx_done = (np->tx_done + 1) % DONE_Q_SIZE; in intr_handler()
1380 writew(np->tx_done, ioaddr + CompletionQConsumerIdx + 2); in intr_handler()
/drivers/infiniband/sw/siw/
A Dsiw_qp_tx.c864 goto tx_done; in siw_qp_sq_proc_tx()
886 goto tx_done; in siw_qp_sq_proc_tx()
903 goto tx_done; in siw_qp_sq_proc_tx()
907 goto tx_done; in siw_qp_sq_proc_tx()
916 tx_done: in siw_qp_sq_proc_tx()
/drivers/mailbox/
A Dmailbox.c99 if (chan->cl->tx_done) in tx_tick()
100 chan->cl->tx_done(chan->cl, mssg, r); in tx_tick()

Completed in 70 milliseconds

12345