tag | line | file | source code |
ecb | 53 | kernel/blk_drv/scsi/aha1740.c | static struct ecb ecb[AHA1740_ECBS]; /* One for each queued operation */ |
ecb | 176 | kernel/blk_drv/scsi/aha1740.c | struct ecb *ecbptr; |
ecb | 214 | kernel/blk_drv/scsi/aha1740.c | memset(ecbptr,0,sizeof(struct ecb)); |
ecb | 280 | kernel/blk_drv/scsi/aha1740.c | if( ! ecb[ecbno].cmdw ) |
ecb | 286 | kernel/blk_drv/scsi/aha1740.c | if( ecb[ecbno].cmdw ) |
ecb | 289 | kernel/blk_drv/scsi/aha1740.c | ecb[ecbno].cmdw = AHA1740CMD_INIT; /* SCSI Initiator Command doubles as reserved flag */ |
ecb | 298 | kernel/blk_drv/scsi/aha1740.c | ecb[ecbno].cdblen = COMMAND_SIZE(*cmd); /* SCSI Command Descriptor Block Length */ |
ecb | 306 | kernel/blk_drv/scsi/aha1740.c | memcpy(ecb[ecbno].cdb, cmd, ecb[ecbno].cdblen); |
ecb | 316 | kernel/blk_drv/scsi/aha1740.c | ecb[ecbno].sg = 1; /* SCSI Initiator Command w/scatter-gather*/ |
ecb | 326 | kernel/blk_drv/scsi/aha1740.c | ecb[ecbno].datalen = SCpnt->use_sg * sizeof(struct aha1740_chain); |
ecb | 327 | kernel/blk_drv/scsi/aha1740.c | ecb[ecbno].dataptr = (long) cptr; |
ecb | 337 | kernel/blk_drv/scsi/aha1740.c | ecb[ecbno].datalen = bufflen; |
ecb | 338 | kernel/blk_drv/scsi/aha1740.c | ecb[ecbno].dataptr = (long) buff; |
ecb | 340 | kernel/blk_drv/scsi/aha1740.c | ecb[ecbno].lun = SCpnt->lun; |
ecb | 341 | kernel/blk_drv/scsi/aha1740.c | ecb[ecbno].ses = 1; /* Suppress underrun errors */ |
ecb | 342 | kernel/blk_drv/scsi/aha1740.c | ecb[ecbno].dir= direction; |
ecb | 343 | kernel/blk_drv/scsi/aha1740.c | ecb[ecbno].ars=1; /* Yes, get the sense on an error */ |
ecb | 344 | kernel/blk_drv/scsi/aha1740.c | ecb[ecbno].senselen = 12; |
ecb | 345 | kernel/blk_drv/scsi/aha1740.c | ecb[ecbno].senseptr = (long) ecb[ecbno].sense; |
ecb | 346 | kernel/blk_drv/scsi/aha1740.c | ecb[ecbno].statusptr = (long) ecb[ecbno].status; |
ecb | 347 | kernel/blk_drv/scsi/aha1740.c | ecb[ecbno].done = done; |
ecb | 348 | kernel/blk_drv/scsi/aha1740.c | ecb[ecbno].SCpnt = SCpnt; |
ecb | 353 | kernel/blk_drv/scsi/aha1740.c | for (i = 0; i < sizeof(ecb[ecbno])-10; i++) |
ecb | 354 | kernel/blk_drv/scsi/aha1740.c | printk("%02x ", ((unchar *)&ecb[ecbno])[i]); |
ecb | 378 | kernel/blk_drv/scsi/aha1740.c | adrs = (ulong) &(ecb[ecbno]); /* Spit the command */ |
ecb | 429 | kernel/blk_drv/scsi/aha1740.c | memset(ecb,0,sizeof(ecb)); |