• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/scsi/aic7xxx/

Lines Matching refs:hscb

425 		struct hardware_scb *hscb;
455 hscb = scb->hscb;
472 ahc_set_scsi_status(scb, hscb->shared_data.status.scsi_status);
473 switch (hscb->shared_data.status.scsi_status) {
490 scb->hscb->tag);
504 sc = (struct scsi_sense *)(&hscb->shared_data.cdb);
540 hscb->control = 0;
557 hscb->control |= MK_MESSAGE;
561 hscb->cdb_len = sizeof(*sc);
562 hscb->dataptr = sg->addr;
563 hscb->datacnt = sg->len;
564 hscb->sgptr = scb->sg_list_phys | SG_FULL_RESID;
565 hscb->sgptr = ahc_htole32(hscb->sgptr);
823 scb->hscb->tag);
891 SCB_GET_LUN(scb), scb->hscb->tag,
1254 tag = scb->hscb->tag;
1257 scb->hscb->tag, tag == SCB_LIST_NULL ?
1345 if ((scb->hscb->control & TAG_ENB) != 0)
1346 tag = scb->hscb->tag;
1526 struct hardware_scb *hscb = scb->hscb;
1530 hscb->control,
1531 hscb->scsiid,
1532 hscb->lun,
1533 hscb->cdb_len);
1535 for (i = 0; i < sizeof(hscb->shared_data.cdb); i++)
1536 printf("%#02x", hscb->shared_data.cdb[i]);
1538 ahc_le32toh(hscb->dataptr),
1539 ahc_le32toh(hscb->datacnt),
1540 ahc_le32toh(hscb->sgptr),
1541 hscb->tag);
2116 pending_hscb = pending_scb->hscb;
2155 pending_hscb = pending_scb->hscb;
2249 our_id = SCSIID_OUR_ID(scb->hscb->scsiid);
2293 if ((scb->hscb->control & DISCENB) != 0)
2298 if ((scb->hscb->control & TAG_ENB) != 0) {
2300 scb->hscb->control & (TAG_ENB|SCB_TAG_TYPE);
2301 ahc->msgout_buf[ahc->msgout_index++] = scb->hscb->tag;
2320 if ((scb->hscb->control & TAG_ENB) != 0)
2327 (scb->hscb->control & TAG_ENB) != 0 ? " Tag" : "");
2341 printf("SCSIID = %x, target_mask = %x\n", scb->hscb->scsiid,
2344 "SCB flags = %x", scb->hscb->tag, scb->hscb->control,
2353 scb->hscb->control &= ~MK_MESSAGE;
3480 } else if ((scb->hscb->control & MSG_SIMPLE_TASK) != 0) {
3484 tag_type = (scb->hscb->control & MSG_SIMPLE_TASK);
3508 scb->hscb->control &= mask;
3526 ahc_busy_tcl(ahc, BUILD_TCL(scb->hscb->scsiid, devinfo->lun),
3527 scb->hscb->tag);
4428 next_scb->hscb = &scb_data->hscbs[scb_data->numscbs];
4429 next_scb->hscb->tag = ahc->scb_data->numscbs;
4631 ahc_outb(ahc, NEXT_QUEUED_SCB, ahc->next_queued_scb->hscb->tag);
5167 && ((tag == scb->hscb->tag)
5175 match = ((tag == scb->hscb->tag) || (tag == SCB_LIST_NULL));
5227 ahc_outb(ahc, NEXT_QUEUED_SCB, scb->hscb->tag);
5229 prev_scb->hscb->next = scb->hscb->tag;
5233 ahc->qinfifo[ahc->qinfifonext++] = scb->hscb->tag;
5234 scb->hscb->next = ahc->next_queued_scb->hscb->tag;
5293 ahc_outb(ahc, NEXT_QUEUED_SCB, ahc->next_queued_scb->hscb->tag);
5374 next = scb->hscb->next;
5375 ahc->scb_data->scbindex[scb->hscb->tag] = NULL;
5377 scb->hscb->next = next;
5378 ahc->qinfifo[qinstart] = scb->hscb->tag;
5381 ahc_outb(ahc, NEXT_QUEUED_SCB, scb->hscb->tag);
5386 scb->hscb->next = ahc->next_queued_scb->hscb->tag;
6038 struct hardware_scb *hscb;
6060 hscb = scb->hscb;
6061 sgptr = ahc_le32toh(hscb->sgptr);
6071 spkt = &hscb->shared_data.status;
6613 printf("Kernel NEXTQSCB = %d\n", ahc->next_queued_scb->hscb->tag);
6686 cur_col = printf("\n%3d ", scb->hscb->tag);
6687 ahc_scb_control_print(scb->hscb->control, &cur_col, 60);
6688 ahc_scb_scsiid_print(scb->hscb->scsiid, &cur_col, 60);
6689 ahc_scb_lun_print(scb->hscb->lun, &cur_col, 60);
6691 ahc_outb(ahc, SCBPTR, scb->hscb->tag);
6706 printf("%d ", scb->hscb->tag);
6720 printf("%d ", scb->hscb->tag);