Lines Matching defs:hscb

340 		struct hardware_scb *hscb;
365 hscb = scb->hscb;
373 hscb->control = 0;
374 hscb->scsiid = BUILD_SCSIID(ahc, 0, target_id, our_id);
375 hscb->lun = periph->periph_lun;
377 hscb->cdb_len = 0;
379 hscb->control |= MK_MESSAGE;
563 scb->hscb->sgptr = ahc_htole32(scb->sg_list_phys|SG_FULL_RESID);
577 scb->hscb->dataptr = scb->sg_list->addr;
578 scb->hscb->datacnt = scb->sg_list->len;
580 scb->hscb->sgptr = ahc_htole32(SG_LIST_NULL);
581 scb->hscb->dataptr = 0;
582 scb->hscb->datacnt = 0;
603 SCSIID_OUR_ID(scb->hscb->scsiid),
604 SCSIID_TARGET(ahc, scb->hscb->scsiid),
608 scb->hscb->scsirate = tinfo->scsirate;
609 scb->hscb->scsioffset = tinfo->curr.offset;
612 scb->hscb->control |= ULTRAENB;
615 scb->hscb->control |= DISCENB;
618 scb->hscb->control |= xs->xs_tag_type;
625 scb->hscb->control |= MK_MESSAGE;
630 scb->hscb->control |= MK_MESSAGE;
647 if ((scb->hscb->control & (TARGET_SCB|TAG_ENB)) == 0
665 ahc->scb_data->scbindex[scb->hscb->tag] = scb;
668 ahc_outb(ahc, SCBPTR, scb->hscb->tag);
669 ahc_outb(ahc, TARG_IMMEDIATE_SCB, scb->hscb->tag);
720 struct hardware_scb *hscb;
722 hscb = scb->hscb;
725 hscb->cdb_len = xs->cmdlen;
726 if (hscb->cdb_len > sizeof(hscb->cdb32)) {
737 if (hscb->cdb_len > 12) {
738 memcpy(hscb->cdb32, xs->cmd, hscb->cdb_len);
741 memcpy(hscb->shared_data.cdb, xs->cmd, hscb->cdb_len);
836 printf("SCB 0x%x - timed out\n", scb->hscb->tag);
927 scb->hscb->tag,
965 scb->hscb->tag, ROLE_INITIATOR,
991 scb->hscb->control |= MK_MESSAGE|DISCONNECTED;
1002 lun, scb->hscb->tag,
1015 ahc_outb(ahc, SCBPTR, scb->hscb->tag);
1046 "Flags = 0x%x\n", scb->hscb->tag,