tag | line | file | source code |
ecb | 65 | drivers/scsi/aha1740.c | static struct ecb ecb[AHA1740_ECBS]; /* One for each queued operation */ |
ecb | 182 | drivers/scsi/aha1740.c | struct ecb *ecbptr; |
ecb | 191 | drivers/scsi/aha1740.c | ecbptr = (struct ecb *) bus_to_virt(inl(MBOXIN0)); |
ecb | 229 | drivers/scsi/aha1740.c | memset(ecbptr,0,sizeof(struct ecb)); |
ecb | 296 | drivers/scsi/aha1740.c | if( ! ecb[ecbno].cmdw ) |
ecb | 302 | drivers/scsi/aha1740.c | if( ecb[ecbno].cmdw ) |
ecb | 305 | drivers/scsi/aha1740.c | ecb[ecbno].cmdw = AHA1740CMD_INIT; /* SCSI Initiator Command doubles as reserved flag */ |
ecb | 314 | drivers/scsi/aha1740.c | ecb[ecbno].cdblen = SCpnt->cmd_len; /* SCSI Command Descriptor Block Length */ |
ecb | 322 | drivers/scsi/aha1740.c | memcpy(ecb[ecbno].cdb, cmd, ecb[ecbno].cdblen); |
ecb | 332 | drivers/scsi/aha1740.c | ecb[ecbno].sg = 1; /* SCSI Initiator Command w/scatter-gather*/ |
ecb | 342 | drivers/scsi/aha1740.c | ecb[ecbno].datalen = SCpnt->use_sg * sizeof(struct aha1740_chain); |
ecb | 343 | drivers/scsi/aha1740.c | ecb[ecbno].dataptr = (long) cptr; |
ecb | 353 | drivers/scsi/aha1740.c | ecb[ecbno].datalen = bufflen; |
ecb | 354 | drivers/scsi/aha1740.c | ecb[ecbno].dataptr = (long) buff; |
ecb | 356 | drivers/scsi/aha1740.c | ecb[ecbno].lun = SCpnt->lun; |
ecb | 357 | drivers/scsi/aha1740.c | ecb[ecbno].ses = 1; /* Suppress underrun errors */ |
ecb | 358 | drivers/scsi/aha1740.c | ecb[ecbno].dir= direction; |
ecb | 359 | drivers/scsi/aha1740.c | ecb[ecbno].ars=1; /* Yes, get the sense on an error */ |
ecb | 360 | drivers/scsi/aha1740.c | ecb[ecbno].senselen = 12; |
ecb | 361 | drivers/scsi/aha1740.c | ecb[ecbno].senseptr = (long) ecb[ecbno].sense; |
ecb | 362 | drivers/scsi/aha1740.c | ecb[ecbno].statusptr = (long) ecb[ecbno].status; |
ecb | 363 | drivers/scsi/aha1740.c | ecb[ecbno].done = done; |
ecb | 364 | drivers/scsi/aha1740.c | ecb[ecbno].SCpnt = SCpnt; |
ecb | 369 | drivers/scsi/aha1740.c | for (i = 0; i < sizeof(ecb[ecbno])-10; i++) |
ecb | 370 | drivers/scsi/aha1740.c | printk("%02x ", ((unchar *)&ecb[ecbno])[i]); |
ecb | 395 | drivers/scsi/aha1740.c | outl(virt_to_bus(ecb+ecbno), MBOXOUT0); |
ecb | 445 | drivers/scsi/aha1740.c | memset(&ecb, 0, sizeof(struct ecb)); |