Lines Matching refs:reset_cmd
2382 struct megasas_cmd *reset_cmd; in megasas_wait_for_outstanding() local
2418 reset_cmd = list_entry((&clist_local)->next, in megasas_wait_for_outstanding()
2420 list_del_init(&reset_cmd->list); in megasas_wait_for_outstanding()
2421 if (reset_cmd->scmd) { in megasas_wait_for_outstanding()
2422 reset_cmd->scmd->result = DID_RESET << 16; in megasas_wait_for_outstanding()
2424 reset_index, reset_cmd, in megasas_wait_for_outstanding()
2425 reset_cmd->scmd->cmnd[0]); in megasas_wait_for_outstanding()
2427 reset_cmd->scmd->scsi_done(reset_cmd->scmd); in megasas_wait_for_outstanding()
2428 megasas_return_cmd(instance, reset_cmd); in megasas_wait_for_outstanding()
2429 } else if (reset_cmd->sync_cmd) { in megasas_wait_for_outstanding()
2432 reset_cmd); in megasas_wait_for_outstanding()
2434 reset_cmd->cmd_status_drv = MFI_STAT_INVALID_STATUS; in megasas_wait_for_outstanding()
2436 reset_cmd->frame_phys_addr, in megasas_wait_for_outstanding()
2441 reset_cmd); in megasas_wait_for_outstanding()