taglinefilesource code
current_SC172kernel/blk_drv/scsi/fdomain.cstatic Scsi_Cmnd         *current_SC = NULL;
current_SC650kernel/blk_drv/scsi/fdomain.ccurrent_SC->result = error;
current_SC651kernel/blk_drv/scsi/fdomain.cif (current_SC->scsi_done) current_SC->scsi_done( current_SC );
current_SC669kernel/blk_drv/scsi/fdomain.cif (!in_command || !current_SC) {  /* Spurious interrupt */
current_SC673kernel/blk_drv/scsi/fdomain.cif (current_SC->SCp.phase & aborted) {
current_SC675kernel/blk_drv/scsi/fdomain.cif (current_SC->SCp.phase & (in_other || disconnect))
current_SC677kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.phase & in_other
current_SC679kernel/blk_drv/scsi/fdomain.ccurrent_SC->result );
current_SC682kernel/blk_drv/scsi/fdomain.ccurrent_SC->result );
current_SC685kernel/blk_drv/scsi/fdomain.cif (current_SC->SCp.phase & (in_other || disconnect)) {
current_SC689kernel/blk_drv/scsi/fdomain.cmy_done( current_SC->result << 16 );
current_SC695kernel/blk_drv/scsi/fdomain.cif (current_SC->SCp.phase & disconnect) {
current_SC697kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.phase = in_other;
current_SC706kernel/blk_drv/scsi/fdomain.cif (current_SC->SCp.phase & in_arbitration) {
current_SC715kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.phase = in_selection;
current_SC719kernel/blk_drv/scsi/fdomain.coutb( 0x40 | (1 << current_SC->target), SCSI_Data_NoACK_port );
current_SC731kernel/blk_drv/scsi/fdomain.c} else if (current_SC->SCp.phase & in_selection) {
current_SC735kernel/blk_drv/scsi/fdomain.cif (fdomain_select( current_SC->target )) {
current_SC749kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.phase = in_other;
current_SC761kernel/blk_drv/scsi/fdomain.cswitch (current_SC->cmnd[0]) {
current_SC768kernel/blk_drv/scsi/fdomain.cif (data_count > current_SC->SCp.this_residual)
current_SC769kernel/blk_drv/scsi/fdomain.cdata_count = current_SC->SCp.this_residual;
current_SC775kernel/blk_drv/scsi/fdomain.coutb( *current_SC->SCp.ptr++, Write_FIFO_port );
current_SC776kernel/blk_drv/scsi/fdomain.c--current_SC->SCp.this_residual;
current_SC779kernel/blk_drv/scsi/fdomain.coutsw( current_SC->SCp.ptr, data_count, Write_FIFO_port );
current_SC780kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.ptr += 2 * data_count;
current_SC781kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.this_residual -= 2 * data_count;
current_SC784kernel/blk_drv/scsi/fdomain.cif (!current_SC->SCp.this_residual) {
current_SC785kernel/blk_drv/scsi/fdomain.cif (current_SC->SCp.buffers_residual) {
current_SC786kernel/blk_drv/scsi/fdomain.c--current_SC->SCp.buffers_residual;
current_SC787kernel/blk_drv/scsi/fdomain.c++current_SC->SCp.buffer;
current_SC788kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.ptr = current_SC->SCp.buffer->address;
current_SC789kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.this_residual = current_SC->SCp.buffer->length;
current_SC796kernel/blk_drv/scsi/fdomain.cif (!current_SC->SCp.have_data_in) {
current_SC798kernel/blk_drv/scsi/fdomain.c++current_SC->SCp.have_data_in;
current_SC804kernel/blk_drv/scsi/fdomain.cif (data_count > current_SC->SCp.this_residual)
current_SC805kernel/blk_drv/scsi/fdomain.cdata_count = current_SC->SCp.this_residual;
current_SC811kernel/blk_drv/scsi/fdomain.c*current_SC->SCp.ptr++ = inb( Read_FIFO_port );
current_SC812kernel/blk_drv/scsi/fdomain.c--current_SC->SCp.this_residual;
current_SC815kernel/blk_drv/scsi/fdomain.cinsw( current_SC->SCp.ptr, data_count, Read_FIFO_port );
current_SC816kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.ptr += 2 * data_count;
current_SC817kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.this_residual -= 2 * data_count;
current_SC820kernel/blk_drv/scsi/fdomain.cif (!current_SC->SCp.this_residual && current_SC->SCp.buffers_residual) {
current_SC821kernel/blk_drv/scsi/fdomain.c--current_SC->SCp.buffers_residual;
current_SC822kernel/blk_drv/scsi/fdomain.c++current_SC->SCp.buffer;
current_SC823kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.ptr = current_SC->SCp.buffer->address;
current_SC824kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.this_residual = current_SC->SCp.buffer->length;
current_SC838kernel/blk_drv/scsi/fdomain.cif (!current_SC->SCp.sent_command) {
current_SC841kernel/blk_drv/scsi/fdomain.c++current_SC->SCp.sent_command;
current_SC843kernel/blk_drv/scsi/fdomain.cfor (i = 0; i < COMMAND_SIZE( current_SC->cmnd[0] ); i++) {
current_SC844kernel/blk_drv/scsi/fdomain.coutb( current_SC->cmnd[i], Write_SCSI_Data_port );
current_SC846kernel/blk_drv/scsi/fdomain.cprintk( "CMD = %x,", current_SC->cmnd[i] );
current_SC851kernel/blk_drv/scsi/fdomain.coutb( current_SC->cmnd[current_SC->SCp.sent_command++],
current_SC855kernel/blk_drv/scsi/fdomain.ccurrent_SC->cmnd[ current_SC->SCp.sent_command - 1] );
current_SC861kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.Status = inb( Read_SCSI_Data_port );
current_SC863kernel/blk_drv/scsi/fdomain.cprintk( "Status = %x, ", current_SC->SCp.Status );
current_SC866kernel/blk_drv/scsi/fdomain.cif (current_SC->SCp.Status && current_SC->SCp.Status != 2) {
current_SC868kernel/blk_drv/scsi/fdomain.ccurrent_SC->target, current_SC->cmnd[0], current_SC->SCp.Status );
current_SC874kernel/blk_drv/scsi/fdomain.cif (!(current_SC->SCp.phase & sent_ident)) {
current_SC880kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.phase |= sent_ident;
current_SC887kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.Message = inb( Read_SCSI_Data_port );
current_SC889kernel/blk_drv/scsi/fdomain.cprintk( "Message = %x, ", current_SC->SCp.Message );
current_SC891kernel/blk_drv/scsi/fdomain.cif (!current_SC->SCp.Message) ++done;
current_SC893kernel/blk_drv/scsi/fdomain.cif (current_SC->SCp.Message == DISCONNECT) {
current_SC895kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.phase = disconnect;
current_SC899kernel/blk_drv/scsi/fdomain.cif (current_SC->SCp.Message) {
current_SC901kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.Message );
current_SC913kernel/blk_drv/scsi/fdomain.cif (current_SC->SCp.have_data_in) {
current_SC915kernel/blk_drv/scsi/fdomain.cif (data_count > current_SC->SCp.this_residual)
current_SC916kernel/blk_drv/scsi/fdomain.cdata_count = current_SC->SCp.this_residual;
current_SC923kernel/blk_drv/scsi/fdomain.c*current_SC->SCp.ptr++ = inb( Read_FIFO_port );
current_SC924kernel/blk_drv/scsi/fdomain.c--current_SC->SCp.this_residual;
current_SC927kernel/blk_drv/scsi/fdomain.cinsw( current_SC->SCp.ptr, data_count, Read_FIFO_port );
current_SC928kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.this_residual -= 2 * data_count;
current_SC932kernel/blk_drv/scsi/fdomain.cif (!current_SC->SCp.this_residual
current_SC933kernel/blk_drv/scsi/fdomain.c&& current_SC->SCp.buffers_residual) {
current_SC935kernel/blk_drv/scsi/fdomain.c--current_SC->SCp.buffers_residual;
current_SC936kernel/blk_drv/scsi/fdomain.c++current_SC->SCp.buffer;
current_SC937kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.ptr = current_SC->SCp.buffer->address;
current_SC938kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.this_residual = current_SC->SCp.buffer->length;
current_SC947kernel/blk_drv/scsi/fdomain.cif (current_SC->cmnd[0] == REQUEST_SENSE && !current_SC->SCp.Status) {
current_SC948kernel/blk_drv/scsi/fdomain.cif ((unsigned char)(*((char *)current_SC->request_buffer + 2)) & 0x0f) {
current_SC952kernel/blk_drv/scsi/fdomain.ckey = (unsigned char)(*((char *)current_SC->request_buffer + 2)) & 0x0f;
current_SC953kernel/blk_drv/scsi/fdomain.ccode = (unsigned char)(*((char *)current_SC->request_buffer + 12));
current_SC966kernel/blk_drv/scsi/fdomain.cmy_done( (current_SC->SCp.Status & 0xff) | ((current_SC->SCp.Message & 0xff) << 8) | (DID_OK << 16) );
current_SC972kernel/blk_drv/scsi/fdomain.cif (current_SC->SCp.phase & disconnect) {
current_SC998kernel/blk_drv/scsi/fdomain.ccurrent_SC            = SCpnt; /* Save this for the done function */
current_SC999kernel/blk_drv/scsi/fdomain.ccurrent_SC->scsi_done = done;
current_SC1003kernel/blk_drv/scsi/fdomain.cif (current_SC->use_sg) {
current_SC1004kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.buffer =
current_SC1005kernel/blk_drv/scsi/fdomain.c(struct scatterlist *)current_SC->request_buffer;
current_SC1006kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.ptr              = current_SC->SCp.buffer->address;
current_SC1007kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.this_residual    = current_SC->SCp.buffer->length;
current_SC1008kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.buffers_residual = current_SC->use_sg - 1;
current_SC1010kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.ptr              = current_SC->request_buffer;
current_SC1011kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.this_residual    = current_SC->request_bufflen;
current_SC1012kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.buffer           = NULL;
current_SC1013kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.buffers_residual = 0;
current_SC1017kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.Status              = 0;
current_SC1018kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.Message             = 0;
current_SC1019kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.have_data_in        = 0;
current_SC1020kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.sent_command        = 0;
current_SC1021kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.phase               = in_arbitration;
current_SC1052kernel/blk_drv/scsi/fdomain.ccurrent_SC = SCpnt;
current_SC1075kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.phase = non_queueing;
current_SC1100kernel/blk_drv/scsi/fdomain.c&& !done && !(current_SC->SCp.phase & aborted)
current_SC1180kernel/blk_drv/scsi/fdomain.cif (current_SC->SCp.phase & aborted) {
current_SC1232kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.phase,
current_SC1233kernel/blk_drv/scsi/fdomain.ccurrent_SC->target,
current_SC1234kernel/blk_drv/scsi/fdomain.c*(unsigned char *)current_SC->cmnd,
current_SC1235kernel/blk_drv/scsi/fdomain.ccurrent_SC->use_sg,
current_SC1236kernel/blk_drv/scsi/fdomain.ccurrent_SC->request_bufflen );
current_SC1263kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.phase |= aborted;
current_SC1265kernel/blk_drv/scsi/fdomain.ccurrent_SC->result = code ? code : DID_ABORT;