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

/netbsd-current/sys/dev/ic/
H A Daic7xxx_osm.c340 struct hardware_scb *hscb; local
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
720 struct hardware_scb *hscb; local
[all...]
H A Daic79xx_inline.h269 scb->hscb->task_attribute = scb->hscb->control & SCB_TAG_TYPE;
272 scb->hscb->task_attribute = SCB_XFERLEN_ODD;
274 scb->hscb->task_attribute = 0;
277 if (scb->hscb->cdb_len <= MAX_CDB_LEN_WITH_SENSE_ADDR
278 || (scb->hscb->cdb_len & SCB_CDB_LEN_PTR) != 0)
279 scb->hscb->shared_data.idata.cdb_plus_saddr.sense_addr =
293 scb->hscb->dataptr = sg->addr;
294 scb->hscb->datacnt = sg->len;
300 dataptr_words = (uint32_t*)&scb->hscb
[all...]
H A Daic7xxx_inline.h206 /*offset*/(scb->hscb - ahc->scb_data->hscbs) * sizeof(*scb->hscb),
207 /*len*/sizeof(*scb->hscb), op);
280 sgptr = ahc_le32toh(scb->hscb->sgptr);
384 struct hardware_scb *hscb; local
386 hscb = scb->hscb;
388 ahc->scb_data->scbindex[hscb->tag] = NULL;
390 hscb->control = 0;
428 q_hscb = ahc->next_queued_scb->hscb;
[all...]
H A Daic79xx_osm.c336 struct hardware_scb *hscb; local
374 hscb = scb->hscb;
382 hscb->control = 0;
383 hscb->scsiid = BUILD_SCSIID(ahd, sim, target_id, our_id);
384 hscb->lun = periph->periph_lun;
386 hscb->cdb_len = 0;
388 hscb->control |= MK_MESSAGE;
389 hscb->task_management = SIU_TASKMGMT_LUN_RESET;
392 hscb
685 struct hardware_scb *hscb; local
[all...]
H A Daic79xxvar.h94 SCSIID_OUR_ID((scb)->hscb->scsiid)
96 SCSIID_TARGET((ahd), (scb)->hscb->scsiid)
98 SCSIID_CHANNEL(ahd, (scb)->hscb->scsiid)
100 ((scb)->hscb->lun)
126 ahd_le16toh(scb->hscb->tag)
141 (scb)->hscb->scsiid = ((col_idx) << TID_SHIFT) & TID; \
142 (scb)->hscb->lun = ((col_idx) >> 4) & (AHD_NUM_LUNS_NONPKT-1); \
147 dst->hscb->scsiid = src->hscb->scsiid; \
148 dst->hscb
620 struct hardware_scb *hscb; member in struct:scb
[all...]
H A Daic7xxx.c445 struct hardware_scb *hscb; local
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
1527 struct hardware_scb *hscb = scb->hscb; local
6078 struct hardware_scb *hscb; local
[all...]
H A Daic79xx.c514 hscb_ptr = (uint8_t *)scb->hscb;
941 ahd_outb(ahd, SAVED_SCSIID, scb->hscb->scsiid);
942 ahd_outb(ahd, SAVED_LUN, scb->hscb->lun);
1078 scb->hscb->control &= ~(TAG_ENB|SCB_TAG_TYPE);
1079 scb->hscb->control |= MK_MESSAGE;
1080 ahd_outb(ahd, SCB_CONTROL, scb->hscb->control);
1082 ahd_outb(ahd, SAVED_SCSIID, scb->hscb->scsiid);
1397 scb->hscb->task_management);
1401 switch (scb->hscb->task_management) {
1407 lun = scb->hscb
2629 struct hardware_scb *hscb; local
5745 struct hardware_scb *hscb; local
7836 struct hardware_scb *hscb; local
8044 struct hardware_scb *hscb; local
[all...]
H A Daic7xxxvar.h179 (SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid) == 'B')
181 SCSIID_OUR_ID((scb)->hscb->scsiid)
183 SCSIID_TARGET((ahc), (scb)->hscb->scsiid)
185 SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid)
187 ((scb)->hscb->lun)
680 struct hardware_scb *hscb; member in struct:scb

Completed in 219 milliseconds