Lines Matching refs:tmp_cmd
285 struct scsi_cmnd *tmp_cmd; in aha1542_interrupt() local
367 tmp_cmd = aha1542->int_cmds[mbo]; in aha1542_interrupt()
369 if (!tmp_cmd) { in aha1542_interrupt()
376 aha1542_free_cmd(tmp_cmd); in aha1542_interrupt()
383 memcpy(tmp_cmd->sense_buffer, &ccb[mbo].cdb[ccb[mbo].cdblen], in aha1542_interrupt()
405 tmp_cmd->result = errstatus; in aha1542_interrupt()
409 scsi_done(tmp_cmd); in aha1542_interrupt()
961 struct scsi_cmnd *tmp_cmd; in aha1542_reset() local
962 tmp_cmd = aha1542->int_cmds[i]; in aha1542_reset()
964 if (tmp_cmd->device->soft_reset) { in aha1542_reset()
973 aha1542_free_cmd(tmp_cmd); in aha1542_reset()