Searched refs:hscb (Results 1 – 6 of 6) sorted by relevance
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() local542 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 …]
1414 struct hardware_scb *hscb; in ahc_linux_run_command() local1461 hscb = scb->hscb; in ahc_linux_run_command()1467 hscb->control = 0; in ahc_linux_run_command()1468 hscb->scsiid = ahc_build_scsiid(ahc, cmd->device); in ahc_linux_run_command()1469 hscb->lun = cmd->device->lun; in ahc_linux_run_command()1474 hscb->scsirate = tinfo->scsirate; in ahc_linux_run_command()1475 hscb->scsioffset = tinfo->curr.offset; in ahc_linux_run_command()1477 hscb->control |= ULTRAENB; in ahc_linux_run_command()1480 hscb->control |= DISCENB; in ahc_linux_run_command()1484 scb->hscb->control |= MK_MESSAGE; in ahc_linux_run_command()[all …]
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
151 dst->hscb->scsiid = src->hscb->scsiid; \152 dst->hscb->lun = src->hscb->lun; \
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 …]
825 reset_scb->hscb->control = 0; in ahd_linux_dev_reset()826 reset_scb->hscb->scsiid = ahd_build_scsiid(ahd, cmd->device); in ahd_linux_dev_reset()827 reset_scb->hscb->lun = cmd->device->lun; in ahd_linux_dev_reset()828 reset_scb->hscb->cdb_len = 0; in ahd_linux_dev_reset()829 reset_scb->hscb->task_management = SIU_TASKMGMT_LUN_RESET; in ahd_linux_dev_reset()834 reset_scb->hscb->control |= MK_MESSAGE; in ahd_linux_dev_reset()1543 struct hardware_scb *hscb; in ahd_linux_run_command() local1578 hscb = scb->hscb; in ahd_linux_run_command()1584 hscb->control = 0; in ahd_linux_run_command()1585 hscb->scsiid = ahd_build_scsiid(ahd, cmd->device); in ahd_linux_run_command()[all …]