Lines Matching refs:SCpnt
696 static int NCR53c406a_queue_lck(Scsi_Cmnd * SCpnt, void (*done) (Scsi_Cmnd *)) in NCR53c406a_queue_lck() argument
701 …x, lun=%02x, bufflen=%d\n", SCpnt->cmnd[0], SCpnt->cmd_len, SCpnt->device->target, (u8)SCpnt->devi… in NCR53c406a_queue_lck()
704 VDEB(for (i = 0; i < SCpnt->cmd_len; i++) in NCR53c406a_queue_lck()
705 printk("cmd[%d]=%02x ", i, SCpnt->cmnd[i])); in NCR53c406a_queue_lck()
709 current_SC = SCpnt; in NCR53c406a_queue_lck()
717 outb(scmd_id(SCpnt), DEST_ID); /* set destination */ in NCR53c406a_queue_lck()
720 for (i = 0; i < SCpnt->cmd_len; i++) { in NCR53c406a_queue_lck()
721 outb(SCpnt->cmnd[i], SCSI_FIFO); in NCR53c406a_queue_lck()
731 static int NCR53c406a_host_reset(Scsi_Cmnd * SCpnt) in DEF_SCSI_QCMD()
735 spin_lock_irq(SCpnt->device->host->host_lock); in DEF_SCSI_QCMD()
745 spin_unlock_irq(SCpnt->device->host->host_lock); in DEF_SCSI_QCMD()