Home
last modified time | relevance | path

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

/drivers/net/ethernet/apm/xgene/
Dxgene_enet_xgmac.c50 void __iomem *cmd, void __iomem *cmd_done, in xgene_enet_wr_indirect() argument
61 while (!(done = ioread32(cmd_done)) && wait--) in xgene_enet_wr_indirect()
75 void __iomem *addr, *wr, *cmd, *cmd_done; in xgene_enet_wr_mac() local
80 cmd_done = pdata->mcx_mac_addr + MAC_COMMAND_DONE_REG_OFFSET; in xgene_enet_wr_mac()
82 if (!xgene_enet_wr_indirect(addr, wr, cmd, cmd_done, wr_addr, wr_data)) in xgene_enet_wr_mac()
104 void __iomem *cmd, void __iomem *cmd_done, in xgene_enet_rd_indirect() argument
114 while (!(done = ioread32(cmd_done)) && wait--) in xgene_enet_rd_indirect()
129 void __iomem *addr, *rd, *cmd, *cmd_done; in xgene_enet_rd_mac() local
134 cmd_done = pdata->mcx_mac_addr + MAC_COMMAND_DONE_REG_OFFSET; in xgene_enet_rd_mac()
136 if (!xgene_enet_rd_indirect(addr, rd, cmd, cmd_done, rd_addr, rd_data)) in xgene_enet_rd_mac()
Dxgene_enet_hw.c253 void __iomem *cmd, void __iomem *cmd_done, in xgene_enet_wr_indirect() argument
264 while (!(done = ioread32(cmd_done)) && wait--) in xgene_enet_wr_indirect()
278 void __iomem *addr, *wr, *cmd, *cmd_done; in xgene_enet_wr_mcx_mac() local
283 cmd_done = pdata->mcx_mac_addr + MAC_COMMAND_DONE_REG_OFFSET; in xgene_enet_wr_mcx_mac()
285 if (!xgene_enet_wr_indirect(addr, wr, cmd, cmd_done, wr_addr, wr_data)) in xgene_enet_wr_mcx_mac()
315 void __iomem *cmd, void __iomem *cmd_done, in xgene_enet_rd_indirect() argument
325 while (!(done = ioread32(cmd_done)) && wait--) in xgene_enet_rd_indirect()
340 void __iomem *addr, *rd, *cmd, *cmd_done; in xgene_enet_rd_mcx_mac() local
345 cmd_done = pdata->mcx_mac_addr + MAC_COMMAND_DONE_REG_OFFSET; in xgene_enet_rd_mcx_mac()
347 if (!xgene_enet_rd_indirect(addr, rd, cmd, cmd_done, rd_addr, rd_data)) in xgene_enet_rd_mcx_mac()
Dxgene_enet_sgmac.c53 if (ioread32(ctl->cmd_done)) { in xgene_enet_wr_indirect()
70 .cmd_done = p->mcx_mac_addr + MAC_COMMAND_DONE_REG_OFFSET in xgene_enet_wr_mac()
97 if (ioread32(ctl->cmd_done)) { in xgene_enet_rd_indirect()
117 .cmd_done = p->mcx_mac_addr + MAC_COMMAND_DONE_REG_OFFSET in xgene_enet_rd_mac()
Dxgene_enet_main.h131 void __iomem *cmd_done; member
/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.c384 cmd->cmd_done = NULL; in pmcraid_init_cmdblk()
554 pinstance->reset_cmd->cmd_done(pinstance->reset_cmd); in pmcraid_clr_trans_op()
796 cmd->cmd_done = pmcraid_ioa_reset; in pmcraid_timeout_handler()
961 void (*cmd_done) (struct pmcraid_cmd *), in pmcraid_send_cmd()
967 cmd->cmd_done = cmd_done; in pmcraid_send_cmd()
1178 pmcraid_send_cmd(cmd, cmd->cmd_done, 0, NULL); in pmcraid_send_hcam_cmd()
1200 void (*cmd_done) (struct pmcraid_cmd *); in pmcraid_init_hcam() local
1213 cmd_done = pmcraid_process_ccn; in pmcraid_init_hcam()
1218 cmd_done = pmcraid_process_ldn; in pmcraid_init_hcam()
1247 cmd->cmd_done = cmd_done; in pmcraid_init_hcam()
[all …]
Dtmscsim.c1734 goto cmd_done; in dc390_SRBdone()
1742 goto cmd_done; in dc390_SRBdone()
1765 goto cmd_done; in dc390_SRBdone()
1796 cmd_done: in dc390_SRBdone()
Dpmcraid.h591 void (*cmd_done) (struct pmcraid_cmd *); member
Dhptiop.c1044 goto cmd_done; in hptiop_queuecommand_lck()
1070 cmd_done: in hptiop_queuecommand_lck()
/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 init_completion(&dev->cmd_done); in hil_dev_connect()
481 error = wait_for_completion_killable(&dev->cmd_done); in hil_dev_connect()
485 init_completion(&dev->cmd_done); in hil_dev_connect()
490 error = wait_for_completion_killable(&dev->cmd_done); in hil_dev_connect()
494 init_completion(&dev->cmd_done); in hil_dev_connect()
[all …]
/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.c85 struct completion cmd_done; member
337 complete(&w8001->cmd_done); in w8001_interrupt()
356 init_completion(&w8001->cmd_done); in w8001_command()
361 wait_for_completion_timeout(&w8001->cmd_done, HZ); in w8001_command()
532 init_completion(&w8001->cmd_done); in w8001_connect()
/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()
/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()
/drivers/mmc/host/
Dwmt-sdmmc.c380 int cmd_done; in wmt_mci_regular_isr() local
383 cmd_done = 0; in wmt_mci_regular_isr()
409 cmd_done = 1; in wmt_mci_regular_isr()
413 cmd_done = 1; in wmt_mci_regular_isr()
416 if (cmd_done) { in wmt_mci_regular_isr()
/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()
/drivers/media/pci/ngene/
Dngene-core.c189 dev->cmd_done = 1; in irq_handler()
205 dev->cmd_done = 1; in irq_handler()
276 dev->cmd_done = 0; in ngene_command_mutex()
316 ret = wait_event_timeout(dev->cmd_wq, dev->cmd_done == 1, 2 * HZ); in ngene_command_mutex()
Dngene.h768 int cmd_done; member
/drivers/mtd/nand/
Dpxa3xx_nand.c612 unsigned int ready, cmd_done; in pxa3xx_nand_irq() local
616 cmd_done = NDSR_CS0_CMDD; in pxa3xx_nand_irq()
619 cmd_done = NDSR_CS1_CMDD; in pxa3xx_nand_irq()
657 if (status & cmd_done) { in pxa3xx_nand_irq()
/drivers/infiniband/hw/ocrdma/
Docrdma.h139 bool cmd_done; member
Docrdma_hw.c799 if (dev->mqe_ctx.tag == cqe->tag_lo && dev->mqe_ctx.cmd_done == false) { in ocrdma_process_mcqe()
805 dev->mqe_ctx.cmd_done = true; in ocrdma_process_mcqe()
947 dev->mqe_ctx.cmd_done = false; in ocrdma_post_mqe()
962 (dev->mqe_ctx.cmd_done != false), in ocrdma_wait_mqe_cmpl()
/drivers/mmc/card/
Dblock.c726 goto cmd_done; in mmc_blk_ioctl_cmd()
851 cmd_done: in mmc_blk_ioctl_cmd()