• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/scsi/aic7xxx/

Lines Matching refs:hscb

338 	sgptr = ahd_le32toh(scb->hscb->sgptr);
348 sgptr = ahd_le32toh(scb->hscb->sgptr);
580 hscb_ptr = (uint8_t *)scb->hscb;
894 * entry to avoid referencing the hscb if the completion
897 * hscb field.
1060 ahd_outb(ahd, SAVED_SCSIID, scb->hscb->scsiid);
1061 ahd_outb(ahd, SAVED_LUN, scb->hscb->lun);
1200 scb->hscb->control &= ~(TAG_ENB|SCB_TAG_TYPE);
1201 scb->hscb->control |= MK_MESSAGE;
1202 ahd_outb(ahd, SCB_CONTROL, scb->hscb->control);
1204 ahd_outb(ahd, SAVED_SCSIID, scb->hscb->scsiid);
1523 scb->hscb->task_management);
1527 switch (scb->hscb->task_management) {
1532 lun = scb->hscb->lun;
1539 lun = scb->hscb->lun;
2346 saved_lun = scb->hscb->lun;
2521 if ((scb->hscb->control & TAG_ENB) != 0)
3455 pending_scb->hscb->control &= ~MK_MESSAGE;
3495 control |= pending_scb->hscb->control & MK_MESSAGE;
3588 our_id = SCSIID_OUR_ID(scb->hscb->scsiid);
3590 if ((scb->hscb->control & TARGET_SCB) != 0)
3644 if ((scb->hscb->control & DISCENB) != 0)
3649 if ((scb->hscb->control & TAG_ENB) != 0) {
3651 scb->hscb->control & (TAG_ENB|SCB_TAG_TYPE);
3672 if ((scb->hscb->control & TAG_ENB) != 0) {
3680 (scb->hscb->control & TAG_ENB) != 0 ? " Tag" : "");
3702 printf("SCSIID = %x, target_mask = %x\n", scb->hscb->scsiid,
3705 "SCB flags = %x", SCB_GET_TAG(scb), scb->hscb->control,
3716 scb->hscb->control &= ~MK_MESSAGE;
4816 } else if ((scb->hscb->control & MSG_SIMPLE_TASK) != 0) {
4820 tag_type = (scb->hscb->control & MSG_SIMPLE_TASK);
4844 scb->hscb->control &= mask;
4849 ahd_busy_tcl(ahd, BUILD_TCL(scb->hscb->scsiid, devinfo->lun),
5319 printf("%s: scb size = 0x%x, hscb size = 0x%x\n",
5956 scb->hscb->control = 0;
5980 && (scb->col_scb->hscb->control & TAG_ENB) != 0) {
6008 struct hardware_scb *hscb;
6028 offset = (PAGE_SIZE / sizeof(*hscb)) - scb_data->scbs_left;
6030 hscb = &((struct hardware_scb *)hscb_map->vaddr)[offset];
6031 hscb_busaddr = hscb_map->physaddr + (offset * sizeof(*hscb));
6052 hscb = (struct hardware_scb *)hscb_map->vaddr;
6054 scb_data->scbs_left = PAGE_SIZE / sizeof(*hscb);
6159 memset(hscb, 0, sizeof(*hscb));
6160 next_scb->hscb = hscb;
6161 hscb->hscb_busaddr = ahd_htole32(hscb_busaddr);
6184 next_scb->hscb->tag = ahd_htole16(scb_data->numscbs);
6190 hscb++;
6191 hscb_busaddr += sizeof(*hscb);
7285 busaddr = ahd_le32toh(scb->hscb->hscb_busaddr);
7288 prev_scb->hscb->next_hscb_busaddr = scb->hscb->hscb_busaddr;
7294 scb->hscb->next_hscb_busaddr = ahd->next_queued_hscb->hscb_busaddr;
8079 struct hardware_scb *hscb;
8091 hscb = scb->hscb;
8121 ahd_set_scsi_status(scb, hscb->shared_data.istatus.scsi_status);
8122 switch (hscb->shared_data.istatus.scsi_status) {
8215 sc = (struct scsi_sense *)hscb->shared_data.idata.cdb;
8247 hscb->control = 0;
8263 hscb->control |= MK_MESSAGE;
8268 hscb->cdb_len = sizeof(*sc);
8287 if (scb->hscb->shared_data.istatus.scsi_status != 0) {
8301 struct hardware_scb *hscb;
8323 hscb = scb->hscb;
8324 sgptr = ahd_le32toh(hscb->sgptr);
8340 spkt = &hscb->shared_data.istatus;