Home
last modified time | relevance | path

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

123

/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/ic/
H A Daic7xxx_osm.c336 struct hardware_scb *hscb; in ahc_action() local
361 hscb = scb->hscb; in ahc_action()
369 hscb->control = 0; in ahc_action()
373 hscb->cdb_len = 0; in ahc_action()
577 scb->hscb->dataptr = 0; in ahc_execute_scb()
578 scb->hscb->datacnt = 0; in ahc_execute_scb()
718 hscb = scb->hscb; in ahc_setup_data()
722 if (hscb->cdb_len > sizeof(hscb->cdb32)) { in ahc_setup_data()
733 if (hscb->cdb_len > 12) { in ahc_setup_data()
734 memcpy(hscb->cdb32, xs->cmd, hscb->cdb_len); in ahc_setup_data()
[all …]
H A Daic79xx_inline.h269 scb->hscb->task_attribute = scb->hscb->control & SCB_TAG_TYPE; in ahd_setup_scb_common()
274 scb->hscb->task_attribute = 0; in ahd_setup_scb_common()
293 scb->hscb->dataptr = sg->addr; in ahd_setup_data_scb()
294 scb->hscb->datacnt = sg->len; in ahd_setup_data_scb()
309 scb->hscb->datacnt = sg->len; in ahd_setup_data_scb()
324 scb->hscb->dataptr = 0; in ahd_setup_noxfer_scb()
325 scb->hscb->datacnt = 0; in ahd_setup_noxfer_scb()
510 dst->hscb->scsiid = src->hscb->scsiid; \
511 dst->hscb->lun = src->hscb->lun; \
741 memcpy(q_hscb, scb->hscb, sizeof(*scb->hscb)); in ahd_swap_with_next_hscb()
[all …]
H A Daic7xxx_inline.h206 /*offset*/(scb->hscb - ahc->scb_data->hscbs) * sizeof(*scb->hscb), in ahc_sync_scb()
207 /*len*/sizeof(*scb->hscb), op); in ahc_sync_scb()
384 struct hardware_scb *hscb; in ahc_free_scb() local
386 hscb = scb->hscb; in ahc_free_scb()
390 hscb->control = 0; in ahc_free_scb()
430 memcpy(q_hscb, scb->hscb, sizeof(*scb->hscb)); in ahc_swap_with_next_hscb()
437 q_hscb->next = scb->hscb->tag; in ahc_swap_with_next_hscb()
440 ahc->next_queued_scb->hscb = scb->hscb; in ahc_swap_with_next_hscb()
441 scb->hscb = q_hscb; in ahc_swap_with_next_hscb()
455 if (scb->hscb->tag == SCB_LIST_NULL in ahc_queue_scb()
[all …]
H A Daic79xx_osm.c335 struct hardware_scb *hscb; in ahd_action() local
373 hscb = scb->hscb; in ahd_action()
381 hscb->control = 0; in ahd_action()
385 hscb->cdb_len = 0; in ahd_action()
387 hscb->control |= MK_MESSAGE; in ahd_action()
391 hscb->task_management = 0; in ahd_action()
594 scb->hscb->control |= DISCENB; in ahd_execute_scb()
684 struct hardware_scb *hscb; in ahd_setup_data() local
686 hscb = scb->hscb; in ahd_setup_data()
689 hscb->cdb_len = xs->cmdlen; in ahd_setup_data()
[all …]
H A Daic79xxvar.h92 SCSIID_OUR_ID((scb)->hscb->scsiid)
94 SCSIID_TARGET((ahd), (scb)->hscb->scsiid)
96 SCSIID_CHANNEL(ahd, (scb)->hscb->scsiid)
98 ((scb)->hscb->lun)
124 ahd_le16toh(scb->hscb->tag)
139 (scb)->hscb->scsiid = ((col_idx) << TID_SHIFT) & TID; \
140 (scb)->hscb->lun = ((col_idx) >> 4) & (AHD_NUM_LUNS_NONPKT-1); \
145 dst->hscb->scsiid = src->hscb->scsiid; \
146 dst->hscb->lun = src->hscb->lun; \
618 struct hardware_scb *hscb; member
H A Daic7xxx.c475 hscb = scb->hscb; in ahc_handle_seqint()
553 hscb->control = 0; in ahc_handle_seqint()
577 hscb->sgptr = in ahc_handle_seqint()
1527 struct hardware_scb *hscb = scb->hscb; in ahc_print_scb() local
1533 hscb->lun, in ahc_print_scb()
1542 hscb->tag); in ahc_print_scb()
2340 "SCB flags = %x", scb->hscb->tag, scb->hscb->control, in ahc_setup_initiator_msgout()
5273 prev_scb->hscb->next = scb->hscb->tag; in ahc_qinfifo_requeue()
5278 scb->hscb->next = ahc->next_queued_scb->hscb->tag; in ahc_qinfifo_requeue()
5430 scb->hscb->next = ahc->next_queued_scb->hscb->tag; in ahc_search_qinfifo()
[all …]
H A Daic79xx.c2630 hscb = scb->hscb; in ahd_print_scb()
2633 hscb->control, in ahd_print_scb()
2634 hscb->scsiid, in ahd_print_scb()
2635 hscb->lun, in ahd_print_scb()
5914 memset(hscb, 0, sizeof(*hscb)); in ahd_alloc_scbs()
5915 next_scb->hscb = hscb; in ahd_alloc_scbs()
5950 hscb++; in ahd_alloc_scbs()
7053 prev_scb->hscb->next_hscb_busaddr = scb->hscb->hscb_busaddr; in ahd_qinfifo_requeue()
7847 hscb = scb->hscb; in ahd_handle_scsi_status()
7998 hscb->control = 0; in ahd_handle_scsi_status()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/scsi/aic7xxx/
H A Daic7xxx_core.c542 hscb = scb->hscb; in ahc_free_scb()
586 memcpy(q_hscb, scb->hscb, sizeof(*scb->hscb)); in ahc_swap_with_next_hscb()
596 ahc->next_queued_scb->hscb = scb->hscb; in ahc_swap_with_next_hscb()
614 scb->hscb->tag, scb->hscb->next); in ahc_queue_scb()
1025 hscb = scb->hscb; in ahc_handle_seqint()
1135 hscb->sgptr = ahc_htole32(hscb->sgptr); in ahc_handle_seqint()
2081 struct hardware_scb *hscb = scb->hscb;
5773 prev_scb->hscb->next = scb->hscb->tag; in ahc_qinfifo_requeue()
5778 scb->hscb->next = ahc->next_queued_scb->hscb->tag; in ahc_qinfifo_requeue()
5929 scb->hscb->next = ahc->next_queued_scb->hscb->tag; in ahc_search_qinfifo()
[all …]
H A Daic7xxx_osm.c1408 struct hardware_scb *hscb; in ahc_linux_run_command() local
1455 hscb = scb->hscb; in ahc_linux_run_command()
1461 hscb->control = 0; in ahc_linux_run_command()
1471 hscb->control |= ULTRAENB; in ahc_linux_run_command()
1474 hscb->control |= DISCENB; in ahc_linux_run_command()
1492 if (hscb->cdb_len <= 12) { in ahc_linux_run_command()
1493 memcpy(hscb->shared_data.cdb, cmd->cmnd, hscb->cdb_len); in ahc_linux_run_command()
1495 memcpy(hscb->cdb32, cmd->cmnd, hscb->cdb_len); in ahc_linux_run_command()
1533 scb->hscb->sgptr = in ahc_linux_run_command()
1544 scb->hscb->dataptr = 0; in ahc_linux_run_command()
[all …]
H A Daic79xx_inline.h151 dst->hscb->scsiid = src->hscb->scsiid; \
152 dst->hscb->lun = src->hscb->lun; \
H A Daic79xx.h78 SCSIID_OUR_ID((scb)->hscb->scsiid)
80 SCSIID_TARGET((ahd), (scb)->hscb->scsiid)
82 SCSIID_CHANNEL(ahd, (scb)->hscb->scsiid)
84 ((scb)->hscb->lun)
110 ahd_le16toh(scb->hscb->tag)
125 (scb)->hscb->scsiid = ((col_idx) << TID_SHIFT) & TID; \
126 (scb)->hscb->lun = ((col_idx) >> 4) & (AHD_NUM_LUNS_NONPKT-1); \
131 dst->hscb->scsiid = src->hscb->scsiid; \
132 dst->hscb->lun = src->hscb->lun; \
593 struct hardware_scb *hscb; member
H A Daic79xx_core.c436 scb->hscb->task_attribute = scb->hscb->control & SCB_TAG_TYPE; in ahd_setup_scb_common()
823 memcpy(q_hscb, scb->hscb, sizeof(*scb->hscb)); in ahd_swap_with_next_hscb()
830 scb->hscb = q_hscb; in ahd_swap_with_next_hscb()
3570 hscb = scb->hscb;
3575 hscb->lun,
6901 memset(hscb, 0, sizeof(*hscb)); in ahd_alloc_scbs()
6902 next_scb->hscb = hscb; in ahd_alloc_scbs()
6923 hscb++; in ahd_alloc_scbs()
8031 prev_scb->hscb->next_hscb_busaddr = scb->hscb->hscb_busaddr; in ahd_qinfifo_requeue()
8835 hscb = scb->hscb; in ahd_handle_scsi_status()
[all …]
H A Daic79xx_osm.c826 reset_scb->hscb->control = 0; in ahd_linux_dev_reset()
829 reset_scb->hscb->cdb_len = 0; in ahd_linux_dev_reset()
1544 struct hardware_scb *hscb; in ahd_linux_run_command() local
1579 hscb = scb->hscb; in ahd_linux_run_command()
1585 hscb->control = 0; in ahd_linux_run_command()
1587 hscb->lun = cmd->device->lun; in ahd_linux_run_command()
1588 scb->hscb->task_management = 0; in ahd_linux_run_command()
1592 hscb->control |= DISCENB; in ahd_linux_run_command()
1612 hscb->cdb_len = cmd->cmd_len; in ahd_linux_run_command()
1613 memcpy(hscb->shared_data.idata.cdb, cmd->cmnd, hscb->cdb_len); in ahd_linux_run_command()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/scsi/aic7xxx/
H A Daic7xxx_core.c542 hscb = scb->hscb; in ahc_free_scb()
586 memcpy(q_hscb, scb->hscb, sizeof(*scb->hscb)); in ahc_swap_with_next_hscb()
596 ahc->next_queued_scb->hscb = scb->hscb; in ahc_swap_with_next_hscb()
614 scb->hscb->tag, scb->hscb->next); in ahc_queue_scb()
1025 hscb = scb->hscb; in ahc_handle_seqint()
1135 hscb->sgptr = ahc_htole32(hscb->sgptr); in ahc_handle_seqint()
2081 struct hardware_scb *hscb = scb->hscb;
5773 prev_scb->hscb->next = scb->hscb->tag; in ahc_qinfifo_requeue()
5778 scb->hscb->next = ahc->next_queued_scb->hscb->tag; in ahc_qinfifo_requeue()
5929 scb->hscb->next = ahc->next_queued_scb->hscb->tag; in ahc_search_qinfifo()
[all …]
H A Daic7xxx_osm.c1408 struct hardware_scb *hscb; in ahc_linux_run_command() local
1455 hscb = scb->hscb; in ahc_linux_run_command()
1461 hscb->control = 0; in ahc_linux_run_command()
1471 hscb->control |= ULTRAENB; in ahc_linux_run_command()
1474 hscb->control |= DISCENB; in ahc_linux_run_command()
1492 if (hscb->cdb_len <= 12) { in ahc_linux_run_command()
1493 memcpy(hscb->shared_data.cdb, cmd->cmnd, hscb->cdb_len); in ahc_linux_run_command()
1495 memcpy(hscb->cdb32, cmd->cmnd, hscb->cdb_len); in ahc_linux_run_command()
1533 scb->hscb->sgptr = in ahc_linux_run_command()
1544 scb->hscb->dataptr = 0; in ahc_linux_run_command()
[all …]
H A Daic79xx_inline.h151 dst->hscb->scsiid = src->hscb->scsiid; \
152 dst->hscb->lun = src->hscb->lun; \
H A Daic79xx.h78 SCSIID_OUR_ID((scb)->hscb->scsiid)
80 SCSIID_TARGET((ahd), (scb)->hscb->scsiid)
82 SCSIID_CHANNEL(ahd, (scb)->hscb->scsiid)
84 ((scb)->hscb->lun)
110 ahd_le16toh(scb->hscb->tag)
125 (scb)->hscb->scsiid = ((col_idx) << TID_SHIFT) & TID; \
126 (scb)->hscb->lun = ((col_idx) >> 4) & (AHD_NUM_LUNS_NONPKT-1); \
131 dst->hscb->scsiid = src->hscb->scsiid; \
132 dst->hscb->lun = src->hscb->lun; \
593 struct hardware_scb *hscb; member
H A Daic79xx_core.c436 scb->hscb->task_attribute = scb->hscb->control & SCB_TAG_TYPE; in ahd_setup_scb_common()
823 memcpy(q_hscb, scb->hscb, sizeof(*scb->hscb)); in ahd_swap_with_next_hscb()
830 scb->hscb = q_hscb; in ahd_swap_with_next_hscb()
3570 hscb = scb->hscb;
3575 hscb->lun,
6901 memset(hscb, 0, sizeof(*hscb)); in ahd_alloc_scbs()
6902 next_scb->hscb = hscb; in ahd_alloc_scbs()
6923 hscb++; in ahd_alloc_scbs()
8031 prev_scb->hscb->next_hscb_busaddr = scb->hscb->hscb_busaddr; in ahd_qinfifo_requeue()
8835 hscb = scb->hscb; in ahd_handle_scsi_status()
[all …]
H A Daic79xx_osm.c826 reset_scb->hscb->control = 0; in ahd_linux_dev_reset()
829 reset_scb->hscb->cdb_len = 0; in ahd_linux_dev_reset()
1544 struct hardware_scb *hscb; in ahd_linux_run_command() local
1579 hscb = scb->hscb; in ahd_linux_run_command()
1585 hscb->control = 0; in ahd_linux_run_command()
1587 hscb->lun = cmd->device->lun; in ahd_linux_run_command()
1588 scb->hscb->task_management = 0; in ahd_linux_run_command()
1592 hscb->control |= DISCENB; in ahd_linux_run_command()
1612 hscb->cdb_len = cmd->cmd_len; in ahd_linux_run_command()
1613 memcpy(hscb->shared_data.idata.cdb, cmd->cmnd, hscb->cdb_len); in ahd_linux_run_command()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/scsi/aic7xxx/
H A Daic7xxx_core.c542 hscb = scb->hscb; in ahc_free_scb()
586 memcpy(q_hscb, scb->hscb, sizeof(*scb->hscb)); in ahc_swap_with_next_hscb()
596 ahc->next_queued_scb->hscb = scb->hscb; in ahc_swap_with_next_hscb()
614 scb->hscb->tag, scb->hscb->next); in ahc_queue_scb()
1025 hscb = scb->hscb; in ahc_handle_seqint()
1135 hscb->sgptr = ahc_htole32(hscb->sgptr); in ahc_handle_seqint()
2081 struct hardware_scb *hscb = scb->hscb;
5773 prev_scb->hscb->next = scb->hscb->tag; in ahc_qinfifo_requeue()
5778 scb->hscb->next = ahc->next_queued_scb->hscb->tag; in ahc_qinfifo_requeue()
5929 scb->hscb->next = ahc->next_queued_scb->hscb->tag; in ahc_search_qinfifo()
[all …]
H A Daic7xxx_osm.c1408 struct hardware_scb *hscb; in ahc_linux_run_command() local
1455 hscb = scb->hscb; in ahc_linux_run_command()
1461 hscb->control = 0; in ahc_linux_run_command()
1471 hscb->control |= ULTRAENB; in ahc_linux_run_command()
1474 hscb->control |= DISCENB; in ahc_linux_run_command()
1492 if (hscb->cdb_len <= 12) { in ahc_linux_run_command()
1493 memcpy(hscb->shared_data.cdb, cmd->cmnd, hscb->cdb_len); in ahc_linux_run_command()
1495 memcpy(hscb->cdb32, cmd->cmnd, hscb->cdb_len); in ahc_linux_run_command()
1533 scb->hscb->sgptr = in ahc_linux_run_command()
1544 scb->hscb->dataptr = 0; in ahc_linux_run_command()
[all …]
H A Daic79xx_inline.h151 dst->hscb->scsiid = src->hscb->scsiid; \
152 dst->hscb->lun = src->hscb->lun; \
H A Daic79xx.h78 SCSIID_OUR_ID((scb)->hscb->scsiid)
80 SCSIID_TARGET((ahd), (scb)->hscb->scsiid)
82 SCSIID_CHANNEL(ahd, (scb)->hscb->scsiid)
84 ((scb)->hscb->lun)
110 ahd_le16toh(scb->hscb->tag)
125 (scb)->hscb->scsiid = ((col_idx) << TID_SHIFT) & TID; \
126 (scb)->hscb->lun = ((col_idx) >> 4) & (AHD_NUM_LUNS_NONPKT-1); \
131 dst->hscb->scsiid = src->hscb->scsiid; \
132 dst->hscb->lun = src->hscb->lun; \
593 struct hardware_scb *hscb; member
H A Daic79xx_core.c436 scb->hscb->task_attribute = scb->hscb->control & SCB_TAG_TYPE; in ahd_setup_scb_common()
823 memcpy(q_hscb, scb->hscb, sizeof(*scb->hscb)); in ahd_swap_with_next_hscb()
830 scb->hscb = q_hscb; in ahd_swap_with_next_hscb()
3570 hscb = scb->hscb;
3575 hscb->lun,
6901 memset(hscb, 0, sizeof(*hscb)); in ahd_alloc_scbs()
6902 next_scb->hscb = hscb; in ahd_alloc_scbs()
6923 hscb++; in ahd_alloc_scbs()
8031 prev_scb->hscb->next_hscb_busaddr = scb->hscb->hscb_busaddr; in ahd_qinfifo_requeue()
8835 hscb = scb->hscb; in ahd_handle_scsi_status()
[all …]
H A Daic79xx_osm.c826 reset_scb->hscb->control = 0; in ahd_linux_dev_reset()
829 reset_scb->hscb->cdb_len = 0; in ahd_linux_dev_reset()
1544 struct hardware_scb *hscb; in ahd_linux_run_command() local
1579 hscb = scb->hscb; in ahd_linux_run_command()
1585 hscb->control = 0; in ahd_linux_run_command()
1587 hscb->lun = cmd->device->lun; in ahd_linux_run_command()
1588 scb->hscb->task_management = 0; in ahd_linux_run_command()
1592 hscb->control |= DISCENB; in ahd_linux_run_command()
1612 hscb->cdb_len = cmd->cmd_len; in ahd_linux_run_command()
1613 memcpy(hscb->shared_data.idata.cdb, cmd->cmnd, hscb->cdb_len); in ahd_linux_run_command()
[all …]

123