Lines Matching refs:SCpnt
550 SYM53C500_queue_lck(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *)) in SYM53C500_queue_lck() argument
553 int port_base = SCpnt->device->host->io_port; in SYM53C500_queue_lck()
555 (struct sym53c500_data *)SCpnt->device->host->hostdata; in SYM53C500_queue_lck()
560 SCpnt->cmnd[0], SCpnt->cmd_len, SCpnt->device->id, in SYM53C500_queue_lck()
561 (u8)SCpnt->device->lun, scsi_bufflen(SCpnt))); in SYM53C500_queue_lck()
563 VDEB(for (i = 0; i < SCpnt->cmd_len; i++) in SYM53C500_queue_lck()
564 printk("cmd[%d]=%02x ", i, SCpnt->cmnd[i])); in SYM53C500_queue_lck()
567 data->current_SC = SCpnt; in SYM53C500_queue_lck()
575 outb(scmd_id(SCpnt), port_base + DEST_ID); /* set destination */ in SYM53C500_queue_lck()
578 for (i = 0; i < SCpnt->cmd_len; i++) { in SYM53C500_queue_lck()
579 outb(SCpnt->cmnd[i], port_base + SCSI_FIFO); in SYM53C500_queue_lck()
589 SYM53C500_host_reset(struct scsi_cmnd *SCpnt) in DEF_SCSI_QCMD()
591 int port_base = SCpnt->device->host->io_port; in DEF_SCSI_QCMD()
594 spin_lock_irq(SCpnt->device->host->host_lock); in DEF_SCSI_QCMD()
596 spin_unlock_irq(SCpnt->device->host->host_lock); in DEF_SCSI_QCMD()