Lines Matching refs:tmp_cmd
267 struct scsi_cmnd *tmp_cmd; in aha1542_interrupt() local
347 tmp_cmd = aha1542->int_cmds[mbo]; in aha1542_interrupt()
349 if (!tmp_cmd || !tmp_cmd->scsi_done) { in aha1542_interrupt()
356 my_done = tmp_cmd->scsi_done; in aha1542_interrupt()
357 aha1542_free_cmd(tmp_cmd); in aha1542_interrupt()
362 memcpy(tmp_cmd->sense_buffer, &ccb[mbo].cdb[ccb[mbo].cdblen], in aha1542_interrupt()
384 tmp_cmd->result = errstatus; in aha1542_interrupt()
387 my_done(tmp_cmd); in aha1542_interrupt()
949 struct scsi_cmnd *tmp_cmd; in aha1542_reset() local
950 tmp_cmd = aha1542->int_cmds[i]; in aha1542_reset()
952 if (tmp_cmd->device->soft_reset) { in aha1542_reset()
961 aha1542_free_cmd(tmp_cmd); in aha1542_reset()