Lines Matching full:scp
360 struct sym53c500_cmd_priv *scp = scsi_cmd_priv(curSC); in SYM53C500_intr() local
407 if (scp->phase != message_in) { /* Unexpected disconnect */ in SYM53C500_intr()
410 curSC->result = (scp->status & 0xff) | in SYM53C500_intr()
411 ((scp->message & 0xff) << 8) | (DID_OK << 16); in SYM53C500_intr()
422 scp->phase = data_out; in SYM53C500_intr()
441 scp->phase = data_in; in SYM53C500_intr()
456 scp->phase = command_ph; in SYM53C500_intr()
461 scp->phase = status_ph; in SYM53C500_intr()
474 scp->phase = message_out; in SYM53C500_intr()
481 scp->phase = message_in; in SYM53C500_intr()
483 scp->status = inb(port_base + SCSI_FIFO); in SYM53C500_intr()
484 scp->message = inb(port_base + SCSI_FIFO); in SYM53C500_intr()
487 DEB(printk("Status = %02x Message = %02x\n", scp->status, scp->message)); in SYM53C500_intr()
489 if (scp->message == SAVE_POINTERS || scp->message == DISCONNECT) { in SYM53C500_intr()
501 scp->phase = idle; in SYM53C500_intr()
549 struct sym53c500_cmd_priv *scp = scsi_cmd_priv(SCpnt); in SYM53C500_queue_lck() local
566 scp->phase = command_ph; in SYM53C500_queue_lck()
567 scp->status = 0; in SYM53C500_queue_lck()
568 scp->message = 0; in SYM53C500_queue_lck()