Lines Matching refs:STp
1975 NCR_700_set_period(struct scsi_target *STp, int period) in NCR_700_set_period() argument
1977 struct Scsi_Host *SHp = dev_to_shost(STp->dev.parent); in NCR_700_set_period()
1987 spi_period(STp) = period; in NCR_700_set_period()
1988 spi_flags(STp) &= ~(NCR_700_DEV_NEGOTIATED_SYNC | in NCR_700_set_period()
1990 spi_flags(STp) |= NCR_700_DEV_PRINT_SYNC_NEGOTIATION; in NCR_700_set_period()
1994 NCR_700_set_offset(struct scsi_target *STp, int offset) in NCR_700_set_offset() argument
1996 struct Scsi_Host *SHp = dev_to_shost(STp->dev.parent); in NCR_700_set_offset()
2009 if(spi_offset(STp) == 0 && (spi_period(STp) < hostdata->min_period || in NCR_700_set_offset()
2010 spi_period(STp) > 0xff)) in NCR_700_set_offset()
2011 spi_period(STp) = hostdata->min_period; in NCR_700_set_offset()
2013 spi_offset(STp) = offset; in NCR_700_set_offset()
2014 spi_flags(STp) &= ~(NCR_700_DEV_NEGOTIATED_SYNC | in NCR_700_set_offset()
2016 spi_flags(STp) |= NCR_700_DEV_PRINT_SYNC_NEGOTIATION; in NCR_700_set_offset()