Lines Matching refs:hscb

1407 	struct	 hardware_scb *hscb;  in ahc_linux_run_command()  local
1454 hscb = scb->hscb; in ahc_linux_run_command()
1460 hscb->control = 0; in ahc_linux_run_command()
1461 hscb->scsiid = BUILD_SCSIID(ahc, cmd); in ahc_linux_run_command()
1462 hscb->lun = cmd->device->lun; in ahc_linux_run_command()
1467 hscb->scsirate = tinfo->scsirate; in ahc_linux_run_command()
1468 hscb->scsioffset = tinfo->curr.offset; in ahc_linux_run_command()
1470 hscb->control |= ULTRAENB; in ahc_linux_run_command()
1473 hscb->control |= DISCENB; in ahc_linux_run_command()
1477 scb->hscb->control |= MK_MESSAGE; in ahc_linux_run_command()
1483 hscb->control |= MSG_ORDERED_TASK; in ahc_linux_run_command()
1486 hscb->control |= MSG_SIMPLE_TASK; in ahc_linux_run_command()
1490 hscb->cdb_len = cmd->cmd_len; in ahc_linux_run_command()
1491 if (hscb->cdb_len <= 12) { in ahc_linux_run_command()
1492 memcpy(hscb->shared_data.cdb, cmd->cmnd, hscb->cdb_len); in ahc_linux_run_command()
1494 memcpy(hscb->cdb32, cmd->cmnd, hscb->cdb_len); in ahc_linux_run_command()
1532 scb->hscb->sgptr = in ahc_linux_run_command()
1539 scb->hscb->dataptr = scb->sg_list->addr; in ahc_linux_run_command()
1540 scb->hscb->datacnt = scb->sg_list->len; in ahc_linux_run_command()
1542 scb->hscb->sgptr = ahc_htole32(SG_LIST_NULL); in ahc_linux_run_command()
1543 scb->hscb->dataptr = 0; in ahc_linux_run_command()
1544 scb->hscb->datacnt = 0; in ahc_linux_run_command()
1692 printk("SCB %d done'd twice\n", scb->hscb->tag); in ahc_done()
2155 pending_scb->hscb->tag, in ahc_linux_queue_recovery_cmd()
2167 pending_scb->hscb->tag, in ahc_linux_queue_recovery_cmd()
2180 && ahc_inb(ahc, SAVED_SCSIID) == pending_scb->hscb->scsiid in ahc_linux_queue_recovery_cmd()
2198 && (pending_scb->hscb->tag == active_scb_index in ahc_linux_queue_recovery_cmd()
2230 pending_scb->hscb->control |= MK_MESSAGE|DISCONNECTED; in ahc_linux_queue_recovery_cmd()
2242 cmd->device->lun, pending_scb->hscb->tag, in ahc_linux_queue_recovery_cmd()
2255 ahc_outb(ahc, SCBPTR, pending_scb->hscb->tag); in ahc_linux_queue_recovery_cmd()