Lines Matching refs:hscb

1406 	struct	 hardware_scb *hscb;  in ahc_linux_run_command()  local
1453 hscb = scb->hscb; in ahc_linux_run_command()
1459 hscb->control = 0; in ahc_linux_run_command()
1460 hscb->scsiid = BUILD_SCSIID(ahc, cmd); in ahc_linux_run_command()
1461 hscb->lun = cmd->device->lun; in ahc_linux_run_command()
1466 hscb->scsirate = tinfo->scsirate; in ahc_linux_run_command()
1467 hscb->scsioffset = tinfo->curr.offset; in ahc_linux_run_command()
1469 hscb->control |= ULTRAENB; in ahc_linux_run_command()
1472 hscb->control |= DISCENB; in ahc_linux_run_command()
1476 scb->hscb->control |= MK_MESSAGE; in ahc_linux_run_command()
1482 hscb->control |= ORDERED_QUEUE_TAG; in ahc_linux_run_command()
1485 hscb->control |= SIMPLE_QUEUE_TAG; in ahc_linux_run_command()
1489 hscb->cdb_len = cmd->cmd_len; in ahc_linux_run_command()
1490 if (hscb->cdb_len <= 12) { in ahc_linux_run_command()
1491 memcpy(hscb->shared_data.cdb, cmd->cmnd, hscb->cdb_len); in ahc_linux_run_command()
1493 memcpy(hscb->cdb32, cmd->cmnd, hscb->cdb_len); in ahc_linux_run_command()
1531 scb->hscb->sgptr = in ahc_linux_run_command()
1538 scb->hscb->dataptr = scb->sg_list->addr; in ahc_linux_run_command()
1539 scb->hscb->datacnt = scb->sg_list->len; in ahc_linux_run_command()
1541 scb->hscb->sgptr = ahc_htole32(SG_LIST_NULL); in ahc_linux_run_command()
1542 scb->hscb->dataptr = 0; in ahc_linux_run_command()
1543 scb->hscb->datacnt = 0; in ahc_linux_run_command()
1691 printk("SCB %d done'd twice\n", scb->hscb->tag); in ahc_done()
2153 pending_scb->hscb->tag, in ahc_linux_queue_recovery_cmd()
2165 pending_scb->hscb->tag, in ahc_linux_queue_recovery_cmd()
2178 && ahc_inb(ahc, SAVED_SCSIID) == pending_scb->hscb->scsiid in ahc_linux_queue_recovery_cmd()
2196 && (pending_scb->hscb->tag == active_scb_index in ahc_linux_queue_recovery_cmd()
2228 pending_scb->hscb->control |= MK_MESSAGE|DISCONNECTED; in ahc_linux_queue_recovery_cmd()
2240 cmd->device->lun, pending_scb->hscb->tag, in ahc_linux_queue_recovery_cmd()
2253 ahc_outb(ahc, SCBPTR, pending_scb->hscb->tag); in ahc_linux_queue_recovery_cmd()