Home
last modified time | relevance | path

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

/linux-6.6.21/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()
794 init_completion(&pic32s->xfer_done); in pic32_spi_probe()
Dspi-fsl-lpspi.c114 struct completion xfer_done; member
471 complete(&fsl_lpspi->xfer_done); in fsl_lpspi_target_abort()
486 if (wait_for_completion_interruptible(&fsl_lpspi->xfer_done) || in fsl_lpspi_wait_for_completion()
492 if (!wait_for_completion_timeout(&fsl_lpspi->xfer_done, HZ)) { in fsl_lpspi_wait_for_completion()
702 reinit_completion(&fsl_lpspi->xfer_done); in fsl_lpspi_pio_transfer()
767 complete(&fsl_lpspi->xfer_done); in fsl_lpspi_isr()
850 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.c96 struct completion xfer_done; member
1204 complete(&spi_imx->xfer_done); in spi_imx_isr()
1512 reinit_completion(&spi_imx->xfer_done); in spi_imx_pio_transfer()
1520 timeout = wait_for_completion_timeout(&spi_imx->xfer_done, in spi_imx_pio_transfer()
1598 reinit_completion(&spi_imx->xfer_done); in spi_imx_pio_transfer_target()
1605 if (wait_for_completion_interruptible(&spi_imx->xfer_done) || in spi_imx_pio_transfer_target()
1709 complete(&spi_imx->xfer_done); in spi_imx_target_abort()
1799 init_completion(&spi_imx->xfer_done); in spi_imx_probe()
Dspi-fsl-dspi.c229 struct completion xfer_done; member
898 complete(&dspi->xfer_done); in dspi_interrupt()
979 wait_for_completion(&dspi->xfer_done); in dspi_transfer_one_message()
980 reinit_completion(&dspi->xfer_done); in dspi_transfer_one_message()
1397 init_completion(&dspi->xfer_done); in dspi_probe()
/linux-6.6.21/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()
/linux-6.6.21/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.c199 struct completion xfer_done; member
538 complete(&id->xfer_done); in cdns_i2c_master_isr()
760 reinit_completion(&id->xfer_done); in cdns_i2c_process_msg()
789 time_left = wait_for_completion_timeout(&id->xfer_done, msg_timeout); in cdns_i2c_process_msg()
1325 init_completion(&id->xfer_done); in cdns_i2c_probe()
/linux-6.6.21/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()
/linux-6.6.21/drivers/accel/qaic/
Dqaic_data.c646 init_completion(&bo->xfer_done); in qaic_alloc_init_bo()
647 complete_all(&bo->xfer_done); in qaic_alloc_init_bo()
1237 reinit_completion(&bo->xfer_done); in send_bo_list_to_device()
1606 complete_all(&bo->xfer_done); in dbc_irq_threaded_fn()
1700 ret = wait_for_completion_interruptible_timeout(&bo->xfer_done, timeout); in qaic_wait_bo_ioctl()
1812 complete_all(&bo->xfer_done); in empty_xfer_list()
1887 init_completion(&bo->xfer_done); in release_dbc()
1888 complete_all(&bo->xfer_done); in release_dbc()
Dqaic.h190 struct completion xfer_done; member
Dqaic_control.c185 struct completion xfer_done; member
1051 init_completion(&elem.xfer_done); in msg_xfer()
1096 ret = wait_for_completion_timeout(&elem.xfer_done, control_resp_timeout_s * HZ); in msg_xfer()
1098 ret = wait_for_completion_interruptible_timeout(&elem.xfer_done, in msg_xfer()
1411 complete_all(&elem->xfer_done); in resp_worker()
1553 complete_all(&elem->xfer_done); in wake_all_cntl()
/linux-6.6.21/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()
/linux-6.6.21/drivers/comedi/drivers/
Drtd520.c643 goto xfer_done; in rtd_interrupt()
651 goto xfer_done; in rtd_interrupt()
671 xfer_done: in rtd_interrupt()
/linux-6.6.21/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()
/linux-6.6.21/drivers/usb/gadget/udc/
Dmax3420_udc.c703 goto xfer_done; in max3420_do_data()
727 xfer_done: in max3420_do_data()