Lines Matching refs:cur_cmd
34 struct scsi_cmnd *cur_cmd; /* Current queued command */ member
63 if (dev->cur_cmd) in got_it()
64 ppa_scsi_pointer(dev->cur_cmd)->phase = 1; in got_it()
171 if (dev->cur_cmd) { in ppa_fail_func()
172 dev->cur_cmd->result = error_code << 16; in ppa_fail_func()
624 struct scsi_cmnd *cmd = dev->cur_cmd; in ppa_interrupt()
674 dev->cur_cmd = NULL; in ppa_interrupt()
803 if (dev->cur_cmd) { in ppa_queuecommand_lck()
809 dev->cur_cmd = cmd; in ppa_queuecommand_lck()
855 dev->cur_cmd = NULL; /* Forget the problem */ in ppa_abort()
876 dev->cur_cmd = NULL; /* Forget the problem */ in ppa_reset()