Searched refs:hscb (Results 1 – 9 of 9) sorted by relevance
/linux-2.4.37.9/drivers/scsi/aic7xxx/ |
D | aic7xxx_inline.h | 201 /*offset*/(scb->hscb - ahc->hscbs) * sizeof(*scb->hscb), in ahc_sync_scb() 202 /*len*/sizeof(*scb->hscb), op); in ahc_sync_scb() 275 sgptr = ahc_le32toh(scb->hscb->sgptr); in ahc_update_residual() 381 struct hardware_scb *hscb; in ahc_free_scb() local 383 hscb = scb->hscb; in ahc_free_scb() 385 ahc->scb_data->scbindex[hscb->tag] = NULL; in ahc_free_scb() 387 hscb->control = 0; in ahc_free_scb() 425 q_hscb = ahc->next_queued_scb->hscb; in ahc_swap_with_next_hscb() 427 memcpy(q_hscb, scb->hscb, sizeof(*scb->hscb)); in ahc_swap_with_next_hscb() 434 q_hscb->next = scb->hscb->tag; in ahc_swap_with_next_hscb() [all …]
|
D | aic79xx_inline.h | 274 scb->hscb->task_attribute = scb->hscb->control & SCB_TAG_TYPE; in ahd_setup_scb_common() 277 scb->hscb->task_attribute = SCB_XFERLEN_ODD; in ahd_setup_scb_common() 279 scb->hscb->task_attribute = 0; in ahd_setup_scb_common() 282 if (scb->hscb->cdb_len <= MAX_CDB_LEN_WITH_SENSE_ADDR in ahd_setup_scb_common() 283 || (scb->hscb->cdb_len & SCB_CDB_LEN_PTR) != 0) in ahd_setup_scb_common() 284 scb->hscb->shared_data.idata.cdb_plus_saddr.sense_addr = in ahd_setup_scb_common() 298 scb->hscb->dataptr = sg->addr; in ahd_setup_data_scb() 299 scb->hscb->datacnt = sg->len; in ahd_setup_data_scb() 305 dataptr_words = (uint32_t*)&scb->hscb->dataptr; in ahd_setup_data_scb() 312 scb->hscb->dataptr |= ahd_htole64(high_addr << 8); in ahd_setup_data_scb() [all …]
|
D | aic7xxx_core.c | 421 struct hardware_scb *hscb; in ahc_handle_seqint() local 451 hscb = scb->hscb; in ahc_handle_seqint() 468 ahc_set_scsi_status(scb, hscb->shared_data.status.scsi_status); in ahc_handle_seqint() 469 switch (hscb->shared_data.status.scsi_status) { in ahc_handle_seqint() 486 scb->hscb->tag); in ahc_handle_seqint() 500 sc = (struct scsi_sense *)(&hscb->shared_data.cdb); in ahc_handle_seqint() 536 hscb->control = 0; in ahc_handle_seqint() 553 hscb->control |= MK_MESSAGE; in ahc_handle_seqint() 557 hscb->cdb_len = sizeof(*sc); in ahc_handle_seqint() 558 hscb->dataptr = sg->addr; in ahc_handle_seqint() [all …]
|
D | aic79xx.h | 89 SCSIID_OUR_ID((scb)->hscb->scsiid) 91 SCSIID_TARGET((ahd), (scb)->hscb->scsiid) 93 SCSIID_CHANNEL(ahd, (scb)->hscb->scsiid) 95 ((scb)->hscb->lun) 121 ahd_le16toh(scb->hscb->tag) 136 (scb)->hscb->scsiid = ((col_idx) << TID_SHIFT) & TID; \ 137 (scb)->hscb->lun = ((col_idx) >> 4) & (AHD_NUM_LUNS_NONPKT-1); \ 142 dst->hscb->scsiid = src->hscb->scsiid; \ 143 dst->hscb->lun = src->hscb->lun; \ 600 struct hardware_scb *hscb; member
|
D | aic79xx_core.c | 416 hscb_ptr = (uint8_t *)scb->hscb; in ahd_flush_qoutfifo() 596 ahd_outb(ahd, SAVED_SCSIID, scb->hscb->scsiid); in ahd_handle_seqint() 597 ahd_outb(ahd, SAVED_LUN, scb->hscb->lun); in ahd_handle_seqint() 731 scb->hscb->control &= ~(TAG_ENB|SCB_TAG_TYPE); in ahd_handle_seqint() 732 scb->hscb->control |= MK_MESSAGE; in ahd_handle_seqint() 733 ahd_outb(ahd, SCB_CONTROL, scb->hscb->control); in ahd_handle_seqint() 735 ahd_outb(ahd, SAVED_SCSIID, scb->hscb->scsiid); in ahd_handle_seqint() 1049 scb->hscb->task_management); in ahd_handle_seqint() 1053 switch (scb->hscb->task_management) { in ahd_handle_seqint() 1058 lun = scb->hscb->lun; in ahd_handle_seqint() [all …]
|
D | aic7xxx_osm.c | 3660 struct hardware_scb *hscb; local 3696 hscb = scb->hscb; 3702 hscb->control = 0; 3703 hscb->scsiid = BUILD_SCSIID(ahc, cmd); 3704 hscb->lun = cmd->device->lun; 3709 hscb->scsirate = tinfo->scsirate; 3710 hscb->scsioffset = tinfo->curr.offset; 3712 hscb->control |= ULTRAENB; 3715 hscb->control |= DISCENB; 3722 scb->hscb->control |= MK_MESSAGE; [all …]
|
D | aic7xxx.h | 88 (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) 572 struct hardware_scb *hscb; member
|
D | aic79xx_osm.c | 1446 pending_scb->hscb->cdb_len = 0; 1447 pending_scb->hscb->task_attribute = 0; 1448 pending_scb->hscb->task_management = SIU_TASKMGMT_ABORT_TASK; 1459 pending_scb->hscb->task_management); 1470 pending_scb->hscb->control |= MK_MESSAGE|DISCONNECTED; 1561 struct hardware_scb *hscb; local 1598 hscb = scb->hscb; 1599 hscb->control = 0; 1600 hscb->scsiid = BUILD_SCSIID(ahd, cmd); 1601 hscb->lun = cmd->device->lun; [all …]
|
/linux-2.4.37.9/drivers/scsi/ |
D | aic7xxx_old.c | 620 (((scb)->hscb->target_channel_lun & TID) >> 4) 622 ((scb)->hscb->target_channel_lun & LID) 624 (((scb)->hscb->target_channel_lun & SELBUSB) != 0) 840 struct aic7xxx_hwscb *hscb; /* corresponding hardware scb */ member 1118 #define CTL_OF_SCB(scb) (((scb->hscb)->target_channel_lun >> 3) & 0x1), \ 1119 (((scb->hscb)->target_channel_lun >> 4) & 0xf), \ 1120 ((scb->hscb)->target_channel_lun & 0x07) 2487 int targ = (scb->hscb->target_channel_lun >> 4) & 0x0F; in aic7xxx_match_scb() 2488 int chan = (scb->hscb->target_channel_lun >> 3) & 0x01; in aic7xxx_match_scb() 2489 int slun = scb->hscb->target_channel_lun & 0x07; in aic7xxx_match_scb() [all …]
|