Searched refs:hscb (Results 1 – 7 of 7) sorted by relevance
/drivers/scsi/aic7xxx/ |
D | aic7xxx_core.c | 406 /*offset*/(scb->hscb - ahc->hscbs) * sizeof(*scb->hscb), in ahc_sync_scb() 407 /*len*/sizeof(*scb->hscb), op); in ahc_sync_scb() 440 sgptr = ahc_le32toh(scb->hscb->sgptr); in ahc_update_residual() 547 struct hardware_scb *hscb; in ahc_free_scb() local 549 hscb = scb->hscb; in ahc_free_scb() 551 ahc->scb_data->scbindex[hscb->tag] = NULL; in ahc_free_scb() 553 hscb->control = 0; in ahc_free_scb() 591 q_hscb = ahc->next_queued_scb->hscb; in ahc_swap_with_next_hscb() 593 memcpy(q_hscb, scb->hscb, sizeof(*scb->hscb)); in ahc_swap_with_next_hscb() 600 q_hscb->next = scb->hscb->tag; in ahc_swap_with_next_hscb() [all …]
|
D | aic7xxx_osm.c | 1426 struct hardware_scb *hscb; in ahc_linux_run_command() local 1473 hscb = scb->hscb; in ahc_linux_run_command() 1479 hscb->control = 0; in ahc_linux_run_command() 1480 hscb->scsiid = BUILD_SCSIID(ahc, cmd); in ahc_linux_run_command() 1481 hscb->lun = cmd->device->lun; in ahc_linux_run_command() 1486 hscb->scsirate = tinfo->scsirate; in ahc_linux_run_command() 1487 hscb->scsioffset = tinfo->curr.offset; in ahc_linux_run_command() 1489 hscb->control |= ULTRAENB; in ahc_linux_run_command() 1492 hscb->control |= DISCENB; in ahc_linux_run_command() 1496 scb->hscb->control |= MK_MESSAGE; in ahc_linux_run_command() [all …]
|
D | aic79xx.h | 78 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
|
D | aic79xx_inline.h | 151 dst->hscb->scsiid = src->hscb->scsiid; \ 152 dst->hscb->lun = src->hscb->lun; \
|
D | aic79xx_core.c | 444 scb->hscb->task_attribute = scb->hscb->control & SCB_TAG_TYPE; in ahd_setup_scb_common() 447 scb->hscb->task_attribute = SCB_XFERLEN_ODD; in ahd_setup_scb_common() 449 scb->hscb->task_attribute = 0; in ahd_setup_scb_common() 452 if (scb->hscb->cdb_len <= MAX_CDB_LEN_WITH_SENSE_ADDR in ahd_setup_scb_common() 453 || (scb->hscb->cdb_len & SCB_CDB_LEN_PTR) != 0) in ahd_setup_scb_common() 454 scb->hscb->shared_data.idata.cdb_plus_saddr.sense_addr = in ahd_setup_scb_common() 468 scb->hscb->dataptr = sg->addr; in ahd_setup_data_scb() 469 scb->hscb->datacnt = sg->len; in ahd_setup_data_scb() 475 dataptr_words = (uint32_t*)&scb->hscb->dataptr; in ahd_setup_data_scb() 482 scb->hscb->dataptr |= ahd_htole64(high_addr << 8); in ahd_setup_data_scb() [all …]
|
D | aic79xx_osm.c | 839 reset_scb->hscb->control = 0; in ahd_linux_dev_reset() 840 reset_scb->hscb->scsiid = BUILD_SCSIID(ahd,cmd); in ahd_linux_dev_reset() 841 reset_scb->hscb->lun = cmd->device->lun; in ahd_linux_dev_reset() 842 reset_scb->hscb->cdb_len = 0; in ahd_linux_dev_reset() 843 reset_scb->hscb->task_management = SIU_TASKMGMT_LUN_RESET; in ahd_linux_dev_reset() 848 reset_scb->hscb->control |= MK_MESSAGE; in ahd_linux_dev_reset() 1559 struct hardware_scb *hscb; in ahd_linux_run_command() local 1594 hscb = scb->hscb; in ahd_linux_run_command() 1600 hscb->control = 0; in ahd_linux_run_command() 1601 hscb->scsiid = BUILD_SCSIID(ahd, cmd); in ahd_linux_run_command() [all …]
|
D | aic7xxx.h | 78 (SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid) == 'B') 80 SCSIID_OUR_ID((scb)->hscb->scsiid) 82 SCSIID_TARGET((ahc), (scb)->hscb->scsiid) 84 SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid) 86 ((scb)->hscb->lun & LID) 562 struct hardware_scb *hscb; member
|