tag | line | file | source code |
in2000_datalen | 116 | drivers/scsi/in2000.c | static int in2000_datalen; |
in2000_datalen | 187 | drivers/scsi/in2000.c | if ( count > in2000_datalen ) |
in2000_datalen | 188 | drivers/scsi/in2000.c | count = in2000_datalen; /* limit to actual data on hand */ |
in2000_datalen | 193 | drivers/scsi/in2000.c | in2000_datalen -= (count<<1); |
in2000_datalen | 199 | drivers/scsi/in2000.c | in2000_datalen -= 2; |
in2000_datalen | 202 | drivers/scsi/in2000.c | } while((in2000_datalen > 0) && ((infcnt = (inb(INFCNT)) & 0xfe) >= 0x20) ); |
in2000_datalen | 204 | drivers/scsi/in2000.c | if( !in2000_datalen && ++in2000_current_segment < in2000_nsegment) |
in2000_datalen | 207 | drivers/scsi/in2000.c | in2000_datalen = in2000_scatter->length; |
in2000_datalen | 210 | drivers/scsi/in2000.c | if ( in2000_datalen <= 0 ) |
in2000_datalen | 229 | drivers/scsi/in2000.c | DEB(printk("FIir:%d %02x %08x\n", in2000_datalen,fic,(unsigned int )in2000_dataptr)); |
in2000_datalen | 232 | drivers/scsi/in2000.c | DEB(printk("FIr:%d %02x %08x %08x\n", in2000_datalen,fic,count2,(unsigned int)in2000_dataptr)); |
in2000_datalen | 237 | drivers/scsi/in2000.c | else if ( count2 < in2000_datalen ) /* if drive has < what we want */ |
in2000_datalen | 238 | drivers/scsi/in2000.c | count = in2000_datalen - count2; /* FIFO has the rest */ |
in2000_datalen | 239 | drivers/scsi/in2000.c | if ( count > in2000_datalen ) /* count2 is lesser of FIFO & rqst */ |
in2000_datalen | 240 | drivers/scsi/in2000.c | count2 = in2000_datalen >> 1; /* converted to word count */ |
in2000_datalen | 248 | drivers/scsi/in2000.c | in2000_datalen -= (count2<<1); |
in2000_datalen | 254 | drivers/scsi/in2000.c | in2000_datalen -=2; |
in2000_datalen | 257 | drivers/scsi/in2000.c | } while((in2000_datalen > 0) && (fic = inb(INFCNT)) ); |
in2000_datalen | 258 | drivers/scsi/in2000.c | DEB(printk("FIer:%d %02x %08x\n", in2000_datalen,fic,(unsigned int )in2000_dataptr)); |
in2000_datalen | 261 | drivers/scsi/in2000.c | if( !in2000_datalen && ++in2000_current_segment < in2000_nsegment) |
in2000_datalen | 264 | drivers/scsi/in2000.c | in2000_datalen = in2000_scatter->length; |
in2000_datalen | 267 | drivers/scsi/in2000.c | if ( ! in2000_datalen ){ |
in2000_datalen | 279 | drivers/scsi/in2000.c | DEB(printk("INT:%d %02x %08x\n", in2000_datalen, inb(INFCNT),(unsigned int)in2000_dataptr)); |
in2000_datalen | 295 | drivers/scsi/in2000.c | if ( in2000_datalen ) /* data xfer pending */ |
in2000_datalen | 299 | drivers/scsi/in2000.c | in2000_datalen); |
in2000_datalen | 388 | drivers/scsi/in2000.c | in2000_datalen = 0; |
in2000_datalen | 496 | drivers/scsi/in2000.c | in2000_datalen = in2000_scatter->length; |
in2000_datalen | 500 | drivers/scsi/in2000.c | in2000_datalen = bufflen; |
in2000_datalen | 536 | drivers/scsi/in2000.c | if(in2000_datalen > 0) in2000_datalen-=2; |
in2000_datalen | 545 | drivers/scsi/in2000.c | if ( in2000_datalen ) /* if data xfer cmd */ |