Home
last modified time | relevance | path

Searched refs:xfer_done (Results 1 – 19 of 19) sorted by relevance

/drivers/spi/
Dspi-npcm-pspi.c21 struct completion xfer_done; member
256 reinit_completion(&priv->xfer_done); in npcm_pspi_transfer_one()
258 status = wait_for_completion_timeout(&priv->xfer_done, in npcm_pspi_transfer_one()
309 complete(&priv->xfer_done); in npcm_pspi_handler()
328 complete(&priv->xfer_done); in npcm_pspi_handler()
397 init_completion(&priv->xfer_done); in npcm_pspi_probe()
Dspi-slave-mt27xx.c70 struct completion xfer_done; member
120 if (wait_for_completion_interruptible(&mdata->xfer_done) || in mtk_spi_slave_wait_for_completion()
288 reinit_completion(&mdata->xfer_done); in mtk_spi_slave_transfer_one()
322 complete(&mdata->xfer_done); in mtk_slave_abort()
379 complete(&mdata->xfer_done); in mtk_spi_slave_interrupt()
421 init_completion(&mdata->xfer_done); in mtk_spi_slave_probe()
Dspi-pic32.c112 struct completion xfer_done; member
230 complete(&pic32s->xfer_done); in pic32_err_stop()
274 complete(&pic32s->xfer_done); in pic32_spi_rx_irq()
297 complete(&pic32s->xfer_done); in pic32_spi_dma_rx_notify()
521 reinit_completion(&pic32s->xfer_done); in pic32_spi_one_transfer()
548 timeout = wait_for_completion_timeout(&pic32s->xfer_done, 2 * HZ); in pic32_spi_one_transfer()
795 init_completion(&pic32s->xfer_done); in pic32_spi_probe()
Dspi-fsl-lpspi.c115 struct completion xfer_done; member
466 complete(&fsl_lpspi->xfer_done); in fsl_lpspi_slave_abort()
481 if (wait_for_completion_interruptible(&fsl_lpspi->xfer_done) || in fsl_lpspi_wait_for_completion()
487 if (!wait_for_completion_timeout(&fsl_lpspi->xfer_done, HZ)) { in fsl_lpspi_wait_for_completion()
697 reinit_completion(&fsl_lpspi->xfer_done); in fsl_lpspi_pio_transfer()
762 complete(&fsl_lpspi->xfer_done); in fsl_lpspi_isr()
856 init_completion(&fsl_lpspi->xfer_done); in fsl_lpspi_probe()
Dspi-pic32-sqi.c144 struct completion xfer_done; member
230 complete(&sqi->xfer_done); in pic32_sqi_isr()
352 reinit_completion(&sqi->xfer_done); in pic32_sqi_one_message()
413 timeout = wait_for_completion_timeout(&sqi->xfer_done, 5 * HZ); in pic32_sqi_one_message()
623 init_completion(&sqi->xfer_done); in pic32_sqi_probe()
Dspi-uniphier.c30 struct completion xfer_done; member
479 reinit_completion(&priv->xfer_done); in uniphier_spi_transfer_one_irq()
485 time_left = wait_for_completion_timeout(&priv->xfer_done, in uniphier_spi_transfer_one_irq()
637 complete(&priv->xfer_done); in uniphier_spi_handler()
693 init_completion(&priv->xfer_done); in uniphier_spi_probe()
Dspi-imx.c97 struct completion xfer_done; member
1186 complete(&spi_imx->xfer_done); in spi_imx_isr()
1493 reinit_completion(&spi_imx->xfer_done); in spi_imx_pio_transfer()
1501 timeout = wait_for_completion_timeout(&spi_imx->xfer_done, in spi_imx_pio_transfer()
1579 reinit_completion(&spi_imx->xfer_done); in spi_imx_pio_transfer_slave()
1586 if (wait_for_completion_interruptible(&spi_imx->xfer_done) || in spi_imx_pio_transfer_slave()
1690 complete(&spi_imx->xfer_done); in spi_imx_slave_abort()
1774 init_completion(&spi_imx->xfer_done); in spi_imx_probe()
Dspi-fsl-dspi.c228 struct completion xfer_done; member
898 complete(&dspi->xfer_done); in dspi_interrupt()
955 wait_for_completion(&dspi->xfer_done); in dspi_transfer_one_message()
956 reinit_completion(&dspi->xfer_done); in dspi_transfer_one_message()
1365 init_completion(&dspi->xfer_done); in dspi_probe()
/drivers/usb/dwc2/
Dhcd_ddma.c1042 u32 n_bytes, int *xfer_done) in dwc2_update_non_isoc_urb_state_ddma() argument
1098 *xfer_done = 1; in dwc2_update_non_isoc_urb_state_ddma()
1102 *xfer_done = 1; in dwc2_update_non_isoc_urb_state_ddma()
1112 *xfer_done = 1; in dwc2_update_non_isoc_urb_state_ddma()
1124 int *xfer_done) in dwc2_process_non_isoc_desc() argument
1150 xfer_done); in dwc2_process_non_isoc_desc()
1151 if (failed || (*xfer_done && urb->status != -EINPROGRESS)) { in dwc2_process_non_isoc_desc()
1155 failed, *xfer_done); in dwc2_process_non_isoc_desc()
1170 if (*xfer_done) { in dwc2_process_non_isoc_desc()
1199 int xfer_done; in dwc2_complete_non_isoc_xfer_ddma() local
[all …]
Dhcd_intr.c466 int xfer_done = 0; in dwc2_update_urb_state() local
485 xfer_done = 0; in dwc2_update_urb_state()
487 xfer_done = 1; in dwc2_update_urb_state()
500 xfer_done); in dwc2_update_urb_state()
502 return xfer_done; in dwc2_update_urb_state()
/drivers/i2c/busses/
Di2c-xlp9xx.c247 goto xfer_done; in xlp9xx_i2c_isr()
252 goto xfer_done; in xlp9xx_i2c_isr()
274 goto xfer_done; in xlp9xx_i2c_isr()
278 xfer_done: in xlp9xx_i2c_isr()
Di2c-sh7760.c96 struct completion xfer_done; member
228 complete(&id->xfer_done); in sh7760_i2c_irq()
322 init_completion(&id->xfer_done); in sh7760_i2c_master_xfer()
329 wait_for_completion(&id->xfer_done); in sh7760_i2c_master_xfer()
Di2c-cadence.c197 struct completion xfer_done; member
534 complete(&id->xfer_done); in cdns_i2c_master_isr()
758 reinit_completion(&id->xfer_done); in cdns_i2c_process_msg()
787 time_left = wait_for_completion_timeout(&id->xfer_done, msg_timeout); in cdns_i2c_process_msg()
1294 init_completion(&id->xfer_done); in cdns_i2c_probe()
/drivers/dma/
Ddma-axi-dmac.c299 u32 xfer_done, len, id, i; in axi_dmac_dequeue_partial_xfers() local
334 xfer_done = axi_dmac_read(dmac, AXI_DMAC_REG_TRANSFER_DONE); in axi_dmac_dequeue_partial_xfers()
335 xfer_done = !(xfer_done & AXI_DMAC_FLAG_PARTIAL_XFER_DONE); in axi_dmac_dequeue_partial_xfers()
337 } while (!xfer_done); in axi_dmac_dequeue_partial_xfers()
/drivers/scsi/arm/
Dacornscsi.h338 unsigned char xfer_done:1; /* set if DMA reached end of BH list */ member
Dacornscsi.c735 host->dma.xfer_done = 0; in acornscsi_kick()
824 if (host->dma.xfer_done) in acornscsi_done()
872 host->dma.xfer_done = 1; in acornscsi_data_updateptr()
/drivers/comedi/drivers/
Drtd520.c643 goto xfer_done; in rtd_interrupt()
651 goto xfer_done; in rtd_interrupt()
671 xfer_done: in rtd_interrupt()
/drivers/gpu/drm/msm/hdmi/
Dhdmi_hdcp.c360 u32 xfer_done, xfer_req, hw_done; in msm_hdmi_hdcp_hw_ddc_clean() local
374 xfer_done = hdcp_ddc_status & HDMI_HDCP_DDC_STATUS_XFER_DONE; in msm_hdmi_hdcp_hw_ddc_clean()
377 hw_not_ready = !xfer_done || xfer_req || !hw_done; in msm_hdmi_hdcp_hw_ddc_clean()
/drivers/usb/gadget/udc/
Dmax3420_udc.c705 goto xfer_done; in max3420_do_data()
729 xfer_done: in max3420_do_data()