Lines Matching refs:hscb

436 		struct hardware_scb *hscb;
466 hscb = scb->hscb;
483 aic_set_scsi_status(scb, hscb->shared_data.status.scsi_status);
484 switch (hscb->shared_data.status.scsi_status) {
501 scb->hscb->tag);
515 sc = (struct scsi_sense *)(&hscb->shared_data.cdb);
551 hscb->control = 0;
568 hscb->control |= MK_MESSAGE;
572 hscb->cdb_len = sizeof(*sc);
573 hscb->dataptr = sg->addr;
574 hscb->datacnt = sg->len;
575 hscb->sgptr = scb->sg_list_phys | SG_FULL_RESID;
576 hscb->sgptr = aic_htole32(hscb->sgptr);
839 scb->hscb->tag);
907 SCB_GET_LUN(scb), scb->hscb->tag,
1270 tag = scb->hscb->tag;
1273 scb->hscb->tag, tag == SCB_LIST_NULL ?
1361 if ((scb->hscb->control & TAG_ENB) != 0)
1362 tag = scb->hscb->tag;
1540 struct hardware_scb *hscb = scb->hscb;
1544 hscb->control,
1545 hscb->scsiid,
1546 hscb->lun,
1547 hscb->cdb_len);
1549 for (i = 0; i < sizeof(hscb->shared_data.cdb); i++)
1550 printf("%#02x", hscb->shared_data.cdb[i]);
1552 aic_le32toh(hscb->dataptr),
1553 aic_le32toh(hscb->datacnt),
1554 aic_le32toh(hscb->sgptr),
1555 hscb->tag);
2128 pending_hscb = pending_scb->hscb;
2167 pending_hscb = pending_scb->hscb;
2261 our_id = SCSIID_OUR_ID(scb->hscb->scsiid);
2305 if ((scb->hscb->control & DISCENB) != 0)
2310 if ((scb->hscb->control & TAG_ENB) != 0) {
2312 scb->hscb->control & (TAG_ENB|SCB_TAG_TYPE);
2313 ahc->msgout_buf[ahc->msgout_index++] = scb->hscb->tag;
2332 if ((scb->hscb->control & TAG_ENB) != 0)
2339 (scb->hscb->control & TAG_ENB) != 0 ? " Tag" : "");
2353 printf("SCSIID = %x, target_mask = %x\n", scb->hscb->scsiid,
2356 "SCB flags = %x", scb->hscb->tag, scb->hscb->control,
2365 scb->hscb->control &= ~MK_MESSAGE;
3579 } else if ((scb->hscb->control & MSG_SIMPLE_TASK) != 0) {
3583 tag_type = (scb->hscb->control & MSG_SIMPLE_TASK);
3607 scb->hscb->control &= mask;
3625 ahc_busy_tcl(ahc, BUILD_TCL(scb->hscb->scsiid, devinfo->lun),
3626 scb->hscb->tag);
3662 * Perhaps add datadir to some spare bits in the hscb?
4594 next_scb->hscb = &scb_data->hscbs[scb_data->numscbs];
4595 next_scb->hscb->tag = ahc->scb_data->numscbs;
4799 ahc_outb(ahc, NEXT_QUEUED_SCB, ahc->next_queued_scb->hscb->tag);
5349 && ((tag == scb->hscb->tag)
5357 match = ((tag == scb->hscb->tag) || (tag == SCB_LIST_NULL));
5409 ahc_outb(ahc, NEXT_QUEUED_SCB, scb->hscb->tag);
5411 prev_scb->hscb->next = scb->hscb->tag;
5415 ahc->qinfifo[ahc->qinfifonext++] = scb->hscb->tag;
5416 scb->hscb->next = ahc->next_queued_scb->hscb->tag;
5475 ahc_outb(ahc, NEXT_QUEUED_SCB, ahc->next_queued_scb->hscb->tag);
5556 next = scb->hscb->next;
5557 ahc->scb_data->scbindex[scb->hscb->tag] = NULL;
5559 scb->hscb->next = next;
5560 ahc->qinfifo[qinstart] = scb->hscb->tag;
5563 ahc_outb(ahc, NEXT_QUEUED_SCB, scb->hscb->tag);
5568 scb->hscb->next = ahc->next_queued_scb->hscb->tag;
6228 struct hardware_scb *hscb;
6250 hscb = scb->hscb;
6251 sgptr = aic_le32toh(hscb->sgptr);
6261 spkt = &hscb->shared_data.status;
6810 printf("Kernel NEXTQSCB = %d\n", ahc->next_queued_scb->hscb->tag);
6883 cur_col = printf("\n%3d ", scb->hscb->tag);
6884 ahc_scb_control_print(scb->hscb->control, &cur_col, 60);
6885 ahc_scb_scsiid_print(scb->hscb->scsiid, &cur_col, 60);
6886 ahc_scb_lun_print(scb->hscb->lun, &cur_col, 60);
6888 ahc_outb(ahc, SCBPTR, scb->hscb->tag);
6903 printf("%d ", scb->hscb->tag);
6917 printf("%d ", scb->hscb->tag);
7053 printf("SCB 0x%x - timed out\n", scb->hscb->tag);
7137 scb->hscb->tag,
7182 scb->hscb->tag, ROLE_INITIATOR,
7208 scb->hscb->control |= MK_MESSAGE|DISCONNECTED;
7219 lun, scb->hscb->tag,
7232 ahc_outb(ahc, SCBPTR, scb->hscb->tag);
7261 "Flags = 0x%x\n", scb->hscb->tag,