Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/scsi/
Dmac53c94.c66 static void cmd_done(struct fsc_state *, int result);
219 cmd_done(state, DID_RESET << 16); in mac53c94_interrupt()
225 cmd_done(state, DID_ERROR << 16); in mac53c94_interrupt()
243 cmd_done(state, DID_PARITY << 16); in mac53c94_interrupt()
250 cmd_done(state, DID_BAD_TARGET << 16); in mac53c94_interrupt()
255 cmd_done(state, DID_ERROR << 16); in mac53c94_interrupt()
260 cmd_done(state, DID_ERROR << 16); in mac53c94_interrupt()
286 cmd_done(state, DID_ERROR << 16); in mac53c94_interrupt()
294 cmd_done(state, DID_ERROR << 16); in mac53c94_interrupt()
322 cmd_done(state, DID_ERROR << 16); in mac53c94_interrupt()
[all …]
Dpmcraid.c329 cmd->cmd_done = NULL; in pmcraid_init_cmdblk()
498 pinstance->reset_cmd->cmd_done(pinstance->reset_cmd); in pmcraid_clr_trans_op()
733 cmd->cmd_done = pmcraid_ioa_reset; in pmcraid_timeout_handler()
890 void (*cmd_done) (struct pmcraid_cmd *), in pmcraid_send_cmd()
896 cmd->cmd_done = cmd_done; in pmcraid_send_cmd()
1105 pmcraid_send_cmd(cmd, cmd->cmd_done, 0, NULL); in pmcraid_send_hcam_cmd()
1127 void (*cmd_done) (struct pmcraid_cmd *); in pmcraid_init_hcam() local
1140 cmd_done = pmcraid_process_ccn; in pmcraid_init_hcam()
1145 cmd_done = pmcraid_process_ldn; in pmcraid_init_hcam()
1174 cmd->cmd_done = cmd_done; in pmcraid_init_hcam()
[all …]
/linux-6.1.9/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-6.1.9/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()
Dxgene_enet_main.h246 void __iomem *cmd_done; member
/linux-6.1.9/drivers/firmware/
Dturris-mox-rwtm.c62 struct completion cmd_done; member
178 complete(&rwtm->cmd_done); in mox_rwtm_rx_callback()
202 ret = wait_for_completion_timeout(&rwtm->cmd_done, HZ / 2); in mox_get_board_info()
238 ret = wait_for_completion_timeout(&rwtm->cmd_done, HZ / 2); in mox_get_board_info()
277 ret = wait_for_completion_timeout(&rwtm->cmd_done, HZ / 2); in check_get_random_support()
309 ret = wait_for_completion_interruptible(&rwtm->cmd_done); in mox_hwrng_read()
402 ret = wait_for_completion_interruptible(&rwtm->cmd_done); in do_sign_write()
515 init_completion(&rwtm->cmd_done); in turris_mox_rwtm_probe()
/linux-6.1.9/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()
687 init_completion(&priv->cmd_done); in olpc_xo175_ec_probe()
/linux-6.1.9/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()
646 init_completion(&sdata->cmd_done); in stmfts_probe()
Delants_i2c.c181 struct completion cmd_done; member
309 reinit_completion(&ts->cmd_done); in elants_i2c_calibrate()
316 ret = wait_for_completion_interruptible_timeout(&ts->cmd_done, in elants_i2c_calibrate()
1088 complete(&ts->cmd_done); in elants_i2c_irq()
1436 init_completion(&ts->cmd_done); in elants_i2c_probe()
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/drivers/mmc/host/
Dlitex_mmc.c89 struct completion cmd_done; member
143 reinit_completion(&host->cmd_done); in litex_mmc_send_cmd()
146 wait_for_completion(&host->cmd_done); in litex_mmc_send_cmd()
273 complete(&host->cmd_done); in litex_mmc_interrupt()
586 init_completion(&host->cmd_done); in litex_mmc_probe()
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-6.1.9/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_f34.h244 struct completion cmd_done; member
271 struct completion cmd_done; member
Drmi_f34v7.c66 if (!wait_for_completion_timeout(&f34->v7.cmd_done, timeout)) { in rmi_f34v7_wait_for_idle()
330 init_completion(&f34->v7.cmd_done); in rmi_f34v7_read_partition_table()
610 init_completion(&f34->v7.cmd_done); in rmi_f34v7_erase_all()
667 init_completion(&f34->v7.cmd_done); in rmi_f34v7_read_blocks()
731 init_completion(&f34->v7.cmd_done); in rmi_f34v7_write_f34v7_blocks()
821 init_completion(&f34->v7.cmd_done); in rmi_f34v7_write_flash_config()
1115 init_completion(&f34->v7.cmd_done); in rmi_f34v7_enter_flash_prog()
1179 init_completion(&f34->v7.cmd_done); in rmi_f34v7_probe()
Drmi_f54.c117 struct completion cmd_done; member
205 init_completion(&f54->cmd_done); in rmi_f54_request_report()
333 if (!wait_for_completion_timeout(&f54->cmd_done, in rmi_f54_buffer_queue()
608 complete(&f54->cmd_done); in rmi_f54_work()
/linux-6.1.9/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-6.1.9/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-6.1.9/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()
878 init_completion(&nfc->cmd_done); in vf610_nfc_probe()
/linux-6.1.9/drivers/pci/switch/
Dswitchtec.c60 bool cmd_done; member
194 stuser->cmd_done = false; in mrpc_queue_cmd()
209 stuser->cmd_done = true; in mrpc_cleanup_cmd()
583 if (!stuser->cmd_done) in switchtec_dev_read()
587 stuser->cmd_done); in switchtec_dev_read()
649 if (stuser->cmd_done) in switchtec_dev_poll()
1336 stuser->cmd_done = true; in stdev_kill()

12