Home
last modified time | relevance | path

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

/drivers/spi/
Dspi-geni-qcom.c85 struct completion xfer_done; member
130 reinit_completion(&mas->xfer_done); in handle_fifo_timeout()
135 time_left = wait_for_completion_timeout(&mas->xfer_done, HZ); in handle_fifo_timeout()
140 reinit_completion(&mas->xfer_done); in handle_fifo_timeout()
143 time_left = wait_for_completion_timeout(&mas->xfer_done, HZ); in handle_fifo_timeout()
155 reinit_completion(&mas->xfer_done); in spi_geni_set_cs()
166 time_left = wait_for_completion_timeout(&mas->xfer_done, HZ); in spi_geni_set_cs()
499 complete(&mas->xfer_done); in geni_spi_isr()
524 complete(&mas->xfer_done); in geni_spi_isr()
580 init_completion(&mas->xfer_done); in spi_geni_probe()
Dspi-npcm-pspi.c22 struct completion xfer_done; member
255 reinit_completion(&priv->xfer_done); in npcm_pspi_transfer_one()
257 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()
410 init_completion(&priv->xfer_done); in npcm_pspi_probe()
Dspi-slave-mt27xx.c70 struct completion xfer_done; member
103 if (wait_for_completion_interruptible(&mdata->xfer_done) || in mtk_spi_slave_wait_for_completion()
271 reinit_completion(&mdata->xfer_done); in mtk_spi_slave_transfer_one()
305 complete(&mdata->xfer_done); in mtk_slave_abort()
362 complete(&mdata->xfer_done); in mtk_spi_slave_interrupt()
394 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()
522 reinit_completion(&pic32s->xfer_done); in pic32_spi_one_transfer()
549 timeout = wait_for_completion_timeout(&pic32s->xfer_done, 2 * HZ); in pic32_spi_one_transfer()
783 init_completion(&pic32s->xfer_done); in pic32_spi_probe()
Dspi-uniphier.c28 struct completion xfer_done; member
345 reinit_completion(&priv->xfer_done); in uniphier_spi_transfer_one_irq()
351 time_left = wait_for_completion_timeout(&priv->xfer_done, in uniphier_spi_transfer_one_irq()
472 complete(&priv->xfer_done); in uniphier_spi_handler()
524 init_completion(&priv->xfer_done); in uniphier_spi_probe()
Dspi-fsl-lpspi.c119 struct completion xfer_done; member
486 complete(&fsl_lpspi->xfer_done); in fsl_lpspi_slave_abort()
501 if (wait_for_completion_interruptible(&fsl_lpspi->xfer_done) || in fsl_lpspi_wait_for_completion()
507 if (!wait_for_completion_timeout(&fsl_lpspi->xfer_done, HZ)) { in fsl_lpspi_wait_for_completion()
717 reinit_completion(&fsl_lpspi->xfer_done); in fsl_lpspi_pio_transfer()
782 complete(&fsl_lpspi->xfer_done); in fsl_lpspi_isr()
898 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-imx.c85 struct completion xfer_done; member
1145 complete(&spi_imx->xfer_done); in spi_imx_isr()
1434 reinit_completion(&spi_imx->xfer_done); in spi_imx_pio_transfer()
1442 timeout = wait_for_completion_timeout(&spi_imx->xfer_done, in spi_imx_pio_transfer()
1472 reinit_completion(&spi_imx->xfer_done); in spi_imx_pio_transfer_slave()
1479 if (wait_for_completion_interruptible(&spi_imx->xfer_done) || in spi_imx_pio_transfer_slave()
1576 complete(&spi_imx->xfer_done); in spi_imx_slave_abort()
1667 init_completion(&spi_imx->xfer_done); in spi_imx_probe()
/drivers/usb/dwc2/
Dhcd_ddma.c1072 u32 n_bytes, int *xfer_done) in dwc2_update_non_isoc_urb_state_ddma() argument
1128 *xfer_done = 1; in dwc2_update_non_isoc_urb_state_ddma()
1132 *xfer_done = 1; in dwc2_update_non_isoc_urb_state_ddma()
1142 *xfer_done = 1; in dwc2_update_non_isoc_urb_state_ddma()
1154 int *xfer_done) in dwc2_process_non_isoc_desc() argument
1180 xfer_done); in dwc2_process_non_isoc_desc()
1181 if (failed || (*xfer_done && urb->status != -EINPROGRESS)) { in dwc2_process_non_isoc_desc()
1185 failed, *xfer_done); in dwc2_process_non_isoc_desc()
1200 if (*xfer_done) { in dwc2_process_non_isoc_desc()
1229 int xfer_done; in dwc2_complete_non_isoc_xfer_ddma() local
[all …]
Dhcd_intr.c496 int xfer_done = 0; in dwc2_update_urb_state() local
515 xfer_done = 0; in dwc2_update_urb_state()
517 xfer_done = 1; in dwc2_update_urb_state()
530 xfer_done); in dwc2_update_urb_state()
532 return xfer_done; in dwc2_update_urb_state()
/drivers/i2c/busses/
Di2c-xlp9xx.c249 goto xfer_done; in xlp9xx_i2c_isr()
254 goto xfer_done; in xlp9xx_i2c_isr()
276 goto xfer_done; in xlp9xx_i2c_isr()
280 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.c148 struct completion xfer_done; member
350 complete(&id->xfer_done); in cdns_i2c_isr()
519 reinit_completion(&id->xfer_done); in cdns_i2c_process_msg()
540 time_left = wait_for_completion_timeout(&id->xfer_done, adap->timeout); in cdns_i2c_process_msg()
918 init_completion(&id->xfer_done); in cdns_i2c_probe()
/drivers/dma/
Ddma-axi-dmac.c286 u32 xfer_done, len, id, i; in axi_dmac_dequeue_partial_xfers() local
321 xfer_done = axi_dmac_read(dmac, AXI_DMAC_REG_TRANSFER_DONE); in axi_dmac_dequeue_partial_xfers()
322 xfer_done = !(xfer_done & AXI_DMAC_FLAG_PARTIAL_XFER_DONE); in axi_dmac_dequeue_partial_xfers()
324 } 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.c741 host->dma.xfer_done = 0; in acornscsi_kick()
838 if (host->dma.xfer_done) in acornscsi_done()
889 host->dma.xfer_done = 1; in acornscsi_data_updateptr()
/drivers/staging/comedi/drivers/
Drtd520.c644 goto xfer_done; in rtd_interrupt()
652 goto xfer_done; in rtd_interrupt()
672 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()