tag | line | file | source code |
in2000_datalen | 110 | drivers/scsi/in2000.c | static int in2000_datalen; |
in2000_datalen | 181 | drivers/scsi/in2000.c | if ( count > in2000_datalen ) |
in2000_datalen | 182 | drivers/scsi/in2000.c | count = in2000_datalen; /* limit to actual data on hand */ |
in2000_datalen | 187 | drivers/scsi/in2000.c | in2000_datalen -= (count<<1); |
in2000_datalen | 193 | drivers/scsi/in2000.c | in2000_datalen -= 2; |
in2000_datalen | 196 | drivers/scsi/in2000.c | } while((in2000_datalen > 0) && ((infcnt = (inb(INFCNT)) & 0xfe) >= 0x20) ); |
in2000_datalen | 198 | drivers/scsi/in2000.c | if( !in2000_datalen && in2000_current_segment < in2000_nsegment) |
in2000_datalen | 202 | drivers/scsi/in2000.c | in2000_datalen = in2000_scatter->length; |
in2000_datalen | 205 | drivers/scsi/in2000.c | if ( in2000_datalen <= 0 ) |
in2000_datalen | 224 | drivers/scsi/in2000.c | DEB(printk("FIir:%d %02x %08x\n", in2000_datalen,fic,(unsigned int )in2000_dataptr)); |
in2000_datalen | 227 | drivers/scsi/in2000.c | DEB(printk("FIr:%d %02x %08x %08x\n", in2000_datalen,fic,count2,(unsigned int)in2000_dataptr)); |
in2000_datalen | 232 | drivers/scsi/in2000.c | else if ( count2 < in2000_datalen ) /* if drive has < what we want */ |
in2000_datalen | 233 | drivers/scsi/in2000.c | count = in2000_datalen - count2; /* FIFO has the rest */ |
in2000_datalen | 234 | drivers/scsi/in2000.c | if ( count > in2000_datalen ) /* count2 is lesser of FIFO & rqst */ |
in2000_datalen | 235 | drivers/scsi/in2000.c | count2 = in2000_datalen >> 1; /* converted to word count */ |
in2000_datalen | 243 | drivers/scsi/in2000.c | in2000_datalen -= (count2<<1); |
in2000_datalen | 249 | drivers/scsi/in2000.c | in2000_datalen -=2; |
in2000_datalen | 252 | drivers/scsi/in2000.c | } while((in2000_datalen > 0) && (fic = inb(INFCNT)) ); |
in2000_datalen | 253 | drivers/scsi/in2000.c | DEB(printk("FIer:%d %02x %08x\n", in2000_datalen,fic,(unsigned int )in2000_dataptr)); |
in2000_datalen | 256 | drivers/scsi/in2000.c | if( !in2000_datalen && in2000_current_segment < in2000_nsegment) |
in2000_datalen | 260 | drivers/scsi/in2000.c | in2000_datalen = in2000_scatter->length; |
in2000_datalen | 263 | drivers/scsi/in2000.c | if ( ! in2000_datalen ){ |
in2000_datalen | 275 | drivers/scsi/in2000.c | DEB(printk("INT:%d %02x %08x\n", in2000_datalen, inb(INFCNT),(unsigned int)in2000_dataptr)); |
in2000_datalen | 291 | drivers/scsi/in2000.c | if ( in2000_datalen && in2000_dataptr ) /* data xfer pending */ |
in2000_datalen | 381 | drivers/scsi/in2000.c | in2000_datalen = 0; |
in2000_datalen | 488 | drivers/scsi/in2000.c | in2000_datalen = in2000_scatter->length; |
in2000_datalen | 492 | drivers/scsi/in2000.c | in2000_datalen = bufflen; |
in2000_datalen | 527 | drivers/scsi/in2000.c | if(in2000_datalen > 0) in2000_datalen-=2; |
in2000_datalen | 536 | drivers/scsi/in2000.c | if ( in2000_datalen ) /* if data xfer cmd */ |