Lines Matching refs:STp
1981 NCR_700_set_period(struct scsi_target *STp, int period) in NCR_700_set_period() argument
1983 struct Scsi_Host *SHp = dev_to_shost(STp->dev.parent); in NCR_700_set_period()
1993 spi_period(STp) = period; in NCR_700_set_period()
1994 spi_flags(STp) &= ~(NCR_700_DEV_NEGOTIATED_SYNC | in NCR_700_set_period()
1996 spi_flags(STp) |= NCR_700_DEV_PRINT_SYNC_NEGOTIATION; in NCR_700_set_period()
2000 NCR_700_set_offset(struct scsi_target *STp, int offset) in NCR_700_set_offset() argument
2002 struct Scsi_Host *SHp = dev_to_shost(STp->dev.parent); in NCR_700_set_offset()
2015 if(spi_offset(STp) == 0 && (spi_period(STp) < hostdata->min_period || in NCR_700_set_offset()
2016 spi_period(STp) > 0xff)) in NCR_700_set_offset()
2017 spi_period(STp) = hostdata->min_period; in NCR_700_set_offset()
2019 spi_offset(STp) = offset; in NCR_700_set_offset()
2020 spi_flags(STp) &= ~(NCR_700_DEV_NEGOTIATED_SYNC | in NCR_700_set_offset()
2022 spi_flags(STp) |= NCR_700_DEV_PRINT_SYNC_NEGOTIATION; in NCR_700_set_offset()