Home
last modified time | relevance | path

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

12

/drivers/platform/x86/intel/
Dpunit_ipc.c43 struct completion cmd_complete; member
108 if (!wait_for_completion_timeout(&ipcdev->cmd_complete, in intel_punit_ipc_check_status()
152 reinit_completion(&ipcdev->cmd_complete); in intel_punit_ipc_simple_command()
187 reinit_completion(&ipcdev->cmd_complete); in intel_punit_ipc_command()
220 complete(&ipcdev->cmd_complete); in intel_punit_ioc()
300 init_completion(&punit_ipcdev->cmd_complete); in intel_punit_ipc_probe()
/drivers/iio/imu/bno055/
Dbno055_ser_core.c161 struct completion cmd_complete; member
232 ret = wait_for_completion_interruptible_timeout(&priv->cmd_complete, in bno055_ser_send_cmd()
251 reinit_completion(&priv->cmd_complete); in bno055_ser_send_cmd()
260 ret = wait_for_completion_interruptible_timeout(&priv->cmd_complete, in bno055_ser_send_cmd()
367 complete(&priv->cmd_complete); in bno055_ser_handle_rx()
513 init_completion(&priv->cmd_complete); in bno055_ser_probe()
/drivers/i2c/busses/
Di2c-ls2x.c68 struct completion cmd_complete; member
83 complete(&priv->cmd_complete); in ls2x_i2c_isr()
132 time_left = wait_for_completion_timeout(&priv->cmd_complete, in ls2x_i2c_xfer_byte()
174 reinit_completion(&priv->cmd_complete); in ls2x_i2c_start()
311 init_completion(&priv->cmd_complete); in ls2x_i2c_probe()
Di2c-amd-mp2-plat.c35 struct completion cmd_complete; member
81 reinit_completion(&i2c_dev->cmd_complete); in i2c_amd_start_cmd()
94 complete(&i2c_dev->cmd_complete); in i2c_amd_cmd_completion()
102 timeout = wait_for_completion_timeout(&i2c_dev->cmd_complete, in i2c_amd_check_cmd_completion()
308 init_completion(&i2c_dev->cmd_complete); in i2c_amd_probe()
Di2c-davinci.c123 struct completion cmd_complete; member
440 reinit_completion(&dev->cmd_complete); in i2c_davinci_xfer_msg()
489 time_left = wait_for_completion_timeout(&dev->cmd_complete, in i2c_davinci_xfer_msg()
623 complete(&dev->cmd_complete); in i2c_davinci_isr()
629 complete(&dev->cmd_complete); in i2c_davinci_isr()
643 complete(&dev->cmd_complete); in i2c_davinci_isr()
687 complete(&dev->cmd_complete); in i2c_davinci_isr()
774 init_completion(&dev->cmd_complete); in davinci_i2c_probe()
Di2c-aspeed.c148 struct completion cmd_complete; member
189 reinit_completion(&bus->cmd_complete); in aspeed_i2c_recover_bus()
194 &bus->cmd_complete, bus->adap.timeout); in aspeed_i2c_recover_bus()
210 reinit_completion(&bus->cmd_complete); in aspeed_i2c_recover_bus()
217 &bus->cmd_complete, bus->adap.timeout); in aspeed_i2c_recover_bus()
613 complete(&bus->cmd_complete); in aspeed_i2c_master_irq()
708 reinit_completion(&bus->cmd_complete); in aspeed_i2c_master_xfer()
712 time_left = wait_for_completion_timeout(&bus->cmd_complete, in aspeed_i2c_master_xfer()
1044 init_completion(&bus->cmd_complete); in aspeed_i2c_probe_bus()
Di2c-highlander.c44 struct completion cmd_complete; member
165 complete(&dev->cmd_complete); in highlander_i2c_irq()
200 wait_for_completion_timeout(&dev->cmd_complete, in highlander_i2c_wait_xfer_done()
283 init_completion(&dev->cmd_complete); in highlander_i2c_smbus_xfer()
Di2c-mxs.c116 struct completion cmd_complete; member
168 complete(&i2c->cmd_complete); in mxs_i2c_dma_irq_callback()
595 reinit_completion(&i2c->cmd_complete); in mxs_i2c_xfer_msg()
602 time_left = wait_for_completion_timeout(&i2c->cmd_complete, in mxs_i2c_xfer_msg()
825 init_completion(&i2c->cmd_complete); in mxs_i2c_probe()
Di2c-at91-master.c464 complete(&dev->cmd_complete); in atmel_twi_interrupt()
528 reinit_completion(&dev->cmd_complete); in at91_do_twi_transfer()
590 time_left = wait_for_completion_timeout(&dev->cmd_complete, in at91_do_twi_transfer()
887 init_completion(&dev->cmd_complete); in at91_twi_probe_master()
Di2c-designware-master.c665 reinit_completion(&dev->cmd_complete); in i2c_dw_xfer()
688 if (!wait_for_completion_timeout(&dev->cmd_complete, adap->timeout)) { in i2c_dw_xfer()
864 complete(&dev->cmd_complete); in i2c_dw_isr()
988 init_completion(&dev->cmd_complete); in i2c_dw_probe_master()
Di2c-imx.c193 struct completion cmd_complete; member
400 init_completion(&dma->cmd_complete); in i2c_imx_dma_request()
421 complete(&dma->cmd_complete); in i2c_imx_dma_callback()
447 reinit_completion(&dma->cmd_complete); in i2c_imx_dma_xfer()
979 &i2c_imx->dma->cmd_complete, in i2c_imx_dma_write()
1034 &i2c_imx->dma->cmd_complete, in i2c_imx_dma_read()
Di2c-omap.c183 struct completion cmd_complete; member
690 reinit_completion(&omap->cmd_complete); in omap_i2c_xfer_msg()
743 timeout = wait_for_completion_timeout(&omap->cmd_complete, in omap_i2c_xfer_msg()
858 complete(&omap->cmd_complete); in omap_i2c_complete_cmd()
1399 init_completion(&omap->cmd_complete); in omap_i2c_probe()
Di2c-npcm7xx.c295 struct completion cmd_complete; member
708 if (completion_done(&bus->cmd_complete)) in npcm_i2c_callback()
751 complete(&bus->cmd_complete); in npcm_i2c_callback()
1099 if (completion_done(&bus->cmd_complete) == false) { in npcm_i2c_int_slave_handler()
1101 complete(&bus->cmd_complete); in npcm_i2c_int_slave_handler()
2180 reinit_completion(&bus->cmd_complete); in npcm_i2c_master_xfer()
2187 time_left = wait_for_completion_timeout(&bus->cmd_complete, in npcm_i2c_master_xfer()
2319 init_completion(&bus->cmd_complete); in npcm_i2c_probe_bus()
Di2c-at91.h140 struct completion cmd_complete; member
Di2c-designware-core.h255 struct completion cmd_complete; member
/drivers/platform/x86/
Dintel_scu_ipc.c63 struct completion cmd_complete; member
193 reinit_completion(&scu->cmd_complete); in ipc_command()
251 wait_for_completion_timeout(&scu->cmd_complete, IPC_TIMEOUT); in ipc_wait_for_interrupt()
545 complete(&scu->cmd_complete); in ioc()
615 init_completion(&scu->cmd_complete); in __intel_scu_ipc_register()
/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()
769 ret = wait_event_interruptible_timeout(dev->cmd_complete, in spear_smi_probe_flash()
1010 init_waitqueue_head(&dev->cmd_complete); in spear_smi_probe()
/drivers/mailbox/
Dpcc.c99 struct pcc_chan_reg cmd_complete; member
240 ret = pcc_chan_reg_read(&pchan->cmd_complete, &val); in pcc_mbox_irq()
245 val &= pchan->cmd_complete.status_mask; in pcc_mbox_irq()
525 ret = pcc_chan_reg_init(&pchan->cmd_complete, in pcc_parse_subspace_db_reg()
/drivers/spi/
Dspi-cadence-xspi.c224 struct completion cmd_complete; member
405 wait_for_completion(&cdns_xspi->cmd_complete); in cdns_xspi_send_stig_command()
478 complete(&cdns_xspi->cmd_complete); in cdns_xspi_irq_handler()
564 init_completion(&cdns_xspi->cmd_complete); in cdns_xspi_probe()
/drivers/mtd/nand/raw/
Dhisi504_nand.c130 struct completion cmd_complete; member
221 init_completion(&host->cmd_complete); in hisi_nfc_dma_transfer()
224 ret = wait_for_completion_timeout(&host->cmd_complete, in hisi_nfc_dma_transfer()
508 complete(&host->cmd_complete); in hinfc_irq_handle()
/drivers/bluetooth/
Dbtmrvl_main.c54 priv->adapter->cmd_complete = true; in btmrvl_check_evtpkt()
185 priv->adapter->cmd_complete = false; in btmrvl_send_sync_cmd()
190 priv->adapter->cmd_complete || in btmrvl_send_sync_cmd()
Dbtmrvl_drv.h84 u8 cmd_complete; member
/drivers/net/ethernet/ti/icssg/
Dicssg_prueth.h168 struct completion cmd_complete; member
/drivers/scsi/
Dmesh.c188 static void cmd_complete(struct mesh_state *ms);
743 cmd_complete(ms); in start_phase()
1072 cmd_complete(ms); in handle_error()
1082 cmd_complete(ms); in handle_error()
1440 static void cmd_complete(struct mesh_state *ms) in cmd_complete() function
1676 cmd_complete(ms); in DEF_SCSI_QCMD()
DBusLogic.h310 bool cmd_complete:1; /* Bit 2 */ member

12