Lines Matching refs:tmp_cmd
288 struct scsi_cmnd *tmp_cmd; in aha1542_interrupt() local
370 tmp_cmd = aha1542->int_cmds[mbo]; in aha1542_interrupt()
372 if (!tmp_cmd || !tmp_cmd->scsi_done) { in aha1542_interrupt()
379 my_done = tmp_cmd->scsi_done; in aha1542_interrupt()
380 aha1542_free_cmd(tmp_cmd); in aha1542_interrupt()
387 memcpy(tmp_cmd->sense_buffer, &ccb[mbo].cdb[ccb[mbo].cdblen], in aha1542_interrupt()
409 tmp_cmd->result = errstatus; in aha1542_interrupt()
413 my_done(tmp_cmd); in aha1542_interrupt()
966 struct scsi_cmnd *tmp_cmd; in aha1542_reset() local
967 tmp_cmd = aha1542->int_cmds[i]; in aha1542_reset()
969 if (tmp_cmd->device->soft_reset) { in aha1542_reset()
978 aha1542_free_cmd(tmp_cmd); in aha1542_reset()