Lines Matching refs:hscb

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()
1499 hscb->control |= MSG_ORDERED_TASK; in ahc_linux_run_command()
1502 hscb->control |= MSG_SIMPLE_TASK; in ahc_linux_run_command()
1506 hscb->cdb_len = cmd->cmd_len; in ahc_linux_run_command()
1507 if (hscb->cdb_len <= 12) { in ahc_linux_run_command()
1508 memcpy(hscb->shared_data.cdb, cmd->cmnd, hscb->cdb_len); in ahc_linux_run_command()
1510 memcpy(hscb->cdb32, cmd->cmnd, hscb->cdb_len); in ahc_linux_run_command()
1548 scb->hscb->sgptr = in ahc_linux_run_command()
1555 scb->hscb->dataptr = scb->sg_list->addr; in ahc_linux_run_command()
1556 scb->hscb->datacnt = scb->sg_list->len; in ahc_linux_run_command()
1558 scb->hscb->sgptr = ahc_htole32(SG_LIST_NULL); in ahc_linux_run_command()
1559 scb->hscb->dataptr = 0; in ahc_linux_run_command()
1560 scb->hscb->datacnt = 0; in ahc_linux_run_command()
1710 printk("SCB %d done'd twice\n", scb->hscb->tag); in ahc_done()
2171 pending_scb->hscb->tag, in ahc_linux_queue_recovery_cmd()
2183 pending_scb->hscb->tag, in ahc_linux_queue_recovery_cmd()
2196 && ahc_inb(ahc, SAVED_SCSIID) == pending_scb->hscb->scsiid in ahc_linux_queue_recovery_cmd()
2214 && (pending_scb->hscb->tag == active_scb_index in ahc_linux_queue_recovery_cmd()
2246 pending_scb->hscb->control |= MK_MESSAGE|DISCONNECTED; in ahc_linux_queue_recovery_cmd()
2258 cmd->device->lun, pending_scb->hscb->tag, in ahc_linux_queue_recovery_cmd()
2271 ahc_outb(ahc, SCBPTR, pending_scb->hscb->tag); in ahc_linux_queue_recovery_cmd()