tag | line | file | source code |
ecb | 59 | drivers/scsi/aha1740.c | static struct ecb ecb[AHA1740_ECBS]; /* One for each queued operation */ |
ecb | 176 | drivers/scsi/aha1740.c | struct ecb *ecbptr; |
ecb | 185 | drivers/scsi/aha1740.c | ecbptr = (struct ecb *) bus_to_virt(inl(MBOXIN0)); |
ecb | 223 | drivers/scsi/aha1740.c | memset(ecbptr,0,sizeof(struct ecb)); |
ecb | 290 | drivers/scsi/aha1740.c | if( ! ecb[ecbno].cmdw ) |
ecb | 296 | drivers/scsi/aha1740.c | if( ecb[ecbno].cmdw ) |
ecb | 299 | drivers/scsi/aha1740.c | ecb[ecbno].cmdw = AHA1740CMD_INIT; /* SCSI Initiator Command doubles as reserved flag */ |
ecb | 308 | drivers/scsi/aha1740.c | ecb[ecbno].cdblen = SCpnt->cmd_len; /* SCSI Command Descriptor Block Length */ |
ecb | 316 | drivers/scsi/aha1740.c | memcpy(ecb[ecbno].cdb, cmd, ecb[ecbno].cdblen); |
ecb | 326 | drivers/scsi/aha1740.c | ecb[ecbno].sg = 1; /* SCSI Initiator Command w/scatter-gather*/ |
ecb | 336 | drivers/scsi/aha1740.c | ecb[ecbno].datalen = SCpnt->use_sg * sizeof(struct aha1740_chain); |
ecb | 337 | drivers/scsi/aha1740.c | ecb[ecbno].dataptr = (long) cptr; |
ecb | 347 | drivers/scsi/aha1740.c | ecb[ecbno].datalen = bufflen; |
ecb | 348 | drivers/scsi/aha1740.c | ecb[ecbno].dataptr = (long) buff; |
ecb | 350 | drivers/scsi/aha1740.c | ecb[ecbno].lun = SCpnt->lun; |
ecb | 351 | drivers/scsi/aha1740.c | ecb[ecbno].ses = 1; /* Suppress underrun errors */ |
ecb | 352 | drivers/scsi/aha1740.c | ecb[ecbno].dir= direction; |
ecb | 353 | drivers/scsi/aha1740.c | ecb[ecbno].ars=1; /* Yes, get the sense on an error */ |
ecb | 354 | drivers/scsi/aha1740.c | ecb[ecbno].senselen = 12; |
ecb | 355 | drivers/scsi/aha1740.c | ecb[ecbno].senseptr = (long) ecb[ecbno].sense; |
ecb | 356 | drivers/scsi/aha1740.c | ecb[ecbno].statusptr = (long) ecb[ecbno].status; |
ecb | 357 | drivers/scsi/aha1740.c | ecb[ecbno].done = done; |
ecb | 358 | drivers/scsi/aha1740.c | ecb[ecbno].SCpnt = SCpnt; |
ecb | 363 | drivers/scsi/aha1740.c | for (i = 0; i < sizeof(ecb[ecbno])-10; i++) |
ecb | 364 | drivers/scsi/aha1740.c | printk("%02x ", ((unchar *)&ecb[ecbno])[i]); |
ecb | 389 | drivers/scsi/aha1740.c | outl(virt_to_bus(ecb+ecbno), MBOXOUT0); |
ecb | 437 | drivers/scsi/aha1740.c | memset(&ecb, 0, sizeof(struct ecb)); |