Searched refs:hscb (Results 1 - 8 of 8) sorted by relevance

/freebsd-9.3-release/sys/dev/aic7xxx/
H A Daic7xxx_inline.h201 /*offset*/(scb->hscb - ahc->hscbs) * sizeof(*scb->hscb),
202 /*len*/sizeof(*scb->hscb), op);
275 sgptr = aic_le32toh(scb->hscb->sgptr);
382 struct hardware_scb *hscb; local
384 hscb = scb->hscb;
386 ahc->scb_data->scbindex[hscb->tag] = NULL;
388 hscb->control = 0;
426 q_hscb = ahc->next_queued_scb->hscb;
[all...]
H A Daic7xxx_osm.c321 ("ahc_done - scb %d\n", scb->hscb->tag));
501 struct hardware_scb *hscb; local
523 hscb = scb->hscb;
536 hscb->control = 0;
537 hscb->scsiid = BUILD_SCSIID(ahc, sim, target_id, our_id);
538 hscb->lun = ccb->ccb_h.target_lun;
540 hscb->cdb_len = 0;
542 hscb->control |= MK_MESSAGE;
548 tdata = &hscb
1139 struct hardware_scb *hscb; local
[all...]
H A Daic79xx_inline.h274 scb->hscb->task_attribute = scb->hscb->control & SCB_TAG_TYPE;
277 scb->hscb->task_attribute = SCB_XFERLEN_ODD;
279 scb->hscb->task_attribute = 0;
282 if (scb->hscb->cdb_len <= MAX_CDB_LEN_WITH_SENSE_ADDR
283 || (scb->hscb->cdb_len & SCB_CDB_LEN_PTR) != 0)
284 scb->hscb->shared_data.idata.cdb_plus_saddr.sense_addr =
298 scb->hscb->dataptr = sg->addr;
299 scb->hscb->datacnt = sg->len;
305 dataptr_words = (uint32_t*)&scb->hscb
[all...]
H A Daic79xx_osm.c517 struct hardware_scb *hscb; local
552 hscb = scb->hscb;
565 hscb->control = 0;
566 hscb->scsiid = BUILD_SCSIID(ahd, sim, target_id, our_id);
567 hscb->lun = ccb->ccb_h.target_lun;
569 hscb->cdb_len = 0;
571 hscb->control |= MK_MESSAGE;
572 hscb->task_management = SIU_TASKMGMT_LUN_RESET;
579 tdata = &hscb
1072 struct hardware_scb *hscb; local
[all...]
H A Daic7xxx.c436 struct hardware_scb *hscb; local
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
1540 struct hardware_scb *hscb = scb->hscb; local
6228 struct hardware_scb *hscb; local
[all...]
H A Daic79xx.h88 SCSIID_OUR_ID((scb)->hscb->scsiid)
90 SCSIID_TARGET((ahd), (scb)->hscb->scsiid)
92 SCSIID_CHANNEL(ahd, (scb)->hscb->scsiid)
94 ((scb)->hscb->lun)
120 aic_le16toh(scb->hscb->tag)
135 (scb)->hscb->scsiid = ((col_idx) << TID_SHIFT) & TID; \
136 (scb)->hscb->lun = ((col_idx) >> 4) & (AHD_NUM_LUNS_NONPKT-1); \
141 dst->hscb->scsiid = src->hscb->scsiid; \
142 dst->hscb
610 struct hardware_scb *hscb; member in struct:scb
[all...]
H A Daic79xx.c531 hscb_ptr = (uint8_t *)scb->hscb;
847 * entry to avoid referencing the hscb if the completion
850 * hscb field.
971 ahd_outb(ahd, SAVED_SCSIID, scb->hscb->scsiid);
972 ahd_outb(ahd, SAVED_LUN, scb->hscb->lun);
1111 scb->hscb->control &= ~(TAG_ENB|SCB_TAG_TYPE);
1112 scb->hscb->control |= MK_MESSAGE;
1113 ahd_outb(ahd, SCB_CONTROL, scb->hscb->control);
1115 ahd_outb(ahd, SAVED_SCSIID, scb->hscb->scsiid);
1435 scb->hscb
2749 struct hardware_scb *hscb; local
6068 struct hardware_scb *hscb; local
8181 struct hardware_scb *hscb; local
8408 struct hardware_scb *hscb; local
[all...]
H A Daic7xxx.h88 (SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid) == 'B')
90 SCSIID_OUR_ID((scb)->hscb->scsiid)
92 SCSIID_TARGET((ahc), (scb)->hscb->scsiid)
94 SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid)
96 ((scb)->hscb->lun & LID)
582 struct hardware_scb *hscb; member in struct:scb

Completed in 188 milliseconds