Home
last modified time | relevance | path

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

/drivers/platform/x86/
Dintel_punit_ipc.c45 struct completion cmd_complete; member
110 if (!wait_for_completion_timeout(&ipcdev->cmd_complete, in intel_punit_ipc_check_status()
154 reinit_completion(&ipcdev->cmd_complete); in intel_punit_ipc_simple_command()
189 reinit_completion(&ipcdev->cmd_complete); in intel_punit_ipc_command()
222 complete(&ipcdev->cmd_complete); in intel_punit_ioc()
318 init_completion(&punit_ipcdev->cmd_complete); in intel_punit_ipc_probe()
Dintel_scu_ipc.c94 struct completion cmd_complete; member
124 reinit_completion(&scu->cmd_complete); in ipc_command()
191 if (!wait_for_completion_timeout(&scu->cmd_complete, 3 * HZ)) { in ipc_wait_for_interrupt()
614 complete(&scu->cmd_complete); in ioc()
648 init_completion(&scu->cmd_complete); in ipc_probe()
Dintel_pmc_ipc.c125 struct completion cmd_complete; member
175 reinit_completion(&ipcdev.cmd_complete); in ipc_send_command()
334 &ipcdev.cmd_complete, IPC_MAX_SEC * HZ)) in intel_pmc_ipc_check_status()
478 complete(&ipcdev.cmd_complete); in ioc()
504 init_completion(&pmc->cmd_complete); in ipc_pci_probe()
913 init_completion(&ipcdev.cmd_complete); in ipc_plat_probe()
/drivers/i2c/busses/
Di2c-davinci.c128 struct completion cmd_complete; member
446 reinit_completion(&dev->cmd_complete); in i2c_davinci_xfer_msg()
495 time_left = wait_for_completion_timeout(&dev->cmd_complete, in i2c_davinci_xfer_msg()
618 complete(&dev->cmd_complete); in i2c_davinci_isr()
624 complete(&dev->cmd_complete); in i2c_davinci_isr()
638 complete(&dev->cmd_complete); in i2c_davinci_isr()
682 complete(&dev->cmd_complete); in i2c_davinci_isr()
776 init_completion(&dev->cmd_complete); in davinci_i2c_probe()
Di2c-aspeed.c137 struct completion cmd_complete; member
176 reinit_completion(&bus->cmd_complete); in aspeed_i2c_recover_bus()
181 &bus->cmd_complete, bus->adap.timeout); in aspeed_i2c_recover_bus()
197 reinit_completion(&bus->cmd_complete); in aspeed_i2c_recover_bus()
204 &bus->cmd_complete, bus->adap.timeout); in aspeed_i2c_recover_bus()
544 complete(&bus->cmd_complete); in aspeed_i2c_master_irq()
594 reinit_completion(&bus->cmd_complete); in aspeed_i2c_master_xfer()
598 time_left = wait_for_completion_timeout(&bus->cmd_complete, in aspeed_i2c_master_xfer()
891 init_completion(&bus->cmd_complete); in aspeed_i2c_probe_bus()
Di2c-highlander.c47 struct completion cmd_complete; member
168 complete(&dev->cmd_complete); in highlander_i2c_irq()
203 wait_for_completion_timeout(&dev->cmd_complete, in highlander_i2c_wait_xfer_done()
286 init_completion(&dev->cmd_complete); in highlander_i2c_smbus_xfer()
Di2c-stu300.c160 struct completion cmd_complete; member
312 complete(&dev->cmd_complete); in stu300_irh()
339 init_completion(&dev->cmd_complete); in stu300_start_and_await_event()
347 ret = wait_for_completion_interruptible_timeout(&dev->cmd_complete, in stu300_start_and_await_event()
395 init_completion(&dev->cmd_complete); in stu300_await_event()
403 ret = wait_for_completion_interruptible_timeout(&dev->cmd_complete, in stu300_await_event()
Di2c-mxs.c121 struct completion cmd_complete; member
173 complete(&i2c->cmd_complete); in mxs_i2c_dma_irq_callback()
598 reinit_completion(&i2c->cmd_complete); in mxs_i2c_xfer_msg()
603 time_left = wait_for_completion_timeout(&i2c->cmd_complete, in mxs_i2c_xfer_msg()
839 init_completion(&i2c->cmd_complete); in mxs_i2c_probe()
Di2c-designware-master.c423 reinit_completion(&dev->cmd_complete); in i2c_dw_xfer()
446 if (!wait_for_completion_timeout(&dev->cmd_complete, adap->timeout)) { in i2c_dw_xfer()
592 complete(&dev->cmd_complete); in i2c_dw_irq_handler_master()
625 init_completion(&dev->cmd_complete); in i2c_dw_probe()
Di2c-imx.c187 struct completion cmd_complete; member
331 init_completion(&dma->cmd_complete); in i2c_imx_dma_request()
353 complete(&dma->cmd_complete); in i2c_imx_dma_callback()
379 reinit_completion(&dma->cmd_complete); in i2c_imx_dma_xfer()
624 &i2c_imx->dma->cmd_complete, in i2c_imx_dma_write()
679 &i2c_imx->dma->cmd_complete, in i2c_imx_dma_read()
Di2c-at91.c133 struct completion cmd_complete; member
564 complete(&dev->cmd_complete); in atmel_twi_interrupt()
628 reinit_completion(&dev->cmd_complete); in at91_do_twi_transfer()
691 time_left = wait_for_completion_timeout(&dev->cmd_complete, in at91_do_twi_transfer()
1052 init_completion(&dev->cmd_complete); in at91_twi_probe()
Di2c-designware-slave.c345 complete(&dev->cmd_complete); in i2c_dw_isr_slave()
361 init_completion(&dev->cmd_complete); in i2c_dw_probe_slave()
Di2c-omap.c192 struct completion cmd_complete; member
686 reinit_completion(&omap->cmd_complete); in omap_i2c_xfer_msg()
738 timeout = wait_for_completion_timeout(&omap->cmd_complete, in omap_i2c_xfer_msg()
830 complete(&omap->cmd_complete); in omap_i2c_complete_cmd()
1361 init_completion(&omap->cmd_complete); in omap_i2c_probe()
Di2c-designware-core.h240 struct completion cmd_complete; member
/drivers/mtd/devices/
Dspear_smi.c176 wait_queue_head_t cmd_complete; member
238 ret = wait_event_interruptible_timeout(dev->cmd_complete, in spear_smi_read_sr()
313 wake_up_interruptible(&dev->cmd_complete); in spear_smi_int_handler()
394 ret = wait_event_interruptible_timeout(dev->cmd_complete, in spear_smi_write_enable()
469 ret = wait_event_interruptible_timeout(dev->cmd_complete, in spear_smi_erase_sector()
772 ret = wait_event_interruptible_timeout(dev->cmd_complete, in spear_smi_probe_flash()
1024 init_waitqueue_head(&dev->cmd_complete); in spear_smi_probe()
/drivers/mtd/nand/
Dhisi504_nand.c139 struct completion cmd_complete; member
230 init_completion(&host->cmd_complete); in hisi_nfc_dma_transfer()
233 ret = wait_for_completion_timeout(&host->cmd_complete, in hisi_nfc_dma_transfer()
531 complete(&host->cmd_complete); in hinfc_irq_handle()
Dpxa3xx_nand.c199 struct completion cmd_complete, dev_ready; member
896 complete(&info->cmd_complete); in pxa3xx_nand_irq()
1202 init_completion(&info->cmd_complete); in nand_cmdfunc()
1207 if (!wait_for_completion_timeout(&info->cmd_complete, in nand_cmdfunc()
1285 init_completion(&info->cmd_complete); in nand_cmdfunc_extended()
1288 if (!wait_for_completion_timeout(&info->cmd_complete, in nand_cmdfunc_extended()
/drivers/bluetooth/
Dbtmrvl_main.c67 priv->adapter->cmd_complete = true; in btmrvl_check_evtpkt()
205 priv->adapter->cmd_complete = false; in btmrvl_send_sync_cmd()
210 priv->adapter->cmd_complete || in btmrvl_send_sync_cmd()
Dbtmrvl_drv.h100 u8 cmd_complete; member
/drivers/scsi/
Dmesh.c187 static void cmd_complete(struct mesh_state *ms);
748 cmd_complete(ms); in start_phase()
1075 cmd_complete(ms); in handle_error()
1085 cmd_complete(ms); in handle_error()
1442 static void cmd_complete(struct mesh_state *ms) in cmd_complete() function
1677 cmd_complete(ms); in DEF_SCSI_QCMD()
DBusLogic.h325 bool cmd_complete:1; /* Bit 2 */ member
DBusLogic.c419 if (intreg.ir.cmd_complete) in blogic_cmd()
477 if (intreg.ir.cmd_complete) in blogic_cmd()
2916 else if (intreg.ir.cmd_complete) in blogic_inthandler()
/drivers/usb/typec/ucsi/
Ducsi.h24 u16 cmd_complete:1; member
Ducsi.c401 if (cci->cmd_complete && test_bit(COMMAND_PENDING, &ucsi->flags)) { in ucsi_notify()
/drivers/scsi/cxlflash/
Dmain.c163 static void cmd_complete(struct afu_cmd *cmd) in cmd_complete() function
1423 cmd_complete(cmd); in process_cmd_doneq()