/Linux-v4.19/drivers/scsi/ |
D | mac53c94.c | 65 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 …]
|
D | pmcraid.c | 344 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/ |
D | hil_kbd.c | 83 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/ |
D | xgene_enet_xgmac.c | 52 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()
|
D | xgene_enet_hw.c | 269 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()
|
D | xgene_enet_main.h | 259 void __iomem *cmd_done; member
|
/Linux-v4.19/drivers/input/touchscreen/ |
D | elo.c | 59 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()
|
D | wacom_w8001.c | 86 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()
|
D | stmfts.c | 101 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()
|
D | elants_i2c.c | 148 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/ |
D | mdio-xgene.c | 39 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/ |
D | pvrdma_cmd.c | 60 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/ |
D | rainshadow-cec.c | 49 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/ |
D | cregs.c | 366 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/ |
D | rmi_f34.c | 61 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()
|
D | rmi_f34v7.c | 69 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()
|
D | rmi_f34.h | 261 struct completion cmd_done; member 291 struct completion cmd_done; member
|
D | rmi_f54.c | 114 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/ |
D | wacom_serial4.c | 170 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/ |
D | pulse8-cec.c | 122 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/ |
D | wmt-sdmmc.c | 381 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/ |
D | vf610_nfc.c | 158 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/ |
D | mt6575_sd.h | 440 struct completion cmd_done; member
|
/Linux-v4.19/drivers/input/misc/ |
D | ims-pcu.c | 107 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/ |
D | ngene-core.c | 184 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()
|