Home
last modified time | relevance | path

Searched refs:current_SC (Results 1 – 9 of 9) sorted by relevance

/linux-2.4.37.9/drivers/scsi/
Dfd_mcs.c228 #define current_SC (HOSTDATA(shpnt)->_current_SC) macro
687 current_SC->result = error; in my_done()
688 current_SC->scsi_done( current_SC ); in my_done()
726 if (current_SC->SCp.phase & aborted) { in fd_mcs_intr()
737 if (current_SC->SCp.phase & in_arbitration) { in fd_mcs_intr()
748 current_SC->SCp.phase = in_selection; in fd_mcs_intr()
753 outb( adapter_mask | (1 << current_SC->target), SCSI_Data_NoACK_port ); in fd_mcs_intr()
761 } else if (current_SC->SCp.phase & in_selection) { in fd_mcs_intr()
765 if (fd_mcs_select(shpnt, current_SC->target )) { in fd_mcs_intr()
781 current_SC->SCp.phase = in_other; in fd_mcs_intr()
[all …]
Dfdomain.c393 static Scsi_Cmnd *current_SC = NULL; variable
1209 current_SC->result = error; in my_done()
1210 if (current_SC->scsi_done) in my_done()
1211 current_SC->scsi_done( current_SC ); in my_done()
1242 if (!in_command || !current_SC) { /* Spurious interrupt */ in do_fdomain_16x0_intr()
1245 in_command, current_SC ); in do_fdomain_16x0_intr()
1251 if (current_SC->SCp.phase & aborted) { in do_fdomain_16x0_intr()
1263 if (current_SC->SCp.phase & in_arbitration) { in do_fdomain_16x0_intr()
1274 current_SC->SCp.phase = in_selection; in do_fdomain_16x0_intr()
1279 outb( adapter_mask | (1 << current_SC->target), SCSI_Data_NoACK_port ); in do_fdomain_16x0_intr()
[all …]
DNCR53c406a.c210 static Scsi_Cmnd *current_SC; variable
676 current_SC->result = DID_TIME_OUT << 16; in wait_intr()
677 current_SC->SCp.phase = idle; in wait_intr()
678 current_SC->scsi_done(current_SC); in wait_intr()
718 current_SC = SCpnt; in NCR53c406a_queue()
719 current_SC->scsi_done = done; in NCR53c406a_queue()
720 current_SC->SCp.phase = command_ph; in NCR53c406a_queue()
721 current_SC->SCp.Status = 0; in NCR53c406a_queue()
722 current_SC->SCp.Message = 0; in NCR53c406a_queue()
829 current_SC->SCp.phase = idle; in NCR53c406a_intr()
[all …]
DNCR53C9x.c710 esp->current_SC = 0; in esp_initialize()
1029 SCptr = esp->current_SC = remove_first_SC(&esp->issue_SC); in esp_exec_cmd()
1274 if(!esp->current_SC && !esp->resetting_bus) in esp_queue()
1304 Scsi_Cmnd *SCptr = esp->current_SC; in esp_dump_state()
1370 if(esp->current_SC == SCptr) { in esp_abort()
1410 if(esp->current_SC) { in esp_abort()
1436 Scsi_Cmnd *sp = esp->current_SC; in esp_finish_reset()
1443 esp->current_SC = NULL; in esp_finish_reset()
1493 if(esp->current_SC) { in esp_done()
1494 done_SC = esp->current_SC; in esp_done()
[all …]
Desp.c1042 esp->current_SC = NULL; in esp_init_swstate()
1555 SCptr = esp->current_SC = remove_first_SC(&esp->issue_SC); in esp_exec_cmd()
1849 if (!esp->current_SC && !esp->resetting_bus) in esp_queue()
1878 Scsi_Cmnd *SCptr = esp->current_SC; in esp_dump_state()
1940 if (esp->current_SC == SCptr) { in esp_abort()
1985 if (esp->current_SC) { in esp_abort()
2012 Scsi_Cmnd *sp = esp->current_SC; in esp_finish_reset()
2016 esp->current_SC = NULL; in esp_finish_reset()
2084 Scsi_Cmnd *done_SC = esp->current_SC; in esp_done()
2086 esp->current_SC = NULL; in esp_done()
[all …]
Dmac_esp.c104 irq_p, esp->current_SC, esp->disconnected_SC); in mac_esp_intr()
109 if((esp->current_SC || esp->disconnected_SC)) { in mac_esp_intr()
520 if (esp->current_SC) in esp_dafb_dma_irq_p()
545 sreg, esp->current_SC, esp->disconnected_SC); in esp_iosb_dma_irq_p()
664 sreg, esp->current_SC, esp->disconnected_SC); in dma_irq_p_quick()
Desp.h175 Scsi_Cmnd *current_SC; /* Who is currently working the bus */ member
DNCR53C9x.h385 Scsi_Cmnd *current_SC; /* Who is currently working the bus */ member
Daha152x.c461 Scsi_Cmnd *current_SC; member
560 #define CURRENT_SC (HOSTDATA(shpnt)->current_SC)