Searched refs:reset_cmd (Results 1 - 7 of 7) sorted by relevance

/linux-4.4.14/drivers/scsi/
H A Dpmcraid.c510 if (pinstance->reset_cmd != NULL) { pmcraid_clr_trans_op()
511 del_timer(&pinstance->reset_cmd->timer); pmcraid_clr_trans_op()
514 pinstance->reset_cmd->cmd_done(pinstance->reset_cmd); pmcraid_clr_trans_op()
737 pinstance->reset_cmd = cmd; pmcraid_timeout_handler()
742 if (pinstance->reset_cmd != cmd) { pmcraid_timeout_handler()
755 if (cmd == pinstance->reset_cmd) pmcraid_timeout_handler()
2104 if (pinstance->reset_cmd != cmd) { pmcraid_ioa_reset()
2106 pinstance->reset_cmd = cmd; pmcraid_ioa_reset()
2291 pinstance->reset_cmd = NULL; pmcraid_ioa_reset()
2336 pinstance->reset_cmd = cmd; pmcraid_initiate_reset()
2364 struct pmcraid_cmd *reset_cmd = NULL; pmcraid_reset_reload() local
2393 reset_cmd = pmcraid_get_free_cmd(pinstance); pmcraid_reset_reload()
2395 if (reset_cmd == NULL) { pmcraid_reset_reload()
2406 pinstance->reset_cmd = reset_cmd; pmcraid_reset_reload()
2409 pmcraid_ioa_reset(reset_cmd); pmcraid_reset_reload()
5261 pinstance->reset_cmd = NULL; pmcraid_init_instance()
H A Dipr.c2618 if (!ioa_cfg->in_reset_reload || ioa_cfg->reset_cmd == ipr_cmd) ipr_timeout()
2650 if (!ioa_cfg->in_reset_reload || ioa_cfg->reset_cmd == ipr_cmd) { ipr_oper_timeout()
5269 struct ipr_cmnd *reset_cmd; ipr_abort_timeout() local
5282 reset_cmd = ipr_get_free_ipr_cmnd(ioa_cfg); ipr_abort_timeout()
5283 ipr_cmd->sibling = reset_cmd; ipr_abort_timeout()
5284 reset_cmd->sibling = ipr_cmd; ipr_abort_timeout()
5285 reset_cmd->ioarcb.res_handle = ipr_cmd->ioarcb.res_handle; ipr_abort_timeout()
5286 cmd_pkt = &reset_cmd->ioarcb.cmd_pkt; ipr_abort_timeout()
5291 ipr_do_req(reset_cmd, ipr_bus_reset_done, ipr_timeout, IPR_DEVICE_RESET_TIMEOUT); ipr_abort_timeout()
5461 list_del(&ioa_cfg->reset_cmd->queue); ipr_handle_other_interrupt()
5462 del_timer(&ioa_cfg->reset_cmd->timer); ipr_handle_other_interrupt()
5463 ipr_reset_ioa_job(ioa_cfg->reset_cmd); ipr_handle_other_interrupt()
5476 list_del(&ioa_cfg->reset_cmd->queue); ipr_handle_other_interrupt()
5477 del_timer(&ioa_cfg->reset_cmd->timer); ipr_handle_other_interrupt()
5478 ipr_reset_ioa_job(ioa_cfg->reset_cmd); ipr_handle_other_interrupt()
7036 ioa_cfg->reset_cmd = NULL; ipr_ioa_reset_done()
8033 * for timing events. If the reset_cmd pointer in the IOA
8048 if (ioa_cfg->reset_cmd == ipr_cmd) { ipr_reset_timer_done()
8062 * for timing events. If the reset_cmd pointer in the IOA
8570 if (ioa_cfg->reset_cmd == ipr_cmd) ipr_reset_reset_work()
8973 if (ioa_cfg->reset_cmd != ipr_cmd) { ipr_reset_ioa_job()
9027 ioa_cfg->reset_cmd = ipr_cmd; _ipr_initiate_ioa_reset()
9074 ioa_cfg->reset_cmd = NULL; ipr_initiate_ioa_reset()
H A Daha1542.c849 static int aha1542_reset(struct scsi_cmnd *cmd, u8 reset_cmd) aha1542_reset() argument
863 outb(reset_cmd, CONTROL(cmd->device->host->io_port)); aha1542_reset()
875 if (reset_cmd & HRST) aha1542_reset()
H A Dpmcraid.h727 struct pmcraid_cmd *reset_cmd; member in struct:pmcraid_instance
H A Dipr.h1578 struct ipr_cmnd *reset_cmd; member in struct:ipr_ioa_cfg
/linux-4.4.14/drivers/scsi/megaraid/
H A Dmegaraid_sas_base.c2382 struct megasas_cmd *reset_cmd; megasas_wait_for_outstanding() local
2418 reset_cmd = list_entry((&clist_local)->next, megasas_wait_for_outstanding()
2420 list_del_init(&reset_cmd->list); megasas_wait_for_outstanding()
2421 if (reset_cmd->scmd) { megasas_wait_for_outstanding()
2422 reset_cmd->scmd->result = DID_RESET << 16; megasas_wait_for_outstanding()
2424 reset_index, reset_cmd, megasas_wait_for_outstanding()
2425 reset_cmd->scmd->cmnd[0]); megasas_wait_for_outstanding()
2427 reset_cmd->scmd->scsi_done(reset_cmd->scmd); megasas_wait_for_outstanding()
2428 megasas_return_cmd(instance, reset_cmd); megasas_wait_for_outstanding()
2429 } else if (reset_cmd->sync_cmd) { megasas_wait_for_outstanding()
2432 reset_cmd); megasas_wait_for_outstanding()
2434 reset_cmd->cmd_status_drv = MFI_STAT_INVALID_STATUS; megasas_wait_for_outstanding()
2436 reset_cmd->frame_phys_addr, megasas_wait_for_outstanding()
2441 reset_cmd); megasas_wait_for_outstanding()
/linux-4.4.14/drivers/net/ethernet/dlink/
H A Dsundance.c453 static void sundance_reset(struct net_device *dev, unsigned long reset_cmd) sundance_reset() argument
460 iowrite32 (reset_cmd | ioread32 (ioaddr), ioaddr); sundance_reset()

Completed in 390 milliseconds