Lines Matching refs:hscb
1427 struct hardware_scb *hscb; in ahc_linux_run_command() local
1474 hscb = scb->hscb; in ahc_linux_run_command()
1480 hscb->control = 0; in ahc_linux_run_command()
1481 hscb->scsiid = BUILD_SCSIID(ahc, cmd); in ahc_linux_run_command()
1482 hscb->lun = cmd->device->lun; in ahc_linux_run_command()
1487 hscb->scsirate = tinfo->scsirate; in ahc_linux_run_command()
1488 hscb->scsioffset = tinfo->curr.offset; in ahc_linux_run_command()
1490 hscb->control |= ULTRAENB; in ahc_linux_run_command()
1493 hscb->control |= DISCENB; in ahc_linux_run_command()
1497 scb->hscb->control |= MK_MESSAGE; in ahc_linux_run_command()
1503 hscb->control |= MSG_ORDERED_TASK; in ahc_linux_run_command()
1506 hscb->control |= MSG_SIMPLE_TASK; in ahc_linux_run_command()
1510 hscb->cdb_len = cmd->cmd_len; in ahc_linux_run_command()
1511 if (hscb->cdb_len <= 12) { in ahc_linux_run_command()
1512 memcpy(hscb->shared_data.cdb, cmd->cmnd, hscb->cdb_len); in ahc_linux_run_command()
1514 memcpy(hscb->cdb32, cmd->cmnd, hscb->cdb_len); in ahc_linux_run_command()
1552 scb->hscb->sgptr = in ahc_linux_run_command()
1559 scb->hscb->dataptr = scb->sg_list->addr; in ahc_linux_run_command()
1560 scb->hscb->datacnt = scb->sg_list->len; in ahc_linux_run_command()
1562 scb->hscb->sgptr = ahc_htole32(SG_LIST_NULL); in ahc_linux_run_command()
1563 scb->hscb->dataptr = 0; in ahc_linux_run_command()
1564 scb->hscb->datacnt = 0; in ahc_linux_run_command()
1714 printk("SCB %d done'd twice\n", scb->hscb->tag); in ahc_done()
2175 pending_scb->hscb->tag, in ahc_linux_queue_recovery_cmd()
2187 pending_scb->hscb->tag, in ahc_linux_queue_recovery_cmd()
2200 && ahc_inb(ahc, SAVED_SCSIID) == pending_scb->hscb->scsiid in ahc_linux_queue_recovery_cmd()
2218 && (pending_scb->hscb->tag == active_scb_index in ahc_linux_queue_recovery_cmd()
2250 pending_scb->hscb->control |= MK_MESSAGE|DISCONNECTED; in ahc_linux_queue_recovery_cmd()
2262 cmd->device->lun, pending_scb->hscb->tag, in ahc_linux_queue_recovery_cmd()
2275 ahc_outb(ahc, SCBPTR, pending_scb->hscb->tag); in ahc_linux_queue_recovery_cmd()