Lines Matching refs:Scsi_Cmnd
291 static __inline__ void initialize_SCp(Scsi_Cmnd * cmd) in initialize_SCp()
713 void lprint_Scsi_Cmnd(Scsi_Cmnd * cmd, struct seq_file *m);
723 Scsi_Cmnd *ptr; in NCR5380_show_info()
760 lprint_Scsi_Cmnd((Scsi_Cmnd *) hostdata->connected, m); in NCR5380_show_info()
762 for (ptr = (Scsi_Cmnd *) hostdata->issue_queue; ptr; ptr = (Scsi_Cmnd *) ptr->host_scribble) in NCR5380_show_info()
766 for (ptr = (Scsi_Cmnd *) hostdata->disconnected_queue; ptr; ptr = (Scsi_Cmnd *) ptr->host_scribble) in NCR5380_show_info()
772 static void lprint_Scsi_Cmnd(Scsi_Cmnd * cmd, struct seq_file *m) in lprint_Scsi_Cmnd()
947 static int NCR5380_queue_command_lck(Scsi_Cmnd * cmd, void (*done) (Scsi_Cmnd *)) in NCR5380_queue_command_lck() argument
951 Scsi_Cmnd *tmp; in NCR5380_queue_command_lck()
1004 …for (tmp = (Scsi_Cmnd *) hostdata->issue_queue; tmp->host_scribble; tmp = (Scsi_Cmnd *) tmp->host_… in NCR5380_queue_command_lck()
1035 Scsi_Cmnd *tmp, *prev; in DEF_SCSI_QCMD()
1048 …for (tmp = (Scsi_Cmnd *) hostdata->issue_queue, prev = NULL; tmp; prev = tmp, tmp = (Scsi_Cmnd *) … in DEF_SCSI_QCMD()
1059 hostdata->issue_queue = (Scsi_Cmnd *) tmp->host_scribble; in DEF_SCSI_QCMD()
1106 tmp = (Scsi_Cmnd *) hostdata->selecting; in DEF_SCSI_QCMD()
1235 static void collect_stats(struct NCR5380_hostdata *hostdata, Scsi_Cmnd * cmd) in collect_stats()
1289 static int NCR5380_select(struct Scsi_Host *instance, Scsi_Cmnd * cmd, int tag) in NCR5380_select()
2097 Scsi_Cmnd *cmd = (Scsi_Cmnd *) hostdata->connected;
2289 hostdata->issue_queue = (Scsi_Cmnd *) cmd;
2507 Scsi_Cmnd *tmp = NULL, *prev;
2573 …for (tmp = (Scsi_Cmnd *) hostdata->disconnected_queue, prev = NULL; tmp; prev = tmp, tmp = (Scsi_C…
2581 hostdata->disconnected_queue = (Scsi_Cmnd *) tmp->host_scribble;
2672 static int NCR5380_abort(Scsi_Cmnd * cmd) {
2676 Scsi_Cmnd *tmp, **prev;
2725 …(Scsi_Cmnd **) & (hostdata->issue_queue), tmp = (Scsi_Cmnd *) hostdata->issue_queue; tmp; prev = (…
2728 (*prev) = (Scsi_Cmnd *) tmp->host_scribble;
2781 for (tmp = (Scsi_Cmnd *) hostdata->disconnected_queue; tmp; tmp = (Scsi_Cmnd *) tmp->host_scribble)
2791 …Scsi_Cmnd **) & (hostdata->disconnected_queue), tmp = (Scsi_Cmnd *) hostdata->disconnected_queue; …
2794 *prev = (Scsi_Cmnd *) tmp->host_scribble;
2826 static int NCR5380_bus_reset(Scsi_Cmnd * cmd)