tag | line | file | source code |
ecb | 54 | drivers/scsi/aha1740.c | static struct ecb ecb[AHA1740_ECBS]; /* One for each queued operation */ |
ecb | 177 | drivers/scsi/aha1740.c | struct ecb *ecbptr; |
ecb | 193 | drivers/scsi/aha1740.c | ecbptr = (struct ecb *) ( ((ulong) inb(MBOXIN0)) + |
ecb | 215 | drivers/scsi/aha1740.c | memset(ecbptr,0,sizeof(struct ecb)); |
ecb | 281 | drivers/scsi/aha1740.c | if( ! ecb[ecbno].cmdw ) |
ecb | 287 | drivers/scsi/aha1740.c | if( ecb[ecbno].cmdw ) |
ecb | 290 | drivers/scsi/aha1740.c | ecb[ecbno].cmdw = AHA1740CMD_INIT; /* SCSI Initiator Command doubles as reserved flag */ |
ecb | 299 | drivers/scsi/aha1740.c | ecb[ecbno].cdblen = COMMAND_SIZE(*cmd); /* SCSI Command Descriptor Block Length */ |
ecb | 307 | drivers/scsi/aha1740.c | memcpy(ecb[ecbno].cdb, cmd, ecb[ecbno].cdblen); |
ecb | 317 | drivers/scsi/aha1740.c | ecb[ecbno].sg = 1; /* SCSI Initiator Command w/scatter-gather*/ |
ecb | 327 | drivers/scsi/aha1740.c | ecb[ecbno].datalen = SCpnt->use_sg * sizeof(struct aha1740_chain); |
ecb | 328 | drivers/scsi/aha1740.c | ecb[ecbno].dataptr = (long) cptr; |
ecb | 338 | drivers/scsi/aha1740.c | ecb[ecbno].datalen = bufflen; |
ecb | 339 | drivers/scsi/aha1740.c | ecb[ecbno].dataptr = (long) buff; |
ecb | 341 | drivers/scsi/aha1740.c | ecb[ecbno].lun = SCpnt->lun; |
ecb | 342 | drivers/scsi/aha1740.c | ecb[ecbno].ses = 1; /* Suppress underrun errors */ |
ecb | 343 | drivers/scsi/aha1740.c | ecb[ecbno].dir= direction; |
ecb | 344 | drivers/scsi/aha1740.c | ecb[ecbno].ars=1; /* Yes, get the sense on an error */ |
ecb | 345 | drivers/scsi/aha1740.c | ecb[ecbno].senselen = 12; |
ecb | 346 | drivers/scsi/aha1740.c | ecb[ecbno].senseptr = (long) ecb[ecbno].sense; |
ecb | 347 | drivers/scsi/aha1740.c | ecb[ecbno].statusptr = (long) ecb[ecbno].status; |
ecb | 348 | drivers/scsi/aha1740.c | ecb[ecbno].done = done; |
ecb | 349 | drivers/scsi/aha1740.c | ecb[ecbno].SCpnt = SCpnt; |
ecb | 354 | drivers/scsi/aha1740.c | for (i = 0; i < sizeof(ecb[ecbno])-10; i++) |
ecb | 355 | drivers/scsi/aha1740.c | printk("%02x ", ((unchar *)&ecb[ecbno])[i]); |
ecb | 379 | drivers/scsi/aha1740.c | adrs = (ulong) &(ecb[ecbno]); /* Spit the command */ |
ecb | 430 | drivers/scsi/aha1740.c | memset(&ecb, 0, sizeof(struct ecb)); |