Home
last modified time | relevance | path

Searched refs:rx_done (Results 1 – 25 of 27) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi-cec.c62 bool rx_done; member
161 cec->rx_done = true; in dw_hdmi_cec_hardirq()
178 if (cec->rx_done) { in dw_hdmi_cec_thread()
179 cec->rx_done = false; in dw_hdmi_cec_thread()
/kernel/linux/linux-5.10/drivers/media/cec/platform/tegra/
Dtegra_cec.c42 bool rx_done; member
81 if (cec->rx_done) { in tegra_cec_irq_thread_handler()
87 cec->rx_done = false; in tegra_cec_irq_thread_handler()
167 cec->rx_done = false; in tegra_cec_irq_handler()
179 cec->rx_done = true; in tegra_cec_irq_handler()
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
Dexynos_drm_dsi.c234 u16 rx_done; member
971 xfer, length, xfer->tx_done, xfer->rx_len, xfer->rx_done); in exynos_dsi_send_to_fifo()
1025 u8 *payload = xfer->rx_payload + xfer->rx_done; in exynos_dsi_read_from_fifo()
1026 bool first = !xfer->rx_done; in exynos_dsi_read_from_fifo()
1039 ++xfer->rx_done; in exynos_dsi_read_from_fifo()
1045 ++xfer->rx_done; in exynos_dsi_read_from_fifo()
1046 xfer->rx_len = xfer->rx_done; in exynos_dsi_read_from_fifo()
1066 length = xfer->rx_len - xfer->rx_done; in exynos_dsi_read_from_fifo()
1067 xfer->rx_done += length; in exynos_dsi_read_from_fifo()
1094 if (xfer->rx_done == xfer->rx_len) in exynos_dsi_read_from_fifo()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c176 struct myri10ge_rx_done rx_done; member
943 bytes = mgp->max_intr_slots * sizeof(*mgp->ss[0].rx_done.entry); in myri10ge_reset()
1001 cmd.data0 = MYRI10GE_LOWPART_TO_U32(ss->rx_done.bus); in myri10ge_reset()
1002 cmd.data1 = MYRI10GE_HIGHPART_TO_U32(ss->rx_done.bus); in myri10ge_reset()
1048 memset(ss->rx_done.entry, 0, bytes); in myri10ge_reset()
1055 ss->rx_done.idx = 0; in myri10ge_reset()
1056 ss->rx_done.cnt = 0; in myri10ge_reset()
1446 struct myri10ge_rx_done *rx_done = &ss->rx_done; in myri10ge_clean_rx_done() local
1451 int idx = rx_done->idx; in myri10ge_clean_rx_done()
1452 int cnt = rx_done->cnt; in myri10ge_clean_rx_done()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/
Dmvneta.c849 int rx_done, int rx_filled) in mvneta_rxq_desc_num_update() argument
853 if ((rx_done <= 0xff) && (rx_filled <= 0xff)) { in mvneta_rxq_desc_num_update()
854 val = rx_done | in mvneta_rxq_desc_num_update()
861 while ((rx_done > 0) || (rx_filled > 0)) { in mvneta_rxq_desc_num_update()
862 if (rx_done <= 0xff) { in mvneta_rxq_desc_num_update()
863 val = rx_done; in mvneta_rxq_desc_num_update()
864 rx_done = 0; in mvneta_rxq_desc_num_update()
867 rx_done -= 0xff; in mvneta_rxq_desc_num_update()
1944 int rx_done, i; in mvneta_rxq_drop_pkts() local
1946 rx_done = mvneta_rxq_busy_desc_num_get(pp, rxq); in mvneta_rxq_drop_pkts()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/nxp/
Dlpc_eth.c901 int rx_done = 0; in __lpc_handle_recv() local
905 while (rx_done < budget && rxconsidx != in __lpc_handle_recv()
959 rx_done++; in __lpc_handle_recv()
962 return rx_done; in __lpc_handle_recv()
970 int rx_done = 0; in lpc_eth_poll() local
976 rx_done = __lpc_handle_recv(ndev, budget); in lpc_eth_poll()
978 if (rx_done < budget) { in lpc_eth_poll()
979 napi_complete_done(napi, rx_done); in lpc_eth_poll()
983 return rx_done; in lpc_eth_poll()
/kernel/linux/linux-5.10/drivers/spi/
Dspi-fsl-espi.c100 bool rx_done; member
312 espi->rx_done = true; in fsl_espi_read_rx_fifo()
414 espi->rx_done = false; in fsl_espi_trans()
539 if (!espi->rx_done) in fsl_espi_cpu_irq()
545 if (!espi->tx_done || !espi->rx_done) in fsl_espi_cpu_irq()
Dspi-sirf.c252 struct completion rx_done; member
417 complete(&sspi->rx_done); in spi_sirfsoc_irq()
436 complete(&sspi->rx_done); in spi_sirfsoc_irq()
554 rx_desc->callback_param = &sspi->rx_done; in spi_sirfsoc_dma_transfer()
578 if (wait_for_completion_timeout(&sspi->rx_done, timeout) == 0) { in spi_sirfsoc_dma_transfer()
685 !wait_for_completion_timeout(&sspi->rx_done, timeout)) { in spi_sirfsoc_pio_transfer()
712 reinit_completion(&sspi->rx_done); in spi_sirfsoc_transfer()
1152 init_completion(&sspi->rx_done); in spi_sirfsoc_probe()
Dspi-qup.c448 dma_async_tx_callback rx_done = NULL, tx_done = NULL; in spi_qup_do_dma() local
455 rx_done = spi_qup_dma_done; in spi_qup_do_dma()
486 DMA_DEV_TO_MEM, rx_done); in spi_qup_do_dma()
/kernel/linux/linux-5.10/drivers/net/ethernet/adaptec/
Dstarfire.c535 unsigned int rx_done; member
1131 np->dirty_rx = np->dirty_tx = np->rx_done = np->tx_done = 0; in init_ring()
1433 while ((desc_status = le32_to_cpu(np->rx_done_q[np->rx_done].status)) != 0) { in __netdev_rx()
1437 rx_done_desc *desc = &np->rx_done_q[np->rx_done]; in __netdev_rx()
1440 printk(KERN_DEBUG " netdev_rx() status of %d was %#8.8x.\n", np->rx_done, desc_status); in __netdev_rx()
1496 …printk(KERN_DEBUG " netdev_rx() status2 of %d was %#4.4x.\n", np->rx_done, le16_to_cpu(desc->stat… in __netdev_rx()
1533 np->rx_done = (np->rx_done + 1) % DONE_Q_SIZE; in __netdev_rx()
1540 writew(np->rx_done, np->base + CompletionQConsumerIdx); in __netdev_rx()
1546 retcode, np->rx_done, desc_status); in __netdev_rx()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
Dpci.h25 bool rx_done; member
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_qp.c847 int rx_done; in hinic_rq_read_wqe() local
858 rx_done = HINIC_RQ_CQE_STATUS_GET(status, RXDONE); in hinic_rq_read_wqe()
859 if (!rx_done) in hinic_rq_read_wqe()
/kernel/linux/linux-5.10/include/linux/usb/
Dusbnet.h230 rx_start, rx_done, rx_cleanup, enumerator
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/
Dag71xx.c1745 int tx_done, rx_done; in ag71xx_poll() local
1751 rx_done = ag71xx_rx_packets(ag, limit); in ag71xx_poll()
1765 if (rx_done < limit) { in ag71xx_poll()
1774 rx_done, tx_done, limit); in ag71xx_poll()
1780 return rx_done; in ag71xx_poll()
1785 rx_done, tx_done, limit); in ag71xx_poll()
/kernel/linux/linux-5.10/drivers/net/wan/
Dcosa.c109 int (*rx_done)(struct channel_data *channel); member
642 chan->rx_done = cosa_net_rx_done; in cosa_net_open()
958 chan->rx_done = chrdev_rx_done; in cosa_open()
1911 if (cosa->rxchan->rx_done) in eot_interrupt()
1912 if (cosa->rxchan->rx_done(cosa->rxchan)) in eot_interrupt()
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl18xx/
Ddebugfs.c87 WL18XX_DEBUGFS_FWSTATS_FILE(rx, rx_done, "%u");
477 DEBUGFS_FWSTATS_ADD(rx, rx_done); in wl18xx_debugfs_add_files()
Dacx.h148 u32 rx_done; member
/kernel/linux/linux-5.10/drivers/atm/
Dsolos-pci.c761 uint32_t rx_done = 0; in solos_bh() local
792 rx_done |= 0x10 << port; in solos_bh()
891 if (rx_done) in solos_bh()
892 iowrite32(rx_done, card->config_regs + FLAGS_ADDR); in solos_bh()
/kernel/linux/linux-5.10/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c1288 goto rx_done; in mtk_poll_rx()
1377 rx_done: in mtk_poll_rx()
1551 int rx_done = 0; in mtk_napi_rx() local
1558 rx_done = mtk_poll_rx(napi, remain_budget, eth); in mtk_napi_rx()
1565 rx_done, status, mask); in mtk_napi_rx()
1567 if (rx_done == remain_budget) in mtk_napi_rx()
1572 remain_budget -= rx_done; in mtk_napi_rx()
1578 return rx_done + budget - remain_budget; in mtk_napi_rx()
/kernel/linux/linux-5.10/drivers/dma/mediatek/
Dmtk-hsdma.c548 goto rx_done; in mtk_hsdma_free_rooms_in_ring()
640 rx_done: in mtk_hsdma_free_rooms_in_ring()
/kernel/linux/linux-5.10/drivers/net/usb/
Dr8152.c795 struct list_head rx_done, tx_free; member
1592 list_add_tail(&agg->list, &tp->rx_done); in read_bulk_callback()
1834 INIT_LIST_HEAD(&tp->rx_done); in alloc_all_mem()
2254 if (list_empty(&tp->rx_done)) in rx_bottom()
2259 list_splice_init(&tp->rx_done, &rx_queue); in rx_bottom()
2370 list_splice_tail(&rx_queue, &tp->rx_done); in rx_bottom()
2447 if (!list_empty(&tp->rx_done)) in r8152_poll()
2479 list_add_tail(&agg->list, &tp->rx_done); in r8152_submit_rx()
2692 INIT_LIST_HEAD(&tp->rx_done); in rtl_start_rx()
2709 list_add_tail(&agg->list, &tp->rx_done); in rtl_start_rx()
[all …]
Dusbnet.c581 state = rx_done; in rx_complete()
1499 case rx_done: in usbnet_bh()
Dlan78xx.c319 rx_done, enumerator
3188 state = rx_done; in rx_complete()
3408 case rx_done: in lan78xx_bh()
/kernel/linux/linux-5.10/drivers/net/ethernet/via/
Dvia-velocity.c2160 unsigned int rx_done; in velocity_poll() local
2167 rx_done = velocity_rx_srv(vptr, budget); in velocity_poll()
2171 if (rx_done < budget) { in velocity_poll()
2172 napi_complete_done(napi, rx_done); in velocity_poll()
2177 return rx_done; in velocity_poll()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c3523 int rx_done = 0; in mvpp2_rx() local
3535 while (rx_done < rx_todo) { in mvpp2_rx()
3547 rx_done++; in mvpp2_rx()
3689 mvpp2_rxq_status_update(port, rxq->id, rx_done, rx_done); in mvpp2_rx()
4104 int rx_done = 0; in mvpp2_poll() local
4157 rx_done += count; in mvpp2_poll()
4170 napi_complete_done(napi, rx_done); in mvpp2_poll()
4175 return rx_done; in mvpp2_poll()

12