Lines Matching refs:Scsi_Cmnd

257 static int is_dir_out(Scsi_Cmnd * cmd)  in is_dir_out()
336 static int in2000_queuecommand_lck(Scsi_Cmnd * cmd, void (*done) (Scsi_Cmnd *)) in in2000_queuecommand_lck() argument
340 Scsi_Cmnd *tmp; in in2000_queuecommand_lck()
419 …for (tmp = (Scsi_Cmnd *) hostdata->input_Q; tmp->host_scribble; tmp = (Scsi_Cmnd *) tmp->host_scri… in in2000_queuecommand_lck()
448 Scsi_Cmnd *cmd, *prev; in DEF_SCSI_QCMD()
471 cmd = (Scsi_Cmnd *) hostdata->input_Q; in DEF_SCSI_QCMD()
477 cmd = (Scsi_Cmnd *) cmd->host_scribble; in DEF_SCSI_QCMD()
494 hostdata->input_Q = (Scsi_Cmnd *) cmd->host_scribble; in DEF_SCSI_QCMD()
543 for (prev = (Scsi_Cmnd *) hostdata->input_Q; prev; prev = (Scsi_Cmnd *) prev->host_scribble) { in DEF_SCSI_QCMD()
545 for (prev = (Scsi_Cmnd *) hostdata->input_Q; prev; prev = (Scsi_Cmnd *) prev->host_scribble) in DEF_SCSI_QCMD()
747 static void transfer_bytes(Scsi_Cmnd * cmd, int data_in_dir) in transfer_bytes()
837 Scsi_Cmnd *patch, *cmd; in in2000_intr()
913 cmd = (Scsi_Cmnd *) hostdata->connected; /* assume we're connected */ in in2000_intr()
995 cmd = (Scsi_Cmnd *) hostdata->connected; /* assume we're connected */ in in2000_intr()
1072 cmd = (Scsi_Cmnd *) hostdata->selecting; /* get a valid cmd */ in in2000_intr()
1094 hostdata->connected = cmd = (Scsi_Cmnd *) hostdata->selecting; in in2000_intr()
1495 cmd = (Scsi_Cmnd *) hostdata->selecting; in in2000_intr()
1536 cmd = (Scsi_Cmnd *) hostdata->disconnected_Q; in in2000_intr()
1542 cmd = (Scsi_Cmnd *) cmd->host_scribble; in in2000_intr()
1557 hostdata->disconnected_Q = (Scsi_Cmnd *) cmd->host_scribble; in in2000_intr()
1642 static int in2000_bus_reset(Scsi_Cmnd * cmd) in in2000_bus_reset()
1678 static int __in2000_abort(Scsi_Cmnd * cmd) in __in2000_abort()
1682 Scsi_Cmnd *tmp, *prev; in __in2000_abort()
1697 tmp = (Scsi_Cmnd *) hostdata->input_Q; in __in2000_abort()
1710 tmp = (Scsi_Cmnd *) tmp->host_scribble; in __in2000_abort()
1777 for (tmp = (Scsi_Cmnd *) hostdata->disconnected_Q; tmp; tmp = (Scsi_Cmnd *) tmp->host_scribble) in __in2000_abort()
1799 static int in2000_abort(Scsi_Cmnd * cmd) in in2000_abort()
2178 Scsi_Cmnd *cmd; in in2000_proc_info()
2270 cmd = (Scsi_Cmnd *) hd->connected; in in2000_proc_info()
2277 cmd = (Scsi_Cmnd *) hd->input_Q; in in2000_proc_info()
2281 cmd = (Scsi_Cmnd *) cmd->host_scribble; in in2000_proc_info()
2286 cmd = (Scsi_Cmnd *) hd->disconnected_Q; in in2000_proc_info()
2290 cmd = (Scsi_Cmnd *) cmd->host_scribble; in in2000_proc_info()