Lines Matching refs:SCpnt
547 static int SYM53C500_queue_lck(struct scsi_cmnd *SCpnt)
549 struct sym53c500_cmd_priv *scp = scsi_cmd_priv(SCpnt);
551 int port_base = SCpnt->device->host->io_port;
553 (struct sym53c500_data *)SCpnt->device->host->hostdata;
558 SCpnt->cmnd[0], SCpnt->cmd_len, SCpnt->device->id,
559 (u8)SCpnt->device->lun, scsi_bufflen(SCpnt)));
561 VDEB(for (i = 0; i < SCpnt->cmd_len; i++)
562 printk("cmd[%d]=%02x ", i, SCpnt->cmnd[i]));
565 data->current_SC = SCpnt;
572 outb(scmd_id(SCpnt), port_base + DEST_ID); /* set destination */
575 for (i = 0; i < SCpnt->cmd_len; i++) {
576 outb(SCpnt->cmnd[i], port_base + SCSI_FIFO);
586 SYM53C500_host_reset(struct scsi_cmnd *SCpnt)
588 int port_base = SCpnt->device->host->io_port;
591 spin_lock_irq(SCpnt->device->host->host_lock);
593 spin_unlock_irq(SCpnt->device->host->host_lock);