Lines Matching refs:hscb

445 		struct hardware_scb *hscb;
475 hscb = scb->hscb;
490 ahc_set_scsi_status(scb, hscb->shared_data.status.scsi_status);
491 switch (hscb->shared_data.status.scsi_status) {
509 scb->hscb->tag);
524 (&hscb->shared_data.cdb);
553 hscb->control = 0;
570 hscb->control |= MK_MESSAGE;
574 hscb->cdb_len = sizeof(*sc);
575 hscb->dataptr = sg->addr;
576 hscb->datacnt = sg->len;
577 hscb->sgptr =
836 scb->hscb->tag);
904 SCB_GET_LUN(scb), scb->hscb->tag,
1260 tag = scb->hscb->tag;
1263 scb->hscb->tag, tag == SCB_LIST_NULL ?
1346 if ((scb->hscb->control & TAG_ENB) != 0)
1347 tag = scb->hscb->tag;
1527 struct hardware_scb *hscb = scb->hscb;
1531 hscb->control,
1532 hscb->scsiid,
1533 hscb->lun,
1534 hscb->cdb_len);
1536 for (i = 0; i < sizeof(hscb->shared_data.cdb); i++)
1537 printf("%#02x", hscb->shared_data.cdb[i]);
1539 ahc_le32toh(hscb->dataptr),
1540 ahc_le32toh(hscb->datacnt),
1541 ahc_le32toh(hscb->sgptr),
1542 hscb->tag);
2110 pending_hscb = pending_scb->hscb;
2149 pending_hscb = pending_scb->hscb;
2243 our_id = SCSIID_OUR_ID(scb->hscb->scsiid);
2287 if ((scb->hscb->control & DISCENB) != 0)
2292 if ((scb->hscb->control & TAG_ENB) != 0) {
2294 scb->hscb->control & (TAG_ENB|SCB_TAG_TYPE);
2295 ahc->msgout_buf[ahc->msgout_index++] = scb->hscb->tag;
2314 if ((scb->hscb->control & TAG_ENB) != 0)
2321 (scb->hscb->control & TAG_ENB) != 0 ? " Tag" : "");
2335 printf("SCSIID = %x, target_mask = %x\n", scb->hscb->scsiid,
2338 "SCB flags = %x", scb->hscb->tag, scb->hscb->control,
2347 scb->hscb->control &= ~MK_MESSAGE;
3482 } else if ((scb->hscb->control & MSG_SIMPLE_TASK) != 0) {
3486 tag_type = (scb->hscb->control & MSG_SIMPLE_TASK);
3515 scb->hscb->control &= mask;
3533 ahc_busy_tcl(ahc, BUILD_TCL(scb->hscb->scsiid, devinfo->lun),
3534 scb->hscb->tag);
3572 * Perhaps add datadir to some spare bits in the hscb?
4244 ahc_outb(ahc, NEXT_QUEUED_SCB, ahc->next_queued_scb->hscb->tag);
4369 next_scb->hscb = &scb_data->hscbs[scb_data->numscbs];
4370 next_scb->hscb->tag = ahc->scb_data->numscbs;
5200 && ((tag == scb->hscb->tag)
5208 match = ((tag == scb->hscb->tag) || (tag == SCB_LIST_NULL));
5261 ahc_outb(ahc, NEXT_QUEUED_SCB, scb->hscb->tag);
5263 prev_scb->hscb->next = scb->hscb->tag;
5267 ahc->qinfifo[ahc->qinfifonext++] = scb->hscb->tag;
5268 scb->hscb->next = ahc->next_queued_scb->hscb->tag;
5327 ahc_outb(ahc, NEXT_QUEUED_SCB, ahc->next_queued_scb->hscb->tag);
5408 next = scb->hscb->next;
5409 ahc->scb_data->scbindex[scb->hscb->tag] = NULL;
5411 scb->hscb->next = next;
5412 ahc->qinfifo[qinstart] = scb->hscb->tag;
5415 ahc_outb(ahc, NEXT_QUEUED_SCB, scb->hscb->tag);
5420 scb->hscb->next = ahc->next_queued_scb->hscb->tag;
6078 struct hardware_scb *hscb;
6100 hscb = scb->hscb;
6101 sgptr = ahc_le32toh(hscb->sgptr);
6111 spkt = &hscb->shared_data.status;
6662 printf("Kernel NEXTQSCB = %d\n", ahc->next_queued_scb->hscb->tag);
6735 /*cur_col =*/ printf("\n%3d ", scb->hscb->tag);
6736 ahc_scb_control_print(scb->hscb->control, &cur_col, 60);
6737 ahc_scb_scsiid_print(scb->hscb->scsiid, &cur_col, 60);
6738 ahc_scb_lun_print(scb->hscb->lun, &cur_col, 60);
6740 ahc_outb(ahc, SCBPTR, scb->hscb->tag);
6755 printf("%d ", scb->hscb->tag);
6769 printf("%d ", scb->hscb->tag);