Lines Matching defs:STp
1962 NCR_700_set_period(struct scsi_target *STp, int period)
1964 struct Scsi_Host *SHp = dev_to_shost(STp->dev.parent);
1974 spi_period(STp) = period;
1975 spi_flags(STp) &= ~(NCR_700_DEV_NEGOTIATED_SYNC |
1977 spi_flags(STp) |= NCR_700_DEV_PRINT_SYNC_NEGOTIATION;
1981 NCR_700_set_offset(struct scsi_target *STp, int offset)
1983 struct Scsi_Host *SHp = dev_to_shost(STp->dev.parent);
1996 if(spi_offset(STp) == 0 && (spi_period(STp) < hostdata->min_period ||
1997 spi_period(STp) > 0xff))
1998 spi_period(STp) = hostdata->min_period;
2000 spi_offset(STp) = offset;
2001 spi_flags(STp) &= ~(NCR_700_DEV_NEGOTIATED_SYNC |
2003 spi_flags(STp) |= NCR_700_DEV_PRINT_SYNC_NEGOTIATION;