Lines Matching refs:scsi_cmnd

280 static inline void initialize_SCp(struct scsi_cmnd *cmd)  in initialize_SCp()
720 void lprint_Scsi_Cmnd(struct scsi_cmnd *cmd, struct seq_file *m);
730 struct scsi_cmnd *ptr; in NCR5380_show_info()
742 lprint_Scsi_Cmnd((struct scsi_cmnd *) hostdata->connected, m); in NCR5380_show_info()
744 …for (ptr = (struct scsi_cmnd *) hostdata->issue_queue; ptr; ptr = (struct scsi_cmnd *) ptr->host_s… in NCR5380_show_info()
748 …for (ptr = (struct scsi_cmnd *) hostdata->disconnected_queue; ptr; ptr = (struct scsi_cmnd *) ptr-… in NCR5380_show_info()
754 static void lprint_Scsi_Cmnd(struct scsi_cmnd *cmd, struct seq_file *m) in lprint_Scsi_Cmnd()
913 static int NCR5380_queue_command_lck(struct scsi_cmnd *cmd, void (*done) (struct scsi_cmnd *)) in NCR5380_queue_command_lck() argument
917 struct scsi_cmnd *tmp; in NCR5380_queue_command_lck()
951 …for (tmp = (struct scsi_cmnd *) hostdata->issue_queue; tmp->host_scribble; tmp = (struct scsi_cmnd in NCR5380_queue_command_lck()
982 struct scsi_cmnd *tmp, *prev; in DEF_SCSI_QCMD()
995 …for (tmp = (struct scsi_cmnd *) hostdata->issue_queue, prev = NULL; tmp; prev = tmp, tmp = (struct… in DEF_SCSI_QCMD()
1007 hostdata->issue_queue = (struct scsi_cmnd *) tmp->host_scribble; in DEF_SCSI_QCMD()
1054 tmp = (struct scsi_cmnd *) hostdata->selecting; in DEF_SCSI_QCMD()
1206 static int NCR5380_select(struct Scsi_Host *instance, struct scsi_cmnd *cmd) in NCR5380_select()
2013 struct scsi_cmnd *cmd = (struct scsi_cmnd *) hostdata->connected;
2203 hostdata->issue_queue = (struct scsi_cmnd *) cmd;
2417 struct scsi_cmnd *tmp = NULL, *prev;
2483 …for (tmp = (struct scsi_cmnd *) hostdata->disconnected_queue, prev = NULL; tmp; prev = tmp, tmp = …
2491 hostdata->disconnected_queue = (struct scsi_cmnd *) tmp->host_scribble;
2582 static int NCR5380_abort(struct scsi_cmnd *cmd)
2587 struct scsi_cmnd *tmp, **prev;
2635scsi_cmnd **) &(hostdata->issue_queue), tmp = (struct scsi_cmnd *) hostdata->issue_queue; tmp; pre…
2638 (*prev) = (struct scsi_cmnd *) tmp->host_scribble;
2691 …for (tmp = (struct scsi_cmnd *) hostdata->disconnected_queue; tmp; tmp = (struct scsi_cmnd *) tmp-…
2701scsi_cmnd **) &(hostdata->disconnected_queue), tmp = (struct scsi_cmnd *) hostdata->disconnected_q…
2704 *prev = (struct scsi_cmnd *) tmp->host_scribble;
2736 static int NCR5380_bus_reset(struct scsi_cmnd *cmd)