Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/scsi/
Dmac53c94.c65 static void cmd_done(struct fsc_state *, int result);
220 cmd_done(state, DID_RESET << 16); in mac53c94_interrupt()
226 cmd_done(state, DID_ERROR << 16); in mac53c94_interrupt()
244 cmd_done(state, DID_PARITY << 16); in mac53c94_interrupt()
251 cmd_done(state, DID_BAD_TARGET << 16); in mac53c94_interrupt()
256 cmd_done(state, DID_ERROR << 16); in mac53c94_interrupt()
261 cmd_done(state, DID_ERROR << 16); in mac53c94_interrupt()
287 cmd_done(state, DID_ERROR << 16); in mac53c94_interrupt()
295 cmd_done(state, DID_ERROR << 16); in mac53c94_interrupt()
323 cmd_done(state, DID_ERROR << 16); in mac53c94_interrupt()
[all …]
Dpmcraid.c344 cmd->cmd_done = NULL; in pmcraid_init_cmdblk()
514 pinstance->reset_cmd->cmd_done(pinstance->reset_cmd); in pmcraid_clr_trans_op()
751 cmd->cmd_done = pmcraid_ioa_reset; in pmcraid_timeout_handler()
915 void (*cmd_done) (struct pmcraid_cmd *), in pmcraid_send_cmd()
921 cmd->cmd_done = cmd_done; in pmcraid_send_cmd()
1131 pmcraid_send_cmd(cmd, cmd->cmd_done, 0, NULL); in pmcraid_send_hcam_cmd()
1153 void (*cmd_done) (struct pmcraid_cmd *); in pmcraid_init_hcam() local
1166 cmd_done = pmcraid_process_ccn; in pmcraid_init_hcam()
1171 cmd_done = pmcraid_process_ldn; in pmcraid_init_hcam()
1200 cmd->cmd_done = cmd_done; in pmcraid_init_hcam()
[all …]
/Linux-v4.19/drivers/input/keyboard/
Dhil_kbd.c83 struct completion cmd_done; member
143 complete(&dev->cmd_done); in hil_dev_handle_command_response()
271 complete(&dev->cmd_done); /* just in case somebody is waiting */ in hil_dev_process_err()
467 init_completion(&dev->cmd_done); in hil_dev_connect()
472 error = wait_for_completion_killable(&dev->cmd_done); in hil_dev_connect()
476 reinit_completion(&dev->cmd_done); in hil_dev_connect()
481 error = wait_for_completion_killable(&dev->cmd_done); in hil_dev_connect()
485 reinit_completion(&dev->cmd_done); in hil_dev_connect()
490 error = wait_for_completion_killable(&dev->cmd_done); in hil_dev_connect()
494 reinit_completion(&dev->cmd_done); in hil_dev_connect()
[all …]
/Linux-v4.19/drivers/net/ethernet/apm/xgene/
Dxgene_enet_xgmac.c52 void __iomem *cmd, void __iomem *cmd_done, in xgene_enet_wr_indirect() argument
63 while (!(done = ioread32(cmd_done)) && wait--) in xgene_enet_wr_indirect()
77 void __iomem *addr, *wr, *cmd, *cmd_done; in xgene_enet_wr_pcs() local
82 cmd_done = pdata->pcs_addr + PCS_COMMAND_DONE_REG_OFFSET; in xgene_enet_wr_pcs()
84 if (!xgene_enet_wr_indirect(addr, wr, cmd, cmd_done, wr_addr, wr_data)) in xgene_enet_wr_pcs()
114 void __iomem *cmd, void __iomem *cmd_done, in xgene_enet_rd_indirect() argument
124 while (!(done = ioread32(cmd_done)) && wait--) in xgene_enet_rd_indirect()
139 void __iomem *addr, *rd, *cmd, *cmd_done; in xgene_enet_rd_pcs() local
145 cmd_done = pdata->pcs_addr + PCS_COMMAND_DONE_REG_OFFSET; in xgene_enet_rd_pcs()
147 success = xgene_enet_rd_indirect(addr, rd, cmd, cmd_done, rd_addr, rd_data); in xgene_enet_rd_pcs()
Dxgene_enet_hw.c269 void __iomem *addr, *wr, *cmd, *cmd_done; in xgene_enet_wr_mac() local
284 cmd_done = pdata->mcx_mac_addr + MAC_COMMAND_DONE_REG_OFFSET; in xgene_enet_wr_mac()
291 while (!(done = ioread32(cmd_done)) && wait--) in xgene_enet_wr_mac()
328 void __iomem *addr, *rd, *cmd, *cmd_done; in xgene_enet_rd_mac() local
343 cmd_done = pdata->mcx_mac_addr + MAC_COMMAND_DONE_REG_OFFSET; in xgene_enet_rd_mac()
349 while (!(done = ioread32(cmd_done)) && wait--) in xgene_enet_rd_mac()
364 void __iomem *addr, *rd, *cmd, *cmd_done; in xgene_enet_rd_stat() local
371 cmd_done = pdata->mcx_stats_addr + STAT_COMMAND_DONE_REG_OFFSET; in xgene_enet_rd_stat()
377 while (!(done = ioread32(cmd_done)) && wait--) in xgene_enet_rd_stat()
Dxgene_enet_main.h259 void __iomem *cmd_done; member
/Linux-v4.19/drivers/input/touchscreen/
Delo.c59 struct completion cmd_done; member
111 complete(&elo->cmd_done); in elo_process_data_10()
234 init_completion(&elo->cmd_done); in elo_command_10()
249 wait_for_completion_timeout(&elo->cmd_done, HZ); in elo_command_10()
326 init_completion(&elo->cmd_done); in elo_connect()
Dwacom_w8001.c86 struct completion cmd_done; member
335 complete(&w8001->cmd_done); in w8001_interrupt()
363 init_completion(&w8001->cmd_done); in w8001_command()
368 wait_for_completion_timeout(&w8001->cmd_done, HZ); in w8001_command()
611 init_completion(&w8001->cmd_done); in w8001_connect()
Dstmfts.c101 struct completion cmd_done; member
255 complete(&sdata->cmd_done); in stmfts_parse_events()
320 reinit_completion(&sdata->cmd_done); in stmfts_command()
326 if (!wait_for_completion_timeout(&sdata->cmd_done, in stmfts_command()
642 init_completion(&sdata->cmd_done); in stmfts_probe()
Delants_i2c.c148 struct completion cmd_done; member
245 reinit_completion(&ts->cmd_done); in elants_i2c_calibrate()
252 ret = wait_for_completion_interruptible_timeout(&ts->cmd_done, in elants_i2c_calibrate()
880 complete(&ts->cmd_done); in elants_i2c_irq()
1153 init_completion(&ts->cmd_done); in elants_i2c_probe()
/Linux-v4.19/drivers/net/phy/
Dmdio-xgene.c39 void __iomem *addr, *rd, *cmd, *cmd_done; in xgene_mdio_rd_mac() local
46 cmd_done = pdata->mac_csr_addr + MAC_COMMAND_DONE_REG_OFFSET; in xgene_mdio_rd_mac()
52 while (!(done = ioread32(cmd_done)) && wait--) in xgene_mdio_rd_mac()
67 void __iomem *addr, *wr, *cmd, *cmd_done; in xgene_mdio_wr_mac() local
74 cmd_done = pdata->mac_csr_addr + MAC_COMMAND_DONE_REG_OFFSET; in xgene_mdio_wr_mac()
81 while (!(done = ioread32(cmd_done)) && wait--) in xgene_mdio_wr_mac()
/Linux-v4.19/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_cmd.c60 err = wait_for_completion_interruptible_timeout(&dev->cmd_done, in pvrdma_cmd_recv()
100 init_completion(&dev->cmd_done); in pvrdma_cmd_post()
/Linux-v4.19/drivers/media/usb/rainshadow-cec/
Drainshadow-cec.c49 struct completion cmd_done; member
145 complete(&rain->cmd_done); in rain_irq_work_handler()
221 init_completion(&rain->cmd_done); in rain_send_and_wait()
228 if (!wait_for_completion_timeout(&rain->cmd_done, HZ)) { in rain_send_and_wait()
/Linux-v4.19/drivers/block/rsxx/
Dcregs.c366 struct completion *cmd_done; member
382 complete(cmd_completion->cmd_done); in creg_cmd_done_cb()
393 DECLARE_COMPLETION_ONSTACK(cmd_done); in __issue_creg_rw()
398 completion.cmd_done = &cmd_done; in __issue_creg_rw()
419 st = wait_for_completion_timeout(completion.cmd_done, timeout); in __issue_creg_rw()
/Linux-v4.19/drivers/input/rmi4/
Drmi_f34.c61 init_completion(&f34->v5.cmd_done); in rmi_f34_command()
81 if (!wait_for_completion_timeout(&f34->v5.cmd_done, in rmi_f34_command()
117 complete(&f34->v5.cmd_done); in rmi_f34_attention()
127 complete(&f34->v7.cmd_done); in rmi_f34_attention()
556 init_completion(&f34->v5.cmd_done); in rmi_f34_probe()
Drmi_f34v7.c69 if (!wait_for_completion_timeout(&f34->v7.cmd_done, timeout)) { in rmi_f34v7_wait_for_idle()
315 init_completion(&f34->v7.cmd_done); in rmi_f34v7_read_partition_table()
660 init_completion(&f34->v7.cmd_done); in rmi_f34v7_erase_config()
693 init_completion(&f34->v7.cmd_done); in rmi_f34v7_erase_guest_code()
712 init_completion(&f34->v7.cmd_done); in rmi_f34v7_erase_all()
787 init_completion(&f34->v7.cmd_done); in rmi_f34v7_read_blocks()
851 init_completion(&f34->v7.cmd_done); in rmi_f34v7_write_f34v7_blocks()
941 init_completion(&f34->v7.cmd_done); in rmi_f34v7_write_flash_config()
1294 init_completion(&f34->v7.cmd_done); in rmi_f34v7_enter_flash_prog()
1376 init_completion(&f34->v7.cmd_done); in rmi_f34v7_probe()
Drmi_f34.h261 struct completion cmd_done; member
291 struct completion cmd_done; member
Drmi_f54.c114 struct completion cmd_done; member
201 init_completion(&f54->cmd_done); in rmi_f54_request_report()
327 if (!wait_for_completion_timeout(&f54->cmd_done, in rmi_f54_buffer_queue()
607 complete(&f54->cmd_done); in rmi_f54_work()
/Linux-v4.19/drivers/input/tablet/
Dwacom_serial4.c170 struct completion cmd_done; member
309 complete(&wacom->cmd_done); in wacom_handle_response()
474 init_completion(&wacom->cmd_done); in wacom_send_and_wait()
480 u = wait_for_completion_timeout(&wacom->cmd_done, HZ); in wacom_send_and_wait()
/Linux-v4.19/drivers/media/usb/pulse8-cec/
Dpulse8-cec.c122 struct completion cmd_done; member
216 complete(&pulse8->cmd_done); in pulse8_interrupt()
278 init_completion(&pulse8->cmd_done); in pulse8_send_and_wait_once()
284 if (!wait_for_completion_timeout(&pulse8->cmd_done, HZ)) in pulse8_send_and_wait_once()
/Linux-v4.19/drivers/mmc/host/
Dwmt-sdmmc.c381 int cmd_done; in wmt_mci_regular_isr() local
384 cmd_done = 0; in wmt_mci_regular_isr()
410 cmd_done = 1; in wmt_mci_regular_isr()
414 cmd_done = 1; in wmt_mci_regular_isr()
417 if (cmd_done) { in wmt_mci_regular_isr()
/Linux-v4.19/drivers/mtd/nand/raw/
Dvf610_nfc.c158 struct completion cmd_done; member
311 if (!wait_for_completion_timeout(&nfc->cmd_done, timeout)) in vf610_nfc_done()
323 complete(&nfc->cmd_done); in vf610_nfc_irq()
883 init_completion(&nfc->cmd_done); in vf610_nfc_probe()
/Linux-v4.19/drivers/staging/mt7621-mmc/
Dmt6575_sd.h440 struct completion cmd_done; member
/Linux-v4.19/drivers/input/misc/
Dims-pcu.c107 struct completion cmd_done; member
441 complete(&pcu->cmd_done); in ims_pcu_handle_response()
607 init_completion(&pcu->cmd_done); in __ims_pcu_execute_command()
614 !wait_for_completion_timeout(&pcu->cmd_done, in __ims_pcu_execute_command()
2018 init_completion(&pcu->cmd_done); in ims_pcu_probe()
/Linux-v4.19/drivers/media/pci/ngene/
Dngene-core.c184 dev->cmd_done = 1; in irq_handler()
200 dev->cmd_done = 1; in irq_handler()
273 dev->cmd_done = 0; in ngene_command_mutex()
313 ret = wait_event_timeout(dev->cmd_wq, dev->cmd_done == 1, 2 * HZ); in ngene_command_mutex()

12