Home
last modified time | relevance | path

Searched refs:hscb (Results 1 – 7 of 7) sorted by relevance

/openbsd/sys/dev/ic/
H A Daic7xxx_openbsd.c270 hscb = scb->hscb; in ahc_action()
271 hscb->control = 0; in ahc_action()
283 hscb->control = 0; in ahc_action()
287 hscb->cdb_len = 0; in ahc_action()
363 scb->hscb->dataptr = 0; in ahc_execute_scb()
504 hscb = scb->hscb; in ahc_setup_data()
509 if (hscb->cdb_len > sizeof(hscb->cdb32)) { in ahc_setup_data()
516 memcpy(hscb->cdb32, &xs->cmd, hscb->cdb_len); in ahc_setup_data()
519 memcpy(hscb->shared_data.cdb, &xs->cmd, hscb->cdb_len); in ahc_setup_data()
732 hscb = scb->hscb; in ahc_scb_free()
[all …]
H A Daic79xx_openbsd.c251 struct hardware_scb *hscb; in ahd_action() local
284 hscb = scb->hscb; in ahd_action()
286 scb->hscb->control = 0; in ahd_action()
299 hscb->control = 0; in ahd_action()
301 hscb->lun = xs->sc_link->lun; in ahd_action()
303 hscb->cdb_len = 0; in ahd_action()
309 hscb->task_management = 0; in ahd_action()
476 struct hardware_scb *hscb; in ahd_setup_data() local
478 hscb = scb->hscb; in ahd_setup_data()
482 hscb->cdb_len = xs->cmdlen; in ahd_setup_data()
[all …]
H A Daic7xxx_inline.h221 /*offset*/(scb->hscb - ahc->scb_data->hscbs) * sizeof(*scb->hscb), in ahc_sync_scb()
222 /*len*/sizeof(*scb->hscb), op); in ahc_sync_scb()
370 q_hscb = ahc->next_queued_scb->hscb; in ahc_swap_with_next_hscb()
372 memcpy(q_hscb, scb->hscb, sizeof(*scb->hscb)); in ahc_swap_with_next_hscb()
379 q_hscb->next = scb->hscb->tag; in ahc_swap_with_next_hscb()
382 ahc->next_queued_scb->hscb = scb->hscb; in ahc_swap_with_next_hscb()
383 scb->hscb = q_hscb; in ahc_swap_with_next_hscb()
397 if (scb->hscb->tag == SCB_LIST_NULL in ahc_queue_scb()
400 scb->hscb->tag, scb->hscb->next); in ahc_queue_scb()
405 scb->hscb->lun &= LID; in ahc_queue_scb()
[all …]
H A Daic7xxx.c481 hscb = scb->hscb; in ahc_handle_seqint()
566 hscb->control = 0; in ahc_handle_seqint()
591 hscb->sgptr = aic_htole32(hscb->sgptr); in ahc_handle_seqint()
1565 struct hardware_scb *hscb = scb->hscb; in ahc_print_scb() local
1571 hscb->lun, in ahc_print_scb()
1580 hscb->tag); in ahc_print_scb()
2380 "SCB flags = %x", scb->hscb->tag, scb->hscb->control, in ahc_setup_initiator_msgout()
5088 prev_scb->hscb->next = scb->hscb->tag; in ahc_qinfifo_requeue()
5097 scb->hscb->next = ahc->next_queued_scb->hscb->tag; in ahc_qinfifo_requeue()
5249 scb->hscb->next = ahc->next_queued_scb->hscb->tag; in ahc_search_qinfifo()
[all …]
H A Daic79xx.c2725 hscb = scb->hscb; in ahd_print_scb()
2730 hscb->lun, in ahd_print_scb()
5958 memset(hscb, 0, sizeof(*hscb)); in ahd_alloc_scbs()
5959 next_scb->hscb = hscb; in ahd_alloc_scbs()
5987 hscb++; in ahd_alloc_scbs()
7027 prev_scb->hscb->next_hscb_busaddr = scb->hscb->hscb_busaddr; in ahd_qinfifo_requeue()
7869 hscb = scb->hscb; in ahd_handle_scsi_status()
8098 hscb = scb->hscb; in ahd_calc_residual()
10229 dst->hscb->scsiid = src->hscb->scsiid; \
10230 dst->hscb->lun = src->hscb->lun; \
[all …]
H A Daic7xxxvar.h91 (SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid) == 'B')
93 SCSIID_OUR_ID((scb)->hscb->scsiid)
95 SCSIID_TARGET((ahc), (scb)->hscb->scsiid)
97 SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid)
99 ((scb)->hscb->lun & LID)
586 struct hardware_scb *hscb; member
H A Daic79xx.h117 SCSIID_OUR_ID((scb)->hscb->scsiid)
119 SCSIID_TARGET((ahd), (scb)->hscb->scsiid)
121 SCSIID_CHANNEL(ahd, (scb)->hscb->scsiid)
123 ((scb)->hscb->lun)
149 aic_le16toh(scb->hscb->tag)
617 struct hardware_scb *hscb; member