taglinefilesource code
ccb57kernel/blk_drv/scsi/aha1542.cstatic struct ccb ccb[AHA1542_MAILBOXES];
ccb280kernel/blk_drv/scsi/aha1542.cmbo = (scsi2int(mb[mbi].ccbptr) - ((unsigned int) &ccb[0])) / sizeof(struct ccb);
ccb288kernel/blk_drv/scsi/aha1542.cif (ccb[mbo].tarstat|ccb[mbo].hastat)
ccb290kernel/blk_drv/scsi/aha1542.cccb[mbo].tarstat + ((int) ccb[mbo].hastat << 16), mb[mbi].status);
ccb313kernel/blk_drv/scsi/aha1542.cif (ccb[mbo].tarstat == 2)
ccb314kernel/blk_drv/scsi/aha1542.cmemcpy(SCtmp->sense_buffer, &ccb[mbo].cdb[ccb[mbo].cdblen], 
ccb323kernel/blk_drv/scsi/aha1542.cerrstatus = makecode(ccb[mbo].hastat, ccb[mbo].tarstat);
ccb329kernel/blk_drv/scsi/aha1542.cccb[mbo].hastat, ccb[mbo].tarstat);
ccb332kernel/blk_drv/scsi/aha1542.cif (ccb[mbo].tarstat == 2) {
ccb339kernel/blk_drv/scsi/aha1542.cprintk("%02x ", ccb[mbo].cdb[ccb[mbo].cdblen+i]);
ccb432kernel/blk_drv/scsi/aha1542.cmemset(&ccb[mbo], 0, sizeof(struct ccb));
ccb434kernel/blk_drv/scsi/aha1542.cccb[mbo].cdblen = COMMAND_SIZE(*cmd);     /* SCSI Command Descriptor Block Length */
ccb442kernel/blk_drv/scsi/aha1542.cmemcpy(ccb[mbo].cdb, cmd, ccb[mbo].cdblen);
ccb451kernel/blk_drv/scsi/aha1542.cccb[mbo].op = 2;        /* SCSI Initiator Command  w/scatter-gather*/
ccb473kernel/blk_drv/scsi/aha1542.cany2scsi(ccb[mbo].datalen, SCpnt->use_sg * sizeof(struct chain));
ccb474kernel/blk_drv/scsi/aha1542.cany2scsi(ccb[mbo].dataptr, cptr);
ccb481kernel/blk_drv/scsi/aha1542.cccb[mbo].op = 0;        /* SCSI Initiator Command */
ccb483kernel/blk_drv/scsi/aha1542.cany2scsi(ccb[mbo].datalen, bufflen);
ccb484kernel/blk_drv/scsi/aha1542.cany2scsi(ccb[mbo].dataptr, buff);
ccb486kernel/blk_drv/scsi/aha1542.cccb[mbo].idlun = (target&7)<<5 | direction | (lun & 7); /*SCSI Target Id*/
ccb487kernel/blk_drv/scsi/aha1542.cccb[mbo].rsalen = 12;
ccb488kernel/blk_drv/scsi/aha1542.cccb[mbo].linkptr[0] = ccb[mbo].linkptr[1] = ccb[mbo].linkptr[2] = 0;
ccb489kernel/blk_drv/scsi/aha1542.cccb[mbo].commlinkid = 0;
ccb494kernel/blk_drv/scsi/aha1542.cfor (i = 0; i < sizeof(ccb[mbo])-10; i++)
ccb495kernel/blk_drv/scsi/aha1542.cprintk("%02x ", ((unchar *)&ccb[mbo])[i]);
ccb539kernel/blk_drv/scsi/aha1542.cany2scsi(mb[i].ccbptr, &ccb[i]);