tag | line | file | source code |
ccb | 102 | drivers/scsi/aha1542.c | struct ccb ccb[AHA1542_MAILBOXES]; |
ccb | 363 | drivers/scsi/aha1542.c | struct ccb *ccb; |
ccb | 369 | drivers/scsi/aha1542.c | ccb = HOSTDATA(shost)->ccb; |
ccb | 426 | drivers/scsi/aha1542.c | mbo = (scsi2int(mb[mbi].ccbptr) - ((unsigned int) &ccb[0])) / sizeof(struct ccb); |
ccb | 434 | drivers/scsi/aha1542.c | if (ccb[mbo].tarstat|ccb[mbo].hastat) |
ccb | 436 | drivers/scsi/aha1542.c | ccb[mbo].tarstat + ((int) ccb[mbo].hastat << 16), mb[mbi].status); |
ccb | 450 | drivers/scsi/aha1542.c | printk("tarstat=%x, hastat=%x idlun=%x ccb#=%d \n", ccb[mbo].tarstat, |
ccb | 451 | drivers/scsi/aha1542.c | ccb[mbo].hastat, ccb[mbo].idlun, mbo); |
ccb | 461 | drivers/scsi/aha1542.c | if (ccb[mbo].tarstat == 2) |
ccb | 462 | drivers/scsi/aha1542.c | memcpy(SCtmp->sense_buffer, &ccb[mbo].cdb[ccb[mbo].cdblen], |
ccb | 471 | drivers/scsi/aha1542.c | errstatus = makecode(ccb[mbo].hastat, ccb[mbo].tarstat); |
ccb | 477 | drivers/scsi/aha1542.c | ccb[mbo].hastat, ccb[mbo].tarstat); |
ccb | 480 | drivers/scsi/aha1542.c | if (ccb[mbo].tarstat == 2) { |
ccb | 487 | drivers/scsi/aha1542.c | printk("%02x ", ccb[mbo].cdb[ccb[mbo].cdblen+i]); |
ccb | 518 | drivers/scsi/aha1542.c | struct ccb *ccb; |
ccb | 523 | drivers/scsi/aha1542.c | ccb = HOSTDATA(SCpnt->host)->ccb; |
ccb | 586 | drivers/scsi/aha1542.c | any2scsi(mb[mbo].ccbptr, &ccb[mbo]); /* This gets trashed for some reason*/ |
ccb | 588 | drivers/scsi/aha1542.c | memset(&ccb[mbo], 0, sizeof(struct ccb)); |
ccb | 590 | drivers/scsi/aha1542.c | ccb[mbo].cdblen = SCpnt->cmd_len; |
ccb | 598 | drivers/scsi/aha1542.c | memcpy(ccb[mbo].cdb, cmd, ccb[mbo].cdblen); |
ccb | 607 | drivers/scsi/aha1542.c | ccb[mbo].op = 2; /* SCSI Initiator Command w/scatter-gather*/ |
ccb | 630 | drivers/scsi/aha1542.c | any2scsi(ccb[mbo].datalen, SCpnt->use_sg * sizeof(struct chain)); |
ccb | 631 | drivers/scsi/aha1542.c | any2scsi(ccb[mbo].dataptr, cptr); |
ccb | 638 | drivers/scsi/aha1542.c | ccb[mbo].op = 0; /* SCSI Initiator Command */ |
ccb | 640 | drivers/scsi/aha1542.c | any2scsi(ccb[mbo].datalen, bufflen); |
ccb | 642 | drivers/scsi/aha1542.c | any2scsi(ccb[mbo].dataptr, buff); |
ccb | 644 | drivers/scsi/aha1542.c | ccb[mbo].idlun = (target&7)<<5 | direction | (lun & 7); /*SCSI Target Id*/ |
ccb | 645 | drivers/scsi/aha1542.c | ccb[mbo].rsalen = 12; |
ccb | 646 | drivers/scsi/aha1542.c | ccb[mbo].linkptr[0] = ccb[mbo].linkptr[1] = ccb[mbo].linkptr[2] = 0; |
ccb | 647 | drivers/scsi/aha1542.c | ccb[mbo].commlinkid = 0; |
ccb | 652 | drivers/scsi/aha1542.c | for (i = 0; i < sizeof(ccb[mbo])-10; i++) |
ccb | 653 | drivers/scsi/aha1542.c | printk("%02x ", ((unchar *)&ccb[mbo])[i]); |
ccb | 693 | drivers/scsi/aha1542.c | struct ccb *ccb; |
ccb | 698 | drivers/scsi/aha1542.c | ccb = HOSTDATA(shpnt)->ccb; |
ccb | 702 | drivers/scsi/aha1542.c | any2scsi(mb[i].ccbptr, &ccb[i]); |
ccb | 1183 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->ccb[i].op = 0x81; /* BUS DEVICE RESET */ |
ccb | 178 | drivers/scsi/buslogic.c | struct ccb ccbs[BUSLOGIC_MAILBOXES]; |
ccb | 452 | drivers/scsi/buslogic.c | struct ccb *ccb; |
ccb | 459 | drivers/scsi/buslogic.c | ccb = HOSTDATA(shpnt)->ccbs; |
ccb | 503 | drivers/scsi/buslogic.c | int mbo = (struct ccb *)mb[mbi].ccbptr - ccb; |
ccb | 519 | drivers/scsi/buslogic.c | result = makecode(ccb[mbo].hastat, ccb[mbo].tarstat); |
ccb | 581 | drivers/scsi/buslogic.c | struct ccb *ccb; |
ccb | 665 | drivers/scsi/buslogic.c | ccb = &HOSTDATA(shpnt)->ccbs[mbo]; |
ccb | 668 | drivers/scsi/buslogic.c | mb[mbo].ccbptr = ccb; |
ccb | 670 | drivers/scsi/buslogic.c | memset(ccb, 0, sizeof (struct ccb)); |
ccb | 672 | drivers/scsi/buslogic.c | ccb->cdblen = scpnt->cmd_len; /* SCSI Command Descriptor |
ccb | 681 | drivers/scsi/buslogic.c | memcpy(ccb->cdb, cmd, ccb->cdblen); |
ccb | 688 | drivers/scsi/buslogic.c | ccb->op = CCB_OP_INIT_SG; /* SCSI Initiator Command |
ccb | 709 | drivers/scsi/buslogic.c | ccb->datalen = scpnt->use_sg * sizeof (struct chain); |
ccb | 710 | drivers/scsi/buslogic.c | ccb->dataptr = cptr; |
ccb | 723 | drivers/scsi/buslogic.c | ccb->op = CCB_OP_INIT; /* SCSI Initiator Command */ |
ccb | 726 | drivers/scsi/buslogic.c | ccb->datalen = bufflen; |
ccb | 727 | drivers/scsi/buslogic.c | ccb->dataptr = buff; |
ccb | 729 | drivers/scsi/buslogic.c | ccb->id = target; |
ccb | 730 | drivers/scsi/buslogic.c | ccb->lun = lun; |
ccb | 731 | drivers/scsi/buslogic.c | ccb->dir = direction; |
ccb | 732 | drivers/scsi/buslogic.c | ccb->rsalen = sizeof scpnt->sense_buffer; |
ccb | 733 | drivers/scsi/buslogic.c | ccb->senseptr = scpnt->sense_buffer; |
ccb | 741 | drivers/scsi/buslogic.c | for (i = 0; i < sizeof(struct ccb) - 10; i++) |
ccb | 742 | drivers/scsi/buslogic.c | printk(" %02X", ((unsigned char *)ccb)[i]); |
ccb | 802 | drivers/scsi/buslogic.c | struct ccb *ccb = HOSTDATA(shpnt)->ccbs; |
ccb | 810 | drivers/scsi/buslogic.c | mb[i].ccbptr = &ccb[i]; |
ccb | 167 | drivers/scsi/eata_dma.c | cp = sp->ccb; |
ccb | 321 | drivers/scsi/eata_dma.c | if (hd->ccb[y].status == FREE) |
ccb | 338 | drivers/scsi/eata_dma.c | cp = &hd->ccb[y]; |
ccb | 402 | drivers/scsi/eata_dma.c | cmd->host_scribble = (char *)&hd->ccb[y]; |
ccb | 521 | drivers/scsi/eata_dma.c | if (HD(cmd)->ccb[x].status == FREE) |
ccb | 524 | drivers/scsi/eata_dma.c | if (HD(cmd)->ccb[x].status == LOCKED) { |
ccb | 525 | drivers/scsi/eata_dma.c | HD(cmd)->ccb[x].status = FREE; |
ccb | 530 | drivers/scsi/eata_dma.c | sp = HD(cmd)->ccb[x].cmd; |
ccb | 531 | drivers/scsi/eata_dma.c | HD(cmd)->ccb[x].status = RESET; |
ccb | 564 | drivers/scsi/eata_dma.c | if (HD(cmd)->ccb[x].status != RESET) |
ccb | 567 | drivers/scsi/eata_dma.c | sp = HD(cmd)->ccb[x].cmd; |
ccb | 571 | drivers/scsi/eata_dma.c | HD(cmd)->ccb[x].status = LOCKED; |
ccb | 846 | drivers/scsi/eata_dma.c | memset(hd->ccb, 0, (sizeof(struct eata_ccb) * ntohs(gc->queuesiz)) / |
ccb | 365 | drivers/scsi/eata_dma.h | struct eata_ccb *ccb; /* Address set in COMMAND PACKET */ |
ccb | 386 | drivers/scsi/eata_dma.h | struct eata_ccb ccb[0]; /* ccb array begins here */ |