Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/platform/x86/
Dintel_punit_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()
Dintel_scu_ipc.c62 struct completion cmd_complete; member
193 reinit_completion(&scu->cmd_complete); in ipc_command()
255 if (!wait_for_completion_timeout(&scu->cmd_complete, IPC_TIMEOUT)) in ipc_wait_for_interrupt()
532 complete(&scu->cmd_complete); in ioc()
602 init_completion(&scu->cmd_complete); in __intel_scu_ipc_register()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-amd-mp2-plat.c35 struct completion cmd_complete; member
81 reinit_completion(&i2c_dev->cmd_complete); in i2c_amd_start_cmd()
95 complete(&i2c_dev->cmd_complete); in i2c_amd_cmd_completion()
103 timeout = wait_for_completion_timeout(&i2c_dev->cmd_complete, in i2c_amd_check_cmd_completion()
319 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()
624 complete(&dev->cmd_complete); in i2c_davinci_isr()
630 complete(&dev->cmd_complete); in i2c_davinci_isr()
644 complete(&dev->cmd_complete); in i2c_davinci_isr()
688 complete(&dev->cmd_complete); in i2c_davinci_isr()
784 init_completion(&dev->cmd_complete); in davinci_i2c_probe()
Di2c-aspeed.c150 struct completion cmd_complete; member
191 reinit_completion(&bus->cmd_complete); in aspeed_i2c_recover_bus()
196 &bus->cmd_complete, bus->adap.timeout); in aspeed_i2c_recover_bus()
212 reinit_completion(&bus->cmd_complete); in aspeed_i2c_recover_bus()
219 &bus->cmd_complete, bus->adap.timeout); in aspeed_i2c_recover_bus()
592 complete(&bus->cmd_complete); in aspeed_i2c_master_irq()
687 reinit_completion(&bus->cmd_complete); in aspeed_i2c_master_xfer()
691 time_left = wait_for_completion_timeout(&bus->cmd_complete, in aspeed_i2c_master_xfer()
1017 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-stu300.c160 struct completion cmd_complete; member
312 complete(&dev->cmd_complete); in stu300_irh()
333 init_completion(&dev->cmd_complete); in stu300_start_and_await_event()
341 ret = wait_for_completion_interruptible_timeout(&dev->cmd_complete, in stu300_start_and_await_event()
382 init_completion(&dev->cmd_complete); in stu300_await_event()
390 ret = wait_for_completion_interruptible_timeout(&dev->cmd_complete, in stu300_await_event()
Di2c-mxs.c117 struct completion cmd_complete; member
169 complete(&i2c->cmd_complete); in mxs_i2c_dma_irq_callback()
591 reinit_completion(&i2c->cmd_complete); in mxs_i2c_xfer_msg()
596 time_left = wait_for_completion_timeout(&i2c->cmd_complete, in mxs_i2c_xfer_msg()
834 init_completion(&i2c->cmd_complete); in mxs_i2c_probe()
Di2c-designware-master.c471 reinit_completion(&dev->cmd_complete); in i2c_dw_xfer()
494 if (!wait_for_completion_timeout(&dev->cmd_complete, adap->timeout)) { in i2c_dw_xfer()
645 complete(&dev->cmd_complete); in i2c_dw_irq_handler_master()
748 init_completion(&dev->cmd_complete); in i2c_dw_probe_master()
Di2c-npcm7xx.c277 struct completion cmd_complete; member
688 if (completion_done(&bus->cmd_complete)) in npcm_i2c_callback()
704 if (completion_done(&bus->cmd_complete) == false) in npcm_i2c_callback()
705 complete(&bus->cmd_complete); in npcm_i2c_callback()
712 complete(&bus->cmd_complete); in npcm_i2c_callback()
719 complete(&bus->cmd_complete); in npcm_i2c_callback()
1081 if (completion_done(&bus->cmd_complete) == false) { in npcm_i2c_int_slave_handler()
1083 complete(&bus->cmd_complete); in npcm_i2c_int_slave_handler()
2162 reinit_completion(&bus->cmd_complete); in npcm_i2c_master_xfer()
2169 time_left = wait_for_completion_timeout(&bus->cmd_complete, in npcm_i2c_master_xfer()
[all …]
Di2c-designware-slave.c222 complete(&dev->cmd_complete); in i2c_dw_isr_slave()
249 init_completion(&dev->cmd_complete); in i2c_dw_probe_slave()
Di2c-at91-master.c466 complete(&dev->cmd_complete); in atmel_twi_interrupt()
530 reinit_completion(&dev->cmd_complete); in at91_do_twi_transfer()
592 time_left = wait_for_completion_timeout(&dev->cmd_complete, in at91_do_twi_transfer()
885 init_completion(&dev->cmd_complete); in at91_twi_probe_master()
Di2c-imx.c177 struct completion cmd_complete; member
332 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()
686 &i2c_imx->dma->cmd_complete, in i2c_imx_dma_write()
741 &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-at91.h142 struct completion cmd_complete; member
Di2c-designware-core.h242 struct completion cmd_complete; member
/kernel/linux/linux-5.10/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()
1017 init_waitqueue_head(&dev->cmd_complete); in spear_smi_probe()
/kernel/linux/linux-5.10/net/bluetooth/
Dmgmt_util.h31 int (*cmd_complete)(struct mgmt_pending_cmd *cmd, u8 status); member
Dmgmt.c1299 if (cmd->cmd_complete) { in cmd_complete_rsp()
1302 cmd->cmd_complete(cmd, *status); in cmd_complete_rsp()
2552 cmd->cmd_complete = addr_cmd_complete; in unpair_device()
2618 cmd->cmd_complete = generic_cmd_complete; in disconnect()
2713 cmd->cmd_complete = addr_cmd_complete; in send_pin_code_neg_reply()
2770 cmd->cmd_complete = addr_cmd_complete; in pin_code_reply()
2862 cmd->cmd_complete(cmd, status); in mgmt_smp_complete()
2879 cmd->cmd_complete(cmd, mgmt_status(status)); in pairing_complete_cb()
2898 cmd->cmd_complete(cmd, mgmt_status(status)); in le_pairing_complete_cb()
3004 cmd->cmd_complete = pairing_complete; in pair_device()
[all …]
/kernel/linux/linux-5.10/drivers/soc/qcom/
Drpmh-rsc.c480 u32 cmd_complete; in __tcs_buffer_write() local
488 cmd_complete = read_tcs_reg(drv, RSC_DRV_CMD_WAIT_FOR_CMPL, tcs_id); in __tcs_buffer_write()
493 cmd_complete |= cmd->wait << j; in __tcs_buffer_write()
503 write_tcs_reg(drv, RSC_DRV_CMD_WAIT_FOR_CMPL, tcs_id, cmd_complete); in __tcs_buffer_write()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/bluetooth/
Dbtmrvl_drv.h98 u8 cmd_complete; member
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()
/kernel/linux/linux-5.10/drivers/scsi/
Dmesh.c188 static void cmd_complete(struct mesh_state *ms);
749 cmd_complete(ms); in start_phase()
1078 cmd_complete(ms); in handle_error()
1088 cmd_complete(ms); in handle_error()
1446 static void cmd_complete(struct mesh_state *ms) in cmd_complete() function
1681 cmd_complete(ms); in DEF_SCSI_QCMD()
DBusLogic.h318 bool cmd_complete:1; /* Bit 2 */ member

12