Home
last modified time | relevance | path

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

12

/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()
/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi-cec.c62 bool rx_done; member
165 cec->rx_done = true; in dw_hdmi_cec_hardirq()
182 if (cec->rx_done) { in dw_hdmi_cec_thread()
183 cec->rx_done = false; in dw_hdmi_cec_thread()
/drivers/gpu/drm/bridge/
Dsamsung-dsim.c1064 xfer, length, xfer->tx_done, xfer->rx_len, xfer->rx_done); in samsung_dsim_send_to_fifo()
1118 u8 *payload = xfer->rx_payload + xfer->rx_done; in samsung_dsim_read_from_fifo()
1119 bool first = !xfer->rx_done; in samsung_dsim_read_from_fifo()
1132 ++xfer->rx_done; in samsung_dsim_read_from_fifo()
1138 ++xfer->rx_done; in samsung_dsim_read_from_fifo()
1139 xfer->rx_len = xfer->rx_done; in samsung_dsim_read_from_fifo()
1159 length = xfer->rx_len - xfer->rx_done; in samsung_dsim_read_from_fifo()
1160 xfer->rx_done += length; in samsung_dsim_read_from_fifo()
1187 if (xfer->rx_done == xfer->rx_len) in samsung_dsim_read_from_fifo()
1263 xfer->rx_done); in samsung_dsim_transfer_finish()
[all …]
/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c177 struct myri10ge_rx_done rx_done; member
945 bytes = mgp->max_intr_slots * sizeof(*mgp->ss[0].rx_done.entry); in myri10ge_reset()
1003 cmd.data0 = MYRI10GE_LOWPART_TO_U32(ss->rx_done.bus); in myri10ge_reset()
1004 cmd.data1 = MYRI10GE_HIGHPART_TO_U32(ss->rx_done.bus); in myri10ge_reset()
1050 memset(ss->rx_done.entry, 0, bytes); in myri10ge_reset()
1057 ss->rx_done.idx = 0; in myri10ge_reset()
1058 ss->rx_done.cnt = 0; in myri10ge_reset()
1448 struct myri10ge_rx_done *rx_done = &ss->rx_done; in myri10ge_clean_rx_done() local
1453 int idx = rx_done->idx; in myri10ge_clean_rx_done()
1454 int cnt = rx_done->cnt; in myri10ge_clean_rx_done()
[all …]
/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()
/drivers/net/ethernet/marvell/
Dmvneta.c889 int rx_done, int rx_filled) in mvneta_rxq_desc_num_update() argument
893 if ((rx_done <= 0xff) && (rx_filled <= 0xff)) { in mvneta_rxq_desc_num_update()
894 val = rx_done | in mvneta_rxq_desc_num_update()
901 while ((rx_done > 0) || (rx_filled > 0)) { in mvneta_rxq_desc_num_update()
902 if (rx_done <= 0xff) { in mvneta_rxq_desc_num_update()
903 val = rx_done; in mvneta_rxq_desc_num_update()
904 rx_done = 0; in mvneta_rxq_desc_num_update()
907 rx_done -= 0xff; in mvneta_rxq_desc_num_update()
1989 int rx_done, i; in mvneta_rxq_drop_pkts() local
1991 rx_done = mvneta_rxq_busy_desc_num_get(pp, rxq); in mvneta_rxq_drop_pkts()
[all …]
/drivers/net/mctp/
Dmctp-i2c.c67 struct completion rx_done; member
330 reinit_completion(&midev->rx_done); in mctp_i2c_recv()
334 complete(&midev->rx_done); in mctp_i2c_recv()
708 init_completion(&midev->rx_done); in mctp_i2c_midev_init()
709 complete(&midev->rx_done); in mctp_i2c_midev_init()
770 wait_for_completion(&midev->rx_done); in mctp_i2c_unregister()
/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()
532 if (!espi->rx_done) in fsl_espi_cpu_irq()
538 if (!espi->tx_done || !espi->rx_done) in fsl_espi_cpu_irq()
Dspi-qup.c447 dma_async_tx_callback rx_done = NULL, tx_done = NULL; in spi_qup_do_dma() local
454 rx_done = spi_qup_dma_done; in spi_qup_do_dma()
485 DMA_DEV_TO_MEM, rx_done); in spi_qup_do_dma()
/drivers/net/ethernet/adaptec/
Dstarfire.c535 unsigned int rx_done; member
1133 np->dirty_rx = np->dirty_tx = np->rx_done = np->tx_done = 0; in init_ring()
1435 while ((desc_status = le32_to_cpu(np->rx_done_q[np->rx_done].status)) != 0) { in __netdev_rx()
1439 rx_done_desc *desc = &np->rx_done_q[np->rx_done]; in __netdev_rx()
1442 printk(KERN_DEBUG " netdev_rx() status of %d was %#8.8x.\n", np->rx_done, desc_status); in __netdev_rx()
1498 …printk(KERN_DEBUG " netdev_rx() status2 of %d was %#4.4x.\n", np->rx_done, le16_to_cpu(desc->stat… in __netdev_rx()
1535 np->rx_done = (np->rx_done + 1) % DONE_Q_SIZE; in __netdev_rx()
1542 writew(np->rx_done, np->base + CompletionQConsumerIdx); in __netdev_rx()
1548 retcode, np->rx_done, desc_status); in __netdev_rx()
/drivers/usb/gadget/function/
Dandroid_f_accessory.c104 int rx_done; member
411 dev->rx_done = 1; in acc_complete_out()
741 if (dev->rx_done) { in acc_read()
751 dev->rx_done = 0; in acc_read()
761 ret = wait_event_interruptible(dev->read_wq, dev->rx_done); in acc_read()
774 dev->rx_done = 0; in acc_read()
/drivers/net/ethernet/marvell/octeon_ep/
Doctep_main.c386 u32 tx_pending, rx_done; in octep_napi_poll() local
389 rx_done = octep_oq_process_rx(ioq_vector->oq, budget); in octep_napi_poll()
394 if (tx_pending || rx_done >= budget) in octep_napi_poll()
399 return rx_done; in octep_napi_poll()
/drivers/net/wireless/ath/ath10k/
Dpci.h25 bool rx_done; member
/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_qp.c843 int rx_done; in hinic_rq_read_wqe() local
854 rx_done = HINIC_RQ_CQE_STATUS_GET(status, RXDONE); in hinic_rq_read_wqe()
855 if (!rx_done) in hinic_rq_read_wqe()
/drivers/net/ethernet/atheros/
Dag71xx.c1704 int tx_done, rx_done; in ag71xx_poll() local
1710 rx_done = ag71xx_rx_packets(ag, limit); in ag71xx_poll()
1724 if (rx_done < limit) { in ag71xx_poll()
1733 rx_done, tx_done, limit); in ag71xx_poll()
1739 return rx_done; in ag71xx_poll()
1744 rx_done, tx_done, limit); in ag71xx_poll()
/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()
/drivers/net/wireless/ti/wl18xx/
Ddebugfs.c87 WL18XX_DEBUGFS_FWSTATS_FILE(rx, rx_done, "%u");
471 DEBUGFS_FWSTATS_ADD(rx, rx_done); in wl18xx_debugfs_add_files()
Dacx.h148 u32 rx_done; member
/drivers/dma/mediatek/
Dmtk-hsdma.c547 goto rx_done; in mtk_hsdma_free_rooms_in_ring()
639 rx_done: in mtk_hsdma_free_rooms_in_ring()
/drivers/net/ethernet/asix/
Dax88796c_main.h141 rx_done, enumerator
/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()
/drivers/net/usb/
Dr8152.c876 struct list_head rx_done, tx_free; member
1876 list_add_tail(&agg->list, &tp->rx_done); in read_bulk_callback()
1887 list_add_tail(&agg->list, &tp->rx_done); in read_bulk_callback()
2126 INIT_LIST_HEAD(&tp->rx_done); in alloc_all_mem()
2546 if (list_empty(&tp->rx_done) || work_done >= budget) in rx_bottom()
2552 list_splice_init(&tp->rx_done, &rx_queue); in rx_bottom()
2671 list_splice(&rx_queue, &tp->rx_done); in rx_bottom()
2749 if (!list_empty(&tp->rx_done)) in r8152_poll()
2781 list_add_tail(&agg->list, &tp->rx_done); in r8152_submit_rx()
3033 INIT_LIST_HEAD(&tp->rx_done); in rtl_start_rx()
[all …]
/drivers/net/wireless/realtek/rtw88/
Dpci.c1049 u32 count, rx_done = 0; in rtw_pci_rx_napi() local
1093 rx_done++; in rtw_pci_rx_napi()
1113 return rx_done; in rtw_pci_rx_napi()
/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c3906 int rx_done = 0; in mvpp2_rx() local
3916 while (rx_done < rx_todo) { in mvpp2_rx()
3934 rx_done++; in mvpp2_rx()
4075 mvpp2_rxq_status_update(port, rxq->id, rx_done, rx_done); in mvpp2_rx()
4490 int rx_done = 0; in mvpp2_poll() local
4543 rx_done += count; in mvpp2_poll()
4556 napi_complete_done(napi, rx_done); in mvpp2_poll()
4561 return rx_done; in mvpp2_poll()
/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c2017 goto rx_done; in mtk_poll_rx()
2196 rx_done: in mtk_poll_rx()
2418 int rx_done; in mtk_napi_rx() local
2422 rx_done = mtk_poll_rx(napi, budget - rx_done_total, eth); in mtk_napi_rx()
2423 rx_done_total += rx_done; in mtk_napi_rx()
2427 "done rx %d, intr 0x%08x/0x%x\n", rx_done, in mtk_napi_rx()

12