hscb 78 drivers/scsi/aic7xxx/aic79xx.h SCSIID_OUR_ID((scb)->hscb->scsiid) hscb 80 drivers/scsi/aic7xxx/aic79xx.h SCSIID_TARGET((ahd), (scb)->hscb->scsiid) hscb 82 drivers/scsi/aic7xxx/aic79xx.h SCSIID_CHANNEL(ahd, (scb)->hscb->scsiid) hscb 84 drivers/scsi/aic7xxx/aic79xx.h ((scb)->hscb->lun) hscb 110 drivers/scsi/aic7xxx/aic79xx.h ahd_le16toh(scb->hscb->tag) hscb 125 drivers/scsi/aic7xxx/aic79xx.h (scb)->hscb->scsiid = ((col_idx) << TID_SHIFT) & TID; \ hscb 126 drivers/scsi/aic7xxx/aic79xx.h (scb)->hscb->lun = ((col_idx) >> 4) & (AHD_NUM_LUNS_NONPKT-1); \ hscb 131 drivers/scsi/aic7xxx/aic79xx.h dst->hscb->scsiid = src->hscb->scsiid; \ hscb 132 drivers/scsi/aic7xxx/aic79xx.h dst->hscb->lun = src->hscb->lun; \ hscb 593 drivers/scsi/aic7xxx/aic79xx.h struct hardware_scb *hscb; hscb 436 drivers/scsi/aic7xxx/aic79xx_core.c scb->hscb->task_attribute = scb->hscb->control & SCB_TAG_TYPE; hscb 439 drivers/scsi/aic7xxx/aic79xx_core.c scb->hscb->task_attribute = SCB_XFERLEN_ODD; hscb 441 drivers/scsi/aic7xxx/aic79xx_core.c scb->hscb->task_attribute = 0; hscb 444 drivers/scsi/aic7xxx/aic79xx_core.c if (scb->hscb->cdb_len <= MAX_CDB_LEN_WITH_SENSE_ADDR hscb 445 drivers/scsi/aic7xxx/aic79xx_core.c || (scb->hscb->cdb_len & SCB_CDB_LEN_PTR) != 0) hscb 446 drivers/scsi/aic7xxx/aic79xx_core.c scb->hscb->shared_data.idata.cdb_plus_saddr.sense_addr = hscb 460 drivers/scsi/aic7xxx/aic79xx_core.c scb->hscb->dataptr = sg->addr; hscb 461 drivers/scsi/aic7xxx/aic79xx_core.c scb->hscb->datacnt = sg->len; hscb 467 drivers/scsi/aic7xxx/aic79xx_core.c dataptr_words = (uint32_t*)&scb->hscb->dataptr; hscb 474 drivers/scsi/aic7xxx/aic79xx_core.c scb->hscb->dataptr |= ahd_htole64(high_addr << 8); hscb 476 drivers/scsi/aic7xxx/aic79xx_core.c scb->hscb->datacnt = sg->len; hscb 484 drivers/scsi/aic7xxx/aic79xx_core.c scb->hscb->sgptr = ahd_htole32(scb->sg_list_busaddr|SG_FULL_RESID); hscb 490 drivers/scsi/aic7xxx/aic79xx_core.c scb->hscb->sgptr = ahd_htole32(SG_LIST_NULL); hscb 491 drivers/scsi/aic7xxx/aic79xx_core.c scb->hscb->dataptr = 0; hscb 492 drivers/scsi/aic7xxx/aic79xx_core.c scb->hscb->datacnt = 0; hscb 523 drivers/scsi/aic7xxx/aic79xx_core.c /*offset*/(uint8_t*)scb->hscb - scb->hscb_map->vaddr, hscb 524 drivers/scsi/aic7xxx/aic79xx_core.c /*len*/sizeof(*scb->hscb), op); hscb 823 drivers/scsi/aic7xxx/aic79xx_core.c memcpy(q_hscb, scb->hscb, sizeof(*scb->hscb)); hscb 825 drivers/scsi/aic7xxx/aic79xx_core.c q_hscb->next_hscb_busaddr = scb->hscb->hscb_busaddr; hscb 828 drivers/scsi/aic7xxx/aic79xx_core.c ahd->next_queued_hscb = scb->hscb; hscb 830 drivers/scsi/aic7xxx/aic79xx_core.c scb->hscb = q_hscb; hscb 871 drivers/scsi/aic7xxx/aic79xx_core.c host_dataptr = ahd_le64toh(scb->hscb->dataptr); hscb 874 drivers/scsi/aic7xxx/aic79xx_core.c SCB_GET_TAG(scb), scb->hscb->scsiid, hscb 875 drivers/scsi/aic7xxx/aic79xx_core.c ahd_le32toh(scb->hscb->hscb_busaddr), hscb 878 drivers/scsi/aic7xxx/aic79xx_core.c ahd_le32toh(scb->hscb->datacnt)); hscb 1096 drivers/scsi/aic7xxx/aic79xx_core.c sgptr = ahd_le32toh(scb->hscb->sgptr); hscb 1106 drivers/scsi/aic7xxx/aic79xx_core.c sgptr = ahd_le32toh(scb->hscb->sgptr); hscb 1338 drivers/scsi/aic7xxx/aic79xx_core.c hscb_ptr = (uint8_t *)scb->hscb; hscb 1818 drivers/scsi/aic7xxx/aic79xx_core.c ahd_outb(ahd, SAVED_SCSIID, scb->hscb->scsiid); hscb 1819 drivers/scsi/aic7xxx/aic79xx_core.c ahd_outb(ahd, SAVED_LUN, scb->hscb->lun); hscb 1958 drivers/scsi/aic7xxx/aic79xx_core.c scb->hscb->control &= ~(TAG_ENB|SCB_TAG_TYPE); hscb 1959 drivers/scsi/aic7xxx/aic79xx_core.c scb->hscb->control |= MK_MESSAGE; hscb 1960 drivers/scsi/aic7xxx/aic79xx_core.c ahd_outb(ahd, SCB_CONTROL, scb->hscb->control); hscb 1962 drivers/scsi/aic7xxx/aic79xx_core.c ahd_outb(ahd, SAVED_SCSIID, scb->hscb->scsiid); hscb 2281 drivers/scsi/aic7xxx/aic79xx_core.c scb->hscb->task_management); hscb 2285 drivers/scsi/aic7xxx/aic79xx_core.c switch (scb->hscb->task_management) { hscb 2291 drivers/scsi/aic7xxx/aic79xx_core.c lun = scb->hscb->lun; hscb 2298 drivers/scsi/aic7xxx/aic79xx_core.c lun = scb->hscb->lun; hscb 3101 drivers/scsi/aic7xxx/aic79xx_core.c saved_lun = scb->hscb->lun; hscb 3285 drivers/scsi/aic7xxx/aic79xx_core.c if ((scb->hscb->control & TAG_ENB) != 0) hscb 3594 drivers/scsi/aic7xxx/aic79xx_core.c struct hardware_scb *hscb; hscb 3597 drivers/scsi/aic7xxx/aic79xx_core.c hscb = scb->hscb; hscb 3600 drivers/scsi/aic7xxx/aic79xx_core.c hscb->control, hscb 3601 drivers/scsi/aic7xxx/aic79xx_core.c hscb->scsiid, hscb 3602 drivers/scsi/aic7xxx/aic79xx_core.c hscb->lun, hscb 3603 drivers/scsi/aic7xxx/aic79xx_core.c hscb->cdb_len); hscb 3605 drivers/scsi/aic7xxx/aic79xx_core.c for (i = 0; i < sizeof(hscb->shared_data.idata.cdb); i++) hscb 3606 drivers/scsi/aic7xxx/aic79xx_core.c printk("%#02x", hscb->shared_data.idata.cdb[i]); hscb 3608 drivers/scsi/aic7xxx/aic79xx_core.c (uint32_t)((ahd_le64toh(hscb->dataptr) >> 32) & 0xFFFFFFFF), hscb 3609 drivers/scsi/aic7xxx/aic79xx_core.c (uint32_t)(ahd_le64toh(hscb->dataptr) & 0xFFFFFFFF), hscb 3610 drivers/scsi/aic7xxx/aic79xx_core.c ahd_le32toh(hscb->datacnt), hscb 3611 drivers/scsi/aic7xxx/aic79xx_core.c ahd_le32toh(hscb->sgptr), hscb 4245 drivers/scsi/aic7xxx/aic79xx_core.c pending_scb->hscb->control &= ~MK_MESSAGE; hscb 4285 drivers/scsi/aic7xxx/aic79xx_core.c control |= pending_scb->hscb->control & MK_MESSAGE; hscb 4378 drivers/scsi/aic7xxx/aic79xx_core.c our_id = SCSIID_OUR_ID(scb->hscb->scsiid); hscb 4380 drivers/scsi/aic7xxx/aic79xx_core.c if ((scb->hscb->control & TARGET_SCB) != 0) hscb 4434 drivers/scsi/aic7xxx/aic79xx_core.c if ((scb->hscb->control & DISCENB) != 0) hscb 4439 drivers/scsi/aic7xxx/aic79xx_core.c if ((scb->hscb->control & TAG_ENB) != 0) { hscb 4441 drivers/scsi/aic7xxx/aic79xx_core.c scb->hscb->control & (TAG_ENB|SCB_TAG_TYPE); hscb 4462 drivers/scsi/aic7xxx/aic79xx_core.c if ((scb->hscb->control & TAG_ENB) != 0) { hscb 4470 drivers/scsi/aic7xxx/aic79xx_core.c (scb->hscb->control & TAG_ENB) != 0 ? " Tag" : ""); hscb 4492 drivers/scsi/aic7xxx/aic79xx_core.c printk("SCSIID = %x, target_mask = %x\n", scb->hscb->scsiid, hscb 4495 drivers/scsi/aic7xxx/aic79xx_core.c "SCB flags = %x", SCB_GET_TAG(scb), scb->hscb->control, hscb 4506 drivers/scsi/aic7xxx/aic79xx_core.c scb->hscb->control &= ~MK_MESSAGE; hscb 5610 drivers/scsi/aic7xxx/aic79xx_core.c } else if ((scb->hscb->control & MSG_SIMPLE_TASK) != 0) { hscb 5614 drivers/scsi/aic7xxx/aic79xx_core.c tag_type = (scb->hscb->control & MSG_SIMPLE_TASK); hscb 5638 drivers/scsi/aic7xxx/aic79xx_core.c scb->hscb->control &= mask; hscb 5643 drivers/scsi/aic7xxx/aic79xx_core.c ahd_busy_tcl(ahd, BUILD_TCL(scb->hscb->scsiid, devinfo->lun), hscb 6744 drivers/scsi/aic7xxx/aic79xx_core.c scb->hscb->control = 0; hscb 6768 drivers/scsi/aic7xxx/aic79xx_core.c && (scb->col_scb->hscb->control & TAG_ENB) != 0) { hscb 6796 drivers/scsi/aic7xxx/aic79xx_core.c struct hardware_scb *hscb; hscb 6816 drivers/scsi/aic7xxx/aic79xx_core.c offset = (PAGE_SIZE / sizeof(*hscb)) - scb_data->scbs_left; hscb 6818 drivers/scsi/aic7xxx/aic79xx_core.c hscb = &((struct hardware_scb *)hscb_map->vaddr)[offset]; hscb 6819 drivers/scsi/aic7xxx/aic79xx_core.c hscb_busaddr = hscb_map->physaddr + (offset * sizeof(*hscb)); hscb 6840 drivers/scsi/aic7xxx/aic79xx_core.c hscb = (struct hardware_scb *)hscb_map->vaddr; hscb 6842 drivers/scsi/aic7xxx/aic79xx_core.c scb_data->scbs_left = PAGE_SIZE / sizeof(*hscb); hscb 6942 drivers/scsi/aic7xxx/aic79xx_core.c memset(hscb, 0, sizeof(*hscb)); hscb 6943 drivers/scsi/aic7xxx/aic79xx_core.c next_scb->hscb = hscb; hscb 6944 drivers/scsi/aic7xxx/aic79xx_core.c hscb->hscb_busaddr = ahd_htole32(hscb_busaddr); hscb 6958 drivers/scsi/aic7xxx/aic79xx_core.c next_scb->hscb->tag = ahd_htole16(scb_data->numscbs); hscb 6964 drivers/scsi/aic7xxx/aic79xx_core.c hscb++; hscb 6965 drivers/scsi/aic7xxx/aic79xx_core.c hscb_busaddr += sizeof(*hscb); hscb 8073 drivers/scsi/aic7xxx/aic79xx_core.c busaddr = ahd_le32toh(scb->hscb->hscb_busaddr); hscb 8076 drivers/scsi/aic7xxx/aic79xx_core.c prev_scb->hscb->next_hscb_busaddr = scb->hscb->hscb_busaddr; hscb 8082 drivers/scsi/aic7xxx/aic79xx_core.c scb->hscb->next_hscb_busaddr = ahd->next_queued_hscb->hscb_busaddr; hscb 8868 drivers/scsi/aic7xxx/aic79xx_core.c struct hardware_scb *hscb; hscb 8880 drivers/scsi/aic7xxx/aic79xx_core.c hscb = scb->hscb; hscb 8910 drivers/scsi/aic7xxx/aic79xx_core.c ahd_set_scsi_status(scb, hscb->shared_data.istatus.scsi_status); hscb 8911 drivers/scsi/aic7xxx/aic79xx_core.c switch (hscb->shared_data.istatus.scsi_status) { hscb 9004 drivers/scsi/aic7xxx/aic79xx_core.c sc = (struct scsi_sense *)hscb->shared_data.idata.cdb; hscb 9036 drivers/scsi/aic7xxx/aic79xx_core.c hscb->control = 0; hscb 9052 drivers/scsi/aic7xxx/aic79xx_core.c hscb->control |= MK_MESSAGE; hscb 9057 drivers/scsi/aic7xxx/aic79xx_core.c hscb->cdb_len = sizeof(*sc); hscb 9076 drivers/scsi/aic7xxx/aic79xx_core.c if (scb->hscb->shared_data.istatus.scsi_status != 0) { hscb 9090 drivers/scsi/aic7xxx/aic79xx_core.c struct hardware_scb *hscb; hscb 9112 drivers/scsi/aic7xxx/aic79xx_core.c hscb = scb->hscb; hscb 9113 drivers/scsi/aic7xxx/aic79xx_core.c sgptr = ahd_le32toh(hscb->sgptr); hscb 9129 drivers/scsi/aic7xxx/aic79xx_core.c spkt = &hscb->shared_data.istatus; hscb 151 drivers/scsi/aic7xxx/aic79xx_inline.h dst->hscb->scsiid = src->hscb->scsiid; \ hscb 152 drivers/scsi/aic7xxx/aic79xx_inline.h dst->hscb->lun = src->hscb->lun; \ hscb 839 drivers/scsi/aic7xxx/aic79xx_osm.c reset_scb->hscb->control = 0; hscb 840 drivers/scsi/aic7xxx/aic79xx_osm.c reset_scb->hscb->scsiid = BUILD_SCSIID(ahd,cmd); hscb 841 drivers/scsi/aic7xxx/aic79xx_osm.c reset_scb->hscb->lun = cmd->device->lun; hscb 842 drivers/scsi/aic7xxx/aic79xx_osm.c reset_scb->hscb->cdb_len = 0; hscb 843 drivers/scsi/aic7xxx/aic79xx_osm.c reset_scb->hscb->task_management = SIU_TASKMGMT_LUN_RESET; hscb 848 drivers/scsi/aic7xxx/aic79xx_osm.c reset_scb->hscb->control |= MK_MESSAGE; hscb 1558 drivers/scsi/aic7xxx/aic79xx_osm.c struct hardware_scb *hscb; hscb 1593 drivers/scsi/aic7xxx/aic79xx_osm.c hscb = scb->hscb; hscb 1599 drivers/scsi/aic7xxx/aic79xx_osm.c hscb->control = 0; hscb 1600 drivers/scsi/aic7xxx/aic79xx_osm.c hscb->scsiid = BUILD_SCSIID(ahd, cmd); hscb 1601 drivers/scsi/aic7xxx/aic79xx_osm.c hscb->lun = cmd->device->lun; hscb 1602 drivers/scsi/aic7xxx/aic79xx_osm.c scb->hscb->task_management = 0; hscb 1606 drivers/scsi/aic7xxx/aic79xx_osm.c hscb->control |= DISCENB; hscb 1613 drivers/scsi/aic7xxx/aic79xx_osm.c scb->hscb->control |= MK_MESSAGE; hscb 1619 drivers/scsi/aic7xxx/aic79xx_osm.c hscb->control |= MSG_ORDERED_TASK; hscb 1622 drivers/scsi/aic7xxx/aic79xx_osm.c hscb->control |= MSG_SIMPLE_TASK; hscb 1626 drivers/scsi/aic7xxx/aic79xx_osm.c hscb->cdb_len = cmd->cmd_len; hscb 1627 drivers/scsi/aic7xxx/aic79xx_osm.c memcpy(hscb->shared_data.idata.cdb, cmd->cmnd, hscb->cdb_len); hscb 2243 drivers/scsi/aic7xxx/aic79xx_osm.c pending_scb->hscb->tag, hscb 2293 drivers/scsi/aic7xxx/aic79xx_osm.c pending_scb->hscb->cdb_len = 0; hscb 2294 drivers/scsi/aic7xxx/aic79xx_osm.c pending_scb->hscb->task_attribute = 0; hscb 2295 drivers/scsi/aic7xxx/aic79xx_osm.c pending_scb->hscb->task_management = SIU_TASKMGMT_ABORT_TASK; hscb 2306 drivers/scsi/aic7xxx/aic79xx_osm.c pending_scb->hscb->task_management); hscb 2317 drivers/scsi/aic7xxx/aic79xx_osm.c pending_scb->hscb->control |= MK_MESSAGE|DISCONNECTED; hscb 78 drivers/scsi/aic7xxx/aic7xxx.h (SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid) == 'B') hscb 80 drivers/scsi/aic7xxx/aic7xxx.h SCSIID_OUR_ID((scb)->hscb->scsiid) hscb 82 drivers/scsi/aic7xxx/aic7xxx.h SCSIID_TARGET((ahc), (scb)->hscb->scsiid) hscb 84 drivers/scsi/aic7xxx/aic7xxx.h SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid) hscb 86 drivers/scsi/aic7xxx/aic7xxx.h ((scb)->hscb->lun & LID) hscb 562 drivers/scsi/aic7xxx/aic7xxx.h struct hardware_scb *hscb; hscb 399 drivers/scsi/aic7xxx/aic7xxx_core.c /*offset*/(scb->hscb - ahc->hscbs) * sizeof(*scb->hscb), hscb 400 drivers/scsi/aic7xxx/aic7xxx_core.c /*len*/sizeof(*scb->hscb), op); hscb 433 drivers/scsi/aic7xxx/aic7xxx_core.c sgptr = ahc_le32toh(scb->hscb->sgptr); hscb 540 drivers/scsi/aic7xxx/aic7xxx_core.c struct hardware_scb *hscb; hscb 542 drivers/scsi/aic7xxx/aic7xxx_core.c hscb = scb->hscb; hscb 544 drivers/scsi/aic7xxx/aic7xxx_core.c ahc->scb_data->scbindex[hscb->tag] = NULL; hscb 546 drivers/scsi/aic7xxx/aic7xxx_core.c hscb->control = 0; hscb 584 drivers/scsi/aic7xxx/aic7xxx_core.c q_hscb = ahc->next_queued_scb->hscb; hscb 586 drivers/scsi/aic7xxx/aic7xxx_core.c memcpy(q_hscb, scb->hscb, sizeof(*scb->hscb)); hscb 593 drivers/scsi/aic7xxx/aic7xxx_core.c q_hscb->next = scb->hscb->tag; hscb 596 drivers/scsi/aic7xxx/aic7xxx_core.c ahc->next_queued_scb->hscb = scb->hscb; hscb 597 drivers/scsi/aic7xxx/aic7xxx_core.c scb->hscb = q_hscb; hscb 600 drivers/scsi/aic7xxx/aic7xxx_core.c ahc->scb_data->scbindex[scb->hscb->tag] = scb; hscb 611 drivers/scsi/aic7xxx/aic7xxx_core.c if (scb->hscb->tag == SCB_LIST_NULL hscb 612 drivers/scsi/aic7xxx/aic7xxx_core.c || scb->hscb->next == SCB_LIST_NULL) hscb 614 drivers/scsi/aic7xxx/aic7xxx_core.c scb->hscb->tag, scb->hscb->next); hscb 619 drivers/scsi/aic7xxx/aic7xxx_core.c scb->hscb->lun &= LID; hscb 621 drivers/scsi/aic7xxx/aic7xxx_core.c scb->hscb->lun |= SCB_XFERLEN_ODD; hscb 626 drivers/scsi/aic7xxx/aic7xxx_core.c ahc->qinfifo[ahc->qinfifonext++] = scb->hscb->tag; hscb 995 drivers/scsi/aic7xxx/aic7xxx_core.c struct hardware_scb *hscb; hscb 1025 drivers/scsi/aic7xxx/aic7xxx_core.c hscb = scb->hscb; hscb 1042 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_set_scsi_status(scb, hscb->shared_data.status.scsi_status); hscb 1043 drivers/scsi/aic7xxx/aic7xxx_core.c switch (hscb->shared_data.status.scsi_status) { hscb 1060 drivers/scsi/aic7xxx/aic7xxx_core.c scb->hscb->tag); hscb 1074 drivers/scsi/aic7xxx/aic7xxx_core.c sc = (struct scsi_sense *)(&hscb->shared_data.cdb); hscb 1110 drivers/scsi/aic7xxx/aic7xxx_core.c hscb->control = 0; hscb 1127 drivers/scsi/aic7xxx/aic7xxx_core.c hscb->control |= MK_MESSAGE; hscb 1131 drivers/scsi/aic7xxx/aic7xxx_core.c hscb->cdb_len = sizeof(*sc); hscb 1132 drivers/scsi/aic7xxx/aic7xxx_core.c hscb->dataptr = sg->addr; hscb 1133 drivers/scsi/aic7xxx/aic7xxx_core.c hscb->datacnt = sg->len; hscb 1134 drivers/scsi/aic7xxx/aic7xxx_core.c hscb->sgptr = scb->sg_list_phys | SG_FULL_RESID; hscb 1135 drivers/scsi/aic7xxx/aic7xxx_core.c hscb->sgptr = ahc_htole32(hscb->sgptr); hscb 1394 drivers/scsi/aic7xxx/aic7xxx_core.c scb->hscb->tag); hscb 1462 drivers/scsi/aic7xxx/aic7xxx_core.c SCB_GET_LUN(scb), scb->hscb->tag, hscb 1825 drivers/scsi/aic7xxx/aic7xxx_core.c tag = scb->hscb->tag; hscb 1828 drivers/scsi/aic7xxx/aic7xxx_core.c scb->hscb->tag, tag == SCB_LIST_NULL ? hscb 1916 drivers/scsi/aic7xxx/aic7xxx_core.c if ((scb->hscb->control & TAG_ENB) != 0) hscb 1917 drivers/scsi/aic7xxx/aic7xxx_core.c tag = scb->hscb->tag; hscb 2098 drivers/scsi/aic7xxx/aic7xxx_core.c struct hardware_scb *hscb = scb->hscb; hscb 2102 drivers/scsi/aic7xxx/aic7xxx_core.c hscb->control, hscb 2103 drivers/scsi/aic7xxx/aic7xxx_core.c hscb->scsiid, hscb 2104 drivers/scsi/aic7xxx/aic7xxx_core.c hscb->lun, hscb 2105 drivers/scsi/aic7xxx/aic7xxx_core.c hscb->cdb_len); hscb 2107 drivers/scsi/aic7xxx/aic7xxx_core.c for (i = 0; i < sizeof(hscb->shared_data.cdb); i++) hscb 2108 drivers/scsi/aic7xxx/aic7xxx_core.c printk("%#02x", hscb->shared_data.cdb[i]); hscb 2110 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_le32toh(hscb->dataptr), hscb 2111 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_le32toh(hscb->datacnt), hscb 2112 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_le32toh(hscb->sgptr), hscb 2113 drivers/scsi/aic7xxx/aic7xxx_core.c hscb->tag); hscb 2708 drivers/scsi/aic7xxx/aic7xxx_core.c pending_hscb = pending_scb->hscb; hscb 2747 drivers/scsi/aic7xxx/aic7xxx_core.c pending_hscb = pending_scb->hscb; hscb 2841 drivers/scsi/aic7xxx/aic7xxx_core.c our_id = SCSIID_OUR_ID(scb->hscb->scsiid); hscb 2885 drivers/scsi/aic7xxx/aic7xxx_core.c if ((scb->hscb->control & DISCENB) != 0) hscb 2890 drivers/scsi/aic7xxx/aic7xxx_core.c if ((scb->hscb->control & TAG_ENB) != 0) { hscb 2892 drivers/scsi/aic7xxx/aic7xxx_core.c scb->hscb->control & (TAG_ENB|SCB_TAG_TYPE); hscb 2893 drivers/scsi/aic7xxx/aic7xxx_core.c ahc->msgout_buf[ahc->msgout_index++] = scb->hscb->tag; hscb 2912 drivers/scsi/aic7xxx/aic7xxx_core.c if ((scb->hscb->control & TAG_ENB) != 0) hscb 2919 drivers/scsi/aic7xxx/aic7xxx_core.c (scb->hscb->control & TAG_ENB) != 0 ? " Tag" : ""); hscb 2933 drivers/scsi/aic7xxx/aic7xxx_core.c printk("SCSIID = %x, target_mask = %x\n", scb->hscb->scsiid, hscb 2936 drivers/scsi/aic7xxx/aic7xxx_core.c "SCB flags = %x", scb->hscb->tag, scb->hscb->control, hscb 2945 drivers/scsi/aic7xxx/aic7xxx_core.c scb->hscb->control &= ~MK_MESSAGE; hscb 4076 drivers/scsi/aic7xxx/aic7xxx_core.c } else if ((scb->hscb->control & MSG_SIMPLE_TASK) != 0) { hscb 4080 drivers/scsi/aic7xxx/aic7xxx_core.c tag_type = (scb->hscb->control & MSG_SIMPLE_TASK); hscb 4104 drivers/scsi/aic7xxx/aic7xxx_core.c scb->hscb->control &= mask; hscb 4122 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_busy_tcl(ahc, BUILD_TCL(scb->hscb->scsiid, devinfo->lun), hscb 4123 drivers/scsi/aic7xxx/aic7xxx_core.c scb->hscb->tag); hscb 5015 drivers/scsi/aic7xxx/aic7xxx_core.c next_scb->hscb = &scb_data->hscbs[scb_data->numscbs]; hscb 5016 drivers/scsi/aic7xxx/aic7xxx_core.c next_scb->hscb->tag = ahc->scb_data->numscbs; hscb 5218 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_outb(ahc, NEXT_QUEUED_SCB, ahc->next_queued_scb->hscb->tag); hscb 5742 drivers/scsi/aic7xxx/aic7xxx_core.c && ((tag == scb->hscb->tag) hscb 5750 drivers/scsi/aic7xxx/aic7xxx_core.c match = ((tag == scb->hscb->tag) || (tag == SCB_LIST_NULL)); hscb 5802 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_outb(ahc, NEXT_QUEUED_SCB, scb->hscb->tag); hscb 5804 drivers/scsi/aic7xxx/aic7xxx_core.c prev_scb->hscb->next = scb->hscb->tag; hscb 5808 drivers/scsi/aic7xxx/aic7xxx_core.c ahc->qinfifo[ahc->qinfifonext++] = scb->hscb->tag; hscb 5809 drivers/scsi/aic7xxx/aic7xxx_core.c scb->hscb->next = ahc->next_queued_scb->hscb->tag; hscb 5868 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_outb(ahc, NEXT_QUEUED_SCB, ahc->next_queued_scb->hscb->tag); hscb 5949 drivers/scsi/aic7xxx/aic7xxx_core.c next = scb->hscb->next; hscb 5950 drivers/scsi/aic7xxx/aic7xxx_core.c ahc->scb_data->scbindex[scb->hscb->tag] = NULL; hscb 5952 drivers/scsi/aic7xxx/aic7xxx_core.c scb->hscb->next = next; hscb 5953 drivers/scsi/aic7xxx/aic7xxx_core.c ahc->qinfifo[qinstart] = scb->hscb->tag; hscb 5956 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_outb(ahc, NEXT_QUEUED_SCB, scb->hscb->tag); hscb 5961 drivers/scsi/aic7xxx/aic7xxx_core.c scb->hscb->next = ahc->next_queued_scb->hscb->tag; hscb 6623 drivers/scsi/aic7xxx/aic7xxx_core.c struct hardware_scb *hscb; hscb 6645 drivers/scsi/aic7xxx/aic7xxx_core.c hscb = scb->hscb; hscb 6646 drivers/scsi/aic7xxx/aic7xxx_core.c sgptr = ahc_le32toh(hscb->sgptr); hscb 6656 drivers/scsi/aic7xxx/aic7xxx_core.c spkt = &hscb->shared_data.status; hscb 7198 drivers/scsi/aic7xxx/aic7xxx_core.c printk("Kernel NEXTQSCB = %d\n", ahc->next_queued_scb->hscb->tag); hscb 7271 drivers/scsi/aic7xxx/aic7xxx_core.c cur_col = printk("\n%3d ", scb->hscb->tag); hscb 7272 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_scb_control_print(scb->hscb->control, &cur_col, 60); hscb 7273 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_scb_scsiid_print(scb->hscb->scsiid, &cur_col, 60); hscb 7274 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_scb_lun_print(scb->hscb->lun, &cur_col, 60); hscb 7276 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_outb(ahc, SCBPTR, scb->hscb->tag); hscb 7291 drivers/scsi/aic7xxx/aic7xxx_core.c printk("%d ", scb->hscb->tag); hscb 7305 drivers/scsi/aic7xxx/aic7xxx_core.c printk("%d ", scb->hscb->tag); hscb 1423 drivers/scsi/aic7xxx/aic7xxx_osm.c struct hardware_scb *hscb; hscb 1470 drivers/scsi/aic7xxx/aic7xxx_osm.c hscb = scb->hscb; hscb 1476 drivers/scsi/aic7xxx/aic7xxx_osm.c hscb->control = 0; hscb 1477 drivers/scsi/aic7xxx/aic7xxx_osm.c hscb->scsiid = BUILD_SCSIID(ahc, cmd); hscb 1478 drivers/scsi/aic7xxx/aic7xxx_osm.c hscb->lun = cmd->device->lun; hscb 1483 drivers/scsi/aic7xxx/aic7xxx_osm.c hscb->scsirate = tinfo->scsirate; hscb 1484 drivers/scsi/aic7xxx/aic7xxx_osm.c hscb->scsioffset = tinfo->curr.offset; hscb 1486 drivers/scsi/aic7xxx/aic7xxx_osm.c hscb->control |= ULTRAENB; hscb 1489 drivers/scsi/aic7xxx/aic7xxx_osm.c hscb->control |= DISCENB; hscb 1493 drivers/scsi/aic7xxx/aic7xxx_osm.c scb->hscb->control |= MK_MESSAGE; hscb 1499 drivers/scsi/aic7xxx/aic7xxx_osm.c hscb->control |= MSG_ORDERED_TASK; hscb 1502 drivers/scsi/aic7xxx/aic7xxx_osm.c hscb->control |= MSG_SIMPLE_TASK; hscb 1506 drivers/scsi/aic7xxx/aic7xxx_osm.c hscb->cdb_len = cmd->cmd_len; hscb 1507 drivers/scsi/aic7xxx/aic7xxx_osm.c if (hscb->cdb_len <= 12) { hscb 1508 drivers/scsi/aic7xxx/aic7xxx_osm.c memcpy(hscb->shared_data.cdb, cmd->cmnd, hscb->cdb_len); hscb 1510 drivers/scsi/aic7xxx/aic7xxx_osm.c memcpy(hscb->cdb32, cmd->cmnd, hscb->cdb_len); hscb 1548 drivers/scsi/aic7xxx/aic7xxx_osm.c scb->hscb->sgptr = hscb 1555 drivers/scsi/aic7xxx/aic7xxx_osm.c scb->hscb->dataptr = scb->sg_list->addr; hscb 1556 drivers/scsi/aic7xxx/aic7xxx_osm.c scb->hscb->datacnt = scb->sg_list->len; hscb 1558 drivers/scsi/aic7xxx/aic7xxx_osm.c scb->hscb->sgptr = ahc_htole32(SG_LIST_NULL); hscb 1559 drivers/scsi/aic7xxx/aic7xxx_osm.c scb->hscb->dataptr = 0; hscb 1560 drivers/scsi/aic7xxx/aic7xxx_osm.c scb->hscb->datacnt = 0; hscb 1710 drivers/scsi/aic7xxx/aic7xxx_osm.c printk("SCB %d done'd twice\n", scb->hscb->tag); hscb 2171 drivers/scsi/aic7xxx/aic7xxx_osm.c pending_scb->hscb->tag, hscb 2183 drivers/scsi/aic7xxx/aic7xxx_osm.c pending_scb->hscb->tag, hscb 2196 drivers/scsi/aic7xxx/aic7xxx_osm.c && ahc_inb(ahc, SAVED_SCSIID) == pending_scb->hscb->scsiid hscb 2214 drivers/scsi/aic7xxx/aic7xxx_osm.c && (pending_scb->hscb->tag == active_scb_index hscb 2246 drivers/scsi/aic7xxx/aic7xxx_osm.c pending_scb->hscb->control |= MK_MESSAGE|DISCONNECTED; hscb 2258 drivers/scsi/aic7xxx/aic7xxx_osm.c cmd->device->lun, pending_scb->hscb->tag, hscb 2271 drivers/scsi/aic7xxx/aic7xxx_osm.c ahc_outb(ahc, SCBPTR, pending_scb->hscb->tag);