Lines Matching refs:reset_cmd
2283 struct megasas_cmd *reset_cmd; in megasas_wait_for_outstanding() local
2319 reset_cmd = list_entry((&clist_local)->next, in megasas_wait_for_outstanding()
2321 list_del_init(&reset_cmd->list); in megasas_wait_for_outstanding()
2322 if (reset_cmd->scmd) { in megasas_wait_for_outstanding()
2323 reset_cmd->scmd->result = DID_RESET << 16; in megasas_wait_for_outstanding()
2325 reset_index, reset_cmd, in megasas_wait_for_outstanding()
2326 reset_cmd->scmd->cmnd[0]); in megasas_wait_for_outstanding()
2328 reset_cmd->scmd->scsi_done(reset_cmd->scmd); in megasas_wait_for_outstanding()
2329 megasas_return_cmd(instance, reset_cmd); in megasas_wait_for_outstanding()
2330 } else if (reset_cmd->sync_cmd) { in megasas_wait_for_outstanding()
2333 reset_cmd); in megasas_wait_for_outstanding()
2335 reset_cmd->cmd_status = ENODATA; in megasas_wait_for_outstanding()
2337 reset_cmd->frame_phys_addr, in megasas_wait_for_outstanding()
2342 reset_cmd); in megasas_wait_for_outstanding()