Home
last modified time | relevance | path

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

12

/Linux-v5.10/drivers/scsi/
Dmac53c94.c66 static void cmd_done(struct fsc_state *, int result);
221 cmd_done(state, DID_RESET << 16); in mac53c94_interrupt()
227 cmd_done(state, DID_ERROR << 16); in mac53c94_interrupt()
245 cmd_done(state, DID_PARITY << 16); in mac53c94_interrupt()
252 cmd_done(state, DID_BAD_TARGET << 16); in mac53c94_interrupt()
257 cmd_done(state, DID_ERROR << 16); in mac53c94_interrupt()
262 cmd_done(state, DID_ERROR << 16); in mac53c94_interrupt()
288 cmd_done(state, DID_ERROR << 16); in mac53c94_interrupt()
296 cmd_done(state, DID_ERROR << 16); in mac53c94_interrupt()
324 cmd_done(state, DID_ERROR << 16); in mac53c94_interrupt()
[all …]
Dpmcraid.c329 cmd->cmd_done = NULL; in pmcraid_init_cmdblk()
499 pinstance->reset_cmd->cmd_done(pinstance->reset_cmd); in pmcraid_clr_trans_op()
736 cmd->cmd_done = pmcraid_ioa_reset; in pmcraid_timeout_handler()
893 void (*cmd_done) (struct pmcraid_cmd *), in pmcraid_send_cmd()
899 cmd->cmd_done = cmd_done; in pmcraid_send_cmd()
1109 pmcraid_send_cmd(cmd, cmd->cmd_done, 0, NULL); in pmcraid_send_hcam_cmd()
1131 void (*cmd_done) (struct pmcraid_cmd *); in pmcraid_init_hcam() local
1144 cmd_done = pmcraid_process_ccn; in pmcraid_init_hcam()
1149 cmd_done = pmcraid_process_ldn; in pmcraid_init_hcam()
1178 cmd->cmd_done = cmd_done; in pmcraid_init_hcam()
[all …]
/Linux-v5.10/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-v5.10/drivers/net/ethernet/apm/xgene/
Dxgene_enet_xgmac.c40 void __iomem *cmd, void __iomem *cmd_done, in xgene_enet_wr_indirect() argument
51 while (!(done = ioread32(cmd_done)) && wait--) in xgene_enet_wr_indirect()
65 void __iomem *addr, *wr, *cmd, *cmd_done; in xgene_enet_wr_pcs() local
70 cmd_done = pdata->pcs_addr + PCS_COMMAND_DONE_REG_OFFSET; in xgene_enet_wr_pcs()
72 if (!xgene_enet_wr_indirect(addr, wr, cmd, cmd_done, wr_addr, wr_data)) in xgene_enet_wr_pcs()
102 void __iomem *cmd, void __iomem *cmd_done, in xgene_enet_rd_indirect() argument
112 while (!(done = ioread32(cmd_done)) && wait--) in xgene_enet_rd_indirect()
127 void __iomem *addr, *rd, *cmd, *cmd_done; in xgene_enet_rd_pcs() local
133 cmd_done = pdata->pcs_addr + PCS_COMMAND_DONE_REG_OFFSET; in xgene_enet_rd_pcs()
135 success = xgene_enet_rd_indirect(addr, rd, cmd, cmd_done, rd_addr, rd_data); in xgene_enet_rd_pcs()
Dxgene_enet_hw.c257 void __iomem *addr, *wr, *cmd, *cmd_done; in xgene_enet_wr_mac() local
272 cmd_done = pdata->mcx_mac_addr + MAC_COMMAND_DONE_REG_OFFSET; in xgene_enet_wr_mac()
279 while (!(done = ioread32(cmd_done)) && wait--) in xgene_enet_wr_mac()
316 void __iomem *addr, *rd, *cmd, *cmd_done; in xgene_enet_rd_mac() local
331 cmd_done = pdata->mcx_mac_addr + MAC_COMMAND_DONE_REG_OFFSET; in xgene_enet_rd_mac()
337 while (!(done = ioread32(cmd_done)) && wait--) in xgene_enet_rd_mac()
352 void __iomem *addr, *rd, *cmd, *cmd_done; in xgene_enet_rd_stat() local
359 cmd_done = pdata->mcx_stats_addr + STAT_COMMAND_DONE_REG_OFFSET; in xgene_enet_rd_stat()
365 while (!(done = ioread32(cmd_done)) && wait--) in xgene_enet_rd_stat()
/Linux-v5.10/drivers/platform/olpc/
Dolpc-xo175-ec.c238 struct completion cmd_done; member
318 complete(&priv->cmd_done); in olpc_xo175_ec_complete()
344 complete(&priv->cmd_done); in olpc_xo175_ec_complete()
380 complete(&priv->cmd_done); in olpc_xo175_ec_complete()
396 complete(&priv->cmd_done); in olpc_xo175_ec_complete()
517 init_completion(&priv->cmd_done); in olpc_xo175_ec_cmd()
534 if (!wait_for_completion_timeout(&priv->cmd_done, in olpc_xo175_ec_cmd()
689 init_completion(&priv->cmd_done); in olpc_xo175_ec_probe()
/Linux-v5.10/drivers/firmware/
Dturris-mox-rwtm.c62 struct completion cmd_done; member
175 complete(&rwtm->cmd_done); in mox_rwtm_rx_callback()
199 ret = wait_for_completion_timeout(&rwtm->cmd_done, HZ / 2); in mox_get_board_info()
232 ret = wait_for_completion_timeout(&rwtm->cmd_done, HZ / 2); in mox_get_board_info()
279 ret = wait_for_completion_interruptible(&rwtm->cmd_done); in mox_hwrng_read()
372 ret = wait_for_completion_interruptible(&rwtm->cmd_done); in do_sign_write()
485 init_completion(&rwtm->cmd_done); in turris_mox_rwtm_probe()
/Linux-v5.10/drivers/input/touchscreen/
Delo.c55 struct completion cmd_done; member
107 complete(&elo->cmd_done); in elo_process_data_10()
230 init_completion(&elo->cmd_done); in elo_command_10()
245 wait_for_completion_timeout(&elo->cmd_done, HZ); in elo_command_10()
322 init_completion(&elo->cmd_done); in elo_connect()
Dwacom_w8001.c88 struct completion cmd_done; member
337 complete(&w8001->cmd_done); in w8001_interrupt()
365 init_completion(&w8001->cmd_done); in w8001_command()
370 wait_for_completion_timeout(&w8001->cmd_done, HZ); in w8001_command()
613 init_completion(&w8001->cmd_done); in w8001_connect()
Dstmfts.c101 struct completion cmd_done; member
257 complete(&sdata->cmd_done); in stmfts_parse_events()
322 reinit_completion(&sdata->cmd_done); in stmfts_command()
328 if (!wait_for_completion_timeout(&sdata->cmd_done, in stmfts_command()
644 init_completion(&sdata->cmd_done); in stmfts_probe()
Delants_i2c.c151 struct completion cmd_done; member
279 reinit_completion(&ts->cmd_done); in elants_i2c_calibrate()
286 ret = wait_for_completion_interruptible_timeout(&ts->cmd_done, in elants_i2c_calibrate()
952 complete(&ts->cmd_done); in elants_i2c_irq()
1246 init_completion(&ts->cmd_done); in elants_i2c_probe()
/Linux-v5.10/drivers/net/mdio/
Dmdio-xgene.c27 void __iomem *addr, *rd, *cmd, *cmd_done; in xgene_mdio_rd_mac() local
34 cmd_done = pdata->mac_csr_addr + MAC_COMMAND_DONE_REG_OFFSET; in xgene_mdio_rd_mac()
40 while (!(done = ioread32(cmd_done)) && wait--) in xgene_mdio_rd_mac()
55 void __iomem *addr, *wr, *cmd, *cmd_done; in xgene_mdio_wr_mac() local
62 cmd_done = pdata->mac_csr_addr + MAC_COMMAND_DONE_REG_OFFSET; in xgene_mdio_wr_mac()
69 while (!(done = ioread32(cmd_done)) && wait--) in xgene_mdio_wr_mac()
/Linux-v5.10/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-v5.10/drivers/media/cec/usb/rainshadow/
Drainshadow-cec.c44 struct completion cmd_done; member
141 complete(&rain->cmd_done); in rain_irq_work_handler()
217 init_completion(&rain->cmd_done); in rain_send_and_wait()
224 if (!wait_for_completion_timeout(&rain->cmd_done, HZ)) { in rain_send_and_wait()
/Linux-v5.10/drivers/block/rsxx/
Dcregs.c352 struct completion *cmd_done; member
368 complete(cmd_completion->cmd_done); in creg_cmd_done_cb()
379 DECLARE_COMPLETION_ONSTACK(cmd_done); in __issue_creg_rw()
384 completion.cmd_done = &cmd_done; in __issue_creg_rw()
405 st = wait_for_completion_timeout(completion.cmd_done, timeout); in __issue_creg_rw()
/Linux-v5.10/drivers/input/rmi4/
Drmi_f34.c58 init_completion(&f34->v5.cmd_done); in rmi_f34_command()
78 if (!wait_for_completion_timeout(&f34->v5.cmd_done, in rmi_f34_command()
114 complete(&f34->v5.cmd_done); in rmi_f34_attention()
124 complete(&f34->v7.cmd_done); in rmi_f34_attention()
553 init_completion(&f34->v5.cmd_done); in rmi_f34_probe()
Drmi_f34v7.c66 if (!wait_for_completion_timeout(&f34->v7.cmd_done, timeout)) { in rmi_f34v7_wait_for_idle()
312 init_completion(&f34->v7.cmd_done); in rmi_f34v7_read_partition_table()
657 init_completion(&f34->v7.cmd_done); in rmi_f34v7_erase_config()
690 init_completion(&f34->v7.cmd_done); in rmi_f34v7_erase_guest_code()
709 init_completion(&f34->v7.cmd_done); in rmi_f34v7_erase_all()
784 init_completion(&f34->v7.cmd_done); in rmi_f34v7_read_blocks()
848 init_completion(&f34->v7.cmd_done); in rmi_f34v7_write_f34v7_blocks()
938 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()
1381 init_completion(&f34->v7.cmd_done); in rmi_f34v7_probe()
Drmi_f34.h258 struct completion cmd_done; member
288 struct completion cmd_done; member
Drmi_f54.c111 struct completion cmd_done; member
199 init_completion(&f54->cmd_done); in rmi_f54_request_report()
327 if (!wait_for_completion_timeout(&f54->cmd_done, in rmi_f54_buffer_queue()
602 complete(&f54->cmd_done); in rmi_f54_work()
/Linux-v5.10/drivers/input/tablet/
Dwacom_serial4.c165 struct completion cmd_done; member
306 complete(&wacom->cmd_done); in wacom_handle_response()
471 init_completion(&wacom->cmd_done); in wacom_send_and_wait()
477 u = wait_for_completion_timeout(&wacom->cmd_done, HZ); in wacom_send_and_wait()
/Linux-v5.10/drivers/mmc/host/
Dwmt-sdmmc.c377 int cmd_done; in wmt_mci_regular_isr() local
380 cmd_done = 0; in wmt_mci_regular_isr()
406 cmd_done = 1; in wmt_mci_regular_isr()
410 cmd_done = 1; in wmt_mci_regular_isr()
413 if (cmd_done) { in wmt_mci_regular_isr()
/Linux-v5.10/drivers/mtd/nand/raw/
Dvf610_nfc.c155 struct completion cmd_done; member
303 if (!wait_for_completion_timeout(&nfc->cmd_done, timeout)) in vf610_nfc_done()
314 complete(&nfc->cmd_done); in vf610_nfc_irq()
880 init_completion(&nfc->cmd_done); in vf610_nfc_probe()
/Linux-v5.10/drivers/media/cec/usb/pulse8/
Dpulse8-cec.c195 struct completion cmd_done; member
241 init_completion(&pulse8->cmd_done); in pulse8_send_and_wait_once()
247 if (!wait_for_completion_timeout(&pulse8->cmd_done, HZ)) in pulse8_send_and_wait_once()
461 complete(&pulse8->cmd_done); in pulse8_interrupt()
/Linux-v5.10/drivers/pci/switch/
Dswitchtec.c59 bool cmd_done; member
179 stuser->cmd_done = false; in mrpc_queue_cmd()
226 stuser->cmd_done = true; in mrpc_complete_cmd()
534 if (!stuser->cmd_done) in switchtec_dev_read()
538 stuser->cmd_done); in switchtec_dev_read()
594 if (stuser->cmd_done) in switchtec_dev_poll()
1278 stuser->cmd_done = true; in stdev_kill()
/Linux-v5.10/drivers/dma/idxd/
Dirq.c104 complete(idxd->cmd_done); in idxd_misc_thread()

12