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

/freebsd-current/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.c334 ("ahc_done - scb %d\n", scb->hscb->tag));
505 struct hardware_scb *hscb; local
526 hscb = scb->hscb;
539 hscb->control = 0;
540 hscb->scsiid = BUILD_SCSIID(ahc, sim, target_id, our_id);
541 hscb->lun = ccb->ccb_h.target_lun;
543 hscb->cdb_len = 0;
545 hscb->control |= MK_MESSAGE;
551 tdata = &hscb
1133 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.c524 struct hardware_scb *hscb; local
558 hscb = scb->hscb;
571 hscb->control = 0;
572 hscb->scsiid = BUILD_SCSIID(ahd, sim, target_id, our_id);
573 hscb->lun = ccb->ccb_h.target_lun;
575 hscb->cdb_len = 0;
577 hscb->control |= MK_MESSAGE;
578 hscb->task_management = SIU_TASKMGMT_LUN_RESET;
585 tdata = &hscb
1070 struct hardware_scb *hscb; local
[all...]
H A Daic7xxx.c429 struct hardware_scb *hscb; local
459 hscb = scb->hscb;
476 aic_set_scsi_status(scb, hscb->shared_data.status.scsi_status);
477 switch (hscb->shared_data.status.scsi_status) {
494 scb->hscb->tag);
508 sc = (struct scsi_sense *)(&hscb->shared_data.cdb);
544 hscb->control = 0;
561 hscb->control |= MK_MESSAGE;
565 hscb
1528 struct hardware_scb *hscb = scb->hscb; local
6173 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.c524 hscb_ptr = (uint8_t *)scb->hscb;
836 * entry to avoid referencing the hscb if the completion
839 * hscb field.
960 ahd_outb(ahd, SAVED_SCSIID, scb->hscb->scsiid);
961 ahd_outb(ahd, SAVED_LUN, scb->hscb->lun);
1097 scb->hscb->control &= ~(TAG_ENB|SCB_TAG_TYPE);
1098 scb->hscb->control |= MK_MESSAGE;
1099 ahd_outb(ahd, SCB_CONTROL, scb->hscb->control);
1101 ahd_outb(ahd, SAVED_SCSIID, scb->hscb->scsiid);
1421 scb->hscb
2720 struct hardware_scb *hscb; local
5987 struct hardware_scb *hscb; local
8105 struct hardware_scb *hscb; local
8331 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 133 milliseconds