Searched refs:hscb (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/drivers/scsi/aic7xxx/ |
D | aic7xxx_core.c | 399 /*offset*/(scb->hscb - ahc->hscbs) * sizeof(*scb->hscb), in ahc_sync_scb() 400 /*len*/sizeof(*scb->hscb), op); in ahc_sync_scb() 433 sgptr = ahc_le32toh(scb->hscb->sgptr); in ahc_update_residual() 540 struct hardware_scb *hscb; in ahc_free_scb() local 542 hscb = scb->hscb; in ahc_free_scb() 544 ahc->scb_data->scbindex[hscb->tag] = NULL; in ahc_free_scb() 546 hscb->control = 0; in ahc_free_scb() 584 q_hscb = ahc->next_queued_scb->hscb; in ahc_swap_with_next_hscb() 586 memcpy(q_hscb, scb->hscb, sizeof(*scb->hscb)); in ahc_swap_with_next_hscb() 593 q_hscb->next = scb->hscb->tag; in ahc_swap_with_next_hscb() [all …]
|
D | aic7xxx_osm.c | 1423 struct hardware_scb *hscb; in ahc_linux_run_command() local 1470 hscb = scb->hscb; in ahc_linux_run_command() 1476 hscb->control = 0; in ahc_linux_run_command() 1477 hscb->scsiid = BUILD_SCSIID(ahc, cmd); in ahc_linux_run_command() 1478 hscb->lun = cmd->device->lun; in ahc_linux_run_command() 1483 hscb->scsirate = tinfo->scsirate; in ahc_linux_run_command() 1484 hscb->scsioffset = tinfo->curr.offset; in ahc_linux_run_command() 1486 hscb->control |= ULTRAENB; in ahc_linux_run_command() 1489 hscb->control |= DISCENB; in ahc_linux_run_command() 1493 scb->hscb->control |= MK_MESSAGE; in ahc_linux_run_command() [all …]
|
D | aic79xx_inline.h | 151 dst->hscb->scsiid = src->hscb->scsiid; \ 152 dst->hscb->lun = src->hscb->lun; \
|
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_core.c | 436 scb->hscb->task_attribute = scb->hscb->control & SCB_TAG_TYPE; in ahd_setup_scb_common() 439 scb->hscb->task_attribute = SCB_XFERLEN_ODD; in ahd_setup_scb_common() 441 scb->hscb->task_attribute = 0; in ahd_setup_scb_common() 444 if (scb->hscb->cdb_len <= MAX_CDB_LEN_WITH_SENSE_ADDR in ahd_setup_scb_common() 445 || (scb->hscb->cdb_len & SCB_CDB_LEN_PTR) != 0) in ahd_setup_scb_common() 446 scb->hscb->shared_data.idata.cdb_plus_saddr.sense_addr = in ahd_setup_scb_common() 460 scb->hscb->dataptr = sg->addr; in ahd_setup_data_scb() 461 scb->hscb->datacnt = sg->len; in ahd_setup_data_scb() 467 dataptr_words = (uint32_t*)&scb->hscb->dataptr; in ahd_setup_data_scb() 474 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() 1558 struct hardware_scb *hscb; in ahd_linux_run_command() local 1593 hscb = scb->hscb; in ahd_linux_run_command() 1599 hscb->control = 0; in ahd_linux_run_command() 1600 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
|